alins Designer From Turkey Member since Apr 2019 alins Jul 15 2024 04:35 PM Did you have a solution to limit discount codes on Customer Group Prices?
tim Founder From Sweden Member since May 2013 tim Jul 15 2024 07:20 PM No sorry, it's hard for multiple discount addons to coexist. Can you describe better what you mean by limiting?
alins Designer From Turkey Member since Apr 2019 alins Jul 15 2024 10:07 PM 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 From Sweden Member since May 2013 tim Jul 16 2024 01:21 AM 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.
alins Designer From Turkey Member since Apr 2019 alins Jul 17 2024 01:39 PM İts propagated. Thank you