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?
New Zenner
is there any extension mode that offer discounts to certain groups only?
Administrator
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.
New Zenner
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.
Zen Follower
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
Administrator
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.
Zen Follower
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.
New Zenner
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 :-)
Administrator
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.
New Zenner
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
Administrator
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.
New Zenner
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
New Zenner
Hello
Is it possible to include the quantity discounts table for each product on the product listing?
Thanks
Andy
Administrator
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.
New Zenner
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
New Zenner
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
New Zenner
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!
Administrator
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.
New Zenner
Hi,
Can I make quantitu or total amount discount like in the case of :
https://www.interprojekt.com.pl/waterproof-ip67-rj45-ethernet-connector-p-420.html
Administrator
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.
New Zenner
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?
Tell staff why this post should be reviewed.