Charge No Wholesale Tax

To disable tax for wholesale vendors only, you can modify your system (version 2.72) as follows. There are two different methods shown here, depending on whether you want your client to be able to change tax values per item. Please note that in both methods, Mals must be set to use tax amounts from the buy button.

METHOD 1: All wholesale products have zero tax; you can choose whether retail products will be taxed or not, and clients can set different tax amounts for different items.

  1. Make sure all of your taxable products have tax values. (Hint: Use the Global Tax Update FAQ if you wish to automate this process.) IMPORTANT! All new taxable products will need a tax value added as well.

  2. Open the order.php page in the /go/ folder.

  3. At the very bottom of the file, change the lines:

    if (isset($_POST[tax]))
    $gotolink .= "&tax=$tax";

    to:

    if ($wsemail AND $_COOKIE['wspass'] AND !$regid AND $wsdiscount > 0 AND $wsnum == 1)
    $gotolink .= "&tax=0";
    else if (isset($_POST[tax]))
    $gotolink .= "&tax=$tax";
  4. Select the 'Cart Setup' tab in Mals.

  5. Select the 'Sales Tax' link under 'Tax and Shipping'.

  6. Under 'Tax Basis', select: "Tax will be calculated using a rate set in your Buy Now links in the field named tax."

METHOD 2: All wholesale products have zero tax; ALL retail products will be taxed, and the client will not be able to change this tax value.

  1. Open the order.php page in the /go/ folder.

  2. At the very bottom of the file, change the lines:

    if (isset($_POST[tax]))
    $gotolink .= "&tax=$tax";

    to:

    $default_tax = 8.75;
    if ($wsemail AND $_COOKIE['wspass'] AND !$regid AND $wsdiscount > 0 AND $wsnum == 1)
    $gotolink .= "&tax=0";
    else
    $gotolink .= "&tax=" .$default_tax;

    where 8.75 is the tax amount you want to charge for every item.

  3. Select the 'Cart Setup' tab in Mals.

  4. Select the 'Sales Tax' link under 'Tax and Shipping'.

  5. Under 'Tax Basis', select: "Tax will be calculated using a rate set in your Buy Now links in the field named tax."

  6. Note that all items purchased at retail will have the default tax applied.