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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024