Remove GBP from product card

Remove GBP from product card

ads18922
Excursionist
60 0 26

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

Screenshot 2024-11-12 at 10.42.44.png

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

Replies 3 (3)

mrashid
Shopify Partner
290 24 28

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

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

mrashid
Shopify Partner
290 24 28

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

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

rajweb
Shopify Partner
358 35 49

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.

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

-Need a Shopify developer?
https://rajatweb.dev/
Email: rajat.shopify@gmail.com