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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.