This article is machine translated.
If you want to enable your customer to transfer a file to you, Datei-Upload
will help you.
Setting | Default setting | Description |
---|---|---|
Description | - | This description serves as a hint to the backend user and is displayed below the input field. |
Setting | Default Setting | Description |
---|---|---|
Allowed file types | jpg,jpeg,gif,png | Restrict the allowed file types using a comma-separated list. |
Maximum length | 0 | Here you can limit the field length to a certain number of characters (text) or bytes (file upload). |
Mandatory field | - | Here you can make the field in the frontend a mandatory field, so the product cannot be added to the shopping cart without a value. |
Setting | Default setting | Description |
---|---|---|
Save uploaded files | - | Here you can set that the uploaded file will be moved to a folder on the server. |
Destination directory | files/orders/##document\_number##/##product\_position##\_\_{{flag::##product_name##|standardize}}/##attribute\_field## | Here you can specify a target directory in the Contao folder `files` for the file. |
Target filename | \##file\_target## | Enter the target filename. Use simple tokens and insert tags to generate a dynamic name. |
Creating the attribute in the backend is done via the product types. In the fontend you can output the attribute in the desired isotope template with the following code <?php echo $this->generateAttribute('InternerName'); ?>
.