Discouunt DiscountRequirement.HasOneProduct

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 5 ans
Hello,
I need to populate this product list dinamically, that means to add products via SQL. I can't find where the product list is stored: I supposed in DiscountRequirement table but there is saved just the group defiition.
Where can I write products list?
Thanks
Il y a 5 ans
The table is Discount_AppliedToProducts
Il y a 5 ans
No, it's not there.
There you find "Applied to products" while in this case you populate "Requirements".
Il y a 5 ans
It's in Setting table. Look for key DiscountRequirement.RestrictedProductIds-{DISCOUNT_REQUIREMENT_ID}.

:)


Il y a 5 ans
Yes, that's right, thank you.
But it doesn't make sense, why doesn't exists its own table?
Il y a 5 ans
It doesn't need to. :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.