Conditional Decimals (price): if no cents show no decimals, else show decimals?

Shopify Partner
20 2 0

Hi everybody. Is this possible...

  • For product pricing that's a whole number without cents, I'd like to show no decimal points
  • For example if the price is $9.00 I'd like to show $9
  • But obvs if the product is $9.50 I still need to show $9.50
  • Is this possible (am working with Debut theme)?
Reply 1 (1)

Shopify Partner
9 0 2

Hey there.... did you have any luck with this? Looking for a similar solution...