| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding a .pdf page to a product description | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have search high & low for the answer to this question so please forgive me if it has been asked before. Actually, I am not even sure what it is called but I know what I want to do.
I have recipes, how-to-guides etc. both as a .pdf and in word. Some of them I would like to put in the product description as well as in the category. I would also like to have a page/link in the help section so when a customer clicks the page/link it will bring up a list of ⌠let▓s say■ recipes. The customer can pick out a recipe read it or print it. Does this make sense and if so does anyone have a clue of what I should do or where to start? Thanks so much in advance!!
__________________
4.3.1 x-configurator x-specialoffers |
|||||||
#2
|
|||||||
|
|||||||
![]() Just add a link to the pdf in your product description. For the help section, just add a static page and add all the links to the pdfs.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi Balinor,
This may sound stupid but where do I get the links from? Quote:
__________________
4.3.1 x-configurator x-specialoffers |
|||||||
#4
|
|||||||
|
|||||||
![]() I think what Balinor was getting at is that you should upload your PDF to your server (using FTP) and then in your product description include a link to where you uploaded it.
__________________
X-Cart Gold 4.3.1 Military Support Shop :: Army Wife Clothing, Military Support T-Shirts |
|||||||
#5
|
|||||||
|
|||||||
![]() Exactly
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() I am building my website under .net and when it goes live it will be changed to .com as I have a live non-x-cart store already at .com Does that matter?
Okay, created the Folder and upload a pdf doc. YEAH! ![]() ![]() Quote:
__________________
4.3.1 x-configurator x-specialoffers |
|||||||
#7
|
|||||||||
|
|||||||||
![]() <a href="path_to_file/file_name.pdf" target="_blank">Link Text</a>
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||
|
|||||||
![]() Hi Steve,
When you say path_to_file do you mean the http path? The reason I ask is because in a previous post it says not to use it?? Thanks so much! Quote:
__________________
4.3.1 x-configurator x-specialoffers |
|||||||
#9
|
|||||||||
|
|||||||||
![]() No, do not include the part with the domain name. By "path_to_file" I meant the relative path from root to where the pdf's are. Let's say cart is installed in root and you put all pdf's in "root/product_pdf" directory
<a href="product_pdf/file_name.pdf" target="_blank">Link Text</a>
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||
|
|||||||
![]() be careful with how you link it as well.
Lets say your site is www.domain.com and you have a folder called "pdf" in a sub-directory in the main root so it would be www.domain.com/pdf/ Theres several ways of linking. To save typing, I'll just show what goes in the href. http://www.domain.com/pdf/file.pdf = This is not how you want it since you'll be switching TLDs (net to com). Also would produce security warnings due to http being explicitly defined, as said before. pdf/file.pdf = If you're doing something from template files, this will not work as it will search the folder the script is called from... Which in this case will be under skin1. /pdf/file.pdf = This will start from web-root and go down. If you put a / at the very start of any link, it will start from your webroot folder. So this would properly go to the folder. ./pdf/file.pdf = This will be a mix between the previous two. It will start within the folder its called from and then go up one directory level and then search for the folder pdf. So in this case, it would go from skin1 -> root -> pdf Just wanted to make sure you knew incase you were thinking of a way to automatically do this within tpl files. |
|||||||
|
|||
X-Cart forums © 2001-2020
|