I can’t upload a file that exceeds 2 MB. Where can I increase the limit of the allowed file upload size?

I can’t upload a file that exceeds 2 MB. Where can I increase the limit of the allowed file upload size?

The extension itself doesn’t have any limits on the size of the uploaded file. If you face some issues with the file upload limit, we advise you to make changes on your server in the php.ini file in the upload_max_filesize line.



      • Related Articles

      • Product Attachments API

        API functionality for Product Attachments is available with the API for Product Attachments Add-On only. 1. Amasty\ProductAttachmentApi\Api\FrontendAttachmentInterface - class for getting product attachments on frontend: GET ...
      • How can I add the attachments in bulk?

        You may import attachments in bulk and assign them to products via CSV-file import by navigating to Amasty -> Product Attachments -> Mass Attachment Import. To start a new import process, click New Import and follow the next steps: Step 1. Prepare ...
      • The Product Attachments tab is not visible on the storefront. How to fix this?

        First of all, make sure that the extension and specifically the Product Attachments tab are enabled in the module's general configurations (Stores → configuration → Amasty Extensions → Product Attachments). In case you've chosen to include ...
      • Is it possible to allow customers to upload files using the Order Attributes M2 extension?

        Yes, to provide such an option, you may create an Order Attribute with the Single file upload type: In the attribute settings, it is possible to define the maximum file size for the uploaded file and the allowed file types. Here is how the attribute ...
      • How can I group attachments and display them in sections?

        The Pro tariff plan of the Product Attachments extension allows creating categories to display attachments in sections. To create such a category, navigate to Catalog → Product Attachments → Attachment Category Management → Add New Category. Fill in ...