easymar Posted February 28, 2014 Share Posted February 28, 2014 Hello.Is there possible to check product shipping cost, and when its free show some text eg. free delivery in product page. Version of Presta 1.5 Link to comment Share on other sites More sharing options...
PrestaShark Posted February 28, 2014 Share Posted February 28, 2014 Ha! Im looking for something similar. If product are marked as "new" then "new" badge are show on product page too instead od home and categories. Link to comment Share on other sites More sharing options...
easymar Posted February 28, 2014 Author Share Posted February 28, 2014 I think this post will be useful for You http://www.prestashop.com/forums/topic/203432-label-new-product-solved/ Link to comment Share on other sites More sharing options...
easymar Posted March 2, 2014 Author Share Posted March 2, 2014 No one can help or even add a hint? Maybe paid option for someone has been interesting? Link to comment Share on other sites More sharing options...
PrestaShark Posted October 3, 2014 Share Posted October 3, 2014 (edited) Hi easymar, Just played with smarty magic and make something like this and it works nicely! {assign var='freeshipping' value=Configuration::get('PS_SHIPPING_FREE_PRICE')} {if $productPrice >= $freeshipping} <h5>FREE SHIPPING!</h5> {/if} What it does? $freeshipping variable gives us value of free shipping $productPrice is product price And the logic is: IF product price is greater or equals with free shipping price THAN show FREE SHIPPING You can put in side a nice image badge or css button. Customers sometimes dont noticed that store have free shipping. This little piece of code may cause a better conversion in my opinion! Coding can be funny! PS. If someone selling something measured by weight: vegetables, coffee, tea, etc and want to set free shipping based on products weight can set above notification by replace PS_SHIPPING_FREE_PRICE with PS_SHIPPING_FREE_WEIGHT like here {assign var='freeshipping' value=Configuration::get('PS_SHIPPING_FREE_WEIGHT')} {if $productPrice >= $freeshipping} <h5>FREE SHIPPING!</h5> {/if} Cheers! Edited October 3, 2014 by PrestaShark (see edit history) 3 Link to comment Share on other sites More sharing options...
Cykeldillen Posted November 17, 2014 Share Posted November 17, 2014 Hi easymar, Just played with smarty magic and make something like this and it works nicely! {assign var='freeshipping' value=Configuration::get('PS_SHIPPING_FREE_PRICE')} {if $productPrice >= $freeshipping} <h5>FREE SHIPPING!</h5> {/if} What it does? $freeshipping variable gives us value of free shipping $productPrice is product price And the logic is: IF product price is greater or equals with free shipping price THAN show FREE SHIPPING You can put in side a nice image badge or css button. Customers sometimes dont noticed that store have free shipping. This little piece of code may cause a better conversion in my opinion! Coding can be funny! PS. If someone selling something measured by weight: vegetables, coffee, tea, etc and want to set free shipping based on products weight can set above notification by replace PS_SHIPPING_FREE_PRICE with PS_SHIPPING_FREE_WEIGHT like here {assign var='freeshipping' value=Configuration::get('PS_SHIPPING_FREE_WEIGHT')} {if $productPrice >= $freeshipping} <h5>FREE SHIPPING!</h5> {/if} Cheers! Hi, Where do you put this freeshipping code ? Link to comment Share on other sites More sharing options...
PrestaShark Posted November 21, 2014 Share Posted November 21, 2014 Hi! You need to put it in product.tpl file of Your template This works here: http://basketplanet.pl/pl/nike/723-nike-lebron-12-instinct-684593-583.html Bezpłatna przesyłka kurierska! - free shipping (because product price is more than 200zł) http://basketplanet.pl/pl/koszulki/657-koszulka-nike-league-reversible-practice-tank-626702-494.html Bezpłatna przesyłka kurierska już od 200 zł - because product price is below 200zł (below free shipping price barier) Btw New Lebrons12 are awesome!! Link to comment Share on other sites More sharing options...
cossamus Posted August 11, 2015 Share Posted August 11, 2015 Thanks for the code PrestaShark, My store is multilanguage, could the free shipping text be translatable (acording to the buyers language selection)? Regards Link to comment Share on other sites More sharing options...
rololo88 Posted April 7, 2016 Share Posted April 7, 2016 (edited) Thanks for the code PrestaShark, My store is multilanguage, could the free shipping text be translatable (acording to the buyers language selection)? Regards Hello , I am also interested to get this tweak workable in a multilanguage shop Thanks! Edited April 7, 2016 by rololo88 (see edit history) Link to comment Share on other sites More sharing options...
PrestaShark Posted April 8, 2016 Share Posted April 8, 2016 Hi! Yes You can do it just add this <h5>{l s='FREE SHIPPING!'}</h5> instead of <h5>FREE SHIPPING!</h5> Then You can use Prestashop translation manager in Back office to make any translations of this text string 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