OK from the top for anyone in the UK wishing to charge vat here is what you need
in yourtemplate/checkout/step6.tpl.php should be as follows
HTML Code:
{* $Id: step6.tpl.php,v 1.2 2006/06/05 16:17:02 Eric Exp $ *}
<!-- Step 6 of Checkout -->
<!-- Verify Order Information -->
{if $authorizenet=="Y"}
{include file=checkout/authorizenetAIM.tpl.php}
{/if}
{if $linkpointapi=="Y"}
{include file=checkout/linkpointAPI.tpl.php}
{/if}
{$paymentform}
<table class="tableborder">
<tr>
<th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th>
</tr>
<tr>
<td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$package}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$price}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_ADD_EXTRAS}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$extraPrice}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$discount}</td>
</tr>
<tr>
<td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td>
<td class="formright">{$grandTotal}</td>
</tr>
{assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""}
<tr>
<td class="formleft">VAT{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td>
</tr>
{if $displayProvider}
<tr>
<td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td>
<td class="formright">
<select name="pPayProvider">
{foreach from=$payprovider item="entry"}
<option value="{$entry.id}">{$entry.showas}</option>
{/foreach}
</select>
</td>
</tr>
{else}
<input type="hidden" name="pPayProvider" value="8" />
{/if}
<tr>
<td colspan="2" class="formstrip">
<div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div>
</td>
</tr>
</table>
<br />
<input name="listingid" type="hidden" value="{$listingid}" />
<input name="step" type="hidden" value="7" />
<input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' />
</form>
for memberships
in yourtemplate/memberships/step3.tpl.php should be as follows
HTML Code:
<!-- Step 3 of Memberships -->
<!-- Verify Order Information -->
{if $authorizenet=="Y"}
{include file=checkout/authorizenetAIM.tpl.php}
{/if}
{$paymentform}
<table class="tableborder">
<tr>
<th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th>
</tr>
<tr>
<td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$package}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$price}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td>
<td class="formright">-{$discount}</td>
</tr>
<tr>
<td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td>
<td class="formright">{$grandTotal}</td>
</tr>
{assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""}
<tr>
<td class="formleft">VAT{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td>
</tr>
{if $displayProvider}
<tr>
<td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td>
<td class="formright">
<select name="pPayProvider">
{foreach from=$payprovider item="entry"}
<option value="{$entry.id}">{$entry.showas}</option>
{/foreach}
</select>
</td>
</tr>
{else}
<input type="hidden" name="pPayProvider" value="8" />
{/if}
<tr>
<td colspan="2" class="formstrip">
<div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div>
</td>
</tr>
</table>
<br />
<input name="productid" type="hidden" value="{$productid}" />
<input name="step" type="hidden" value="7" />
<input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' />
</form>
Not sure about this have not tested it but
in yourtemplate/membershipcheckout/step6.tpl.php
HTML Code:
{* $Id: step6.tpl.php,v 1.2 2006/04/10 15:20:21 Eric Exp $ *}
<!-- Step 6 of Checkout -->
<!-- Verify Order Information -->
{if $authorizenet=="Y"}
{include file=checkout/authorizenetAIM.tpl.php}
{/if}
{$paymentform}
<table class="tableborder">
<tr>
<th colspan="2"><strong>{$smarty.const.LANG_VERIFY}</strong></th>
</tr>
<tr>
<td class="formstrip" colspan="2">{$smarty.const.LANG_VERIFY_TXT}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_VERIFY_PACKAGE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$package}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_PRICE}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$price}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_ADD_EXTRAS}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$extraPrice}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_DISCOUNT}{$smarty.const.LANG_COLON}</td>
<td class="formright">{$discount}</td>
</tr>
<tr>
<td class="formleft">Subtotal{$smarty.const.LANG_COLON}</td>
<td class="formright">{$grandTotal}</td>
</tr>
{assign var="preTax" value=$grandTotal|regex_replace:"/[\�\,]/":""}
<tr>
<td class="formleft">VAT{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=.175 format="%.2f"}</td>
</tr>
<tr>
<td class="formleft">{$smarty.const.LANG_GRAND_TOTAL}{$smarty.const.LANG_COLON}</td>
<td class="formright">�{math equation="x * y" x=$preTax y=1.175 format="%.2f"}</td>
</tr>
{if $displayProvider}
<tr>
<td class="formleft">{$smarty.const.LANG_PAYMENT_METHOD}{$smarty.const.LANG_COLON}</td>
<td class="formright">
<select name="pPayProvider">
{foreach from=$payprovider item="entry"}
<option value="{$entry.id}">{$entry.showas}</option>
{/foreach}
</select>
</td>
</tr>
{else}
<input type="hidden" name="pPayProvider" value="8" />
{/if}
<tr>
<td colspan="2" class="formstrip">
<div align="center"><input type="submit" name="Submit" value="{$smarty.const.LANG_ADD_LISTING_CONTINUE}" /></div>
</td>
</tr>
</table>
<br />
<input name="listingid" type="hidden" value="{$listingid}" />
<input name="m_oID" type="hidden" id="m_oID" value="{$m_oID}" />
<input name="step" type="hidden" value="7" />
<input type="hidden" name="tax" value='{math equation="x * y" x=$preTax y=.175 format="%.2f"}' />
</form>
REMEMBER BACKUP FILES BEFORE TRYING
VAT should now be parsed over to Paypal
All credit to John
Many thanks
cheers
Brian