Jump to content

gst vat tax issues


Guest vivid

Recommended Posts

Guest vivid

Fix for gst or vat tax not showing in checkout area.

Theres been heaps of post in regards to this issue and like everyone else ive been pulling my hair out trying to get an answer on how to fix this as im not a techy or programmer either.

Anyway heres the good news for a simple (may not be the best but it works) fix.

NOTE: Im not a professional so pls backup any files being change as i take no responsibilty for anything but you can visit my site to see how it works

www.vividwholesale.com.au/shop

includes/content/cart.inc.php

find

$lineTax = ($product[0]['percent'] / 100) * ($price * $quantity);

change to

$lineTax = ($product[0]['percent'] / 11) * ($price * $quantity);

find

$grandTotal = $subTotal + $tax + $basket['shipCost'];

change to

$grandTotal = $subTotal + $basket['shipCost'];

save and upload

goto admin general settings

include tax in prices to "no"

goto tax settings

change GST to 1%

Add new tax call it the same or different to current one ie gst or gst1 value at 10%

in shipping setup change your current freight to the new gst you just created (

if left it will calculate your gst on freight at 1%)

Done

Now there may be some modders out there who could correctly change this line

$lineTax = ($product[0]['percent'] / 100) * ($price * $quantity);

so you just have product / 11 but the few combos it tried gave me error messages.

NOTE:!!! this mod is mainly for australian users but the difference in code is (/ 100) to / 11) where the 11 is the amount we use to devide the inclusive price amount to work out the gst amount. Other countries should have the same kinda system.

Good luck clubbers

*/*:lol: :lol:

Link to comment
Share on other sites

  • 4 weeks later...

Guest Priceline Pharmacy Windsor

Great work, thanks!

Just one thing. Divide by 110, not just 11. Then later on, simply choose 10% GST instead of 1%. It's more realistic ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...