I am developing a Magento 2.2.x e-commerce which requires some of the catalog's products to have an associated PDF (or any other file extensions). At the start, I thought that it was possible to do using the product attribute but there is no File upload field available.

How can I associate uploaded files to a product? Is there any good extension or a good tutorial to try to achieve this?


If you are looking for readymade modules you may use one of them. its free of cost

https://github.com/mageprince/magento2-productAttachment https://marketplace.magento.com/prince-module-productattachment.html

  • That's a good extension but I just need to add a file input to product form in the backend and save it accordingly.
    – giani.sim
    Aug 21 '18 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.