That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi Scott,
What I am looking to do is give 10% of any item in multiple categories with the purchase of one item. My code currently looks like this:
$this->add_prod_to_cat(116, 10, "%", 10);
$this->add_prod_to_cat(116, 11, "%", 10);
$this->add_prod_to_cat(116, 12, "%", 10);
$this->add_prod_to_cat(116, 28, "%", 10);
$this->add_prod_to_cat(116, 15, "%", 10);
$this->add_prod_to_cat(116, 6, "%", 10);
My problem is that it find one item that the discount applies to (say in cat 10) and it basically shuts down despite there being other items in the cart that qualify for a discount. Is there a way to get it to apply a discount to correctly?
Additionally (and this might be slightly off) but does category discounts work on the top category (i.e. anything in the store)
Thanks,
Rob
Better Together pairs up items. Once an item is used in a pairing, it's not available for further discounting.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thank you for such an awesome mod. I tried to look through this thread, but didn't see coupons mentioned.
When a customer orders, it appears the better together deal is discounted when they use a coupon....then taken off the order total.
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.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
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.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.