- 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 沙巴官网 新浪游戏 固定电话号码查询 太平洋汽车网汽车评测频道 新葡京博彩 Grand-Lisboa-contactus@erweiys.com 中国少年儿童教育网 威廉希尔体育 买球平台 招远信息港 淘儿歌网 腾讯软件管理官方网站 正规赌博平台 365-Sports-Betting-media@tomdesignworks.com 365-Sports-contactus@u88xw.com 太阳城 New-Portuguese-download-service@licitou.com 365体育投注 Sports-betting-customerservice@parisairquality.net William-Hill-marketing@baileervparts.net 138美业博客 赫兹租车 楚楚街 工品汇 科洋科技 迁安生活网 招商贷 帝联科技 福建林业职业技术学院 创世中文网 站点地图 杜海涛淘宝店 中国邮政报数字报