Jump to content

Want to remove (tax incl.) and (tax excl.) Text from my cart summary page


gadgetsdukaan

Recommended Posts

Hello,

You can disable tax label from the country and the Localization > Taxes > Display tax in the shopping cart

If tax still showing, you should edit the tpl file and comment or delete these code, in the default theme you could find it on: /themes/default-bootstrap/modules/blockcart/blockcart.tpl

 

Regards!

Link to comment
Share on other sites

20 hours ago, Rolige said:

Hello,

You can disable tax label from the country and the Localization > Taxes > Display tax in the shopping cart

If tax still showing, you should edit the tpl file and comment or delete these code, in the default theme you could find it on: /themes/default-bootstrap/modules/blockcart/blockcart.tpl

 

Regards!

Thank you so much for your quick reply and help. I went to the path that you told me, but it is confusing. Could you please tell me the exact line of code to comment out. 

Link to comment
Share on other sites

50 minutes ago, gadgetsdukaan said:

Thank you so much for your quick reply and help. I went to the path that you told me, but it is confusing. Could you please tell me the exact line of code to comment out. 

 

Line depend in theme and PS version (of course), but search for something like this:

{if $show_tax && isset($tax_cost)}
    <div class="cart-prices-line">
        <span class="price cart_block_tax_cost ajax_cart_tax_cost">{$tax_cost}</span>
        <span>{l s='Tax' mod='blockcart'}</span>
    </div>
{/if}
<div class="cart-prices-line last-line">
    <span class="price cart_block_total ajax_block_cart_total">{$total}</span>
    <span>{l s='Total' mod='blockcart'}</span>
</div>
{if $use_taxes && $display_tax_label && $show_tax}
    <p>
    {if $priceDisplay == 0}
        {l s='Prices are tax included' mod='blockcart'}
    {elseif $priceDisplay == 1}
        {l s='Prices are tax excluded' mod='blockcart'}
    {/if}
    </p>
{/if}

 

You can delete and restore lines, don't worry about it, you can go back any time. If you can see any change, please clear cache or turn on force compile from the performance.

  • Like 1
Link to comment
Share on other sites

1 hour ago, Rolige said:

 

Line depend in theme and PS version (of course), but search for something like this:


{if $show_tax && isset($tax_cost)}
    <div class="cart-prices-line">
        <span class="price cart_block_tax_cost ajax_cart_tax_cost">{$tax_cost}</span>
        <span>{l s='Tax' mod='blockcart'}</span>
    </div>
{/if}
<div class="cart-prices-line last-line">
    <span class="price cart_block_total ajax_block_cart_total">{$total}</span>
    <span>{l s='Total' mod='blockcart'}</span>
</div>
{if $use_taxes && $display_tax_label && $show_tax}
    <p>
    {if $priceDisplay == 0}
        {l s='Prices are tax included' mod='blockcart'}
    {elseif $priceDisplay == 1}
        {l s='Prices are tax excluded' mod='blockcart'}
    {/if}
    </p>
{/if}

 

You can delete and restore lines, don't worry about it, you can go back any time. If you can see any change, please clear cache or turn on force compile from the performance.

Hey, It's done. Appreciate your help. Thank you!!!

Link to comment
Share on other sites

  • 1 year later...

I've been following this thread and I can't find the files
we start with prestashop 1.7.6.4 and warhouse 4.3.2

1.My problem is I can put the legend "taxes included" or taxes excluded but then add a "24"

foto

https://basajaun-yopmail.tinytake.com/tt/NDI1ODc4M18xMzMzNzYzOQ

pagina producto

https://recitoners.net/60/1138-rt108r00727-toner-negro-black-compatible-xerox-108r00727.html

 

2.I want to remove the 24th but I don't know where it's hiding, I don't know if it's in the database,
if in some mistranslated command though I would say I've looked at all
or in some command
I'd appreciate anyone who can help me..

I have a second problem with the product photos
when I don't put friendly urls you see only one line of 716 *19.6 if you press expand to full screen it looks good.
I have tried to regenerate the photos a thousand times to activate the sizes of a thousand shapes without success.

If anyone can help me I will be grateful


Translated with www.DeepL.com/Translator (free version)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...