Jump to content

Making Product variants Fields Optional

Recommended Posts

Site URL: https://soulfoodkitchen360.squarespace.com/new-products/seafood-boil-platter

If you option page  https://soulfoodkitchen360.squarespace.com/new-products/seafood-boil-platter

You will see two products options (fields), How to make these product fields as 'OPTIONAL' as if customer don't wanna select anything from fields , he should go ahead and be able to 'add to cart' and not be forced to select anything. What custom code should i add? 
You can tell me for one field and tell me the way , i will do for others 
Please see image , it will explain more.

Please help me in this case i really need this done urgently.

Appreciate your help
Thank you

Screenshot of SEAFOOD BOIL PAN — Soul Food Kitchen (1).jpg

Link to comment
  • Replies 5
  • Views 788
  • Created
  • Last Reply

You can’t make them ‘optional’ but some JavaScript can be added to automatically pre-select the first option in each variant drop-down. That will allow customers to click add-to-cart without choosing/changing any options. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
  • 11 months later...
On 7/4/2020 at 5:04 AM, Waqar629 said:

if customer don't wanna select anything from fields , he should go ahead and be able to 'add to cart' and not be forced to select anything.


Our Variant Pricing extension does this. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.