Hi @dan11,
If it’s a PDF, probably the best way is to add a URL to the tab that links to the PDF. The browser will load the PDF while also showing a download button for easy downloads.
However, if you want a link that will only allow downloads, let me know. I think we can work that out.
Cheers,
Kevin.
Thread Starter
dan11
(@dan11)
Hi Kevin,
It would be basically various documents in different formats (specifically PDF, XLS, CAD)
I’m thinking something like this would be really great:
http://demos.sprintheme.com/plugin/pdf-tab-for-woocommerce/
Maybe with a replace of the “Click Here” link with a download icon of the corresponding file format or a more attractive “Click to download” hoverable button:
https://www.w3schools.com/css/tryit.asp?filename=trycss_buttons_hover
Daniel
Hi Dan,
Add the documents to your media library and then add them to the product using the “Add Media” button. This will automatically create links to your products. I am looking into a way to add some nice icons.
There is no built-in support for icons in the editor. There are plugins that will give you the ability to add icons with the editor, such as https://ww.wp.xz.cn/plugins/wp-visual-icon-fonts/ and https://ww.wp.xz.cn/plugins/better-font-awesome/.
Just so you know, I installed Better Font Awesome and it has some compatibility problems with our editor but it works.
I hope that helps.
Kevin.
Thread Starter
dan11
(@dan11)
I got along with adding the link through add media that seems to work just fine for me!
Thanks a lot!
Hey no problem! I’m glad you’ve got it working.