elizabethfuller Posted October 29, 2021 Share Posted October 29, 2021 Site URL: https://www.libbyashley.com/shopla/p/classic-crewneck Hey there, i'd love any help or insight people can offer. I added the new accordion blocks to my product pages and now, on mobile only, they're displaying underneath the product image and not at the bottom of the page where they should be. I spoke with SS support and they said that it's conflicting with code that I've included in the site (I think the variant pricing code) and they can't help. Can anyone help me figure out what to do? It's a very weird UX the way that it is now and I'd really like to change it. Link to comment
Solution paul2009 Posted October 29, 2021 Solution Share Posted October 29, 2021 (edited) Hi Elizabeth I'm the author of the variant pricing extension and I can confirm this isn't causing the issue 🙂. However, if you're ever concerned about our products, do reach out to us (ideally via our support form) and we'll be very happy to guide you. The issue appears to be caused by some code you added (to the Code Injection area of the site) to reposition the Additional Info section. If you try removing this section (see below) and then save and refresh, the issue should go away. <script> $(window).bind("load", function() { $( ".product-price" ).prepend('From '); $( "section.ProductItem-additional" ).appendTo(".ProductItem-details-checkout"); }); </script> Let me know how you get on. Paul If this post has helped you, please click a 'Like' or 'Thanks' icon below ⬇️ Edited October 29, 2021 by paul2009 elizabethfuller 1 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. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
elizabethfuller Posted October 29, 2021 Author Share Posted October 29, 2021 30 minutes ago, paul2009 said: Hi Elizabeth I'm the author of the variant pricing extension and I can confirm this isn't causing the issue 🙂. However, if you're ever concerned about our products, do reach out to us (ideally via our support form) and we'll be very happy to guide you. The issue appears to be caused by some code you added (to the Code Injection area of the site) to reposition the Additional Info section. If you try removing this section (see below) and then save and refresh, the issue should go away. <script> $(window).bind("load", function() { $( ".product-price" ).prepend('From '); $( "section.ProductItem-additional" ).appendTo(".ProductItem-details-checkout"); }); </script> Let me know how you get on. Paul If this post has helped you, please click a 'Like' or 'Thanks' icon below ⬇️ Thank you so much Paul! I love the variant model, it's literally the only way that I'm able to run my store on squarespace! Thank you for looking into the code, you've helped me immeasurably! Liza, paul2009 and tuanphan 3 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment