brad-w Posted June 11, 2010 Share Posted June 11, 2010 I understand the printable version is a CSS altered version of the page and requires little to no maintenance, but due to the nature of my business, I need to be able to upload premade PDF printable versions instead. Is it possible to create a link to a PDF for each product? My understanding is that it would require a new field in the add product area of the admin control panel where you would write the link url, and the product page would automatically link it. Is there a better way to do this without editing the admin files?Thanks,Brad Link to comment Share on other sites More sharing options...
mytheory. Posted June 11, 2010 Share Posted June 11, 2010 Are you talking about the printable invoices for orders? Or the Print function in product page under the images? If the latter, are you trying to use the product information from that page/product to fill in you PDF templates? And would these templates be used so customer can download them and save or print them out?The "add product area" is kinda throwing me off... are you talking about the product add/edit page (with the different tabs, ie info, images, combinations, etc)? Link to comment Share on other sites More sharing options...
brad-w Posted June 14, 2010 Author Share Posted June 14, 2010 The print function in the product page is what I was talking about. I'm looking to replace the feature entirely. The PDF's are not being generated by the site at all. They have already been created and are used by the company daily. I'm simply looking for a way to link each product to it's respective PDF. The problem I ran into involved other employees adding images through the control panel. There needs to be a way for them to type in the PDF URL and then the link would be created for the product page automatically.Is this clearer? Thanks in advance for any advice! Link to comment Share on other sites More sharing options...
rocky Posted June 15, 2010 Share Posted June 15, 2010 I suggest that you just name your PDF files using the product ID (1.pdf, 2.pdf, etc.), then you can change the link on Print to be "/pdfs/{$product->id}.pdf". Link to comment Share on other sites More sharing options...
brad-w Posted June 15, 2010 Author Share Posted June 15, 2010 Ahh good idea, that works great thank you. Much easier to change naming convention of the PDF's than to tamper with trying to add a new field to the control panel =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now