New Zenner
- Join Date:
- Sep 2006
- Location:
- Derby UK
- Posts:
- 97
- Plugin Contributions:
- 0
A little help with some coding required!
Hey Guys, could do with some help!
I've been making some slow progress in modifying the way that specials display as you can see here: http://www.appliancesfirst.co.uk/
What I am trying to do now is change the way in which the prices are displayed to try and make them more readable. What I am trying to achieve is the following:
Was: £This Price
Now: £This Price
Saving: This%
On three lines, and adding the words Was: and Now:
Two things: I am getting a little worried as the mods I am making are not "Zen-like". And also, my lack of php skills means that I am having trouble finding where to insert the "Now" text AND the following colons.
So, I have been modifying functions/functions_prices.php [can someone confirm that the overrides system does not work in this folder] On line 224 have changed this code
$show_normal_price = '<span class="salesText">' . Was .' ' . '</span>'.'<span class="normalprice">'
How do I display the : , I've tried just about everything I can think of but just keep generating errors!
Where do I insert the Now: , same question applies about the :
And where do I put the <br>'s. As you can see I've added one in /languages/my_template/english.phpin define('PRODUCT_PRICE_DISCOUNT_PREFIX','<br> Save: '); for the save: text.
I've been playing code detective all day - by 7:30am I was way out of my depth, its now 23:34 and the water is getting very deep! :blush:
Many thanks.