Jump to content

Using a script to add secondary "View Cart" button to product page but button disappears on mobile.

Recommended Posts

Hi Everyone,
I'm trying to add a secondary "View Cart" button underneath my "Add to Cart" button on each of my product pages. I've followed the tutorial listed here, and it has worked great in adding the secondary button where needed, however, once you back out of one product and into another on mobile, the button becomes invisible. If you click the area where the button is supposed to be, it will in fact take you to the Cart, but you can't actually see the button. 

The problem seems to be unique to mobile. In Squarespace's mobile preview the button is fine on each product but when testing the site on my actual mobile phone, it disappears as described.

Any ideas? 

Site password: hibean
The problem is in the "Prints" area

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

29 minutes ago, BG700089 said:

Hi Everyone,
I'm trying to add a secondary "View Cart" button underneath my "Add to Cart" button on each of my product pages. I've followed the tutorial listed here, and it has worked great in adding the secondary button where needed, however, once you back out of one product and into another on mobile, the button becomes invisible. If you click the area where the button is supposed to be, it will in fact take you to the Cart, but you can't actually see the button. 

The problem seems to be unique to mobile. In Squarespace's mobile preview the button is fine on each product but when testing the site on my actual mobile phone, it disappears as described.

Any ideas? 

Site password: hibean
The problem is in the "Prints" area

Can you share your URL site so we can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

It seems fine on my end

image.thumb.png.d009af5183fd976104bd2844d59b624b.png

Can you describe more detail about your issue? A recording/screenshot is suggested to make your point clear

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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
3 hours ago, Beyondspace said:

It seems fine on my end

image.thumb.png.d009af5183fd976104bd2844d59b624b.png

Can you describe more detail about your issue? A recording/screenshot is suggested to make your point clear

I’ve attached a video to show the issue. The button shows up fine on the first item but once you back out of that items page and click another, the button isn’t visible. 

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.