I am writing an external script (not a module) and I am looking to relate a product in an order (with options) to the sku for that variant.
so - order contains small red tshirt which is SKU axd123
I can get the order, items and options.
But how do I get the sku?
The sku is assigned to that product, and we are using variant price set by inventory product (for dynamic pricing).
I am directly accessing the MM database.
I assume there is something relations between the item/option in the order, and the product on the site?
Bill
so - order contains small red tshirt which is SKU axd123
I can get the order, items and options.
But how do I get the sku?
The sku is assigned to that product, and we are using variant price set by inventory product (for dynamic pricing).
I am directly accessing the MM database.
I assume there is something relations between the item/option in the order, and the product on the site?
Bill
Comment