sainty43 Posted November 13, 2009 Share Posted November 13, 2009 Hi all,I've just about configured my website, and am offering free delivery on everything I sell! Is there anyway to dispaly something like "Free P&P;" next to the price on the product page?Is there a way to make this default?Many thanksLee Link to comment Share on other sites More sharing options...
jhnstcks Posted November 14, 2009 Share Posted November 14, 2009 If you dont use taxes in your shop you could try this.Find the section that referes to pricing in your product.tpl file which ic located in your theme folder, in the default theme this is at line 194-218 and should look like this: <!-- prices --> {if $product->on_sale} {l s='On sale!'} {elseif ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))} {l s='Price lowered!'} {/if} {if !$priceDisplay || $priceDisplay == 2} {convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)} {l s=''} {/if} {if $priceDisplay == 1} {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s=''} {/if} {if $priceDisplay == 2} {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s=''} {/if} and change it to: <!-- prices --> {if $product->on_sale} {l s='On sale!'} {elseif ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))} {l s='Price lowered!'} {/if} {convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)} {l s=' (Free P&P;) '} Please remember to make a backup of your file before editting files.You may need to make sume styling changes in your global.css file Link to comment Share on other sites More sharing options...
sainty43 Posted November 14, 2009 Author Share Posted November 14, 2009 Thanks for your help I'll give it a go!Cheers 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