Customer Group Prices

Designer
Lähettäjä Turkey
Jäsen alkaen huhtik. 2019

Did you have a solution to limit discount codes on Customer Group Prices?

tim
Founder
Lähettäjä Sweden
Jäsen alkaen toukok. 2013
tim

No sorry, it's hard for multiple discount addons to coexist. Can you describe better what you mean by limiting?

Designer
Lähettäjä Turkey
Jäsen alkaen huhtik. 2019

Since customer group prices are special cases, I want to keep the discount code outside of these groups. For example, dealers who shop wholesale. In short, it would be good to be able to set the discount code active / passive for customer groups.
if ($customer['group_id'] == 2) return;
I don't know if it's possible with a solution like this. I haven't had a chance to examine it yet.

tim
Founder
Lähettäjä Sweden
Jäsen alkaen toukok. 2013
tim

Yeah you could use that. Put it in ot_discount_code and om_discount_code.
If group id is not propagated, use reference::customer($customer['id'])->group_id.

Designer
Lähettäjä Turkey
Jäsen alkaen huhtik. 2019

İts propagated. Thank you

Sinä
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.