News:

Support the VirtueMart project and become a member

Main Menu

Quantity discount on simple product variants

Started by gap, November 03, 2016, 23:37:29 PM

Previous topic - Next topic

gap

Hello All,

I have Joomla 3.6.4 and VM 3.0.18.
There is a product available in different colors - all colors have the same price. I'd like to apply a quantity discount from 5 pcs. I want to give the discount independent from color variations, it worked thus on VM 1.
Now the discount is granted only if you reach the quantity with 1 given color. For example if you ordered 3x red and 2x blue then the discount is not granted in VM3.

There is a simple custom field "Color", string type, it's a cart attribute and a cart input.

How could you solve that each product variation you add to the cart counts into the quantity discount limit?

thanks
Gap

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

gap

Thanks for the reply.

However I cannot see from the description by what way this bulk discount plugin would work other than the normal quantity discounts made with multiple prices. You can make a price for example from 1-3 pcs than a 2nd for 4-10 pcs and so on.
It works fine if you have only one product variant even if you add more times different number of products to the basket.
On the other hand the bulk discount plugin pdf says: "Please note that deals cannot be mixed and matched for a single product. For example, if you have 2 deals for a single product, one for 3 items and one for 4 items, and a customer adds 7 items to their basket, the plugin will calculate whether the 3 item deal or the 4 item deal gives them the best price and use that one throughout the calculation. It will not give them 3 items at one discount and 4 items at the other discount."

I thought the solution would be to make the custom field other way than the string type, I needed a simple variant where prices doesn't count.


gap