Jump to content

Removing text every after product price on a single product in product overview

Go to solution Solved by creedon,

Recommended Posts

6 hours ago, rasmusarentsen said:

Hi All,

 

I managed to successfully remove message from individual product page but can't seem to get rid of the text on the overview page. any thoughts?

Udklip.PNG

Can you share your URL so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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

Yes please share a link. I don't understand the language so I have little context to go by. Seeing the actual page would reveal a wealth of information.

I do have some code that can handle altering prices on both the product grid and detail pages but I can't say for sure it would work without more context.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Tried this code which works but only up to and incl the 12th child (every thing above doesnt work) and also it is is static and will always affect the 12th child disregarding how the customer sorts the products...

 

section[data-section-id="635163bd4e643d1426850bc8"] {
    .grid-item {
        &:nth-child(10) {
            .product-price::after {
    display: none !important;
              
            }}}
}

Link to comment
  • Solution

I suggest adding a magnum tag to your magnum bottles. Then use the following CSS.

.products.collection-content-wrapper .grid-item.tag-magnum .product-price::after {

  content : unset;
  
  }

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.