Discount price for qty

General Support for technical Issues relating to AlegroCart
Post Reply
Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Discount price for qty

Post by Oistacus » Wed Nov 23, 2011 11:37 am

Hi Brent ,
I noticed that there are problems for calculation of the discount . If I have a product with option , the discount is calculate from price of product, not from price with option .
e.g. product a -> 3.30 product a.1 -> +2.2 total price 5.50 OK !
discount for 10 items -> 15%
I got in the cart $ 5.00 ( (3.3 -10% )+2.2 ) not $ 4.68 * 10 items = in the cart 50.00 ( real price 46.8) .
If you try on my website ( cavatelli and select option GRANO ARSO / buy 10 , you can see it ). Also in the product page , in tab info , the discount value is fixes , dont changes if i select another option ( the price changes *blu color*, not the discount )
Ois

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Discount price for qty

Post by Brent » Wed Nov 23, 2011 12:06 pm

Yes, that's because discount was never intended to be extended to product options.
I'll look at it to see the best way yo handle it. It should be selectable so it can be applied to the product only, or product and options.

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Discount price for qty

Post by Oistacus » Wed Nov 23, 2011 12:34 pm

Brent wrote:Yes, that's because discount was never intended to be extended to product options.
I'll look at it to see the best way yo handle it. It should be selectable so it can be applied to the product only, or product and options.
For me , the best way is the sum ( price + option ) ! I see a price of the product with or not the option, I should have the discount from the price to see in the product page ( blu color ) ! I think it should be indicated in the gross price from the product page . The customer see it !

In the products page ( tab additional information ) I see also DISCOUNT Amount . But the discount indicated not is for amount but for piece . I think should be :
e.g.
promotion (1 piece 10,00 - 3 pieces discount 10% - 10 pieces 15%)

In the product page tab additional information
- or to indicate only perceptual Discount Quantity:3 (10%) / Discount Quantity:10 (15%)
- or better to indicate
Discount Quantity: 3 Discount Amount: -3,00 (10%)
Discount Quantity: 10 Discount Amount: - €15,00 (15%)

NOT
Discount Quantity: 3 Discount Amount: - €1.00 (10%)
Discount Quantity: 10 Discount Amount: - €1.50 (15%)
because in this case I see the discount amount only €1.50 for 10 pieces .
Ois

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Discount price for qty

Post by Brent » Wed Nov 23, 2011 5:03 pm

Yes, I understand your issues.
First, as I explained, the discount on the product tab is based only on the Product price, not including the options.
The price displayed in the body of the product page in blue is a combination of product price plus chosen option's price.
Can this price reflect quantity discounts? The answer to that is NO.
You can't calculate a quantity discount before the quantity is known and the quantity is one until the quantity is added to the cart. It's like you can't have the chicken before the egg.
I will work on this over the next couple of days to find a workable solution.

Oistacus
Posts: 133
Joined: Sat Oct 08, 2011 3:21 pm
Location: Matera ITALY

Re: Discount price for qty

Post by Oistacus » Thu Nov 24, 2011 5:21 am

By the time I solved changing the phrase in this step ( file catalog/language/english/catalog/product.php )

.....
$_['text_qty_discount'] = 'Buying ';
$_['text_discount'] = 'pieces, You will get a discount for piece of: - ';
.....

I have indicated that the discount is for piece , not Discount Amount .

Ois

loilove
Posts: 1
Joined: Mon Mar 26, 2012 1:34 am

Re: Discount price for qty

Post by loilove » Mon Mar 26, 2012 2:24 am

this also is a difficult problem for me :(

--------------------------------------------

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Discount price for qty

Post by Brent » Thu Mar 29, 2012 5:50 am

This issue has been delt with in the next release.

Post Reply