Is it possible to exclude all categories except for specific categories (without listing every category to be excluded)?
Printable View
Is it possible to exclude all categories except for specific categories (without listing every category to be excluded)?
^^^
It's ok, I figured this out.
Another question. Is there a way to only show the discount table for products in the categories not excluded? Due to the high number of products in the two categories I need this particular mod for I would prefer to use this mod, if possible, over the zencart discount feature.
Alright, found the answer to that question as well.. can't be done it appears, it will either show on tpl_product_info_display or it won't.
Could we run two copies of the script to produce two different scenarios?
First one uses a category and pricing structure of buy 2 get one free (and that scaled for the 5 discounts)
Second one to use a load your cart with 8 items get 20% off your order (then scale for the 5 discounts)
Hello! I am unble to find the answer to my question so I will post it here:
As of now
What do I have to do to get the next level of discount within the same category? I'd like to have (buy 2, get 30% off, buy 3 get 50% off)Code:// Add categories with special discounting policies to this list.
// Note that 99999, 99998 and 99997 are just given as examples.
// Note that the Discounting Units you specified in Admin
// (percentage, currency, currency/item) are also used here.
function apply_special_category_discount($category, $count, &$disc_amount) {
switch ($category) {
case 66:
if ($count > 1) {
$disc_amount = 30;
}
break;
EXAMPLE
case 66:
if ($count > 2) {
$disc_amount = 50;
}
break;
Code:switch ($category) {
case 66:
if ($count >= 3) {
$disc_amount = 50;
} else if ($count == 2) {
$disc_amount = 30;
}
break;
I installed your module. I noticed the discount will be shown in checkout page. can the discount be shown on cart page? I mean the discount will be reduced at cart page rather than at checkout page. If so, how? Thanks for your reply!
Brilliant Module, just have a few questions (had loads but found out most answers in this thread - thanks).
Can I remove the quantity discount box from categories where I offer no discount (currently it shows the box and heading on everything, even when no discounts set-up).
How do I change the text at checkout from Quantity Discount to something else? (searched on here and tried developers tool kit search but cannot find where the text is coming from - is not a link on my checkout if that makes any difference).
I'm using 1.3.9h
Thanks
Question 2: change includes/languages/english/modules/order_total/ot_quantity_discount.php
Question 1: See note #3 after the marketing text examples.
http://www.thatsoftwareguy.com/zenca...html#marketing