ah ok. at the top of the function add
So you haveCode:global $currencies;
Code:function get_discounted_prices($product, $category) {
global $currencies;
Printable View
ah ok. at the top of the function add
So you haveCode:global $currencies;
Code:function get_discounted_prices($product, $category) {
global $currencies;
You're a star Scott. It worked! Thank you very much!
Hi,
In our store, we offer quantity discounts on all products dependent on the quantity purchased (set in Categories Quantities Discounts ).
The price is discounted correctly in the Quantity Box on the product page. But my only issue is that it's not discounted in the cart. Please refer to the following picture:
Attachment 13369
Attachment 13370
The cart calculation is just based on base price, but not on discount price. I wonder if it has something to do with the cart and checkout calculating the discount differently?
Any suggestions would be greatly appreciated.
Eric
@Eric, this is the support thread for my Quantity Discounts mod
http://www.zen-cart.com/downloads.php?do=file&id=135
which is different from Numinix's mod
http://www.zen-cart.com/downloads.php?do=file&id=1485
And it appears you are using his rather than mine.
In any event, both are order total modules, which means the customer doesn't see the discount until they check out.
We have a report from a TaxCloud merchant that has recently installed Quantity Discounts:
"Rather than applying the discount to the sub-total, adding shipping, and then calculating the tax (as it should) Quantity Discounts is adding the sub-total and shipping together, calculating the tax, and then applying the discount."
This observation is correct.
It is important that the discounts are applied to each item and not as a separate line item on the checkout page.
For example, let’s say you have a promotional offer of $10 off a $50 order. If a customer is purchasing two items totaling $50 (each with a sales price of $25), you will need to divide the $10 discount between those items (adjusting the sales price for each item to $20). Only after the discount has been applied can one determine the sales tax amount due.
Furthermore, and this is the issue provoking this post, combining shipping amount with the subtotal will prevent proper determination of tax because shipping is NOT always taxable.
Quantity Discounts does not include shipping. Furthermore, it does not apply discounts to individual items. That's the point of an Order Total module. It applies the discount to the total. If you need per item discounting, you will need to use Sales, Specials or the Native Quantity Discounting mechanism in Zen Cart.
Hello Doodlebuckets,
I am wondering if you are first of all still there as this post is a few years old! If so, did you ever get your answer regarding if the discounted price per category can somehow be manually entered instead of a percentage? Your question matches mine almost word for word as I have a similar situation with my pricing tiers at my online store. I want to simply add the discounted price without relying on the calculator to create the new pricing tier since it is not giving the result I need.
Thanks and I look forward to hearing from you,
Scott( a different Scott than in this thread :)
You aren't limited to discount by percentage - you can discount by a currency amount.
Quantity Discounts works fine in Zen Cart 1.5.2 and 1.5.3.
Hello,
Hopefully I'm posting this the right way in the correct thread. I am using Zen Cart v1.3.9h with the swguy Quantity Discounts mod. When I installed the mod, I ran a number of test orders to confirm it calculated the discounted price correctly for different order sizes, but I didn't complete the order and charge a credit card.
Today the first customer purchased enough items to qualify for the quantity discount. The discount calculated correctly and was reflected in the order total in the shopping cart and on the order record I see now in ZC. When the customer's credit card was charged, however, it was charged for the undiscounted amount. What could cause this? I searched the forum and didn't find a similar issue.
Thanks for your assistance.
Jeff