Jump to content

Removing all pricing/add to card/quantity from shop page

Recommended Posts

Site URL: http://www.yangjewellery.xyz

Hey guys, 

So i'm about to release a bunch of my new jewellery pieces onto my website and i want to give my customers the opportunity to browse the collection before it goes on sale the following day- therefore for that period of time i need all the prices, add to cart button and quantities hidden? 

I've tried a few different blocks of code but nothing is working so i thought i would throw it out to the hive mind. 

Any help is appreciated. 🙂

Link to comment
2 hours ago, Apples444 said:

Site URL: http://www.yangjewellery.xyz

Hey guys, 

So i'm about to release a bunch of my new jewellery pieces onto my website and i want to give my customers the opportunity to browse the collection before it goes on sale the following day- therefore for that period of time i need all the prices, add to cart button and quantities hidden? 

I've tried a few different blocks of code but nothing is working so i thought i would throw it out to the hive mind. 

Any help is appreciated. 🙂

You can try

/*remove price, quantity, add to cart*/
.collection-type-products .product-price {
  display: none;
}

.tweak-product-item-details-show-price .ProductItem-details .product-price, .tweak-product-item-details-show-add-to-cart-button .ProductItem-details  .product-quantity-input, .tweak-product-item-details-show-add-to-cart-button .ProductItem-details  .sqs-add-to-cart-button-wrapper {
    display: none;
}

/*remove price, quantity, add to cart end*/

Remove them if you want to display it as normal

Edited by bangank36

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
  • 4 months later...
7 minutes ago, Melbaspence said:

@Beyondspace Hi there, I tried this myself just now and the only part that is working is the hide price. I am not able to hide 'add to cart' or quantity. Any solve for this?

My site is www.senseofspencer.com. Thanks!

@Beyondspace Nevermind figured it out, using these and it worked.

 

 

//Remove Order Button//
.sqs-add-to-cart-button-wrapper {
    display: none !important;
}

//Remove Quantity//
.collection-type-products .product-quantity-input {
    display: none !important;
}

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.