Matrix Logic
Matrix logic is used when you need to:
Provide values for secondary dimension for items when developing a matrix price list or price grid.
Logic API
Logic Nature: matrix
Logic Type: Calculation/Pricing
Execution Types:
Standard – Calculates the values for secondary dimension.
Information provided to the logic:
SKU in the logic context - accessible via
api.product("sku")
input[]
- Values provided by the user in input fields of PL/PG. Note, that those inputs were created by the PL/PG logic (not by the Matrix logic)
Expected logic execution outcome:
A visible element must return a list of strings. Those values will be used by the system in the key2 field of the PLI/PGI.
Code Sample
Found an issue in documentation? Write to us.
Â