Re: Quantity Discounts for 1.3
If you wish to style "quantity discount" text in your admin order pages, add td.ot-quantity-discount-Text to your admin\includes\stylesheet.css
either in here
Code:
td.ot-subtotal-Text,td.ot-cod-fee-Text,td.ot-total-Text,td.ot-group-pricing-Text,td.ot-gv-Text,td.ot-loworderfee-Text,td.ot-shipping-Text,td.ot-subtotal-Text,td.ot-tax-Text,td.ot-coupon-Text,td.ot-quantity-discount-Text{
font-weight:bold;
}
or as a separate entry
Code:
td.ot-quantity-discount-Text[/COLOR]{font-weight:bold;}
hope this helps.
Re: Quantity Discounts for 1.3
How would I duplicate quantity discounts?
Re: Quantity Discounts for 1.3
discount_1.12 is marked as up to zen_cart 1.5.3
Will it work for 1.5.5a?
Did anyone try already?
Re: Quantity Discounts for 1.3
It works for all versions of Zen Cart.
Re: Quantity Discounts for 1.3
Version 1.5.5b clean install with demo products. PHP 5.6.23 MySQL 5.5.52 Apache 2.4.18
Dropped in the latest mod's includes folder in the root of haredoDOTcom/155b.
Edited the tpl_product_info_display.php to include the example 2 statement.
Installed in the admin with settings of:
- true
- 295
- false
- Standard
- currency
- Total by Item
- items
- 2
- 2.5
- 3
- 5
- 0
- 0
- 0
- 0
- 0
- 0
Discount shows up as advertised on all items in the shop.
Next, tried to exclude the Swat 3: Close Quarters Battle Linked item under Software :: Simulation.
The product_id is 21 and the master category ID is 18.
Have tried:
- Adding case 18: to the category exclusion list
Code:
// Add categories you wish to exclude to this list. // Go to Admin->Catalog->Categories/Products and look
// at the left hand side of the list to determine
// category id. Note that 99999 and 99998 are just given
// as examples.
function exclude_category($category) {
switch ($category) {
case 18:
case 99999:
case 99998:
return true;
}
return false;
}
- Adding case 21: to the product exclusion list
Code:
// Add products you wish to exclude to this list. // Go to Admin->Catalog->Categories/Products->[Your category]
// and look at the left hand side of the list to determine
// product id. Note that 99999 and 99998 are just given
// as examples.
function exclude_product($id) {
switch ($id) {
case 21:
case 99999:
case 99998:
return true;
}
return false;
}
- Adding case 18: to the category exclusion list AND adding case 21: to the product exclusion list.
Code:
// Add categories you wish to exclude to this list. // Go to Admin->Catalog->Categories/Products and look
// at the left hand side of the list to determine
// category id. Note that 99999 and 99998 are just given
// as examples.
function exclude_category($category) {
switch ($category) {
case 18:
case 99999:
case 99998:
return true;
}
return false;
}
// Add products you wish to exclude to this list.
// Go to Admin->Catalog->Categories/Products->[Your category]
// and look at the left hand side of the list to determine
// product id. Note that 99999 and 99998 are just given
// as examples.
function exclude_product($id) {
switch ($id) {
case 21:
case 99999:
case 99998:
return true;
}
return false;
}
None of these combinations managed to exclude the discount listing from the Swat 3: product listing.
Where might we be going wrong?
Re: Quantity Discounts for 1.3
You have to add logic to the marketing text if you are using the user exits. This is explained in note 3.
http://www.thatsoftwareguy.com/zenca...html#marketing
Re: Quantity Discounts for 1.3
Thanks that was the fix ...
Happy Thanksgiving Scott ...
Mark,
Re: Quantity Discounts for 1.3
Is there a way to specify a price per item rather than a discount percentage? We'd like to offer a '5 for $5 each' sale for certain products in one category. A purchase of any five of them would change the price to $5 each. I don't see any way to do that with the Quantity Discount plugin, but perhaps I just haven't read the notes closely enough.
Re: Quantity Discounts for 1.3
Quantity Discounts doesn't do this. If you want to look on my site at Free Gift Chooser, it does things like this.
Re: Quantity Discounts for 1.3
Quote:
Originally Posted by
swguy
Quantity Discounts doesn't do this. If you want to look on my site at Free Gift Chooser, it does things like this.
That appears to be only for osCommerce, though, not ZenCart.