Community Forums 

Main Content

No Tax for Food Products

    Jan 16 2013 03:06:39

    #1

    KathyMM

    Join date : 2010-09-14      Posts : 19

    The tax=0 syntax is not working. Per Mal's support, "The specific value of tax to be added to a product, most people use the tax section in the cart, but you may have a product that is exempt from tax, in which case the syntax would be tax=0".

    The page that I am testing it on is here: http://michigan-made.com/benjamintwiggs/cherry-salsa/
    ...and this is the code:
    <form action="http://ww11.aitsafe.com/cf/add.cfm"; method="post">
    <input type="hidden" name="userid" value="D1157440">
    <input type="hidden" name="nocart">
    <input type="hidden" name="product[]" value="Benjamin Twiggs Cherry Salsa">
    <input type="hidden" name="price" value="7.50">
    <input type="hidden" name="tax" value="0">
    <input type="hidden" name="units" value="1.813">
    <input type="hidden" name="scode" value="bt-sal-c" />
    <input type="hidden" name="return" value="http://michigan-made.com/benjamintwiggs/">;
    <table cellspacing="0" cellpadding="10" border="0" align="center">
    <tr>
    <td valign="bottom" align="center"><div>Qty:</div><input type="text" name="qty" size="1" value="1"/></td>
    <td valign="bottom" align="center"><div align="center"><b>$7.50</b></div><input type="image" src="http://michigan-made.com/images/buynow.gif"; align="absbottom" value="Add to Cart" onclick="alert('Cherry Salsa added to your cart\n\nClick OK to continue shopping\n\nClick View Cart to view or checkout');" /></td>
    </tr>
    </table>
    </form>

    Any help is much appreciated!
    Kathy



    Jan 16 2013 04:28:56

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4996

    In cart setup did you check the box where it says.... "Tax will be calculated using a rate set in your Buy Now links in the field named tax."

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Jan 16 2013 14:10:21

    #3

    KathyMM

    Join date : 2010-09-14      Posts : 19

    Thanks for your reply Debbie. No - because most products (thousands) will be taxed 6% for Michigan customers. I just want to make the food products non-taxable. According to Mal's support - adding the tax-0 is supposed to work.

    "...most people use the tax section in the cart, but you may have a product that is exempt from tax, in which case the syntax would be tax=0"

    But are you saying that line inside the form for a food item product will not work since the cart is set up with tax rate of 6% for Michigan customers?



    Jan 16 2013 15:05:34

    #4

    Alan

    Join date : 2008-09-18      Posts : 2956

    Also in support at http://www.mals-e.com/tpv.php?tp=23 is
    "With Basis 2, a rate of tax=0 will mean no tax for that item. This is the default value, when no tax field is present."

    It may be that you cannot easily do what you wish, so I suggest you ask Mal the best way to go and let is know your conclusions.

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Jan 16 2013 15:59:49

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4996

    The way I understood it you would have to put a tax value on every product if you wanted to go that route. I suggested trying notax to someone once as a guess but they never told me if it worked or not.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Jan 16 2013 17:10:12

    #6

    GT

    Join date : 2008-09-18      Posts : 3212

    Mal's says...

    There are two choices of how to set what rate of tax should be applied.

    1/ A fixed rate set in Admin.

    2/ A rate you set in your Buy Now links. Use a field named tax and the value should be equal to the percentage rate. For example; if the rate for a product is 10% then set tax=10 in its Buy Now button.

    With Basis 2/, a rate of tax=0 will mean no tax for that item. This is the default value, when no tax field is present.

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.




    Jan 17 2013 23:34:48

    #7

    KathyMM

    Join date : 2010-09-14      Posts : 19

    Debbie - I tried notax...that didn't work either.

    Thanks Alan - I'll give Mal a shout. Hopefully I get a response - I did on previous emails to him but I recently read someones post that they weren't getting a reply from him.

    GT - thanks for that info. It's just that the way it is worded on the sales tax support page: "...most people use the tax section in the cart, but you may have a product that is exempt from tax, in which case the syntax would be tax=0" - sounds to me like if you use the tax section in the cart but have a product that is exempt from tax than to use tax=0 syntax. But you may be right that you have to use either or, can't use both.

    Thanks all.



    Jan 18 2013 14:57:41

    #8

    anon

    Join date : 2008-09-18      Posts : 488

    Kathy,

    To achieve what you want, I think you need to do the following:
    1. Add tax to all your forms as follows:
    Food: <input type="hidden" name="tax" value="0">
    Non-food: <input type="hidden" name="tax" value="6">
    2. Set Cart Sales Tax as follows:
    TAX BASIS: Tax will be calculated using one of the rates specified below.
    Tax is based on the shipping address: sales tax should be added to my prices
    6 - US States: % Rate=T State=Michigan



    Jan 19 2013 15:57:56

    #9

    KathyMM

    Join date : 2010-09-14      Posts : 19

    Thank you anon - but if I do that, then I have to change all of the other thousands of Non-food products to: <input type="hidden" name="tax" value="6"> - correct?

    What I was looking for was to just leave the Tax Basis as is, and add the line of code to the Food Products only of <input type="hidden" name="tax" value="0"> - but that apparently doesn't work :(

    My Tax Basis is:
    Tax will be calculated using one of the rates specified below.

    Quote tax before we have their shipping address:
    #5 Michigan US States

    Tax is based on the shipping address:
    Sales tax should be added to my prices

    Thanks everyone for your input.

    anon said Kathy,

    To achieve what you want, I think you need to do the following:
    1. Add tax to all your forms as follows:
    Food: <input type="hidden" name="tax" value="0">
    Non-food: <input type="hidden" name="tax" value="6">
    2. Set Cart Sales Tax as follows:
    TAX BASIS: Tax will be calculated using one of the rates specified below.
    Tax is based on the shipping address: sales tax should be added to my prices
    6 - US States: % Rate=T State=Michigan



    Jan 19 2013 21:59:35

    #10

    anon

    Join date : 2008-09-18      Posts : 488

    Kathy,

    Unfortunately, if you want to use tax= then you have to use it on everything, and tax= is the only way to charge different tax rates for different products.

    If you have thousands of products you should seriously consider using a product database and script to generate product listings on your web site. It would make your life a lot easier.



       1   |   2      »