Author Topic: Discount based on number of products in the cart  (Read 1162 times)

nick_ingenia

  • Beginner
  • *
  • Posts: 1
  • Skype Name: nick_ingenia
Discount based on number of products in the cart
« on: November 22, 2016, 12:48:27 pm »

Hello, I use VM 3.0.10 and Joomla 3.4.

I'm searching for long time a plugin that lets to set a discount (percentage or full) based on the total amount of the cart or based on the total number of products in the cart.

So if in the cart will be present 2 or more products, all order amount will decrease in order of percentual value.

So for example:

product a: 40€
product b: 20€

CART EXAMPLE 1 (no discount)
1 x product a
Total: 40

CART EXAMPLE 2
1 x product a
1 x product b

Price without discount: 40+20=60
There will be applied discount: 60 - 10%: 54€

CART EXAMPLE 3
2 x product a
1 x product b

Price without discount: 40+40+20=100
There will be applied discount: 100 - 30%: 70€


I would to set different percentage discount for number of products in the cart.

So if products in the cart are 2<x<3 the discount amount (for order total) will be 10%.
If products in the cart are 3<x<10 the discount amount (for order total) will be 30%.


I've found a plugin that do this work (but is for Joomla 2.5):
http://www.easyjoomla.org/virtuemart-extensions/discount-based-on-order-amount-for-vm


Exist plugin for Joomla 3 and Virtuemart 3 that do this feature for each product in the cart and NOT apply discount at order total.
So with this plugins if I buy 100 different products for exaple, will not be a discount.

The plugins are:

1. JMS QUANTITY RELATED PRICE FOR VIRTUEMART PLUGIN
http://www.joommasters.com/documentation/jms-quantity-related-price-for-virtuemart/jms-quantity-related-price-for-virtuemart-plugin.html

2. QUANTITY CUSTOMSIZE
https://extensions.virtuemart.net/product/quantity-customsize-detail

2 (similar for joomla 2.5) QUANTITY PLUGIN
http://extensions.virtuemart.net/all-tutorials/10-calculation-rules/11-quantity-plugin

There is also AwoCoupon that could be able to do its, but it can't let to set the different percentage for number of products in the cart.

Someone had my problem? Is it possible that in virtuemart I cannot apply a discount based on total products in the cart?

Every suggestion could be helpful. Thanks

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3723
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Discount based on number of products in the cart
« Reply #1 on: December 01, 2016, 21:32:21 pm »
you can add complex rules in awo coupon(you can group discount rules) so i think that you can do it with awo coupon.
Check with awo coupon, i think they know a solution.