[Skip to main content](#vessel-content)

#   Calculate dscount on total order quantity

##

- **[nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")**
- [![nevillematthews's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39340-nevillematthews "View nevillematthews's Profile") Topic Author
- [ Offline](/forum/user/39340-nevillematthews)

Less More

- Posts: 31
- Thank you received: 1
-
-
- [](https://www.matcom.co.uk)
-

6 years 1 month ago [\#324334](#324334) by [nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")  *[Calculate dscount on total order quantity](/forum/27-checkout/900879-calculate-dscount-on-total-order-quantity#324334 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : Firefox Developer 82.0b5(64-bit)  Hi  My client sells labels that are different colours and different details in batches of any quantity. An order therefore has multiple lines with varying quantities.  Is is possible to calculate a total order discount based on total order quantity of all items on an order?  Thank you  Neville Matthews")* was created by *[nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.3.21
-- Browser(s) name and version -- : Firefox Developer 82.0b5(64-bit)

Hi

My client sells labels that are different colours and different details in batches of any quantity. An order therefore has multiple lines with varying quantities.

Is is possible to calculate a total order discount based on total order quantity of all items on an order?

Thank you

Neville Matthews

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDg3OS1jYWxjdWxhdGUtZHNjb3VudC1vbi10b3RhbC1vcmRlci1xdWFudGl0eT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 1 month ago [\#324341](#324341) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Calculate dscount on total order quantity](/forum/27-checkout/900879-calculate-dscount-on-total-order-quantity#324341 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : Firefox Developer 82.0b5(64-bit)  Hi  My client sells labels that are different colours and different details in batches of any quantity. An order therefore has multiple lines with varying quantities.  Is is possible to calculate a total order discount based on total order quantity of all items on an order?  Thank you  Neville Matthews")*

Hi,

You can create auto loaded coupons, and use the "minimum quantity" setting of each coupon so that you have one coupon for each quantity you want to support with the corresponding discount amount in the amount field.
That way, on the checkout, the system will automatically load the coupon corresponding to the quantity of products in the cart.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDg3OS1jYWxjdWxhdGUtZHNjb3VudC1vbi10b3RhbC1vcmRlci1xdWFudGl0eT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")**
- [![nevillematthews's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39340-nevillematthews "View nevillematthews's Profile") Topic Author
- [ Offline](/forum/user/39340-nevillematthews)

Less More

- Posts: 31
- Thank you received: 1
-
-
- [](https://www.matcom.co.uk)
-

6 years 1 month ago [\#324375](#324375) by [nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")  Replied by *[nevillematthews](/forum/user/39340-nevillematthews "View nevillematthews's Profile")* on topic *[Calculate dscount on total order quantity](/forum/27-checkout/900879-calculate-dscount-on-total-order-quantity#324375 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : Firefox Developer 82.0b5(64-bit)  Hi  My client sells labels that are different colours and different details in batches of any quantity. An order therefore has multiple lines with varying quantities.  Is is possible to calculate a total order discount based on total order quantity of all items on an order?  Thank you  Neville Matthews")*

Hi Nicholas

Brilliant, I have made that work, however is there a way that the **total order quantity** meets a minimum of currently 100?

Thank you

Neville Matthews

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDg3OS1jYWxjdWxhdGUtZHNjb3VudC1vbi10b3RhbC1vcmRlci1xdWFudGl0eT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 1 month ago [\#324376](#324376) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Calculate dscount on total order quantity](/forum/27-checkout/900879-calculate-dscount-on-total-order-quantity#324376 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.1 -- PHP version -- : 7.3.21 -- Browser(s) name and version -- : Firefox Developer 82.0b5(64-bit)  Hi  My client sells labels that are different colours and different details in batches of any quantity. An order therefore has multiple lines with varying quantities.  Is is possible to calculate a total order discount based on total order quantity of all items on an order?  Thank you  Neville Matthews")*

Hi,

You mean for the coupon to apply ? You can do that with the "minimum quantity" restriction setting of the coupons.
Or you mean in general, regardless of whether a coupon is used or not ? In that case, you could use the "minimum quantity" setting of your shipping methods, or of your payment methods.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwMDg3OS1jYWxjdWxhdGUtZHNjb3VudC1vbi10b3RhbC1vcmRlci1xdWFudGl0eT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
