CarriedAwayCrafts Posted June 1, 2012 Share Posted June 1, 2012 (edited) Hello, The tax line is not showing up on the check out page. The correct total is being calculated by prestashop but there is no separate line for the tax amount as required in the U.S. I was having the same problem with the cart block on the home page but was able to fix that with the solution provided > HERE< by tdr170 In Back Office > Payment > Taxes, I have "Display tax in cart:" checked "Yes" but there is still no tax line on the checkout page that shows the amount of tax. Taxes are being correctly calculated but there is no individual display of the tax amount. I am using theme prestashop_new on 1.8.4.2 and I have changed to 'force compile -YES' and 'Cache - NO' several times (have also cleared my browser cache repeatedly after making changes). I attached photos showing how the tax amount is being displayed in the cart drop-down on the main page, but how the tax line is not showing up on the check out page for the same order. I appreciate your help. Edited June 12, 2012 by CarriedAwayCrafts (see edit history) Link to comment Share on other sites More sharing options...
Flaunt Posted June 5, 2012 Share Posted June 5, 2012 Exactly the same problem here too. The settings are correct, the code is all there in 'order-detail.tpl' but still nothing. Any clues anyone? Cheers Link to comment Share on other sites More sharing options...
Flaunt Posted June 5, 2012 Share Posted June 5, 2012 Damn, I couldn't see the woods for the trees. Answer was staring me in the face all along I have a fix for this. Just working on a couple of styling issues and I'll post back. Very simple fix too. Link to comment Share on other sites More sharing options...
CarriedAwayCrafts Posted June 5, 2012 Author Share Posted June 5, 2012 Glad to hear it! I will watch for your solution post. Link to comment Share on other sites More sharing options...
Flaunt Posted June 5, 2012 Share Posted June 5, 2012 (edited) Basically this only applies to people using the 'prestashop_new template'. It seems that for some unknown reason the whole section that allows the tax etc to be shown on the cart summary has been commented out in the .tpl file. I cannot understand why this was done because it is a vital function and nothing to do with design aesthetics. Anyway... First, open up 'shopping-cart.tpl' in your theme folder and around line 84 find this: <!-- {if $use_taxes} {if $priceDisplay} <tr class="cart_total_price"> <td colspan="5">{l s='Total products'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'}</td> <td class="price" id="total_product">{displayPrice price=$total_products}</td> </tr> {else} <tr class="cart_total_price"> <td colspan="5">{l s='Total products'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'}</td> <td class="price" id="total_product">{displayPrice price=$total_products_wt}</td> </tr> {/if} {else} <tr class="cart_total_price"> <td colspan="5">{l s='Total products:'}</td> <td class="price" id="total_product">{displayPrice price=$total_products}</td> </tr> {/if} --> Remove the '<!--' from the beginning and the '-->' from the end. Secondly, at around line 172 find this: <!--<tr class="cart_total_price"> <td colspan="5">{l s='Total (tax excl.):'}</td> <td class="price" id="total_price_without_tax">{displayPrice price=$total_price_without_tax}</td> </tr> <tr class="cart_total_tax"> <td colspan="5">{l s='Total tax:'}</td> <td class="price" id="total_tax">{displayPrice price=$total_tax}</td> </tr> --> And do exactly the same as before. (note: if you don't need it to show the sub-total price excl. tax then move the last comment up to line 175) Finally, to make it all show (only some of will after this first stage) open up your 'global.css' from your theme folder. About line 748 or there about you will find: .cart_total_tax {display:none} Remove this completely. Finally, add these two lines in its place to sort out the border styling: #total_product.price {border-right:none} #total_tax.price {border-right:none} All done. And it should look something like this: see attachment (obviously ignore my own styling and textual changes) Edited June 5, 2012 by Flaunt (see edit history) Link to comment Share on other sites More sharing options...
CarriedAwayCrafts Posted June 5, 2012 Author Share Posted June 5, 2012 Great work, my friend! I'll try this a bit later (and mark this thread as 'solved' should everything go as expected), but just wanted to take a moment out of a 'busier than usual' morning to express my gratitude. Cheers, Tony Link to comment Share on other sites More sharing options...
CarriedAwayCrafts Posted June 12, 2012 Author Share Posted June 12, 2012 Flaunt, It worked like a charm, my friend. Thanks for the help. I hope I can return the favor someday. Tony Link to comment Share on other sites More sharing options...
Flaunt Posted June 12, 2012 Share Posted June 12, 2012 Flaunt, It worked like a charm, my friend. Thanks for the help. I hope I can return the favor someday. Tony Glad it worked for you! Link to comment Share on other sites More sharing options...
coolu Posted August 6, 2012 Share Posted August 6, 2012 .cart_total_tax {display:none} i cannot find this line mate kindly help I am using prestashop version 1.4.3 Link to comment Share on other sites More sharing options...
CarriedAwayCrafts Posted August 6, 2012 Author Share Posted August 6, 2012 coolu, it is probably because of the following: Basically this only applies to people using the 'prestashop_new template'. The 'new' prestashop default theme, is at the following: http://addons.presta...emplate-15.html If you are using the new theme then follow Flaunts fix above; particularly when he says: Finally, to make it all show (only some of will after this first stage) open up your 'global.css' from your theme folder. About line 748 or there about you will find: .cart_total_tax {display:none} Hope this helps. Link to comment Share on other sites More sharing options...
aliaspt Posted December 2, 2012 Share Posted December 2, 2012 Is there a fix for this for PS 1.3.1? I have the same issue - calculated correctly but not showing up in checkout. Link to comment Share on other sites More sharing options...
carras Posted May 15, 2013 Share Posted May 15, 2013 Hi, is this working for PS 1.5.4.1? Cuz I haven't found any of this instructions. 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