Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Removing Currency Decimal - Dawn

Removing Currency Decimal - Dawn

Element1
Excursionist
50 0 9

hi! could anyone help me, i'm trying to remove the currency decimals that show on the product cards in the collections? i've successfully done it for the default store currency, but for any other currency, it still shows the currency the decimals 

 

https://2et30rjxyu5u29mf-27884224571.shopifypreview.com

 

Screenshot 2024-11-13 150337.png

 

 

Replies 3 (3)

DaisyVo
Shopify Partner
903 113 130

Hi @Element1 

To remove currency decimals from product cards for all currencies in Shopify collections, ensure you’re using a proper formatting method for multi-currency handling. You can update your code as follows:

  1. Go to Online Store > Themes > Actions > Edit Code: https://prnt.sc/U-e0sESi0__h
  2. Open the file where product pricing is displayed, often product-card.liquid or collection-template.liquid.
  3. Find the code displaying the price, usually {{ product.price | money }}.
  4. Replace it with {{ product.price | money_without_trailing_zeros }} to remove decimals globally.
  5. Save and refresh your site.

This ensures decimal removal for all currencies.

 

If you have other questions, I am willing to answer them more.

 

Best regards,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

DaisyVo
Shopify Partner
903 113 130

Hi @Beelze6 

Bandcamp items cannot directly integrate into Shopify collections. However, you can add Bandcamp products or items from another webpage by creating external links within your Shopify store. Here's how:

  1. Go to Products > Add Product in your Shopify admin: https://prnt.sc/r0Z3Tst4wlGk
  2. Use a placeholder product name and description.
  3. Add an "external link" in the product's URL field that redirects to the Bandcamp page: https://prnt.sc/XxxzP4438AKP
  4. Assign the product to your desired collection to include it in "All items."

This way, clicking the product will redirect users to the external page.

 

If you have other questions, I am willing to answer them more.

 

Best regards,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution