Hello,
I use this formula to find a product variant:
This formula does not find a variant even though the product variant does exist. Sales pack version - 3.1.5
The same formula in sales pack version 2.4.1 finds a product variant. Is it no longer possible to find the product variants in the newer Sales pack? Is anyone else experiencing this problem?
I use this formula to find a product variant:
Code:
$variantId = record\findOne('Product', 'createdAt', 'desc', 'templateId=', productId, 'type=', 'Variant', 'variantOrder=', 0);
The same formula in sales pack version 2.4.1 finds a product variant. Is it no longer possible to find the product variants in the newer Sales pack? Is anyone else experiencing this problem?

Comment