News:

Looking for documentation? Take a look on our wiki

Main Menu

Every second product for half price

Started by sandomatyas, August 15, 2016, 18:33:49 PM

Previous topic - Next topic

sandomatyas

I have a shop where I have to set this configuration:
There are products, e.g. apple - 10$, banana - 20$, pinepple - 30$
When the customer adds products to the cart, I have to recalculate the prices, half of the item becomes cheaper, for half price.

If customer buys 2 apples, I have do add 1 apple for $10 and 1 apple for $5
If the cart contains 5 apples, 2 of them are for $10 and 3 of them for $5
If he buys 1 apple, 1 banana and 2 pinepples, he gets the cheaper for half price, like apple for $5, banana for $10 and pineapples stays $30.
Also if the customers changes the items in the cart view I have to recalculate.
These things should be appear in the mails too.
Can I store in the cart the same product for different prices?

Is there a way to do that somehow?

I have some php skills if I can change it somehow

Jörgen

Hello

This could probably be done with Awocoupon

http://awodev.com/products/joomla/awocoupon

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.