dustcollector Posted April 30, 2013 Share Posted April 30, 2013 Hi, I am using Prestashop version 1.5.3.1 and i have 3 carriers. How can i remove the text "the best price", "the fastest", etc when customers are checking out their carts? Thank you! Link to comment Share on other sites More sharing options...
tdr170 Posted April 30, 2013 Share Posted April 30, 2013 You can find this in order-carrier.tpl located in your themes directory. In the code posted below I commented out the lines for Best, Fastest. Should be around line 157 in your file. <!-- {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} --> 5 Link to comment Share on other sites More sharing options...
dustcollector Posted April 30, 2013 Author Share Posted April 30, 2013 You can find this in order-carrier.tpl located in your themes directory. In the code posted below I commented out the lines for Best, Fastest. Should be around line 157 in your file. {else} Thank you so much tdr170!! Appreciate loads! Link to comment Share on other sites More sharing options...
dustcollector Posted May 1, 2013 Author Share Posted May 1, 2013 You can find this in order-carrier.tpl located in your themes directory. In the code posted below I commented out the lines for Best, Fastest. Should be around line 157 in your file. <!-- {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} --> Hi tdr170, I tried the codes but right now my web page "order" is blank after i click check out my cart Cou you please kindly advise? thank you! Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 1, 2013 Share Posted May 1, 2013 Hi dustcollector, could you undo your changes to have it work right now, and then we can try again to have it changed the way you want it? Link to comment Share on other sites More sharing options...
dustcollector Posted May 1, 2013 Author Share Posted May 1, 2013 Hi dustcollector, could you undo your changes to have it work right now, and then we can try again to have it changed the way you want it? Hi Benjamin! Thank you. I managed to get it working now. Not sure, if this is the right way as I have no background in programming, but I placed the --> right before the start of the next paragraph <tr> And managed to get it working! Thank you to both of you and of course, tdr170! 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 1, 2013 Share Posted May 1, 2013 Awesome! tdr170 is the best! We really appreciate him on the forum, the forge and Github. Class act! I'll mark this thread as Solved. Thank you! Link to comment Share on other sites More sharing options...
rcforus Posted April 1, 2014 Share Posted April 1, 2014 How to remove Shipping Carrier Sorting? I change code as reqired, but now there is other problem: http://www.prestashop.com/forums/topic/308235-re-how-to-remove-shipping-carrier-sorting-best-pricefastest-speed/ Link to comment Share on other sites More sharing options...
chris0241 Posted January 12, 2015 Share Posted January 12, 2015 Hi there, Anyone got a solution for 1.6.0.9 for the same question? Followed the instructions but it simply messes up the page... Thanks, Chris Link to comment Share on other sites More sharing options...
Smiles Posted January 25, 2015 Share Posted January 25, 2015 Hi there, Anyone got a solution for 1.6.0.9 for the same question? Followed the instructions but it simply messes up the page... Thanks, Chris Hi did you find a solution? Link to comment Share on other sites More sharing options...
jscustom Posted January 29, 2015 Share Posted January 29, 2015 I have found a solution to remove the text in version 1.6.0.11. It may not be the proper way of doing it, but it worked for me.. Find your order-carrier.tpl file in the /themes/default-bootstrap/ directory Find this text, around line 100-106. <span class="best_grade best_grade_price best_grade_speed">{l s='The best price and speed'}</span> {else} <span class="best_grade best_grade_speed">{l s='The fastest'}</span> {/if} {else if $option.is_best_price} <span class="best_grade best_grade_price">{l s='The best price'}</span> Simply remove the text from the quotes to look like this: <span class="best_grade best_grade_price best_grade_speed">{l s=''}</span> {else} <span class="best_grade best_grade_speed">{l s=''}</span> {/if} {else if $option.is_best_price} <span class="best_grade best_grade_price">{l s=''}</span> Then in the Prestashop backoffice, under Advanced Parameters - Performance, choose 'Recompile templates if the files have been updated' I was pulling my hair trying to figure out why the changes did nothing until I noticed that option Hope this helps. Link to comment Share on other sites More sharing options...
filfae Posted September 15, 2015 Share Posted September 15, 2015 Hi to you all, since several days I'm having the same problem on my ps 1.6.x over my normal carriers, there is one displaying "the best price and speed" and free... of course I didn't create it and I have not any idea how to remove that option. I tried to modify the order-carrier.tpl file (as suggested in several forums) but I did not solve the problem... it can remove just the sentence "the best price and speed" but not the option of the free carrier. May can you help me kindly? Thanks in advance to you all, Filippo Link to comment Share on other sites More sharing options...
jake7 Posted May 9, 2016 Share Posted May 9, 2016 (edited) You don't need to hack the core code just to remove the 'Best Price Best Speed' text, simply update the css class .best_grade_speed {display:none;} Also for any css updates I make I always use a custom.css file then simply add the updated class to the custom file. That way you won't lose your changed css classes when you upgrade. Further info for creating your own custom css file: http://www.1squarepear.com/adding-a-custom-style-sheet-to-your-prestashop-theme/ You may already have a custom.css file included with your template. View your Prestashop website source code to check. Edited May 10, 2016 by jake7 (see edit history) Link to comment Share on other sites More sharing options...
alikasapoglu Posted May 29, 2016 Share Posted May 29, 2016 I have solved this issue by modifying translations. Just put a dot to the related 3 areas ( best price / best speed / best price and speed ) Link to comment Share on other sites More sharing options...
hedinn Posted August 28, 2016 Share Posted August 28, 2016 im still having this issue. tried all solutions and no go. i didnt try the css one yet though. is there another fix ? or is css the only way? 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