letrof Posted June 23, 2015 Share Posted June 23, 2015 (edited) 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 Edited June 23, 2015 by letrof (see edit history) Link to comment Share on other sites More sharing options...
letrof Posted June 24, 2015 Author Share Posted June 24, 2015 Anyone please? Any thoughts are welcome! Link to comment Share on other sites More sharing options...
vekia Posted June 24, 2015 Share Posted June 24, 2015 i checked it and it contains description:"The best price and speed" go to ps_carrier_lang table, search for carrier taht contains this text in "delay" row and just remove it. Link to comment Share on other sites More sharing options...
letrof Posted June 24, 2015 Author Share Posted June 24, 2015 (edited) Thanks for the reply and for the effort to check it. I've checked that table but no of 170 entries contains that text but 2 of them are empty. Any other clues? Edited June 24, 2015 by letrof (see edit history) Link to comment Share on other sites More sharing options...
irrelevant Posted June 24, 2015 Share Posted June 24, 2015 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! 1 Link to comment Share on other sites More sharing options...
healthtotem Posted November 9, 2015 Share Posted November 9, 2015 I did and it worts perfect , thank you a lote!!!!! 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