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 301 to 320 of 847
23 Oct 2008, 8:22 PM
#301
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Quantity Discounts for 1.3

itinfraco:

I'm new to zencart, have read the excellent guidance, installed quantity discounts and all seems to be working ok. However, I've also installed the promo material and would like to know how to change "Buy 3 or more of any item, get 10% off " to "Buy 3 or more items, get 10% off". I've searched all the mod files but can't find the text to change - can you help please?
Phil

Not sure what you mean by promo material, but you can try logging into your ZC admin and going to Admin>Tools>Developers Tool Kit and searching under "Look-up in all files" in "All Files - Catalogue and Admin". Search for the whole phrase verbatim, or part of it if you get no results. That should show you the file and line number of where you can edit the text.

If it is an order total module, it will most likely be /YOURWEBADDRESS.COM/includes/languages/YOURLANGUAGE/modules/order_total/THENAMEOFTHEMOD.PHP

Hope this helps.

23 Oct 2008, 11:05 PM
#302
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

itinfraco:

I'm new to zencart, have read the excellent guidance, installed quantity discounts and all seems to be working ok. However, I've also installed the promo material and would like to know how to change "Buy 3 or more of any item, get 10% off " to "Buy 3 or more items, get 10% off". I've searched all the mod files but can't find the text to change - can you help please?
Phil

The language on the promotional pages is still generated by Quantity Discounts, not the promotional pages themselves. The promotional pages just provide a container for the discount information. You'll want to look at

./includes/languages/english/modules/order_total/ot_quantity_discount.php

The trouble is, the statements themselves are sort of woven together word by word, so you might need to change the code file as well (i.e. ./includes/modules/order_total/ot_quantity_discount.php) to get the end result you want.

Good luck,
Scott

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.

24 Oct 2008, 8:52 AM
#303
itinfraco avatar

itinfraco

New Zenner

Join Date:
Oct 2008
Posts:
20
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Thanks guys for your quick response. I went with Scott's direct approach, (him being the author and all) but as a newbie it's good to be reminded of stuff you just gloss over when you're trying to get your shop up and running - so thanks Fergus too. I amended the BASIS_CART definition in ./includes/languages/english/modules/order_total/ot_quantity_discount.php and all works like a dream.

We've been mainly using an asp cms to develop websites until now and so are new to zencart, but I have to say I think we've got to grips with the basics quite quickly and it's so powerful, especially with really useful add-ons like this one. We're here to stay!

On another note, I'm thinking of using zen for a restaurant in-house order placement application - can you please advise where's the best place to discuss requirements and design?

Thanks for all your help and hard work.
Best regards,
Phil

24 Oct 2008, 11:59 AM
#304
jnsc avatar

jnsc

New Zenner

Join Date:
Mar 2007
Posts:
2
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I've just installed the mod and everything works great, good mod.

Is there a way to have the Unit Price in the shopping cart reflect the quantity price instead of the original price?

If that could be done, would that means we can just hide the quantity discount line during checkout since the unit price would add up correct to the total then?

Thanks,

3 Nov 2008, 1:18 PM
#305
jvoce avatar

jvoce

New Zenner

Join Date:
Jul 2006
Location:
Toronto, ON
Posts:
87
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Well, after placing plans to integrate this mod with our website on the shelves, I'm dusting it off again.

So far, I've have the mod working beautifully right now in most aspects. The only problem I seem to be having is re-calculating tax. It appears that the discount is only re-calculating the tax on shipping (5% GST in Canada), and not the actual tax on the items (5% GST + 8% PST).

I know others have experienced the same issue, and I'm curious if there's a way to work around this? The problem is that the 8% PST may not always be charged; it all depends where it's being shipped too.

Does anyone have some ideas to get me started?

12 Nov 2008, 2:25 AM
#306
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I have a client site with the Minimum Order add-on module installed. Client now wants to offer quantity discounts when total purchased is $250/$500/$1000.

Will this mod play nice with the minimum order mod?

Thanks,

Tina

12 Nov 2008, 7:15 AM
#307
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

charmedbytina2:

Will this mod play nice with the minimum order mod?

I have no idea. Test carefully before installation in a live shop.

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.

12 Nov 2008, 3:29 PM
#308
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

FYI,

I installed this mod and haven't had any issues with the Minimum Order mod (although I set the minimum order value to -0-).

Great mod. Thanks!

Tina

14 Nov 2008, 7:31 AM
#309
tuncay avatar

tuncay

New Zenner

Join Date:
Sep 2006
Posts:
56
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

hello
i didn't install the code yet but i have a question. what i want to do for my site is that for example: lets say somebody ordered $60worth of thing. they can choose a second item for $15 worth for free if they choose more then $15 for example $30 for the second item then i want it to reduce $15 off from $30 and charge the rest.

and i want some choices for example for a second choice if they order $100 then they can choose something worth $25.

is this module can do that or any other module ?

if it can i will try to install.

thank you in advance everybody for their hard work .:clap:

14 Nov 2008, 7:53 AM
#310
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

What you're asking for is not what this module does.

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.

14 Nov 2008, 9:53 AM
#311
doubletiger avatar

doubletiger

Zen Follower

Join Date:
Apr 2005
Posts:
199
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi, Swguy

Can your mod does following way of dicounting?

5% Discount on orders over £50

10% Discount on orders over £100

15% Discount on orders over £200

thanks!

14 Nov 2008, 11:20 AM
#312
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Yes; discount by dollars spent was added in version 1.10.

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.

15 Nov 2008, 12:23 AM
#313
doubletiger avatar

doubletiger

Zen Follower

Join Date:
Apr 2005
Posts:
199
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi

thank you for the reply!

but this mod does not work if the website sells mix of both taxable and no-taxable products ? can you confirm it?

many thanks!

15 Nov 2008, 12:53 AM
#314
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

The restriction is you cannot recalculate tax (accurately) with a cart containing taxable and non-taxable items. You can use recalculate tax = no, and this is what many bricks & mortar retailers do.

Zen Cart does not break down the tax on an item by item basis, so it's impossible to reduce the tax on a mixed basket perfectly at the moment. Perhaps when the checkout rewrite is done, this issue will be addressed.

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.

15 Nov 2008, 1:14 AM
#315
doubletiger avatar

doubletiger

Zen Follower

Join Date:
Apr 2005
Posts:
199
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

thank you for the explanation!

I am wondering what will happen if I use

zen cart's quantity discount on individual products + big dollar spending, on site sells mixed of taxable & non taxable items, and turn the "recaculate tax" off, what will happen? will result of reduction correctly inc tax?

many thanks!

15 Nov 2008, 1:33 AM
#316
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

I'm not absolutely positive what you're asking, but the logic that Big Spender uses to reduce tax is basically the same as the logic that Quantity Discounts uses. If you mix taxable and non-taxable items in the same basket and you're discounting with software I wrote, the only way you'll get a sensible number in all cases is to set recalculate tax to none and charge the full original amount of tax. In certain very specific cases for Quantity Discounts (but not Big Spender) you could write additional logic and get a close approximation in the manner that Group Pricing does; this is not something I support.

Like I said, when the checkout logic in Zen Cart is reworked so that taxes are available on a per item basis in the shopping cart object, I will update my code to provide more flexibility here, but until then this is a restriction.

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.

15 Nov 2008, 1:46 AM
#317
doubletiger avatar

doubletiger

Zen Follower

Join Date:
Apr 2005
Posts:
199
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

thank you for reply!

It is pity your mod has such restriction under current version of zen cart, otherwise it will be extremely useful especially we are in recession now and shoppers like to see discount. let's hope future version of zen cart allows you to rewrite the mod.

once again, thank you very much for your help and time!

16 Nov 2008, 6:56 PM
#318
supersnow avatar

supersnow

Zen Follower

Join Date:
Apr 2007
Location:
California, USA
Posts:
233
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

We have a variety of quantity discounts depending on the category. We have them set up and they work great but recently we had a customer that somehow went to a page that shows the default discount on the custom discounted category. They sent us a screenshot of the page and the interesting thing was that the cPath= in the url was for a category id that doesn't exist in our database.

So tested this an I can put any category id in the url and the product will still show up but the prolem is the discount text will display that category id's discount text or the default default.

So my problem is:

  1. why does a product show up if the catergory id doesn't match
  2. how can we ensure the customer sees the correct discount
    Just to calrify when they go through the checkout process the correct discount is applied. We just have a problem of customer thinking we are giving them a raw deal becaue they see something different.

Thanks
Supersnow

16 Nov 2008, 9:18 PM
#319
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

If you have custom category discounts, you can't just use the default marketing text; you need to write additional code.

Scott

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 Nov 2008, 1:47 AM
#320
bunnyrific avatar

bunnyrific

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I have a similar issue -- but using the Table Rates instead....

Has anyone else been able to come up with a solution -- so that shipping rates are calculated based on the total AFTER discounts applied?

maineiac13:

I am using the quantity discount contribution to apply discounts to my products based on the total quantity of items purchased. (i.e. currency per item/total items in cart.) And I am also using the Discount Preview Module.

I am setting up my store and at the moment only have the Zone Rate Shipping Module activated. I have set up 3 Zones. One for US, one for Canada, and one for the rest. The zones are set to calculate different shipping rates based solely on the price of the order.

Zone 1 shows: 19.99:2.50,10000:0.00
Zone 2 shows: 24.99:3.00,10000:0.00
Zone 3 shows: 13.50:4.00, 24.00:5.00, 37.50:7.00, 45:9.00, 70:11.00,99.99:12.00,10000:0.00

What happens is that the shipping cost is being calculated as if there was no discount.

For example, if the total cost before the discount for a UK customer is $30...but after the discount the total cost is $23, the customer is being charge $7.00 shipping instead of $5 shipping.

Is there a way to correct this?