DARKF3D3 Posted July 22, 2018 Share Posted July 22, 2018 (edited) Hello, do you know how to remove the "tax included" text showed next to each carrier price on checkout? I looked into "/templates/checkout/_partials/steps/shipping.tpl" but the price it's showed by this {$carrier.price}, and i don't know how to modify it. Edited July 26, 2018 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted July 22, 2018 Share Posted July 22, 2018 Hi, And how about if you disable the taxes from the "BO > International > Taxes"? Regards! Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 22, 2018 Author Share Posted July 22, 2018 Unfortunatelly no, I need to use prices with and without taxes on back office, but not on front office because the customers know that all the prices shown on the website are tax included, so i prefer to not show that label. Link to comment Share on other sites More sharing options...
Rolige Posted July 23, 2018 Share Posted July 23, 2018 I understand, you can disable the tax label in the Country, and also in the "International > Taxes". And you can change the way to show the price in the customer group. I don't remember now if exists other location to disable the tax. Regards! Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 23, 2018 Author Share Posted July 23, 2018 I disabled the tax label from the page International > taxes (below the country list), and the tax has been removed from some prices on the website, but not on the carrier prices showed on checkout. But into the country setting I can only disable the taxes, but this change all the prices and it's not what i need. The same on customer group settings, i find a setting to enable/disable taxes, but this remove the tax amount pfrom the price, and don't hide simply the tax included label. Link to comment Share on other sites More sharing options...
Rolige Posted July 25, 2018 Share Posted July 25, 2018 In the country editor the option is called 'Display tax label (e.g. "Tax incl.")', of course this will not disable the taxes. Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 25, 2018 Author Share Posted July 25, 2018 Yes, I set to NO that field, but i still see the price of the carrier with the tax inclused label. Link to comment Share on other sites More sharing options...
Rolige Posted July 25, 2018 Share Posted July 25, 2018 I saw that, in that part is not evaualting any variable to display or not the label, all the time will display a label, tax incl. or tax excl., you need remove it from the theme, in the file: /themes/YOUR_THEME/templates/checkout/_partials/cart-detailed-totals.tpl In the line: <span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span> You need remove or comment this: {$cart.labels.tax_short} I hope this help, Regards! 1 Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 26, 2018 Author Share Posted July 26, 2018 (edited) I tried your tip, but that remove the tax label from total order amount (blue arrow), but I would like to hide the tax label showed next to each carrier price (red arrow). Look at the screeshot. Edited July 26, 2018 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted July 26, 2018 Share Posted July 26, 2018 Ok, its in the same situation of the previous, that part also omit the PS option about the tax label, this is a fail of PrestaShop definitely, anyways, you can change it in the file: /classes/checkout/DeliveryOptionsFinder.php Locate this text: '%price% tax incl.' And change for: '%price%' And also... Locate this text: '%price% tax excl.' And change for: '%price%' Regards! 2 2 Link to comment Share on other sites More sharing options...
DARKF3D3 Posted July 26, 2018 Author Share Posted July 26, 2018 Thank you Rolige, this solved the problem. I hope that prestashop team will fix this, because I don't like modify PS core file, because if update the PS version you'll lose the modify. Link to comment Share on other sites More sharing options...
Rolige Posted July 26, 2018 Share Posted July 26, 2018 You're welcome! 1 Link to comment Share on other sites More sharing options...
moraira Posted November 28, 2020 Share Posted November 28, 2020 Running on PS 1.7.5.2 Thans for your help Rolige Link to comment Share on other sites More sharing options...
Pandal Posted January 20, 2022 Share Posted January 20, 2022 What you suggested works but is not the right way of doing this. This is a simple translation.. you can change it in the backoffice Shop > Theme > Checkout If you change the code on the prestashop core files after updating the website your file modification could be removed, so don't do that.. simply change the translation from the backoffice as you usually do for all the other texts. Link to comment Share on other sites More sharing options...
awrobl Posted April 2, 2022 Share Posted April 2, 2022 On 1/20/2022 at 12:47 PM, Pandal said: What you suggested works but is not the right way of doing this. This is a simple translation.. you can change it in the backoffice Shop > Theme > Checkout If you change the code on the prestashop core files after updating the website your file modification could be removed, so don't do that.. simply change the translation from the backoffice as you usually do for all the other texts. Confirmed, this is easy way to remove "gross" suffix. No changes in core files is needed. Link to comment Share on other sites More sharing options...
DARKF3D3 Posted April 2, 2022 Author Share Posted April 2, 2022 1 ora fa, awrobl dice: Confirmed, this is easy way to remove "gross" suffix. No changes in core files is needed. Did you checked if the suffix has been removed also to the shipping costs at carrier section of the checkout? Link to comment Share on other sites More sharing options...
awrobl Posted April 2, 2022 Share Posted April 2, 2022 Yes, I have updated %price% tax incl. My translation contains only this %price% 1 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