Announcement

Collapse
No announcement yet.

how to display PDFs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to display PDFs

    Has anyone figured out how to do this? I want to display links to PDF files so customers can view and print articles - these are not downloadable products, so I don't want them to go thru a checkout process, I just want them to be able to click on a link and display an article that's in a PDF.

    I don't know if this can be done at all - where would the PDFs have to be uploaded to within my site so that I can link to them without sending customers to an external link?

    Thanks,
    Sue

  • #2
    You can upload your pdf files via FTP to your site. Ideally anywhere under "web" folder. You can create a new folder there or put it right at the root. We prefer to keep all files under the "assets" folder/sub folders.
    After you upload these files, you can link to them for your customers to view
    Elegant Weddings +
    www.elegantweddingsplus.ca
    www.elegantweddingsplus.com

    Comment


    • #3
      Thanks!! That worked!

      I also just experimented with uploading the file to my images folder so I can manage the files through File Manager, rather than FTP, and that seems to work too.
      Last edited by spardue; 07-21-2011, 11:19 AM.

      Comment


      • #4
        While there's isn't a baked-in way to do this, I use the Product Features section to embed my data sheets.

        My code looks like this (inserted into the product features section at the bottom of the Product Information page)

        Code:
        <img src="assets/images/icon_pdf.gif" alt="PDF icon" width="32" height="32" border="0"align="absmiddle" style="padding-right: 4px" /><a href="assets/pdf/[folder]/[filename].pdf">Download the [ProductName] Cut Sheet</a>
        Then just make sure you have the product features code in your template.

        I created a formula in Excel to concatenate the code, file path and name, and text, then just imported in bulk thru the Export/Import interface. Easier than adding one at a time.
        Chris
        TC Life Safety
        TC Wireless

        Comment


        • #5
          Chris, thanks for the tip on the Product Features field. I never tried to use that field before and I've found a handy use for it. Thanks! :)

          Comment


          • #6
            Glad to help :D
            Chris
            TC Life Safety
            TC Wireless

            Comment


            • #7
              @tclifesafety, Thank you for the tip.

              one thing I would change is to make the PDF open in a new window by adding target="blank" to the link.

              Code:
              <a href="assets/pdf/[folder]/[filename].pdf target="blank">

              Comment


              • #8
                :( I was really excited about this until I just found out by contacting support that we cannot import product features.
                How am I supposed to add this to 800 products manually :confused:

                Comment


                • #9
                  Originally posted by elightbox View Post
                  :( I was really excited about this until I just found out by contacting support that we cannot import product features.
                  How am I supposed to add this to 800 products manually :confused:

                  How about using an extra_field? (if you have any available)
                  Elegant Weddings +
                  www.elegantweddingsplus.ca
                  www.elegantweddingsplus.com

                  Comment


                  • #10
                    Thank you ElegantWeddings. I put it in in Extra field 9 with a <lu><li>xxxx</lu> and it worked like a charm.
                    Those extra fields are real handy. Too bad i have one less now although it was put to good use

                    Comment


                    • #11
                      Originally posted by elightbox View Post
                      :( I was really excited about this until I just found out by contacting support that we cannot import product features.
                      How am I supposed to add this to 800 products manually :confused:
                      Yes you can import product features, I found it and tested it last night. Go to Products > Import/Export and then scroll down to the bottom of the list (it's the next to the last one). There's a link to a sample CSV file and a browse box you can use to find your Product Features CSV file to import.

                      HOWEVER, I have not found a way to EXPORT the product features, so if you want to change existing ones, I'm not quite sure how you'd handle that.

                      Comment


                      • #12
                        piaf beat me to it - you can import them via a CSV in the Import/Export section.

                        As I mentioned before, I created a formula in excel that concatenated the HTML code, productid, manufacturer name & filename of the pdf. All you need to start with is the unique id, manufacturer and file location.

                        So if column A is your product part number (id), column B is the manufacturer name and column C is the path to the file, here is what i would do:
                        • if you're going to use an image for a PDF icon, type the HTML code out in a cell away from all your other data. in this example, i'd put the following code in cell K2 to keep it out of the way:
                          Code:
                          <img src="assets/images/icon_pdf.gif" alt="PDF icon" width="32" height="32" border="0" align="absmiddle" style="padding-right: 4px" /><a href="
                          then put this code in cell K3:
                          Code:
                          ">
                        • write your forumula in column D like so: =CONCATENATE($K$2,C2,$K$3,B2," ",A2," Data Sheet</a>")
                        • Copy the formula down


                        Your output should be
                        Code:
                        <img src="assets/images/icon_pdf.gif" alt="PDF icon" width="32" height="32" border="0" align="absmiddle" style="padding-right: 4px" /><a href="assets/pdf/[filename.pdf]">Manufacturer Part Number Data Sheet</a>
                        Control+A to select all, Control+C to copy, Control+V to paste and in paste options choose Paste Values. Now you can delete columns B, C, & K, make sure prodfeature is the column title of column D, save as CSV and import.
                        Chris
                        TC Life Safety
                        TC Wireless

                        Comment


                        • #13
                          This is really useful information - thanks, everyone!

                          Sue

                          Comment


                          • #14
                            Happy to help Sue.
                            Chris
                            TC Life Safety
                            TC Wireless

                            Comment


                            • #15
                              Thank you for rescuing my "extra field". I don't need to now, but how would you import more than one feature for the same product?
                              I wish that whoever made the file took would have taken the time to write a paragraph of explanations in it.

                              Comment

                              Working...
                              X