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 744
  • Created
  • Last Reply

Top Posters In This Topic

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. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is 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. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.