For the complete documentation index, see llms.txt. This page is also available as Markdown.

Make the option required before adding to cart

This feature ensures that customers must select an option before they can add the product to their cart.

Steps:

  1. In the Option set edit page, locate the element you want to make mandatory.

  2. Under the Option label, find and enable the "Required field" checkbox.

  3. Click Save to apply the changes.

Result:

  • Required options will display a red asterisk (*) next to the option name on the storefront.

  • If a customer clicks Add to cart without making a selection, a warning message will appear to prompt them.

Last updated