Zen Cart Logo
Forums / Addon Order Total Modules / Quantity Discounts for 1.3

Quantity Discounts for 1.3

Views: 226,318

Results 21 to 40 of 847
2 Sep 2006, 1:29 PM
#21
swguy avatar

swguy

Administrator

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

Quantity Discounts for 1.3

Lots of details, screenshots and FAQ answers are provided in my support page for Quantity Discounts:

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

Good luck to all,
Scott

4 Sep 2006, 3:40 PM
#22
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

I will provide 1.3.5 updates ASAP. If you are merging yourself, note that the file shopping_cart.php no longer requires special customization; my change was added to core code.

Thanks,
Scott

4 Sep 2006, 9:44 PM
#23
peanut77 avatar

peanut77

Zen Follower

Join Date:
Feb 2005
Posts:
266
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi

I am having a wee problem in that I have the qty discount module installed but the calculation does not seem quite right.

This is a uk store with vat at 17.5%

http://www.vineorganic.co.uk

I have the following settings

Include tax - true
discount units - percentage
discount basis - items in cart
discount level 1 - 5
discount amount - 5

I have disallowed items being discounted from 1 category - by amending a file as specified (adding in category id)

However it seems to completly ignore the vat and apply the discount to the items without including the vat.

How would I get it to calculate the discount taking into account vat?

Help appreciated (donation to college fund will be made as soon as possible - this is a fab module - so thanks!)

4 Sep 2006, 10:34 PM
#24
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

The include tax stuff is quite hairy, and I'm not sure about VAT. When you're upgraded
to 1.3.5, pm me and I'll give you a beta of v. 1.3 of QD; this might solve your problem.

5 Sep 2006, 7:32 AM
#25
peanut77 avatar

peanut77

Zen Follower

Join Date:
Feb 2005
Posts:
266
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Sods law I have just spent the last week updating to 1.32...from 1.27

ho hum - will try and get this done over the next few weeks.

Cheers will get in touch once I've upgraded.

9 Sep 2006, 11:17 AM
#26
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Quantity Discounts Version 1.2 has been submitted to the moderators and will be available shortly. This has a number of sales tax related fixes, so if you charge sales tax, please be ready to upgrade.

Note that this module is dependant on certain fixes in ZenCart 1.3.5, so you must upgrade to ZenCart 1.3.5 before installing Quantity Discounts 1.2.

I will post a message here when it is generally available.

Meanwhile, have a look at the Quantity Discounts FAQ page:
http://www.thatsoftwareguy.com/zencart_quantity_discounts.html

Thanks,
Scott

17 Sep 2006, 10:30 PM
#27
madison avatar

madison

New Zenner

Join Date:
Dec 2005
Posts:
30
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

swguy:

I think there is some interest in setting discount thresholds by DOLLARS SPENT,
not by quantities of items where dollars spent (or other currency spent) could be tracked by item, by category, or by total number of items in the cart. It's not a hard change either - in fact, the only thing I'm having trouble with is thinking about what to call it! So if you want to discount by dollars and not by item count, please speak up and let me know what what you think the config item name should be, and any other config you think is needed.

Thanks,
Scott

Hi
I wonder if you did develop the discount thresholds set by dollars/pounds spent afterall. I would like to offer my customers discounts based on the amount of money spent per order.....

How about calling it cart total discount or something...

Also, is it possible to make the discounts unavailable to some customers - say newer ones, yet available to your returning customers?

Thanks

17 Sep 2006, 10:37 PM
#28
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

These extensions are available at a small cost. PM or email me with your precise specifications for details.

Scott

24 Sep 2006, 1:31 AM
#29
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

The latest version (1.3) of Quantity Discounts is now available; this version fixes some of the sales tax issues in prior versions. Note that this version has ONLY been tested against ZenCart 1.3.5 and requires ZenCart 1.3.5's copy of shopping_cart.php, so please upgrade before installing this version of the contrib.

Good luck,
Scott

27 Sep 2006, 1:19 PM
#30
dgwyn avatar

dgwyn

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I have a group of products that are all under one category. Each item is $2.00, and when we sell them locally, we offer them at 3/$5. I installed the module and I'm only able to get one discount on the first 3. If I buy 6, I still only get $1 off. My settings are:

Discount Units
currency

Discount Basis
Total by Category

Discount level 1
6.00

Discount Amount 1
1.00

Discount Level 2
12.00

Discount Amount 2
2.00

etc.

Am I doing somethign wrong?

27 Sep 2006, 1:24 PM
#31
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Discount by currency is a one-time one amount discount. If you need a currency discount to be applied to each item, this is an inexpensive customization I can do for you; PM me for details. Otherwise, you can use a % off discount of 16% with discount level 1 of 3.

Good luck,
Scott

27 Sep 2006, 2:12 PM
#32
dgwyn avatar

dgwyn

New Zenner

Join Date:
Nov 2005
Posts:
18
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I was assuming that it was a one-time discount, which is fine. My assumption on the use of it was this:

If I have $6 worthe, then give $1 discount. If I have $12 worth, then give $2, and so on. I even tried reversing it, putting the higher levels first, but I still only ever got $1 discounted. I only want the discount to apply on groups of three, and it's $1 off for each group. Make sense? Can I do this with the current module?

27 Sep 2006, 2:21 PM
#33
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

You will need to write some custom logic.
I added user exits to make the mod more extensible. See

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

for some examples. Look at apply_special_category_discount().

Scott

27 Sep 2006, 5:04 PM
#34
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I just installed 1.3. I would rather the parent category be used for my quantity discount. I'm sure there is a simple code mod that I can do to allow for that. Can you tell me what that would be? Thanks!

27 Sep 2006, 6:46 PM
#35
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

The parent category is used. Do you want the top level category to be used?
If so, this is available as a customization for a modest fee. Please see "Special Requests" in:

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

Scott

11 Oct 2006, 12:30 PM
#36
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

You need to use the user exits. Look at

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

at the exclude_category() method as an example.

Scott

11 Oct 2006, 10:22 PM
#37
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Check the FAQ again at

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

a couple of examples of having products in or out of the discounting plan are provided.
(look for "exclude_product")

Good luck,
Scott

12 Oct 2006, 9:34 AM
#38
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

That's a very interesting usage model ... I guess I thought most people would use the built in one and do it product by product, or use mine, but I guess you could use both. The only problem
I would have with using both is that you'd have to explain very carefully to the customer that
discounts on product xyz will appear as soon as you put the product in your basket, but discounts
on product abc will not be shown until checkout time.

Good luck,
Scott

25 Oct 2006, 12:36 AM
#39
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Another suggestion has been added to the Quantity Discounts FAQ:

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

If you are concerned that people don't know they might have a discount coming
when they look at their cart, try changing SUB_TITLE_SUB_TOTAL in includes/languages/english/shopping_cart.php to something like 'Sub-Total BEFORE Discount'
This will emphasize the fact that a discount will be added at checkout time.

Good luck,
Scott

25 Oct 2006, 2:29 AM
#40
jeffmic avatar

jeffmic

Zen Follower

Join Date:
Aug 2006
Location:
North Carolina
Posts:
280
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Is there a way to add an 'if' statement before this code so when I place it into
tpl_product_info_display.php, it will only display the discount info if that item is actually one of the items that include a quantity discount? Otherwise, nothing will appear (so it won't confuse the customer with a generic statement that's not needed otherwise.

I don't mind typing in all my included (or excluded) categories or items, but I can't figure out the code to create an 'if' statement.

thanks,
Jeff Michaels
Musical Creations Ltd.

<?php $value = "ot_quantity_discount.php"; include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false')); include(DIR_WS_MODULES . "order_total/" . $value); $discount = new ot_quantity_discount(); echo '<div class="content" id="discountPolicy">'; echo '<h2>' . STORE_POLICY . '</h2>'; echo $discount->get_html_policy(); echo '<br /></div>'; ?>