- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Shopify. How to make the product options required
March 23, 2016
This tutorial will show how to make the product options required before the product can be added to Shopify cart.
Shopify. How to make the product options requiredIf you do not want to let customers add the product to cart until the option value is selected (for example size specification), please perform the following steps.
We strongly recommend backing up the theme before making the changes so you could rollback the changes by clicking on Online Store > Themes > Download theme file:
![Shopify_How_to_make_the_product_options_required_1](/help/wp-content/uploads/2016/03/Shopify_How_to_make_the_product_options_required_1-300x141.png)
Log into your admin panel and navigate to Online Store > Themes > Edit HTML/CSS > Snippets > Add a new snippet:
Name the snippet snippet-add-to-cart and press Create a snippet:
If you already have this snippet, miss this step and steps 3, 6.
Paste this code to the snippet area and Save:
-
Add one more snippet by pressing Create a snippet, name it as pick-an-option, paste this code hosted on GitHub. and Save.
Open theme.liquid and paste this code before the closing 澳门威尼斯人 Crown-Sports-careers@gobuyshopnow.com 太原新东方英语培训机构 Sun-City-customerservice@aangny.com 中国戏剧视频网 莱芜房地产网 Crown-betting-support@gl428.com Buy-the-ball-online-in-the-European-Cup-careers@xmxjm.com 嘎嘎影视 澳门太阳城 太阳城 京东票务网 皇冠体育官网 亚洲CI网 新葡京 365体育投注 巴蜀网 太阳城娱乐 中国科学院华南植物园 我买网团购 杭州师范大学钱江学院 VOGUE时尚网秀场直击 风火轮(北京)摩托车有限公司 金网信息 爪机游 书画艺术网 大王椰板材 杰威爾音樂 许昌人才网 昆明招聘网 咚咚租 硬派网 站点地图 为先在线 QQ163网页游戏平台