Financing, tax rates, and accounting
I need to change code in shopify (settings - notifications - customer notifications - draft orders) because in our country we have 2 types of tax. We have 19 percent tax for goods and 23 percent tax for delivery. Do you know how we can do that?
Thank you
Hi @Pozelsson
To handle two tax rates in Shopify draft order notifications:
Go to Settings > Notifications > Draft Order Invoice and click Customize.
In the template editor, update the Liquid code to apply the appropriate tax rates. For example:
{% for line_item in draft_order.line_items %}
{% if line_item.product_type == 'Goods' %}
Tax (19%): {{ line_item.price | times: 0.19 | money }}
{% elsif line_item.product_type == 'Delivery' %}
Tax (23%): {{ line_item.price | times: 0.23 | money }}
{% endif %}
{% endfor %}
Save and test the notification to confirm.
If you’re not comfortable with code, a Shopify Expert can help ensure accuracy. Let me know if you need more help!
iCart Cart Drawer Cart Upsell App
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025