| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to create a link in product.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to create a link in product.tpl
I would like to know how to create a link in product.tpl.
What i want: we sell Weck canners and i want the possibility for the customer to download the manual in pdf. I can create an extra field in which the name of the manual is. But how te create the download link i dont know. I hope anyone can help me... Regards |
|||||||
#2
|
|||||||||
|
|||||||||
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
thanks for the suggestion, but it doesn't work for me, every product has a different manual. the link must take the name from the product manual out of the database.....
Regards |
|||||||
#4
|
|||||||
|
|||||||
sorry, the solution works for me. BUT
xcart removes the coding in the extra fields... |
|||||||
#5
|
|||||||||
|
|||||||||
try a search for trusted variables.
xcart will strip code out of certain things as a security measure you could also hard code something like this into your page Code:
this will check if the first extra field has anything in it (such as Y) and if it does it will show the download link for the pdf which you must name as the product id number with the pdf extension ie productid = 456 would turn into Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#6
|
|||||||
|
|||||||
all right, this is it.
i will try it later on tonight Thanks. |
|||||||
#7
|
|||||||
|
|||||||
Can someone please explain me how to do this in a few steps and in wich files do i have to modify it ?
this would be very helpfull and would be the first clear "how to add a pdf file post " thx
__________________
4.0.16 stable and testing 4.10 rc4 - ALL THE QUESTIONS ARE FOR 4.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|