Cart rules / vouchers - customer group restrictions throw an error
When I use a customer group restriction the voucher fails.
A friend took a look at the error and he thinks the problem is:
SELECT crg.id_cart_rule FROM tb_cart_rule_group crg WHERE (crg.id_cart_rule = 7) AND (crg.id_group = = 1) LIMIT 1
–> the = 7 should probably be = = 7
I couldn’t find where this code would be to test, though.
This is likely the fix for the second issue: https://github.com/thirtybees/thirtybees/commit/d886f0bbbbb6baf1d590adc8a1e6e6d48ae0816d
Awesome, tested and it works!