Hi I have a requirement for a modification to my oscommerce template.
When a product is selected I want the template to go and look in a folder on the same server for a matching PDF file to the product selected. It should then return the information as a hyperlink of the $productmodel selected and show a pdf icon next to it.
The results should look something like this:
<a href="../pdf/$productmodel.pdf">$productmodel</a> <a href="../pdf/$productmodel.pdf"><img style="border:none;" src="../pdf/icon_pdf.jpg" width="16" height="16" />
you can view a sample of what i am after here:
[url removed, login to view];osCsid=d243ab90a11c0fb964eb97aad6356c06
(you will see that $productmodel = CP-1000)
This is hand coded at the moment, I want the site to be able to dynamically show this result if it is available, if there is no file that matches then nothing should be shown.
14 freelancers are bidding on average $82 for this job