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

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

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 🙂.

 

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.

Link to 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.