If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Order Total Modules / Quantity Discounts for 1.3

Quantity Discounts for 1.3

Started by swguy on 13 Aug 2006, 10:22 AM · Views: 226,694

Results 781 to 800 of 847
17 Mar 2015, 8:03 AM
#781
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

Quantity Discounts for 1.3

swguy:

ah ok I misunderstood your issue. Yes, order totals are not shown until checkout time. With my stuff, you can use Discount Preview if you want to change this behavior.

To see ways to display the discount on the product info page, go to my site and look at the Quantity Discounts Help page. There are many methods shown. This is called the marketing text for Quantity Discounts.

http://www.thatsoftwareguy.com/zencart_quantity_discounts.html#marketing

That's what I'm looking for.
Thanks.

https://www.candlewithcare.co.uk
Luxury Scented
Candles at great prices!

26 Mar 2015, 7:57 AM
#782
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

One more question, the marketing text is showing the best price without vat.
Is there a way of showing it including vat at all?

Also I received your PM and will reply (eventually)

https://www.candlewithcare.co.uk
Luxury Scented
Candles at great prices!

26 Mar 2015, 9:07 AM
#783
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

You'd have to write the code; nothing is built in.

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.

25 Jun 2015, 10:21 AM
#784
snk060 avatar

snk060

New Zenner

Join Date:
Aug 2013
Posts:
56
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi,

How can I changes total price, such that - buy any three product for $29

product A = $19
product B = $20
product C = $21

Total for all three (offer price) = $29

Please help!

Thanks.

25 Jun 2015, 10:25 AM
#785
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

Quantity Discounts doesn't do this sort of thing. See PM for other ideas.

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.

16 Sep 2015, 8:36 AM
#786
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Grr. I have updated my site to responsive and lost my marbles.
I have 23 products (wax melts) in a sub category no 58.
Currently at 40p each but then if you buy a MIX of 14 of these products i want to charge 35p and 28 at 32p.
There is nothing else in this category but there are products in its parent category that i dont want to discount.
I have set the discount basis by category but am struggling with the code. Am i correct in altering the ot_quantity_discount.php file in the includes/modules/order_total folder.
If i am where do i alter the code as im struggling to get this to work?

https://www.candlewithcare.co.uk
Luxury Scented
Candles at great prices!

16 Sep 2015, 8:50 AM
#787
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

See your PM for suggestion.

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.

17 Sep 2015, 9:24 PM
#788
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Just for future info if anyone is reading this.
I have bitten the bullet and paid for swguys table discount.
This is the only way i could get things to work correctly after trying nearly everything else.

https://www.candlewithcare.co.uk
Luxury Scented
Candles at great prices!

19 Jan 2016, 6:24 AM
#789
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,022
Plugin Contributions:
2

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

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

td.ot-quantity-discount-Text[/COLOR]{font-weight:bold;}

hope this helps.

9 Apr 2016, 8:25 AM
#790
nick1973 avatar

nick1973

Totally Zenned

Join Date:
Sep 2008
Location:
Cleethorpes
Posts:
1,230
Plugin Contributions:
3

Re: Quantity Discounts for 1.3

How would I duplicate quantity discounts?

Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk

24 Jun 2016, 10:52 AM
#791
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

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?

24 Jun 2016, 12:33 PM
#792
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

It works for all versions of Zen Cart.

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.

22 Nov 2016, 11:26 PM
#793
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,903
Plugin Contributions:
23

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
    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```
    // 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```
   // 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.```
    // 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?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

23 Nov 2016, 1:33 AM
#794
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

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/zencart_quantity_discounts.html#marketing

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.

23 Nov 2016, 1:55 AM
#795
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Thanks that was the fix ...
Happy Thanksgiving Scott ...

Mark,

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

2 Dec 2016, 1:34 AM
#796
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

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.

2 Dec 2016, 1:37 AM
#797
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

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.

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.

2 Dec 2016, 2:09 AM
#798
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

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.

2 Dec 2016, 3:25 AM
#799
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Okay, disregard the last--I found the version for Zencart. But I don't see how I can use it to allow set prices for a quantity purchase.

2 Dec 2016, 12:47 PM
#800
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,758
Plugin Contributions:
56

Re: Quantity Discounts for 1.3

There's one for ZenCart too. Please contact me through my site.

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.