Question

How to make a specific tax zone to be chosen by default when creating an account from the provider's control panel?

Answer

It is possible with the customization. General instructions can be found in the documentation.

Follow the steps to achieve the desired result:

  1. Make sure the directory /usr/local/bm/conf/wnd/BM/customization/customization is a symlink to /usr/local/bm/customization:

    # ls -ld /usr/local/bm/conf/wnd/BM/customization/customization
    /usr/local/bm/conf/wnd/BM/customization/customization -> /usr/local/bm/customization
    

    If not, configure it as described in Preparing Container chapter.

  2. Find a "Tax Zone ID" which is to be used:

    PBA 5.4: Home> Configuration Director> Sales & Financial Settings> Tax Zones

    PBA 5.5: Home> System> Settings> Taxation> Tax Zones

  3. Create a file /usr/local/bm/customization/Account_AddCustomerWin.xml with content:

    <window id="Account_AddCustomerWin">
      <elements>
        <input id="TaxZoneIDTaxZoneID" value="<tax_zone_ID>" />
      </elements>
    </window>
    

    replace a <tax_zone_ID> with "Tax Zone ID" from the step 2.

  4. Restart www for changes to apply:

    /etc/init.d/www restart
    

Internal content