Nepherael Posted March 30, 2018 Share Posted March 30, 2018 Hello, I'm trying to remove the "Free" in the shopping cart text. It shows as free even when a customer is logged in until choosing their shipping address. After a lot of research I am unable to use the same solutions used in previous versions of Prestashop. I've been looking at the back office translations and I found one expression marked "Free" but it has no description and changing it did not seem to help. Beyond that I have been looking through my theme files and I'm just not proficient enough a coder to find the reference file. Can someone please offer some help with this? Link to comment Share on other sites More sharing options...
Nepherael Posted March 31, 2018 Author Share Posted March 31, 2018 bump a da bump bump Any help would be greatly appreciated. I'm sure it's a simple modification. On a side note, I've had a very difficult time getting any help with PS1.7. Should I go back to 1.6 for my new site? Link to comment Share on other sites More sharing options...
Nepherael Posted April 1, 2018 Author Share Posted April 1, 2018 One more try? I can't launch a site that tells customers their items are free shipping when it's not... Link to comment Share on other sites More sharing options...
norwegianfoodstore Posted August 26, 2018 Share Posted August 26, 2018 Anybody got a solution to this? Eirik Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2018 Share Posted August 26, 2018 You can "replace" the text by translating. Link to comment Share on other sites More sharing options...
xbart Posted May 10, 2020 Share Posted May 10, 2020 It is not answer to his question. I have same problem. I ship only to my country, I have option to pick up in store, wich is not FREE, customer clicked Add to cart and it shows him FREE SHIPPING, but it's FAKE, I want to hide shipping until he get to checkout step, where he select shipping by his opinion, and THEN, after selecting shipping option show the price of shipping. Can somebody help me ? Thanks Link to comment Share on other sites More sharing options...
Ultraviolet Posted July 3, 2020 Share Posted July 3, 2020 I have the same problem as described above. Did anyone find and answer? Will this be fixed in PS 1.7.7? Only ship from one country. Thanks, Link to comment Share on other sites More sharing options...
PrestaServicePro Posted July 3, 2020 Share Posted July 3, 2020 Hello. You can try this way. I hope it will be useful for you. Let us explain with examples. Think you have 2 carriers. First one is paid carrier. But the second one is free carrier. But, as default you have selected FREE carrier. Here you can do these steps. 1) Enter the paid carrier settings. In first page you will see "Speed grade" field. Add it maximum value. For example 9. Other also you can add value but it must not be greater than 9. 2) Then click "preferences" tab under shipping section. End of the page, you will see "Carrier options" section. On the first drop-down list (Default carrier) select "best grade" and save it. That's all. In the cart section will handle you high gradated carrier and will assign shipping price of its. Let us know about the result. Link to comment Share on other sites More sharing options...
PrestaServicePro Posted July 3, 2020 Share Posted July 3, 2020 If you want to complete hide shipping lines form the cart follow my steps: 1) Enter root folder list of ps. 2) Find and enter "your current theme folder". 3) Then "templates" > "checkout" > "_partials" 4) Here find "cart-detailed-totals.tpl" file and open it in text editor. Here you must change 2 parts. First: here you will see (line 33-37) {if 'products' == $subtotal.type} {$cart.summary_string} {else} {$subtotal.label} {/if} Change it to: {if 'products' == $subtotal.type} {$cart.summary_string} {else} {if $subtotal.type !== 'shipping'} {$subtotal.label} {/if} {/if} Second: here you will see line 40: {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} Change it to: {if 'discount' == $subtotal.type}- {/if} {if $subtotal.type !== 'shipping'} {$subtotal.value} {/if} Finally save the file + clear cache of the shop and check the result. 1 1 Link to comment Share on other sites More sharing options...
Ultraviolet Posted July 3, 2020 Share Posted July 3, 2020 Link to comment Share on other sites More sharing options...
PrestaServicePro Posted July 3, 2020 Share Posted July 3, 2020 Then? Link to comment Share on other sites More sharing options...
Ultraviolet Posted July 3, 2020 Share Posted July 3, 2020 Sorry about that. I am writing up all of the problems up in a Word document. I accidentally hit return and sent before I was complete. I will sent it in a few minutes. Link to comment Share on other sites More sharing options...
Ultraviolet Posted July 3, 2020 Share Posted July 3, 2020 Attached is a word doc explaining the problems. It seems to happen when you are not logged in. Thanks Problems.docx Link to comment Share on other sites More sharing options...
PrestaServicePro Posted July 3, 2020 Share Posted July 3, 2020 Thanks, i am going to send you PM. Link to comment Share on other sites More sharing options...
vra1974 Posted January 22, 2021 Share Posted January 22, 2021 Hi, I have the exact same need. How did you solved it? Link to comment Share on other sites More sharing options...
PrestaServicePro Posted January 23, 2021 Share Posted January 23, 2021 Hi, PS version: PHP version: and explain the problem more details Link to comment Share on other sites More sharing options...
murdoc_tcc Posted November 25, 2021 Share Posted November 25, 2021 (edited) On 7/3/2020 at 5:05 PM, PrestaServicePro said: If you want to complete hide shipping lines form the cart follow my steps: 1) Enter root folder list of ps. 2) Find and enter "your current theme folder". 3) Then "templates" > "checkout" > "_partials" 4) Here find "cart-detailed-totals.tpl" file and open it in text editor. Here you must change 2 parts. First: here you will see (line 33-37) {if 'products' == $subtotal.type} {$cart.summary_string} {else} {$subtotal.label} {/if} Change it to: {if 'products' == $subtotal.type} {$cart.summary_string} {else} {if $subtotal.type !== 'shipping'} {$subtotal.label} {/if} {/if} Second: here you will see line 40: {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} Change it to: {if 'discount' == $subtotal.type}- {/if} {if $subtotal.type !== 'shipping'} {$subtotal.value} {/if} Finally save the file + clear cache of the shop and check the result. Hello, Thanks for this, it worked well, the only problem I have left is when you add a item in the cart if you check my image you will see another free shipping there, is there another file that needs to be worked out ? I hope your still available to help with this. Edited November 25, 2021 by murdoc_tcc added the one that worked (see edit history) Link to comment Share on other sites More sharing options...
Mian Waqas Posted February 28, 2022 Share Posted February 28, 2022 On 7/3/2020 at 8:05 PM, PrestaServicePro said: If you want to complete hide shipping lines form the cart follow my steps: 1) Enter root folder list of ps. 2) Find and enter "your current theme folder". 3) Then "templates" > "checkout" > "_partials" 4) Here find "cart-detailed-totals.tpl" file and open it in text editor. Here you must change 2 parts. First: here you will see (line 33-37) {if 'products' == $subtotal.type} {$cart.summary_string} {else} {$subtotal.label} {/if} Change it to: {if 'products' == $subtotal.type} {$cart.summary_string} {else} {if $subtotal.type !== 'shipping'} {$subtotal.label} {/if} {/if} Second: here you will see line 40: {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} Change it to: {if 'discount' == $subtotal.type}- {/if} {if $subtotal.type !== 'shipping'} {$subtotal.value} {/if} Finally save the file + clear cache of the shop and check the result. Thanks for this, and how can this be hide from checkout until shipping step? Regards Link to comment Share on other sites More sharing options...
salouso Posted February 7, 2023 Share Posted February 7, 2023 HI Thanks for the guide. I have changed it and the Shopping Cart Summary looks fine now. Still appears on adding to cart screen and also on checkout summary. Can you help? Link to comment Share on other sites More sharing options...
oserrano Posted September 14, 2023 Share Posted September 14, 2023 On 7/3/2020 at 10:05 AM, PrestaServicePro said: If you want to complete hide shipping lines form the cart follow my steps: 1) Enter root folder list of ps. 2) Find and enter "your current theme folder". 3) Then "templates" > "checkout" > "_partials" 4) Here find "cart-detailed-totals.tpl" file and open it in text editor. Here you must change 2 parts. First: here you will see (line 33-37) {if 'products' == $subtotal.type} {$cart.summary_string} {else} {$subtotal.label} {/if} Change it to: {if 'products' == $subtotal.type} {$cart.summary_string} {else} {if $subtotal.type !== 'shipping'} {$subtotal.label} {/if} {/if} Second: here you will see line 40: {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} Change it to: {if 'discount' == $subtotal.type}- {/if} {if $subtotal.type !== 'shipping'} {$subtotal.value} {/if} Finally save the file + clear cache of the shop and check the result. THIS WORKS JUST FINE... THANKS A LOT FOR SHARING... 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