It would be nice to have file-upload as an attribute for the products or in general as a custom field.
At the moment there are:
At the moment there are:
'custom_field_setting' => [
'resource_url' => 'custom-fields',
'presenter' => \Corals\Settings\Transformers\CustomFieldSettingPresenter::class,
'supported_types' => [
'text' => 'Settings::attributes.custom_field.type_options.text',
'textarea' => 'Settings::attributes.custom_field.type_options.textarea',
'date' => 'Settings::attributes.custom_field.type_options.date',
'number' => 'Settings::attributes.custom_field.type_options.number',
'select' => 'Settings::attributes.custom_field.type_options.select',
'checkbox' => 'Settings::attributes.custom_field.type_options.checkbox',
'radio' => 'Settings::attributes.custom_field.type_options.radio',
'multi_values' => 'Settings::attributes.custom_field.type_options.multi_values',
'label' => 'Settings::attributes.custom_field.type_options.label'
]
]