Announcement

Collapse
No announcement yet.

Showing Tax 1 and Tax 2 as one entity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Showing Tax 1 and Tax 2 as one entity

    I am using both Tax 1 and Tax 2 for applying VAT to my products.

    I am using both as some of my products are liable to VAT relief (exemption), whilst others are not. I am therefore allocating these products to Tax 2 and allowing exemption on this tax (whilst not allowing exemption on Tax 1 for all other products).

    Because of this the Shopping Cart displays a line for both of the taxes. I would like to just show one line of tax in the shopping cart, which would be the sum of both Tax 1 and Tax 2.

    Can anyone help please?
    Steve Pritchard
    Inclusive Technology
    http://www.inclusive.co.uk/catalogue/index.html

    #2
    Hi there

    Im not too sure if this can be done or not as they are two seperate tax rates... I have forwarded you're query onto our development team to see if this can be done.

    Comment


      #3
      Hi there

      You can create the VAT as one entity by following these steps-

      Edit Act_ShoppingCartxml.html in notepad.

      1. Remove the code from <Actinic:REMOVE TAG="Tax1Row"> to <Actinic:Remove>
      2. Remove the code from <Actinic:REMOVE TAG="Tax2Row"> to <Actinic:Remove>
      3. Then add the following

      <TR>
      <TD ALIGN=RIGHT
      COLSPAN="NETQUOTEVAR:PRICECOLSPAN"><B><SPAN
      CLASS="actxsmall">NETQUOTEVAR:TAX<Actinic:REMOVE
      TAG="Tax1Row">1</Actinic:REMOVE><Actinic:REMOVE
      TAG="Tax2Row">2</Actinic:REMOVE>CAPTION</SPAN></B></TD>
      <TD ALIGN=RIGHT
      BGCOLOR="NETQUOTEVAR:CHECKOUTBG"><SPAN
      CLASS="actxsmall">NETQUOTEVAR:TAX<Actinic:REMOVE
      TAG="Tax1Row">1</Actinic:REMOVE><Actinic:REMOVE
      TAG="Tax2Row">2</Actinic:REMOVE></SPAN></TD>
      NETQUOTEDEL:REMOVE
      <TD ALIGN="CENTER"
      ROWSPAN="NETQUOTEVAR:REMOVEROWSPAN">&nbsp;</TD>
      NETQUOTEDEL:REMOVE
      </TR>

      Now if you edit ActinicOrder.Pm using notepad

      1. Replace: @Response = FormatPrice($nTax1, $::TRUE, $::g_pCatalogBlob);
      with
      @Response = FormatPrice($nTax1 + $nTax2, $::TRUE,
      $::g_pCatalogBlob);

      2. Replace: @Response = FormatPrice($nTax2, $::TRUE, $::g_pCatalogBlob);
      with
      @Response = FormatPrice($nTax1 + $nTax2, $::TRUE,
      $::g_pCatalogBlob);

      3. Search: $hVariables{$::VARPREFIX . 'TAX2'} =
      ACTINIC::EncodeText2($sTax2);

      Next to this line you have } after this you add the following

      $hVariables{$::VARPREFIX . 'TAXCAPTION'} = '';
      $hVariables{$::VARPREFIX . 'TAX12CAPTION'} =
      $hVariables{$::VARPREFIX . 'TAX1CAPTION'};
      $hVariables{$::VARPREFIX . 'TAX'} = '';
      $hVariables{$::VARPREFIX . 'TAX12'} =
      $hVariables{$::VARPREFIX . 'TAX1'};

      Hope that helps

      Comment


        #4
        James

        Many thanks for your help here. The solution works a treat.
        Steve Pritchard
        Inclusive Technology
        http://www.inclusive.co.uk/catalogue/index.html

        Comment

        Working...
        X