Nicolette Posted September 14, 2023 Posted September 14, 2023 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
Solution paul2009 Posted September 14, 2023 Solution Posted September 14, 2023 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.
Nicolette Posted September 14, 2023 Author Posted September 14, 2023 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.
paul2009 Posted September 15, 2023 Posted September 15, 2023 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.
Nicolette Posted September 16, 2023 Author Posted September 16, 2023 Thanks for updating me, ill keep me eye out for when they hopefully fix this issue.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment