Jump to content

Product Block within the product page additional info section does not show variant dropdown

Go to solution Solved by paul2009,

Recommended Posts

Posted

I have added some product blocks into the additional info section of one of my products, I am using this section to create add-ons. The product blocks are not displaying a variant dropdown on any of the products that have variants. You can see the variant dropdown in the old editor when setting it up on the back end but once you see it live the dropdown disappears.

 

This only happens to the product blocks that sit in the additional info section which uses the 7.0 editor and not on any of the product blocks that are on the 7.1 parts of the site.

My product variant display is set to buttons which I think is why the dropdown is not working on the product block under the additional info, but I want to keep the variant display as buttons so I'm wondering is there a way to code around this as I need people to be able to pick a variant on the product blocks as they are meant to be add ons and added to card from the product page. 

I have added screenshots.

Thanks so much.

 

My website is password protected if someone wants to take a look.

https://meadowandfernflowers.squarespace.com/

password is: backandforth

01.png

02.png

03.png

04.png

  • Replies 4
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
Posted

Hi @Nicolette

Thanks for posting about this issue. 

I can confirm this is indeed a bug that currently affects Product Blocks in this specific scenario:

  • PDP using Variant Buttons (not dropdown)
  • Product Block has the 'Add to Cart' button option enabled
  • Product in Product Block has variants 

As a workaround, you should be able to add the following to Custom CSS to show the variant dropdown on the Product Blocks:

/* Show variant dropdown in product blocks */
.tweak-product-basic-item-product-variant-display-button .ProductItem .ProductItem-additional .product-block .variant-select-wrapper {
  display: block;
}

Note that there is another bug currently affecting the Custom CSS panel you may need to save this change and then hit refresh before you'll see any changes.

Let me know if this helps.

Did this help? Please give feedback by clicking an icon below  ⬇️

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.

Posted

Hi Paul,

 

Thank you so much for this. Adding the code fixed the issue, I really appreciate your fast reply.

I have noticed another issue once being able to use the variant dropdown in the product block. When I selected a variant that has another photo connected to it the product block hides the image altogether. So It will show the thumbnail image for that product but as soon I select another variant of that product the images disappear, is there also a workaround for this issue? Thanks so much. Please see the screenshots attached.

Screenshot 2023-09-15 at 10.36.19 am.png

Screenshot 2023-09-15 at 10.36.29 am.png

Screenshot 2023-09-15 at 10.36.40 am.png

Posted
5 hours ago, Nicolette said:

Adding the code fixed the issue, I really appreciate your fast reply.

You’re welcome.

5 hours ago, Nicolette said:

I have noticed another issue once being able to use the variant dropdown in the product block. When I selected a variant that has another photo connected to it the product block hides the image altogether.

Sadly, this is a known issue (see report). It was acknowledged by Squarespace in May 2023 but has yet to be fixed.

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.

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.