Returns the tax included label text.
Use this function if product prices on the store pages include tax and you want to let visitors know about it.
You can configure the label text and behavior on the System/Settings/eCommerce Settings page, please see
Configuring LemonStand for tax inclusive environments
for details.
The function returns the text which you specify in the
Tax included label text field of the eCommerce Settings form in case if the visitor's
location matches a country and state specified in the configuration form. If a visitor's location
is not known, the
default shipping location is used.
The following code outputs a tax included label next to a product price on the product details page:
Price:<?= format_currency($product->price()) ?> <?= tax_incl_label() ?>