Announcement

Collapse
No announcement yet.

Test if Price Exempt of VAT

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

    Test if Price Exempt of VAT

    Is there any way to test at product level if the product price has VAT added or is Exempt of VAT?

    Looking at the section blob for plus VAT I can see

    'TAX_3' => '301=1750=0='

    and when exempt

    'TAX_3' => '1=0=0='


    Bikster
    SellerDeck Designs and Responsive Themes

    #2
    Posted too soon ... not ideal but a block if

    <actinic:variable name="TaxRate1" /> == "0"

    tests if exclusive of VAT

    I will leave the thread in case of use to anyone else that is bonkers enough to need it.


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      I cannot get TaxRate1 to work at the product level (error saying that it's not allowed there).

      You have to do something like:

      <actinic:block type="PriceList" ><actinic:variable name="TaxRate1" /></actinic:block>

      and that's hard to put into a condition as it's a layout, not a variable.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        UPDATE: Check that your condition is actually working. It doesn't here. E.g. On standard demo site, I put into product layout:
        Code:
        <actinic:block type="PriceList" ><actinic:variable name="TaxRate1" /></actinic:block>
        <actinic:block if="%3cactinic%3avariable%20name%3d%22TaxRate1%22%20%2f%3e%20%3d%3d%200" >
        ZERO RATED	
        </actinic:block>
        On the zero rated books page I see:

        0 ZERO RATED

        which is fine.

        But on the the taxable clothes page I see

        17.5 ZERO RATED

        which is wrong!
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          I made the rash post #2 after testing in the Product Price layout ... where it works ... I have been trying in a component drop down and the block is ignored as it is not scoping the product tax from that layout (even a product level UDV will not work at the level either)

          Drop down lists are a real pain - Actinic did not expect anyone to want to play with them.


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment

          Working...
          X