no-translate

How can I set up rules to block checkout for certain products?

YH
Scritto da Yuvraj Harod
Aggiornato 1 settimana fa

Setting up rules to prevent users from checking out is quite simple. One such use case could be blocking the user’s checkout if a certain item is in the cart. Prevent users from doing that by following the steps below: 

  1. Click on create validation: 

  2. Choose Basic validation from the popup. 

  3. Type in the Validation title and configure error message, this includes what message will be shown to the customers and steps/positions it’ll be shown at

  4. Now, scroll down to the condition section and choose either certain products to limit by products or you can use products tag so that you don’t have to add IDs of all the free items, even if they change in the future. I’ll go ahead and choose tags of products in the cart for this example.

  5. Once done, the last step is to setup the tags it must check for, click on the set value button to do that.

  6. This will open a dialog box where you can enter the tag you’d like to check to check for.

  7. And done, you’re all good, just save the validation function and you’re good to go! 

 

If you run into any issues, feel free to reach out to our support team via the live chat on the bottom right or by email us at: support@nextools.tech

Ti è stato utile questo articolo?