Hi, I'm currently located in Japan and have a Shopify store here.
I want to add tracking code with variables and refer the subtotal price from checkout.
However, the code needs to be {{checkout.subtotal_price}} and cannot include |money.
Since my store is using JPY currency, so if I add {{checkout.subtotal_price}}, then it shows extra 00 in the end.
Is there any way that I can output pure right price number?
Thanks!
解決済! ベストソリューションを見る。
成功
Or
{{ checkout.subtotal_price | money_without_currency }}
How about using Math filters?
https://help.shopify.com/en/themes/liquid/filters/math-filters
成功
Or
{{ checkout.subtotal_price | money_without_currency }}