Step Description | Expected result |
---|---|
With a fresh install BO > Advanced Parameters > Administration > Upload quota |
The page is will displayed showing default values for Upload quota section : * Maximum size for attached files : 8 * Maximum size for a downloadable product : 2 * Maximum size for a product’s image : 2 |
Set the size in Maximum size for attached files field > Click Save button | * Update successful message is displayed * Under the field Maximum size for attached files this message is written : Set the maximum size allowed for attachment files (in megabytes). This value has to be lower than or equal to the maximum file upload allotted by your server (currently: 3 MB). |
Case 1 : The uploaded file is over the size limit configured BO > Catalog > Files > Click on Add new file button > Add data > Click on Save button |
Error message is displayed : Upload error. Please check your server configurations for the maximum upload size allowed. |
Case 2 : The uploaded file is under/equals the size limit configured BO > Catalog > Files > Click on Add new file button > Add data > Click on Save button |
This message is displayed : “Successful creation” Files page is well dislayed, showing a table with 4 cells containing your uploaded file informations: * ID : * Name : * File : * Size : * Products : |
BO > Advanced Parameters > Administration > Upload quota Set the size in Maximum size for a downloadable product field > Click Save button |
* Update successful message is displayed * Under the field Maximum size for a downloadable product this message is written : Define the upload limit for a downloadable product (in megabytes). This value has to be lower or equal to the maximum file upload allotted by your server (currently: 2 MB). |
Go to BO > Catalog > Products > Click Add new product > Choose Virtual Product > Click Save button | This message is displayed : Successful update |
Case 1 : The uploaded file is over the size limit configured Click on Virtual product tab > Switch Add downloadable file ON > Add data > Click on Save and publish button |
* Error message is displayed * The button Save and publish is disabled !https://forge.prestashop.com/plugins/servlet/raven/attachment/1387/size-down.png |
Case 2 : The uploaded file is under the size limit configured Click on Virtual product tab > Switch Add downloadable file ON > Add data > Click on Save and publish button |
* This message is displayed : Successful update * The button Save and publish is disabled |
BO > Advanced Parameters > Administration > Upload quota Set the Maximum size for a product’s image > Click Save button |
This message is displayed : Update successful Under the field this sentence is displayed : Define the upload limit for an image (in megabytes). This value has to be lower or equal to the maximum file upload allotted by your server (currently: 1 MB). |
Case 1 : The product image size is over the limit configured BO > Catalog > Products > Click New product button > choose Standard product > Click on Add new product > click on image field and add any image |
This error message is displayed in the top right corner : Max file size allowed is “1048576” bytes |
Case 2 : The product image size is under the limit configured BO > Catalog > Products > Click New product button > choose Standard product > Click on Add new product > click on image field and add any image |
The image is well added and displayed in product description |