Jump to content

"AUD" showing twice on Related Products. Can this be removed?

Go to solution Solved by tuanphan,

Recommended Posts

Hi!

I am currently using this code to add "AUD" after my product prices which is working well.

.product-price:after {
    content:'AUD';
}

But it is making it show twice on my related posts plugin (image attached). 

Is there something I can add to this code that will remove one of them from related posts? I can't find the exact plugin I used so I'm hoping you can help me.

Thank you!

Screen Shot 2022-11-22 at 3.21.29 pm.png

Link to comment
  • Solution

Change your code to this

section.product-details.ProductItem-details .product-price:after {
    content:'AUD';
}

(This won't work on List/Category Page). If you share link to your site, we can check easier

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
6 hours ago, katenewmanphoto said:

I am currently using this code to add "AUD" after my product prices

If it helps, you can show all your AUD prices with the prefix "A$" (instead of "$") without using any custom code by tweaking the Language and Region settings 🙂.

 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.