header-logo
Learn how to build your website and business using Wix.
Design and manage your site with smart functionalities.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
समाधान खोजें, जानी-पहचानी समस्याओं के बारे में जानें या हमसे संपर्क करें।
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Creating a checkout validation function
  • FAQs

Wix Functions: Adding Checkout Validations

6 min
In this article
  • Creating a checkout validation function
  • FAQs
Checkout validations let you set rules that your customers must meet before completing checkout. When a customer does not meet your rule, they see a clear message in the cart or at checkout. You can decide whether to block checkout or just show a warning.
You can create checkout validations from scratch or start with templates such as minimum order subtotal, single item purchase limit, or weekend notice. Each template includes a ready-made flow that you customize to match your store and policies.
Screenshot of the checkout validation template options.

Creating a checkout validation function

Start by creating a checkout validations function from the Function catalog. You can then customize the flow or use one of the templates to set up common rules faster.

To create a checkout validation function:

  1. Go to Functions in your site's dashboard.
  2. In the Function catalog, click Create Function under Checkout validations.
  3. Select the relevant validation and click Use Template:

FAQs

Click a question below to learn more about checkout validations.

Helpmate

Hello

Need a bit more guidance?
Summary of this article
Unlock personalized helpLog in to get the most out of Helpmate.