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
  • 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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.