Jump to content

Unhide "Price" and Cart" buttons on a second shop?

Recommended Posts

I hid "price" and "add to cart" buttons on shop 1. .I've opened shop 2 and it's taken the code from shop 1 and those options are not showing either. How do I show them on shop 2? Thanks

Edited by Lix
Changing font size
Link to comment
2 hours ago, Lix said:

I hid "price" and "add to cart" buttons on shop 1. .I've opened shop 2 and it's taken the code from shop 1 and those options are not showing either. How do I show them on shop 2?

There are two ways to achieve this. You can do one or the other.

1. If you added the CSS to Design > Custom CSS you can remove it from there and add it to the header of the shop 1 page instead. As the page header doesn't expect to see CSS, you'll need to "wrap" the CSS in "style" tags. To do this, open the page settings for your shop 1 page, click Advanced and then Page Header Code Injection. Type the style tags into the box (as shown in the screenshot below) and then paste your CSS in between them. Don't forget to remove the CSS from the original location in Custom CSS.

   image.thumb.png.3b4971f2abf7f9d55550923b49a94404.png

Alternatively...

2. If you added the CSS to Design > Custom CSS you can prefix the CSS with the unique "collection" class of shop 1. This will ensure the CSS only applies to shop 1. Some years ago, I wrote a guide that may help you. It's called How to apply CSS to one Squarespace page.

Did this help? Please give feedback by clicking an icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 3 weeks later...

Can you provide a link to your site?

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.