Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a .pdf page to a product description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-12-2010, 01:01 PM
 
warren warren is offline
 

Newbie
  
Join Date: Jun 2010
Posts: 4
 

Default Re: Adding a .pdf page to a product description

Have you tried http://www.xcartmods.co.uk/x-cart-product-downloads.html they have a mod that you can add pdf and other files to your products, hope it helps
__________________
Regards
Warren
Reply With Quote
  #12  
Old 06-12-2010, 01:04 PM
 
warren warren is offline
 

Newbie
  
Join Date: Jun 2010
Posts: 4
 

Default Re: Adding a .pdf page to a product description

Quote:
Originally Posted by Bearsnum34
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!!

Have you tried http://www.xcartmods.co.uk/x-cart-product-downloads.html they have a mod so you can add pdf and other files to your products
__________________
Regards
Warren
Reply With Quote
  #13  
Old 07-09-2010, 06:10 PM
 
Bearsnum34 Bearsnum34 is offline
 

Senior Member
  
Join Date: Jan 2010
Posts: 134
 

Default Re: Adding a .pdf page to a product description

Oh my so much to do when building a cart from scratch. Thank you for the info tal, I am just going to finish adding all my products, etc. I will put *** where the .pdf need to go and when I am ready to do it i will go back to this post. I thought I could do it all at once but I guess not.

I took a break from the cart work as it was getting too stressful. Back at it!

Thanks so much,

Quote:
Originally Posted by Tal
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.
__________________
4.3.1
x-configurator
x-specialoffers
Reply With Quote
  #14  
Old 10-07-2010, 10:28 AM
 
margiematteson margiematteson is offline
 

Newbie
  
Join Date: Aug 2010
Posts: 2
 

Default Re: Adding a .pdf page to a product description

I've tried creating a separate folder for pdfs, at the web site root, and I get a 404 error from X-Cart, even when I use a direct link. I did finally figure out how to link to the files within the files directory, but now X-Cart is requiring site visitors to log in in order to access the files. How do I make these files accessible to all site visitors?
__________________
4.4.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:41 PM.

   

 
X-Cart forums © 2001-2020