Remove GBP from product card

hello, i want to remove the GBP from my product card:

I want it to just say £24.00 instead of £24.00 GBP

I am using dawn theme and my website is www.rosella-elegance.com , password mechaw

@ads18922 click on below video link and follow
https://www.awesomescreenshot.com/video/33519470?key=78369886c9b9e1165d53be658d2f9445

@ads18922 this settings apply on all cards , like collection page also

Hey @ads18922 ,

To remove “GBP” from the product prices on your product cards in the Dawn theme, follow these steps:

  1. Online Store > Themes > Edit Code.

  2. Locate Product Card Price Code:

-In the Section folder, find and open the file named card-product.liquid.

  1. Edit the Price Formatting:

-Search for {{price | money_with_currency}} in this file. This code displays the price with the currency label (“GBP” in your case)

-Replace money_with_currency with money to remove the “GBP” label and only show the symbol.

For example, change:

{{ price | money_with_currency }}

to:

{{ price | money }}

Go to your website and check a product card to ensure that the price now displays as “£24.00” instead of “£24.00 GBP”.

This should achieve the format you’re looking for. Let me know if you encounter any issues!

If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!

Best Regard,
Rajat Sharma

1 Like

Thanks for this information Rajat.

I have another one for you or anyone, if they can answer.

I am wanting to integrate PayPal on my product page mainly that points out the pay in 3 they offer. I get the coding from PayPal but I am unsure where it actually goes with in the code.

Any help would be appreciated.

Regards

Phil