Personalized checkout and custom promotions with Shopify Scripts
Hi Guys,
I want to access the Tax rate in any Liquid file and show it on the page. For example, with which variable can I access it on the product page?
You either need to hard code the values, or use something like metafields to expose the info in liquid.
Tax data is not exposed in liquid except if a variant is taxable, and limited places for amount on line items where tax has been actually calculated, or a id or status.
https://shopify.dev/docs/api/liquid/objects/variant#variant-taxable
https://shopify.dev/docs/api/liquid/objects/cart#cart-taxes_included
DEPRECATED https://shopify.dev/docs/api/liquid/objects/shop#shop-taxes_included
https://shopify.dev/docs/api/liquid/objects/checkout#checkout-tax_price
https://shopify.dev/docs/api/liquid/objects/tax_line
https://shopify.dev/docs/api/liquid/objects/cart#cart-taxes_included
https://shopify.dev/docs/api/liquid/objects/company_location#company_location-tax_registration_id
https://shopify.dev/docs/api/liquid/objects/customer#customer-tax_exempt
Also see the many topics on VAT price displays.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025