Customer Group Prices

Designer
Frá Turkey
Meðlimur síðan apr. 2019

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

tim
Founder
Frá Sweden
Meðlimur síðan maí 2013
tim

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

Designer
Frá Turkey
Meðlimur síðan apr. 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
Frá Sweden
Meðlimur síðan maí 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
Frá Turkey
Meðlimur síðan apr. 2019

İts propagated. Thank you

Þú
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.