Want to include numbers after decimal

Tourist
17 0 1

Hi,


I am using the Warehouse Theme. We have a lot of prices that are whole numbers but I want them to be displayed with decimals.

 

i.e. £192.00 rather than £192

 

Here is a link to a sample page here

 

Could anyone help please? It seems it is easy to get Shopify to ignore decimals but hard to get it to treat whole numbers with decimals afer.

 

Please help!

 

Regards,

Frank

0 Likes
Navigator
357 39 40

@chocoholic86 wrote:

Hi,


I am using the Warehouse Theme. We have a lot of prices that are whole numbers but I want them to be displayed with decimals.

 

i.e. £192.00 rather than £192

 

Here is a link to a sample page here

 

Could anyone help please? It seems it is easy to get Shopify to ignore decimals but hard to get it to treat whole numbers with decimals afer.

 

Please help!

 

Regards,

Frank


hello, I think your theme displays prices with code - 

{{ amount_no_decimals }}

 

 change it to 

{{ amount }}

 clear cache and check, if you want, I can try it for you

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes
Tourist
17 0 1

Hi there,

 

I just checked and I can't see where I need to change this. 

 

I checked in theme.js file but not really sure where to change this.

0 Likes
Navigator
357 39 40

I think it will be in product template,can you add me to your shopify?

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes
Tourist
17 0 1

 I've invited you to check this.

0 Likes
Navigator
357 39 40

ok great, let me check now.

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes
Navigator
357 39 40

please allow access for me, right now I do not have rights to check code

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes
Tourist
17 0 1

Given you full access now.

0 Likes
Navigator
357 39 40

thank you, I have started to check it now, will ping you once I get update, give me sometime

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes
Navigator
357 39 40

please clear cache and check - https://longforte-trading-ltd.myshopify.com/collections/plain-white-sublimation-mugs

 

 

you will see prices with decimals

you are welcome to contact / donate small amount to me.
My email - suyash.patankar@gmail.com

paypal.me/suyashpatankar
0 Likes