<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.foxycart.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Foxy Wiki - snippets:tax_tips_and_tricks</title>
        <description></description>
        <link>https://wiki.foxycart.com/</link>
        <lastBuildDate>Sun, 02 Aug 2026 17:41:03 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://wiki.foxycart.com/_media/wiki/dokuwiki.svg</url>
            <title>Foxy Wiki</title>
            <link>https://wiki.foxycart.com/</link>
        </image>
        <item>
            <title>more_tax_inclusive_prices</title>
            <link>https://wiki.foxycart.com/snippets/tax_tips_and_tricks/more_tax_inclusive_prices?rev=1493190150&amp;do=diff</link>
            <description>More Tax-inclusive prices, perhaps a better solution.

Put this in the checkout template (right before the closing head tag &lt;/head&gt;).


&lt;script type=&quot;text/javascript&quot;&gt;
function displayCustomTaxes() {
var order_total = jQuery(&quot;#order_total&quot;).val(); //takes the order_total amount (this is now a &quot;string&quot;) and puts it in a variable
var order_total = order_total.replace(',','.'); //this will replace the &quot;,&quot; into &quot;.&quot; (this makes the decimals also into the calculation) (example 212,50 into 212.50)
var …</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 26 Apr 2017 07:02:30 +0000</pubDate>
        </item>
        <item>
            <title>tax_inclusive_prices</title>
            <link>https://wiki.foxycart.com/snippets/tax_tips_and_tricks/tax_inclusive_prices?rev=1493190150&amp;do=diff</link>
            <description>Tax-Inclusive prices for Australia, UK VAT, etc.

Lets say if you want to try setting up all items with a 17.5% discount (equivalent to UK VAT) and then add it back with the VAT setting.

By using forms for all products:


&lt;form action=&quot;https://storename.foxycart.com/cart&quot; class=&quot;foxycart&quot; method=&quot;post&quot;&gt;

&lt;input type=&quot;hidden&quot; name=&quot;name&quot; value=&quot;PRODUCT (15ml)&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;price&quot; value=&quot;45.00&quot; /&gt;
&lt;input type=&quot;submit&quot; class=&quot;submitbf&quot; value=&quot;&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;discou…</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Wed, 26 Apr 2017 07:02:30 +0000</pubDate>
        </item>
    </channel>
</rss>
