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

#   Script according to purchase amount

##

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

Less More

- Posts: 469
- Thank you received: 21
-

3 years 9 months ago [\#348720](#348720) by [Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")  *[Script according to purchase amount](/forum/33-customers/905782-script-according-to-purchase-amount#348720 "On our website I have several automatic discounts. I would like that depending on the customer's (total) purchase amount, a message would appear informing that buying X euros would increase the discount. I think I remember that in a Hikashop update this option was contemplated, but I can't find the code. Thanks.")* was created by *[Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")*

On our website I have several automatic discounts.
I would like that depending on the customer's (total) purchase amount, a message would appear informing that buying X euros would increase the discount.
I think I remember that in a Hikashop update this option was contemplated, but I can't find the code.
Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDU3ODItc2NyaXB0LWFjY29yZGluZy10by1wdXJjaGFzZS1hbW91bnQ/dG1wbD1tYXJrZG93bg==) 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: 86579
- Thank you received: 14322
-
-

3 years 9 months ago [\#348721](#348721) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Script according to purchase amount](/forum/33-customers/905782-script-according-to-purchase-amount#348721 "On our website I have several automatic discounts. I would like that depending on the customer's (total) purchase amount, a message would appear informing that buying X euros would increase the discount. I think I remember that in a Hikashop update this option was contemplated, but I can't find the code. Thanks.")*

Hi,

You can add a "text" block in the "checkout workflow" of the HikaShop configuration.
And in it, you can use tags like this: Code:

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

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

Less More

- Posts: 469
- Thank you received: 21
-

3 years 9 months ago [\#348743](#348743) by [Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")  Replied by *[Reincidente](/forum/user/12307-reincidente "View Reincidente's Profile")* on topic *[Script according to purchase amount](/forum/33-customers/905782-script-according-to-purchase-amount#348743 "On our website I have several automatic discounts. I would like that depending on the customer's (total) purchase amount, a message would appear informing that buying X euros would increase the discount. I think I remember that in a Hikashop update this option was contemplated, but I can't find the code. Thanks.")*

Hi Nicolas.
I can't get it to work.
I have several % discounts depending on the total amount of the order.
I give you several examples.
- Order &gt;200 € and &lt;300 € (5% discount)
- Order &gt;300 € and &lt;400 € (7% discount)
- Order &gt;400 € and &lt;600 € (8% discount)
How can I apply the mincart and maxcart in these cases so that only the corresponding message appears in its amount range?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDU3ODItc2NyaXB0LWFjY29yZGluZy10by1wdXJjaGFzZS1hbW91bnQ/dG1wbD1tYXJrZG93bg==) 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: 86579
- Thank you received: 14322
-
-

3 years 9 months ago [\#348751](#348751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Script according to purchase amount](/forum/33-customers/905782-script-according-to-purchase-amount#348751 "On our website I have several automatic discounts. I would like that depending on the customer's (total) purchase amount, a message would appear informing that buying X euros would increase the discount. I think I remember that in a Hikashop update this option was contemplated, but I can't find the code. Thanks.")*

Hi,

You can use such text: Code:

If your cart reaches 200€ you'll get an extra discount

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy85MDU3ODItc2NyaXB0LWFjY29yZGluZy10by1wdXJjaGFzZS1hbW91bnQ/dG1wbD1tYXJrZG93bg==) 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.050 seconds

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