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:
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"}
- 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: