swguy which mod allows for a 5% discount off all other items in a category or group once you have purchased the first item. I wanted to offer 5% off all items in a category once one particular item is purchased for example.
Regards
MG
Printable View
No coupons are involved. If they buy the products you have specified as "better together," they get the discount you specify in the setup() function.
KSoup, I'm not sure what you're asking here. You can change the sort order, but the discounting modules don't know about each other, so discounts are cumulative.
MikeyG response by PM.
Hi Scott,
I seem to be in a minority with regards to this not adding up properly so I am sure it is something I am doing wrong.
When the cart doesn't include the better together discount it adds up correctly, when it does include a BT discount the VAT is wrong?
The settings:
Include Tax: True
Re-calculate Tax: None
Using $this->add_cat_to_cat(67, 68, "%", 20);
The cart prices are displayed including VAT. Site is UK (if that makes a difference)
So have I missed something obvious?
With these settings, you're grossing up the discount to include the VAT. The VAT is not recomputed.
But when I set Re-calculate Tax to standard this happens:
Sub-Total: £9,156.93
Table Rate (Best Way): £6.46
Better Together Discount: -£13.20
VAT: £1,363.80 Should be £1362.79
Total: £9,156.93 Should be £9150.19
Sit tight - tax computation changes coming in 1.3.8; I will align my software to these algorithms which were coded by a genuine UK native. (Thank you, Wilt!)
An issue has been reported running Better Together against Zen Cart 1.3.8.
I will release a new version later on; for now, simply replace
includes/modules/order_total/ot_better_together.php
with this file. This is only required for 1.3.8.
Thanks to Rufus for reporting this problem.
Scott