Product page - Add extra data to submit form add to cart

Shopify Partner
4 0 0

I created a theme extensions which added selectboxes to the product detail page with options a customer can choose from.

Now when a user clicks on the add to cart button, I want to validate if they have filled in all selectboxes. How can I do this.

A second thing I want to do is show these chosen options in the checkout. How can I do this.

I google a lot, went trough shopify's documentation but it is not clear to me how I can implement this.


Reply 1 (1)

Shopify Partner
3084 604 861

Hello @FraukeFvdz ,


If atc is using ajax then you have to write a script to validate the values.
If not then simply follow this you can find all details here.


- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me.
- Email: - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
-Advance Search Filter