Preventing product sales in a location
  • 04 May 2022
  • 1 Minute to read
  • Dark
    Light

Preventing product sales in a location

  • Dark
    Light

Article summary

This validation rule will prevent any product sale in the specified location. Customers and admins alike won't be able to purchase any product available in this location's inventory.

You need your Location reference to create this validation rule.

You can find your Location reference via Settings > General settings on the Admin Panel.

image.png

Make sure you copy and save it before starting the rule setup


  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click Add rule

  3. Click on Manual entry

  4. Name your rule.

  5. Add a Description of the rule.

  6. Enable the This rule is active toggle.

  7. Select Product sale in the Record type drop-down list.

  8. Add the Error message to display if the validation rule is not met.

  9. Add the following snippet in the Formula field.

record.Business.Id <> 
  1. Add your Location reference at the end of the Formula field.

Your validation rule should now look like the example below, with your own location ID instead of 123456 in the Formula.

image.png

  1. Click the Save Changes button.


Your validation rule is now live. Customers and admins alike shouldn't be able to purchase any product from this location.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence