Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Superhanss

Hide shopping cart icon in header when cart is empty

Question

Site URL: https://www.woostersbakery.co.uk

Hi Folks

Does anyone know a working solution for Squarespace 7.1 to hide the shopping cart icon in the header when there's nothing in the cart? I've tried a few things suggested here in the forums and on the web but they all seem to only work with Squarespace 7.0. The template is Vance.

Many thanks.

Edited by Superhanss

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 0

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDate Picker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links.

Share this post


Link to post
  • 0
Posted (edited)

@yeshidesigns This has stopped working because the ARIA labels are not appearing on the Squarespace 7.1 cart icon when it is empty. Accessible Rich Internet Applications (ARIA) labels are important attributes that make a website accessible to people with disabilities so I've asked Squarespace whether this is an intentional rollback, or a bug.

Edited by paul2009

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDate Picker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links.

Share this post


Link to post
  • 0

They are investigating why the label isn't there when the cart is initially empty. I've updated the solution, so it will cope with or without the "0" label.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Developer and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDate Picker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links.

Share this post


Link to post
  • 0

You can turn the Shopping Cart off in the header in 7.1 by editing your site header:

1. Click Edit on any page on your site, then click Edit Site Header.

2. In the window that appears, click Elements.

3, Switch the Cart toggle off.

This will hide the Shopping Cart in the header until someone adds a product to it. It will then appear in the lower right corner of your site.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...