Jump to content

Help! VinoShipper and Squarespace 7.1?

Recommended Posts

site pw: wine

Hi!

I'm working on a wine site that needs to sell through VinoShipper. According to the Vinoshipper instructions, you need to inject code in the footer for their universal cart to start showing. That worked. After that code is installed you're *supposed* to also be able to show a product list or add an "add to cart" button via a code block on a page, but it's not working for me! I'm working in 7.1 and I've tried both the new and classic editors.

I'm attaching screenshots of the VinoShipper page and instructions, and copying the code to this page in case anyone can help!

Footer Code Injection:

<script type="text/javascript">
  // Vinoshipper Injector v4
  window.document.addEventListener('vinoshipper:loaded', () => {
    window.Vinoshipper.init(2987, {
      theme: 'yellow',
    });
  });
</script>
<script src="https://vinoshipper.com/injector/index.js" type="text/javascript"></script>

 

Button:

<div class="vs-add-to-cart" data-vs-product-id="99558" data-vs-product-units="Bottles"></div>

Product List:

<div class="vs-product-list" data-vs-cards="true"></div>

 

 

 

Screenshot 2023-03-22 at 11.27.49 AM.png

Screenshot 2023-03-22 at 11.28.06 AM.png

Edited by ylimeebba
added clarity
Link to comment
  • Replies 3
  • Views 280
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

What is your site URL?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.