Discouunt DiscountRequirement.HasOneProduct

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
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
5 years ago
The table is Discount_AppliedToProducts
5 years ago
No, it's not there.
There you find "Applied to products" while in this case you populate "Requirements".
5 years ago
It's in Setting table. Look for key DiscountRequirement.RestrictedProductIds-{DISCOUNT_REQUIREMENT_ID}.

:)


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