Jump to content

Non exisiting carrier in the cart


Recommended Posts

Hi,

I have another problem - I have a non existing carrier on the carrier list in the cart.

Have no idea where to search for it and disable.

 

I have searched the ps_carrier table in the database but there are a lot of old carriers and only the 3 first are set to "deleted =0"

 

Anyone have some ideas?

Thanks in advance

post-230236-0-13362700-1435080368_thumb.png

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

An extra carrier showing no name, just "the best price and speed", with a price of zero plagued me for ages.  I could never work out what was causing it, only other people suffering the same thing.  In the end I edited the template (order-carrier.tpl) thus - 

 

After

 <div class="delivery_options">
 {foreach $option_list as $key => $option}

add

{assign var="blankc" value="0"}
{foreach from=$option.carrier_list key=mykey item=value name=clist}
{if $smarty.foreach.clist.first}{if !$value.instance->name}
{assign var="blankc" value="1"}{/if}{/if}
{/foreach}
{if !$blankc}
 
 
And an extra {/if}  between
<!-- end delivery_option -->
and
{/foreach}

 

 

 

This ensures the option never reaches the customer! 

  • Like 1
Link to comment
Share on other sites

  • 4 months later...

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...