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 361 to 380 of 847
29 Jan 2009, 6:55 AM
#361
myworld20091 avatar

myworld20091

New Zenner

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

Quantity Discounts for 1.3

myworld20091:

hi, i have quantity discount installed, but i met the problem when checkout

  • i check out 2 items (price 20 + 30), total shipping cost 15.90, quantity discount 5%, tax 19.6%,
  • i set the price with tax, and shipping cost no tax.
  • i set the sort order which i want in module:
    sub-total -- 200
    shipping cost -- 210
    quantity discount -- 220
    taxes -- 230
    total -- 240

what i should get is :

sub-total include tax: 50.00
shipping cost: 15.90 [ // for all my products, i set price with tax and shipping cost no tax ]
quantity discount: -2.50 [ // 2 items 41.81*0.05=2.09 (include tax = 2.50) ]
tax: 7.78
total include tax: 63.40 [ // total = 50+15.9-2.5 = 63.40 ]

But, no matter how i set up, its not what i want:

i set quantity discount: include tax - true, re-calculate tax - standard, i get

sub-total: 50.00
shipping cost: 15.90
quantity discount: -2.50
tax: 7.70
total: 62.91

i set quantity discount: include tax - true, re-calculate tax - none, i get

sub-total: 50.00
shipping cost: 15.90
quantity discount: -2.50
tax: 8.19
total: 63.40

i set quantity discount: include tax - false, re-calculate tax - none, i get

sub-total: 50.00
shipping cost: 15.90
quantity discount: -2.09
tax: 8.19
total: 63.81

i set quantity discount: include tax - false, re-calculate tax - standard, i get

sub-total: 50.00
shipping cost: 15.90
quantity discount: -2.09
tax: 7.78
total: 63.40

if i add more items, the amount would be more outrageous

i'm using 1.38a

how do i fix the problem ? i like this module very much, i dont want to loos it. thanks

any ideas ?:unsure:

29 Jan 2009, 7:39 AM
#362
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 seems the setting you wish is not available. You are welcome to modify the code or to hire someone to do it for you.

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.

29 Jan 2009, 9:05 AM
#363
myworld20091 avatar

myworld20091

New Zenner

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

Re: Quantity Discounts for 1.3

hello,

here's my invoice with quantity discounts on

sub-total: 50.00
shipping cost: 15.90
quantity discounts: -2.50
tax: 7.70
total: 62.91

the total calculation is not correct

total = sub total + shipping cost - quantity dissounts
= 50+15.9-2.5 =63.4

but i have no idea why 62.91

29 Jan 2009, 12:19 PM
#364
myworld20091 avatar

myworld20091

New Zenner

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

Re: Quantity Discounts for 1.3

what i want is using quantity discounts, and calculation correct :unsure:

30 Jan 2009, 7:11 AM
#365
myworld20091 avatar

myworld20091

New Zenner

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

Re: Quantity Discounts for 1.3

i do not have any special requirements, i just want the quantity discounts working on my zencart 1.38, but now the calculation is not correct :cry:
any help would be appreciated

30 Jan 2009, 8:44 AM
#366
myworld20091 avatar

myworld20091

New Zenner

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

Re: Quantity Discounts for 1.3

swguy:

It seems the setting you wish is not available. You are welcome to modify the code or to hire someone to do it for you.

hi swguy,

they are not the settings i wish but the settings i have tried, i have tried perhaps all settings cause the calculation is not correct in the invoice, i dont know which setting is correct, thats why i posted them here.

i do not have any special requirements, i just want the quantity discounts working on my zencart 1.38, but now the calculation is not correct.

here's my invoice when i turn quantity discounts on

sub-total: 50.00
shipping cost: 15.90
quantity discounts: -2.50
tax: 7.70
total: 62.91

according to the invoice, it should be :
total = sub total + shipping cost - quantity dissounts
= 50 + 15.9 - 2.5
= 63.4

but now the total is 62.91, its obviously wrong, but i have no idea how to fix this problem.

could you help me? thanks.

22 Feb 2009, 3:05 AM
#367
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I Installed this mod and the preview feature in 1.3.8a. Works fine in every test I run. Today had a user checkout using paypal express checkout bypassing the checkout on my site. Discount was not applied. I assume this is because even though the preview can show the discount in the cart, it does not pass this discount to express checkout? Is there a way to apply the discount to users who choose the paypal express checkout method from the cart page?

22 Feb 2009, 12:27 PM
#368
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 have not heard of this problem. Does it happen on every express checkout? Are you certain the user qualified for a discount with the items they had? Can you reproduce the problem?

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 Feb 2009, 11:50 PM
#369
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

swguy:

I have not heard of this problem. Does it happen on every express checkout? Are you certain the user qualified for a discount with the items they had? Can you reproduce the problem?

Yes, he purchased 11 qty (we have discounts at 6 qty and 10 qty). I can't reproduce since I can't do a test paypal checkout. I can add the items to my cart and see the qty discount in the cart, but have no way to go to paypal and login to see the price (As soon as I try it says I can't pay myself:)). I just recently installed this and i have no other orders to compare to as far as express checkout.

I SHOULD mention that i have one page checkout mod installed. Not sure if that effects anything!

I will monitor and see if I have anything new to report. I'm glad to hear it SHOULD work with express checkout. I guess I just have to see if it is a fluke or is repeated. Thanks for this though, as an engraver, many people choose to add items one-at-a-time so they can put personalization on each item. Zen cart does not calculate qty discounts properly if added one-at-a-time like this mod does!

23 Feb 2009, 12:02 AM
#370
tstamplis avatar

tstamplis

New Zenner

Join Date:
Oct 2006
Posts:
62
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

tstamplis:

Yes, he purchased 11 qty (we have discounts at 6 qty and 10 qty). I can't reproduce since I can't do a test paypal checkout. I can add the items to my cart and see the qty discount in the cart, but have no way to go to paypal and login to see the price (As soon as I try it says I can't pay myself:)). I just recently installed this and i have no other orders to compare to as far as express checkout.

I SHOULD mention that i have one page checkout mod installed. Not sure if that effects anything!

I will monitor and see if I have anything new to report. I'm glad to hear it SHOULD work with express checkout. I guess I just have to see if it is a fluke or is repeated. Thanks for this though, as an engraver, many people choose to add items one-at-a-time so they can put personalization on each item. Zen cart does not calculate qty discounts properly if added one-at-a-time like this mod does!

OK, I have to retract that!! In my testing I added items one at a time to see if this mod would calculate the discount even though I added one at a time. This worked because i never changed any attributes. After reading your reply I went back and added these items one at a time with different attributes each (merely changed the font selection) and low-and-behold it did NOT calculate a discount for the items.

I guess I'll have to message you private to see if you can do some custom coding for me. In fact, I'll go to your site and request it. Sorry for the confusion, I guess it is the attributes throwing it off.

26 Feb 2009, 4:15 AM
#371
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Can somebody tell me how to temporarily disable this mod? Removing the file from my order_total folder gives me an error.

Is there another way?

26 Feb 2009, 11:25 AM
#372
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

swamyg1:

Can somebody tell me how to temporarily disable this mod? Removing the file from my order_total folder gives me an error.

You must not do this. Restore the file first, and then go to admin->modules->order total and do a remove on it. Only then is it safe to remove the files (but if it's temporary, just leave them there.)

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 Mar 2009, 8:05 AM
#373
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I'm using Quantity Discount, thanks for the great mod :clap:

I have a question, for the following example, how to make the discount amount to the nearest figure... e.g. $6.80 or $6.90

Total Purchase = $68.10
Given 10% discount = $6.81
Total to Pay = $61.29

Thanks in advance :blush:

22 Mar 2009, 10:14 AM
#374
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 nothing built in; you'd have to write code.

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.

26 Mar 2009, 8:11 AM
#375
langflyer avatar

langflyer

New Zenner

Join Date:
Nov 2007
Posts:
47
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hi,

This mod allows you to set up to five quantity discounts on a per item, per category or total item basis.

Is there a way to set discount by Category ? :huh: how ? :blush:

26 Mar 2009, 10:08 AM
#376
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Go to admin->modules->order total and select quantity discounts. Press Edit. Select Total Basis: Discount by Category. Press Update.

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.

30 Mar 2009, 8:54 PM
#377
semaxd avatar

semaxd

New Zenner

Join Date:
May 2008
Location:
Ventura Co.
Posts:
82
Plugin Contributions:
1

Re: Quantity Discounts for 1.3

We have been using Quantity Discount 1.8 with our Zen cart 1.38.
We keep having a problem with orders that reach our discount levels, even the first discount level.
(We set it up so that for every 10 DVD's you buy you get one for free.)
It seems we have everything set up right.
What am I missing?
This issue happens on both in Calif taxable orders, and out of state non taxable orders. It seems to be a cosistant $1.81 off some how.

Here is the error code we get in linkpoint:

5387

#**1**

5499XXXXXXXX1750
Expires: 07/11
4581-71nKsg

SGS-002301: Charge total must be the sum of subtotal, tax, value added tax, and shipping.
result=LIVE; oid=4581-71nKsg; ip=75.1.5.153; ponumber=; subtotal=241.45; tax=20.33; shipping=5; chargetotal=244.83; cardnumber=5499XXXXXXXX1750; cardexpmonth=07; cardexpyear=11; cvmindicator=provided; cvmvalue=724; userid=1; customerid=1; name=Kathleen Fielder; company=; address1=6850 Canby Ave. #106; address2=; city=Reseda; state=California; country=US; phone=818-881-5901; email=webmaster AT girlfriendsfilms DOT com; addrnum=6850 Canby Ave. #106; zip=91335; sname=Jim Koshak; saddress1=6850 Canby Ave. #106; saddress2=; scity=Reseda; sstate=California; szip=91335; scountry=US; comments=Website Order; items=Array ( [0] => Array ( [id] => 145 [description] => ############## Seductions 25 [quantity] => 10 [price] => 21.95 ) [1] => Array ( [id] => 146 [description] => ############## Triangles 14 [quantity] => 1 [price] => 21.95 ) ) ; ordertype=SALE;

We need to get this straightened out asap!
Any help would be appreciated.

My config of the module is:
Quantity Discount

© That Software Guy
Donate - Support this Module
Help - View the Documentation

This module is installed
true

Sort Order
295

Include Tax
false

Re-calculate Tax
Standard

Discount Units
currency

Discount Basis
Total Items in Cart

Discount Level 1
10

Discount Amount 1
21.95

Discount Level 2
20

Discount Amount 2
43.90

Discount Level 3
30

Discount Amount 3
65.85

Discount Level 4
40

Discount Amount 4
87.80

Discount Level 5
50

Discount Amount 5
109.75

Thanks in advance,
Jim

Jim Koshak
Website Engineer
Director Internet Services.
Girlfriends Films Inc.

30 Mar 2009, 9:05 PM
#378
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Some changes have been made to the LinkPoint payment module; do you have those installed on your cart? Search the forum for LinkPoint to find them.

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.

30 Mar 2009, 9:18 PM
#379
semaxd avatar

semaxd

New Zenner

Join Date:
May 2008
Location:
Ventura Co.
Posts:
82
Plugin Contributions:
1

Re: Quantity Discounts for 1.3

here is my current linkpoint settings

Linkpoint/YourPay Merchant Login
Troubleshooting/Setup FAQ
Enable Linkpoint Module
True

Linkpoint/YourPay Merchant ID
829**

LinkPoint Transaction Mode Response
LIVE: Production

Authorization Type
Immediate Charge/Capture

Set Order Status
Processing [2]

PREAUTH Order Status
Pending [1]

Refund/Void Order Status
Pending [1]

Sort order of display.
0

Payment Zone (restrict to)
--none--

Fraud Alerts
Yes

Enable Database Storage
True

Debug Mode
Failure Alerts Only

30 Mar 2009, 11:14 PM
#380
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

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.