dixie Posted July 21, 2010 Share Posted July 21, 2010 I'm not a coder, so I don't know where or what to look for to fix the PDF document so it will show the shipping fee. Also, on the PDF invoice, tax is showing as 8,000 instead of 8%. Any help would be appreciated. Thank you!Order Invoice Details:Total products : $3.99Total products (tax incl.): $4.31Total shipping: $2.95Total: $7.26PDF Version:Total products : $3.99Total products : $4.31Total shipping : $0.00Total (tax incl.) : $7.26Total (tax excl.) : $3.99Tax detail Tax % Pre-Tax Total Total Tax Total with TaxProducts 8,000 $3.99 $0.32 $4.31 Link to comment Share on other sites More sharing options...
TitaniumWeb Posted July 22, 2010 Share Posted July 22, 2010 Hi!I can only help you with the Total shipping: 0.00 part...I had this same issue to solve yesterday, and ended up putting my little french to good use!In classes/PDF.php line 791, change: $priceBreakDown['shippingCostWithoutTax'] = ($carrierTax->rate AND $carrierTax->rate != '0.00' AND self::$order->total_shipping != '0.00' AND Tax::zoneHasTax(intval($carrier->id_tax), intval($id_zone))) ? (self::$order->total_shipping / (1 + ($carrierTax->rate / 100))) : 0; to: $priceBreakDown['shippingCostWithoutTax'] =(self::$order->total_shipping / (1 + ($carrierTax->rate / 100))); I'm no programmer/coder either, so I have no clue what the change actually does, but it solved the problem!Link to french thread: here!Now I need to find out how to get the tax to show in % too! Link to comment Share on other sites More sharing options...
dixie Posted July 22, 2010 Author Share Posted July 22, 2010 Thank you so much! The copy and paste worked. I see you are a newcomer - what a great help you were. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now