Article ID: 128580, created on Mar 28, 2016, last review on Mar 28, 2016

  • Applies to:
  • Business Automation 6.0

Question

When the customer chooses a different country with different tax configured, there is no warning for the tax change. Is there any way to configure some kind of warning?

Answer

Yes, for the warning to be displayed the conditions below must be satisfied:

  1. Layout template country must either be default, or the lines below must be present:

    <tr id="tr__taxRegID">
    <td class="fieldLabel"><label class="required" for="TaxRegID" id="label__taxRegID">{$smarty.session.LANG.CHECKOUT_TAXREGID}</label></td>
    <td align="left">
    <div class="fieldEntry">
    {widget name="TaxRegID" size=25 maxlength=64 title=$smarty.session.LANG.CHECKOUT_TAXREGID
    id="TaxRegID"
    }
    </div>
    <div class="fieldComment"></div>
    </td>
    </tr>
    {if $CONFIG_INI.SCREEN.$SCREEN["CHECK_TAXES"] == "true"}
    <tr>
    <td></td>
    <td>
    <div id="TaxWarning_Country" style="display:none">
    <span class="Note">{$smarty.session.LANG.TAX_WARN}</span>
    </div>
    </td>
    </tr>
    {/if}
    {GetCustomTemplate name="accattr.tpl" assign="file"}
    {include file=$file filter="TAXREG"}
    
  2. An option CHECK_TAXES must be true in the checkout screen: Home> Products> Online Store > Screens > CHECKOUT_SCREEN > Parameters

After these changes and store sync the customer will see a warning:

alttext

Search Words

CHECK_TAXES

You have made changes to your country . According to current EU directives, the VAT has been updated automatically at the top of your shopping cart . The total price of your product has been adjusted accordingly

CHECKOUT_TAXREGID

tax change

TAX_WARN

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 3627d36199b8ff577605df76e2fa222b bb7e9177fb03488961a3ea554120f328

Email subscription for changes to this article
Save as PDF