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

#   Conditional Discounting

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

1 year 3 months ago [\#368044](#368044) by [pqas](/forum/user/32448-pqas "View pqas's Profile")  *[Conditional Discounting](/forum/46-discount-coupon/909612-conditional-discounting#368044 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 4.4.5 -- PHP version -- : 8.2.29  I want to give a discount on our English language courses for August, with the discount percentage rate based on the number of weeks (quantity) a course (product) is purchased. For example, a 10% discount for 1 to 12 weeks, a 20% discount for 13 to 24 weeks, etc. Is there any way to implement this?")* was created by *[pqas](/forum/user/32448-pqas "View pqas's Profile")*

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 4.4.5
-- PHP version -- : 8.2.29

I want to give a discount on our English language courses for August, with the discount percentage rate based on the number of weeks (quantity) a course (product) is purchased. For example, a 10% discount for 1 to 12 weeks, a 20% discount for 13 to 24 weeks, etc. Is there any way to implement this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDk2MTItY29uZGl0aW9uYWwtZGlzY291bnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

1 year 3 months ago [\#368049](#368049) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Conditional Discounting](/forum/46-discount-coupon/909612-conditional-discounting#368049 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 4.4.5 -- PHP version -- : 8.2.29  I want to give a discount on our English language courses for August, with the discount percentage rate based on the number of weeks (quantity) a course (product) is purchased. For example, a 10% discount for 1 to 12 weeks, a 20% discount for 13 to 24 weeks, etc. Is there any way to implement this?")*

Hi,

From what I understand the "number of weeks" on your website is actually the "quantity" of the product in the cart.
And the "english courses" are only some of the products on your website, as you're also selling other things, which, from what I understand of your message, won't get the discount.
So, one solution I can see is to edit these products, and add extra prices with start / end dates and a "minimum quantity" and a reduced price.
While this is the simplest solution, it's also the more labor intensive, as you'll have to add a few prices for each product.

Another solution I can see is to create a coupon on the category of these products (or create a new category and add it as a second category for all of the products you want the discount to apply) via the menu Orders&gt;Coupons. There, you can use the "Product quantity from" setting to set the 1 to 12 range, etc and then you can select the category in the "category" setting, you want to turn on the "Product quantity from" and the "Coupon percentage applies to product only" settings, fill in the end and start dates, and the percentage, and it will do it automatically.
Note however, that in this case, if someone purchase 10 weeks of english course 1, and 5 weeks of english course 2, the 20% coupon will apply for the sum of the amount of both products.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDk2MTItY29uZGl0aW9uYWwtZGlzY291bnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.084 seconds

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