Solved

Price {money} format in cents only

Maksims_Svjasti
Shopify Partner
3 1 0

I need implement the following widget into the sotre:
https://developers.klix.app/api/#klix-pay-later-monthly-payment-widget

For it to work, I need to get product price from Shopify in cents and I can't figure it out. 
To display $679.00 - I need to get 67900 

Do you have any idea how to get the price in cents only? 

Maksims_Svjasti_0-1654768553546.png

 

Accepted Solution (1)

Maksims_Svjasti
Shopify Partner
3 1 0

This is an accepted solution.

Solved!  It's - 
{{ product.price | money_numbers_only}}

View solution in original post

Reply 1 (1)

Maksims_Svjasti
Shopify Partner
3 1 0

This is an accepted solution.

Solved!  It's - 
{{ product.price | money_numbers_only}}