Jump to content

Newbie, need to move a field in script I've bought, help!


Recommended Posts



My workplace have bought a script to run our online car sales (www.woodleighcars.co.uk), and I've been given the thankless task of setting it up because I know a bit of html! 


I've managed to get most of it done but am now pulling my hair out. The seller won't help.


On each advert there's an option to "Print Page" and all I want to do is when you select the print option and the printable page appears, its to move the "Price" field from the specifications table, next to the cars title at the top of the advert. I'll be honest, I've tried everything and my heads spinning. Can anyone help?





Link to comment
Share on other sites

If I understand correctly, "flyer.php" if your printable page. Open this page and go to line 151 and DELETE it:



"$frontend_labels[PRICE]" => "$default_currency$thou_sep",


This will remove the price for appearing if your specifications table. Now to add it to the title.


Go to line 84, you'll find:





REPLACE it with:



<h1>$row_array[1] $default_currency$thou_sep</h1>


Lastly, CUT line 137



$thou_sep = number_format($row_array[14]);


and PASTE it on line 81 (just above print ")


As you move code about, the line numbers above may change very slightly, so I've included the relevant code to look for.

Edited by GuitarGod
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.