Jump to content

Unit Price for combinations (variation) not updated correctly


Recommended Posts

Hi there,

I wanted to set the unit price per 100g for example some chocolate.

So I have added a Product with the unit price 2 € for 100 g, then I added 3 combinations

100g with no influence on base product

250g with price increase of 2 € and a unit price reduction of 0.40  (100g now 1.60€ (theoretically))

500g with price increase of 5 € and a unit price reduction of 0.60  (100g now 1.40€ (theoretically))

But the frontend shows for the combinations

100g = 2€ / 100g

250g = 4€ / 100g

500g  = 7€ / 100g

thats not correct.

So how can I set it up to get correct price per base?

100g = 2€ / 100g

250g = 1.60€ / 100g

500g  = 1.40€ / 100g

Many Thanks in advance

Edited by BluTiGeS (see edit history)
Link to comment
Share on other sites

The same problem here!

That's so bad for my shop! I have to get unit prices working correctly!
Why there's even an option for that which does not work? This is absolutely stupid. I can't stand this!

 

Anything - prices drop, price increase - this is not changing anything with product unit price. That stupid thing!

 

That stopped everything - I can't work without unit prices not even working! Shame! Shame!

Edited by stanleyek18 (see edit history)
Link to comment
Share on other sites

Why, why for god's sake changing price in product variations influences unit price? Who ever created that? Not even slight logic in this! Absolutely stupid, damn thing!

You can write anything you want in product unit modification (price drop or so) - that doesn't change anything! WHY!?

Link to comment
Share on other sites

  • 2 months later...

Hi guys.

I would like to know how I  can show the unit price for the packets of nappies / diapers using combinations .. for ex in combinations I have 2 items, the first item is 1 packet of nappies with 20 organic nappies per packet sold for €5.99 and the second item is 8 packets with 160 nappies, sold for €44 .The price is  44,96  and € 2,18 € per 1 . which is wrong. It should be 0.28.cents per nappy, 5,99 €0,29 € per 1

The single item price is shown correctly for one packet with 20 nappies. Does anyone have an idea why presta shops' -combinations - section calculates the modified price for the price increase from 1 packet to 8 packets ? 

I would appreciate any help, I have been busy with this problem for a few hours now.... 

Thanks in advance... 

Len

Link to comment
Share on other sites

  • 2 weeks later...

Whoever did this should probably look for another supplier or stop using altogether. Here is what Presta does:

In order to show a unit price one must enter the NET price per unit. So if your product costs 4,9 gross for 10ml, your VAT rate is 20% and you want to show the unit price for 100 ml you'd have to enter 40,8333 per 100 ml. So far so good.

 

In the background Presta calculates something which is called a "unit_price_ratio" - but only once on the main product. This is the NET price for your 10 ml (4,0833) divided by the net price for your 100ml (40,833). This gives a number (0,1 in this case) without any meaning since the quantity relation is nowhere recorded. And in addition to that it causes serious rounding errors.

IN order to calculate the unit price of 100 ml for a combination with 500ml they use the GROSS sales price for the 500 ml (say 220) and divide it by the previous result (0,1). The result for the unit price (still 100ml) is then 2200. 

 

And yes, one can put in something like a unit_price_impact which is nothing else but a half-hearted repair attempt. In our example this has to be a reduction of  roughly 2017 in order to come to a net unit price for 100 ml of 183 and subsequently to 220 gross.

 

My advice: Just calculate the unit price manually and add it as text.

Link to comment
Share on other sites

Hi there, 

The manual input for the unit price works for one packet but for the variation of 4 packets the unit price is calculated automatically. I have tried the manual calculation but on the front end the price does not display correctly, even thought the unit price was correctly added manualy. I don't know where to add the unit price. No idea

Link to comment
Share on other sites

×
×
  • Create New...