Files
esun3d/app/code/Esun/CustomerVat/view/frontend/templates/cart/vat-prompt.phtml
T
2026-09-15 10:35:56 +08:00

13 lines
629 B
PHTML

<?php
/** @var \Esun\CustomerVat\Block\Cart\VatPrompt $block */
/** @var \Magento\Framework\Escaper $escaper */
$prompt = $block->getPromptData();
?>
<?php if (!empty($prompt['show'])): ?>
<div class="cart_list_tips">
<?= $escaper->escapeHtml(__('If you are an EU VAT registered business, please contact Customer Service to')) ?>
<a href="<?= $escaper->escapeUrl((string)$prompt['apply_url']) ?>"><?= $escaper->escapeHtml(__('Apply for Tax Exemption')) ?></a>
<?= $escaper->escapeHtml(__('and make your purchases through the B2B account to apply the appropriate tax exemption provisions.')) ?>
</div>
<?php endif; ?>