# Spend more for free shipping

**URL:** <https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591>\
**Category:** Ask the community\
**Tags:** code, question, wix-stores, wix-studio\
**Created:** [December 29, 2024, 1:53pm UTC](https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591 "2024-12-29T13:53:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mon\_Mon1](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/mon_mon1/32/101667_2.png) [@Mon\_Mon1](https://forum.wixstudio.com/u/Mon_Mon1)\
**Post date:** [December 29, 2024, 1:53pm UTC](https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591/1 "2024-12-29T13:53:35Z")

</div>

hi, my website offers free shipping over X $  
does anyone happen to know how i can add wording to my cart that says “spend X more for free shipping?”  
do i need an app for that?

thanks

---

<div class="post-metadata">

**Author:** ![Pratham](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pratham/32/119586_2.png) [@Pratham](https://forum.wixstudio.com/u/Pratham)\
**Post date:** [December 29, 2024, 2:18pm UTC](https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591/2 "2024-12-29T14:18:28Z")

</div>

You do not need any external app or code to achieve this now, thanks to the new **Wix Functions**.

> _Wix Functions is not yet available to all users._

All you need to do is follow these steps:

1. From your site dashboard under **Automations** , navigate to **Functions**.
2. Click on **Start Now**.
3. Create a **Checout validation** function.
4. Use the **General Warning** template.
5. Now once the function is created, click on the **Display Validation Warning** block.
6. Edit the warning / error message to your liking, i.e. _Spend upto X to for free shipping_.
7. Click on **Apply** and then **Activate** the function.

And there you have it, users will now see this message at all times in their cart.

> Note that this message will be displayed at **ALL TIMES** , i.e. even when the user’s cart total is eligible for free shipping. In this case if you wish to not display the message, you will need to build the function logic accordingly.

---

<div class="post-metadata">

**Author:** ![Mon\_Mon1](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/mon_mon1/32/101667_2.png) [@Mon\_Mon1](https://forum.wixstudio.com/u/Mon_Mon1)\
**Post date:** [December 29, 2024, 2:35pm UTC](https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591/3 "2024-12-29T14:35:21Z")

</div>

hi thanks  
i was looking for a more customized message like only x left for free shipping (and have it update as the customer hopefully adds more to his cart)

---

<div class="post-metadata">

**Author:** ![Pratham](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pratham/32/119586_2.png) [@Pratham](https://forum.wixstudio.com/u/Pratham)\
**Post date:** [December 29, 2024, 4:35pm UTC](https://forum.wixstudio.com/t/spend-more-for-free-shipping/66591/4 "2024-12-29T16:35:06Z")

</div>

In that case, you will have to use the **Ecom Validations Service Plugin** and write custom code that will fetch the cart total and display the message with a dynamic value.

More on Service Plugins and examples here:

> **[Tutorial: Validations Service Plugin](https://dev.wix.com/docs/develop-websites/articles/code-tutorials/wix-e-commerce-stores/tutorial-validations-service-plugin)**
>
> Wix Service Plugins (formerly SPIs and custom extensions) allow you to implement custom logic to change how your site behaves and displays. For example, when you set up a Wix eCommerce site, there are a small number of validations to choose from. The...
