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
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:
- Go to Online Store > Themes > Actions > Edit Code: https://prnt.sc/U-e0sESi0__h
- Open the file where product pricing is displayed, often product-card.liquid or collection-template.liquid.
- Find the code displaying the price, usually {{ product.price | money }}.
- Replace it with {{ product.price | money_without_trailing_zeros }} to remove decimals globally.
- 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 help me. Thank you.
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:
- Go to Products > Add Product in your Shopify admin: https://prnt.sc/r0Z3Tst4wlGk
- Use a placeholder product name and description.
- Add an “external link” in the product’s URL field that redirects to the Bandcamp page: https://prnt.sc/XxxzP4438AKP
- 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
