{# app/templates/admin/vendor-product-create.html #} {% extends "admin/base.html" %} {% from 'shared/macros/headers.html' import detail_page_header %} {% from 'shared/macros/modals.html' import media_picker_modal %} {% from 'shared/macros/richtext.html' import quill_css, quill_js, quill_editor %} {% block title %}Create Vendor Product{% endblock %} {% block alpine_data %}adminVendorProductCreate(){% endblock %} {% block quill_css %} {{ quill_css() }} {% endblock %} {% block quill_script %} {{ quill_js() }} {% endblock %} {% block extra_head %} {% endblock %} {% block content %} {% call detail_page_header("'Create Vendor Product'", '/admin/vendor-products') %} Add a new product to a vendor's catalog {% endcall %}

Vendor

The vendor whose catalog this product will be added to

Product Information *

{{ quill_editor( id='create-desc-editor-en', model='form.translations.en.description', label='Description (EN)', placeholder='Enter product description in English...', min_height='150px', toolbar='standard' ) }}
{{ quill_editor( id='create-desc-editor-fr', model='form.translations.fr.description', label='Description (FR)', placeholder='Enter product description in French...', min_height='150px', toolbar='standard' ) }}
{{ quill_editor( id='create-desc-editor-de', model='form.translations.de.description', label='Description (DE)', placeholder='Enter product description in German...', min_height='150px', toolbar='standard' ) }}
{{ quill_editor( id='create-desc-editor-lu', model='form.translations.lu.description', label='Description (LU)', placeholder='Enter product description in Luxembourgish...', min_height='150px', toolbar='standard' ) }}

Product Identifiers

Pricing

{# noqa: FE-008 - Using raw number input for price with EUR prefix #}
EUR
EUR

Product Images

Or enter URL directly:

Click "Add" to select images from the media library or upload new ones

Product Type & Status

Cancel
{{ media_picker_modal( id='mediaPickerMain', show_var='showMediaPicker', vendor_id_var='form.vendor_id', on_select='setMainImage', multi_select=false, title='Select Main Image' ) }} {{ media_picker_modal( id='mediaPickerAdditional', show_var='showMediaPickerAdditional', vendor_id_var='form.vendor_id', on_select='addAdditionalImages', multi_select=true, title='Select Additional Images' ) }} {% endblock %} {% block extra_scripts %} {% endblock %}