Jump to content

Change "From (price)" to "(price)+" in product details

Recommended Posts

  • Replies 6
  • Views 698
  • Created
  • Last Reply
Posted
On 2/19/2021 at 10:40 AM, plantshop203 said:

Try adding to Design > Custom CSS

/* from price */
.product-price.product-price-clone {
    visibility: hidden;
}
.product-price.product-price-clone span {
    visibility: visible;
    margin-left: -50px;
}
.product-price.product-price-clone span:after {
    content: "+";
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted

@tuanphan this works great, thank you!! I have one more question...

Is there any way to get the prices all on the same line horizontally? It looks a little messy having them be all vertically aligned relative to the item title. 

Thank you in advance! 

Screen Shot 2021-02-22 at 12.43.37 PM.png

Posted

This will work on the Product list page, but you should know that it will create a problem on product detail pages, where customers will not be able to see the prices of variants. See below:

tqoTCI6Cs5.gif.ea4a8938da47681e39b44aec68ef8093.gif

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.