Hide cents only for prices over $100

Highlighted
Tourist
3 0 1

Is there a way to hide cents just for certain products/ price points? We'd like to hide cents for just products over $100. Any ideas? We're currently hiding all cents using the currency formatting in settings.

${{amount_no_decimals}}

Thanks!

1 Like
Highlighted
Shopify Partner
9267 1180 3265

Hello, @BFWebTeam 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Tourist
3 0 1

Hi @KetanKumar,

Thank you! Site is https://kegco.com/

0 Likes
Highlighted
Shopify Partner
9267 1180 3265

@BFWebTeam 

Thanks '

can you please try 

https://help.shopify.com/en/manual/payments/currency-formatting

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
Tourist
3 0 1

@KetanKumar Yes that's what we're currently doing. Just wondering if there's something that can be added to that code or elsewhere to limit hiding the cents/decimals for only prices over $100.

Right now we have cents/ decimals hidden for everything.

0 Likes
Highlighted
Shopify Partner
9267 1180 3265

@BFWebTeam 

Thanks for it

may it can be done some customization code

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes