Skip to content
Advertisement

Tag: prestashop-1.6

PrestaShop: allow customers to upload PDF, AI and EPS files as product customization

I am running Prestashop 1.6.1.7 and I have the following pictureUpload() method that allows users to upload files of their choosing. By default Prestashop allows uploads of GIF, JPG, JPEG or PNG only. I’m trying to allow users the ability to upload a few more types (pdf, ai and eps specifically) Here is the pictureUpload() method in the productController override:

Advertisement