Guest vivid Posted July 11, 2006 Share Posted July 11, 2006 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: Quote Link to comment Share on other sites More sharing options...
Guest Priceline Pharmacy Windsor Posted August 3, 2006 Share Posted August 3, 2006 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 ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.