Jump to content

Remove text shipping options


jontaan

Recommended Posts

Hi,

I am using Prestashop version 1.6.1.5

How can I remove the text "the best price" and "the fastest" when customers are checking out their carts?

 

I´ve tried to delete this in order-carrier.tpl but doesnt work.

 

{if count($option_list) > 1}
{if $option.is_best_grade}
{if $option.is_best_price}
<div class="delivery_option_best delivery_option_icon">{l s='The best price and speed'}</div>
{else}
<div class="delivery_option_fast delivery_option_icon">{l s='The fastest'}</div>
{/if}-->
{else}
<!-- {if $option.is_best_price}
<div class="delivery_option_best_price delivery_option_icon">{l s='The best price'}</div>
{/if}

Thank you! 

Edited by jontaan (see edit history)
Link to comment
Share on other sites

It's better to use {* *} in Smarty templates to remove code. For example:

{*{if count($option_list) > 1}
{if $option.is_best_grade}
{if $option.is_best_price}
<div class="delivery_option_best delivery_option_icon">{l s='The best price and speed'}</div>
{else}
<div class="delivery_option_fast delivery_option_icon">{l s='The fastest'}</div>
{/if}-->
{else}
<!-- {if $option.is_best_price}
<div class="delivery_option_best_price delivery_option_icon">{l s='The best price'}</div>
{/if}*}

Also, make sure you don't have "Never recompile template files" selected on the Advanced Parameters > Performance tab, since that will prevent your changes appearing on your website. You should also click the "Clear cache" button if you have caching enabled.

  • Like 1
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...