Scippy
  •  Scippy
  • 100% (Exalted)
  • Advanced Member Topic Starter
2018-05-11T10:59:55Z
I need to attach downloadable file (pdf product sheet) in my product details.
I've found this  useful post but it only show the file name without the download link.
Is there any way to make it downloadable on product details for everyone?
Thanks
Reto Cossalter
2018-05-15T15:08:57Z
Hi Scippy
We had the same problem and ended adding the file in filemanager and linking it directly within the product details.
https://www.csharpcodi.c...e/Catalog/ProductFile.cs 
Will Strohl
2018-05-15T16:38:28Z
This isn't completely exposed to any views other than the Order History. At least, not in a way that would adhere to the complete set of requirements that file downloads should go through. You can still do this though...

Simply add the following method to the view in question, and then add the link as appropriate.

https://github.com/Hotca...ryController.cs#L67-L132 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
There was an error displaying content. Please contact site administrator.
Loading
  • Sign-up for the Hotcakes Community Newsletter: