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 421 to 440 of 847
13 Jul 2009, 8:46 PM
#421
thenax avatar

thenax

New Zenner

Join Date:
Jun 2009
Posts:
67
Plugin Contributions:
0

Quantity Discounts for 1.3

is there any extension mode that offer discounts to certain groups only?

13 Jul 2009, 11:53 PM
#422
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 PM.

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.

18 Jul 2009, 7:52 AM
#423
thenax avatar

thenax

New Zenner

Join Date:
Jun 2009
Posts:
67
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I need only to apply a currency discount level only to price group 'number one'. So I think it needs only an easy modification and not an additional complex mod.

27 Jul 2009, 10:45 PM
#424
ezorb avatar

ezorb

Zen Follower

Join Date:
Apr 2006
Location:
Midland TX
Posts:
426
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Sub-Total not displaying correct.

When you make a purchase that qualifies for a discount the "Extended Price" is correct.

The next line "Quantity Discount" shows the correct discount amount in dollars.
The next line "Sub-Total" does not reflect the discount. Sub Total shows the above Extended price giving appearance quantity discount is not applied.

The Total Price. does show the correct amount.

It is important that the "Sub-Total" reflect the discount because when shipping internationally value of goods shipped customer may have to pay a tax on the value paid for the product which should be the Sub Total less discounts and shipping cost.

Could someone provide help in subtracting discount amount from extended price to = Sub-Total? see below example.

Products Model Tax Price (ex) Price (inc) Total (ex) Total (inc)
3 x EZorb Calcium Capsules 822392001225 $39.95 $39.95 $119.85 $119.85
Total Weight is 1 lbs. 11 oz.
Quantity Discount: -$8.39
Sub-Total: $119.85
Flat Rate (Best Way): $6.95
Total: $118.41

28 Jul 2009, 12:34 AM
#425
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 subtotal is not a running value. You'd have to write code to get the display you're looking for; you can't just change the sort order.

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 Jul 2009, 12:09 AM
#426
ezorb avatar

ezorb

Zen Follower

Join Date:
Apr 2006
Location:
Midland TX
Posts:
426
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

swguy:

The subtotal is not a running value. You'd have to write code to get the display you're looking for; you can't just change the sort order.

If SubTotal is not a running value then what is it's purpose. I assume from your reply Subtotal is not inside the Quanitity Discount mod. Does anyone know where Subtotal is figured? SWGuy this is a great mod that needs to be part of core.

31 Jul 2009, 12:44 AM
#427
kunal avatar

kunal

New Zenner

Join Date:
May 2009
Posts:
86
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Is there a way to change the products_id to products_weight or products_sort_order?

function apply_special_item_discount($id, $count, &$disc_amount) {
switch($id) {
case 1:

            if ($count > 1) {
               $disc_amount = 15; 
            }
            break; 
       case 2:
            $disc_amount = 20;
            break; 
    }
}

Thanks in advance :-)

31 Jul 2009, 12:54 AM
#428
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Kunal:

Is there a way to change the products_id to products_weight or products_sort_order?

You'd have to write code to do this; there's nothing 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.

31 Jul 2009, 1:03 AM
#429
kunal avatar

kunal

New Zenner

Join Date:
May 2009
Posts:
86
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Could you point me in the direction of the chunk of code to be revised?

I'd really like to be able to have quantity discount by either weight or sort order

1 Aug 2009, 12:38 AM
#430
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Response by PM.

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.

3 Aug 2009, 4:26 PM
#431
jwurster avatar

jwurster

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Instead of applying a discount, we would like to apply a surcharge. We thought that by adding a negative percent, it would work. But alas, it doesn't. Is there a way to do this easily?

Thank you, jim

17 Aug 2009, 7:04 AM
#432
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Hello

Is it possible to include the quantity discounts table for each product on the product listing?

Thanks

Andy

17 Aug 2009, 10:23 AM
#433
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 to do this; you'd have to write code but it could be done.

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 Aug 2009, 10:25 AM
#434
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

swguy:

There's nothing built in to do this; you'd have to write code but it could be done.

Thought you might say that - I'll let you know how I get on as it may be useful for your contribution in future.

Thanks

Andy

27 Aug 2009, 5:06 PM
#435
oneworldstudios avatar

oneworldstudios

New Zenner

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

Re: Quantity Discounts for 1.3

tstamplis:

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.

Was a solution ever discovered for this problem? I've been having problems with customers not receiving their discounts when using PayPal Express or "Checkout without signup" and then trying to pay via Paypal.

Zack Coffman
Producer/Director of Choppertown and Brittown

29 Aug 2009, 11:04 PM
#436
therealex avatar

therealex

New Zenner

Join Date:
Jun 2006
Posts:
42
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

Not sure what's meant by "put the tax above the discount". I'm also using the Local Sales Tax mod, along with your great discount mod (customized so it only works with one category). No matter how I set "include tax", it still charges the tax on the full amount, not the discounted amount. The tax calculation is correct, it's just not "seeing" the discounted price.
Thanks for your help!

29 Aug 2009, 11:52 PM
#437
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

Response by PM.

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.

9 Sep 2009, 4:20 PM
#439
swguy avatar

swguy

Administrator

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

Re: Quantity Discounts for 1.3

No - must be one or the other.

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.

18 Sep 2009, 8:35 PM
#440
jeffh110 avatar

jeffh110

New Zenner

Join Date:
Sep 2009
Posts:
1
Plugin Contributions:
0

Re: Quantity Discounts for 1.3

I'm using your module so that I can offer a discount based on total number of items in cart and it works great. I just started using Google Checkout and it won't take the discount into consideration when calculating sales tax. Example

Original price $10.00
Discount 5.00

Total $5.00

Sales tax 6% is $.60 instead of $.30

Any ideas?