Hey guys!
Is there any variable or workaround in Shopify for order printer app that let's me enter a value for „subtotal – taxes = value“?
For German shopify users, I need to display the netto (price excluding taxes) price on my invoices. Any ideas?
I didn't know where to post this thread, so admins please feel free to move it to another forum.
Thanks in advance.
Jason
Not sure in what page you are but In Liquid you can use the Math filters: https://docs.shopify.com/themes/liquid/filters/math-filters#minus
{{ product.price | minus: 15 }}
You can use times for that:
https://docs.shopify.com/themes/liquid/filters/math-filters#divided_by
{{ product.price | divided_by: 1.19 }}
Hello Mircea,
thanks for the math filter first!
My solution would be to divide the price by 1,19.
But when I do it so it does not place the comma at the right place and uses too much digits.
For example with 30,00€
{{ subtotal_price | divided_by: 1.19 }}
It outputs: 2521.0084033613443 - But what I need is: 25,21
Any ideas?
Yes sorry, wrong example, was thinking at something else but yes, use the math filters to do whatever price and taxes operation you need. I've updated my example so anyone else would not get confused.
Use a money filter to solve the 2nd issue: https://docs.shopify.com/themes/liquid/filters/money-filters#money
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 |