Create a Matrix Price List

A matrix Price List is another type of Price List. Through the addition of a second key dimension, prices can be calculated, displayed and maintained (multiple times) per combination of the SKU (product) and any other dimension, such as country, quantity, customer, etc.

1. Define a matrix pricing logic:
1. Go to Administration > Logics > Generic Logic and create a new one.
2. Set the logic's Nature to Matrix.
3. Define the logic's elements, including an element that is visible and returns a set of keys:

return [ "A", "B", "C" ]
2. Define a Price List logic (or a product logic) that will reference the matrix logic and retrieve the key list:
1. Go to Administration > Logics > Generic Logic and create a new one.

2. In the element, in which you need to use the value of the secondary key, you can retrieve it this way:

api.getSecondaryKey()
3. Create a Price List:
1. Go to Price Setting > Price Lists and create a new one.
2. In Default pricing logic, select the Price List logic created previously.
3. In Matrix logic, select the matrix logic created previously.
4. In Matrix logic element, select the element in the matrix logic that returns the key list.
{"ft_lang_label":"__label__en","ft_lang_prob":0.83805037,"math_prob":0.87864596,"size":1143,"snap":"2022-05-2022-21","text_gpt3_token_len":251,"char_repetition_ratio":0.15627743,"word_repetition_ratio":0.116161615,"special_character_ratio":0.22922134,"punctuation_ratio":0.1324201,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.953791,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-01-27T20:13:53Z\",\"WARC-Record-ID\":\"<urn:uuid:532bbbbb-76c7-442d-90cf-a69a066b13cf>\",\"Content-Length\":\"243555\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:0f0ed258-3060-4cb2-8da9-19bb3e2b8a36>\",\"WARC-Concurrent-To\":\"<urn:uuid:1bc75edb-545d-4523-872e-94480ec1cca5>\",\"WARC-IP-Address\":\"18.234.32.174\",\"WARC-Target-URI\":\"https://pricefx.atlassian.net/wiki/spaces/KB/pages/100649430/Create+a+Matrix+Price+List\",\"WARC-Payload-Digest\":\"sha1:TXWCTNBSOZ5FYOVUGSTXAAY4XHRBS5VE\",\"WARC-Block-Digest\":\"sha1:GJAPBLFJVLLCBAD63ZIPSJPAGHF6S4X5\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-05/CC-MAIN-2022-05_segments_1642320305288.57_warc_CC-MAIN-20220127193303-20220127223303-00676.warc.gz\"}"}