Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello! As the title implies, we're looking for a way to make our product options mandatory---that is, a customer can't add a product to cart nor can they checkout without selecting a proper product variant/option.
Let's use this as reference: Custom Large Signs
We want to make this part mandatory (see screenshot below). We prefer not to use apps if possible. We also do not want to change themes since we've invested a lot of time and effort on Dawn.
I found something to the same effect, but it's only applicable to Shopify vintage themes. If anyone knows how to apply the same configuration to Shopify Dawn theme, it would definitely be greatly appreciated!
Thank you for reading. 🙂
@IRC can you please explain more?
Hello! Thanks for noticing my post. To explain more, we sell custom nautical signs and the pricing is based on the number of blocks/characters/letters the customer would want on their sign (example, a large sign with only 3 letters is $225, while a large sign with 6 letters is $425). Our default variant is '1' character/block/letter (as you can see in my screenshot above). Some customers forget to change this. So they'll hit checkout with the wrong price (let's say they want a 3-letter sign that should cost them $225, but since they forgot to change the variant, the price stays at the default $150).
I found this article about 'getting the customers to choose an option'. This is similar to what we want to achieve → https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...
If you'll check that article, you'll see instructions for editing the theme script/liquid/json to make it impossible for a customer to add a product to cart or even checkout a product unless they select a variant. Added bonus that the edited script automatically places a 'Pick a [name of variant]' as placeholder for the dropdown. Unfortunately, the article only has instructions for 'vintage' Shopify themes. We're using Dawn at the moment.
Hi @IRC 😊,
This is Ellie from BOGOS (formally Free Gifts by Secomapp), # 1 Promotion Shopify App featuring Free Gift, Discounts & Bundles.
I'm aware that your preference store is using the “Option Groups” feature by Easify Product Options Variant. With Easify, you can designate which options are mandatory and which are optional.
The app offers a forever-free plan, and the subscription fee is also affordable. You can start with a 14-day free trial to explore all the features before committing to any charges.
If my answer is helpful, I would appreciate it if you could give me a Like or accept it as a Solution! 😁
Wish you all the best with the business,
Ellie
BOGOS (formally Free Gifts by Secomapp)
Thanks for noticing my post Ellie. But we are not using any apps for our variant picker. Just good old Shopify default + a custom liquid section to overcome the usual variant limit.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024