Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / How do I post a document to my site for easy download?

How do I post a document to my site for easy download?

Locked

Views: 3,120

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
4 Jan 2009, 3:32 AM
#1
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

How do I post a document to my site for easy download?

I want to put up a flavor guide for one of our products. Normally this would easily be handled by a web page with the information on it and the associated photos, but I don't know how to do that in ZenCart so I created a product for the document under a Document Category. I thought it would be simple to just put a link in for open the .pdf file, but the only ways I could do it was:

  1. Put the URL into the text of the product description. This works but looks pretty ugly....

  2. Put the URL for the item in the URL Product box, but the text for "for more information see this products page" is so small people would easily miss it.

Can anyone help?

4 Jan 2009, 4:08 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

Can't see your site??
Post a link directly to your issue page

14 Jan 2009, 2:06 PM
#3
robm avatar

robm

New Zenner

Join Date:
Nov 2006
Posts:
88
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

I would also like to know this, some products we are selling will have a PDF instruction manual. Is there a simple way to add this into the product page?

14 Jan 2009, 9:10 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

RobM:

some products we are selling will have a PDF instruction manual. Is there a simple way to add this into the product page?
If you want this to be included in your description text you can place the anchor text link there It would be similar to this

You can get your <a>href="http://www.mysite.com/pub/file.pdf">Instructions Here</a>

Of course you FTP your PDF file to the /pub dir

17 Jan 2009, 3:52 PM
#5
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

Thanks for the help this will do some good stuff. My next challenge is in the EZ pages (which I found to be "not so easy"):smile:

I want to do a page that has an explination and photos on it showing the steps in a process. I can easily do this on an HTML page but I don't know how to do it with what ZENCart uses (php?)

Also, on my cart, the EZ pages that were created when I did the default install with examples still come up in the sidebar boxes as "Page 2" "page 3", etc. and I want them to be named for the topic they pull up... can't figure out how to change theat either.

17 Jan 2009, 5:37 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

I want to do a page that has an explination and photos on it showing the steps in a process. I can easily do this on an HTML page but I don't know how to do it with what ZENCart uses (php?)
EZ Pages have a html editor window and are not php
admin > tools > ezpages > new page
Also, on my cart, the EZ pages that were created when I did the default install with examples still come up in the sidebar boxes as "Page 2" "page 3", etc.
In the examples page_2 & 3 are "defines pages under the heading "more information" and not easy pages. The ezpages are under the heading of "Important Links"

18 Jan 2009, 4:12 AM
#7
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

My bad. How do I change the words that show in that bog from "page 2" "page 3" to what I want to call them? Is that possible?

Bob

18 Jan 2009, 4:21 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

Tutorials in the top nav bar
I searched for page_2
https://www.zen-cart.com/tutorials/index.php?article=242

18 Jan 2009, 3:18 PM
#9
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

I went in to what the tutorial said and changed all the information, but the box on the page for "Other Information" in my cart (see bottom left of: http://www.robertocigars.com/index.php?main_page= ) still comes up with "Page 2", "Page 3", "Page 4" instead of what I put in.

This has me completely confused.

I'm thinking that this may have something to do with the name of the file for each page and if I change that it will change here, but I'm afraid to arbitrarily change the file name based on a concern there is something somewhere else that is calling that to this box.

I can't find anything in FAQ on this glitch. Not sure if I'm just not searching right or what.

18 Jan 2009, 3:34 PM
#10
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

Use the developer tool in your admin - tools and search for more information and page 2, etc.

Tina

18 Jan 2009, 8:59 PM
#11
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

Thanks VERY MUCH for the help. I went into the Developer's portion you suggested and found the following:

/home/lilinvic/public_html/robertocigars.com/admin/includes/languages/english.php

Line #164 : define('BOX_TOOLS_DEFINE_PAGE_2','Page 2');

If you change 'page 2' to WHATEVER YOU WANT that is what will show up in the box!

... and there was much rejoicing....:clap:

18 Jan 2009, 9:03 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

agentx:

I went in to what the tutorial said and changed all the information,
What did you cange before?

18 Jan 2009, 9:13 PM
#13
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

I followed your advice:

https://www.zen-cart.com/tutorials/index.php?article=242

This allowed me to change the actual titles inside the page when it comes up, but didn't allow me to change what came up inthe side box. You have to do both

19 Jan 2009, 8:58 AM
#14
robm avatar

robm

New Zenner

Join Date:
Nov 2006
Posts:
88
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

kobra:

If you want this to be included in your description text you can place the anchor text link there It would be similar to this

You can get your <a>href="http://www.mysite.com/pub/file.pdf">Instructions Here</a>


Is there no way of uploading from within Zen Cart? Sort of defeats the object if you have to start using FTP to upload things etc.
19 Jan 2009, 3:07 PM
#15
agentx avatar

agentx

New Zenner

Join Date:
Nov 2007
Location:
Virginia
Posts:
57
Plugin Contributions:
0

Re: How do I post a document to my site for easy download?

Correction to my previous post. This is the correct location for the file to edit in order to have the {Page number say whatever you want in the side box... sorry for the confusion.

YOURWEBSITE.COM/includes/languages/english.php

Line #149 : define('BOX_INFORMATION_PAGE_3', 'Page 3');

Change the 'Page 3" (or 2 or 4) to whatever you want inside the single quotation makes.

19 Jan 2009, 11:02 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I post a document to my site for easy download?

agentx,

Correction to my previous post. This is the correct location for the file to edit in order to have the {Page number say whatever you want in the side box... sorry for the confusion.

YOURWEBSITE.COM/includes/languages/english.php
Do you have an english.php in this location?
includes/languages/english/classic/

You should not be editing the one at
/includes/languages/english.php

See the tutorials on overrides