{form name="thelia.admin.product.modification"}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false page_url = "{url path='/admin/products/update' product_id=$ID}" close_url = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" } {hook name="product.modification.form_top" product_id=$ID} {* Be sure to get the product ID, even if the form could not be validated*} {form_hidden_fields} {form_field field='id'} {/form_field} {form_field field='success_url'} {/form_field} {form_field field='locale'} {/form_field} {if $form_error}
{$form_error_message}
{/if}
{form_field field='ref'}
{/form_field} {include file="includes/standard-description-form-fields.html"}
{hook name="product.modification.form-right.top" product_id=$ID} {form_field field='default_category'}
{intl l='You can attach this product to more categories in the details tab.'}
{/form_field} {form_field field='virtual'}
{/form_field}
{if $PSE_COUNT == 1} {custom_render_form_field field='virtual_document_id'} {/custom_render_form_field}

{intl l="There is no files to associate to your product. Only documents that are not visible can be selected !"}
{intl l="Add document to your product."}

{else} {form_field field='virtual_document_id'} {/form_field}

{intl l="Associate files to your combinations"}

{/if}
{custom_render_form_field field='brand_id'} {/custom_render_form_field} {form_field field='visible'}
{/form_field} {hook name="product.modification.form-right.bottom" product_id=$ID}
{hook name="product.modification.form_bottom" product_id=$ID} {include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true page_url = "{url path='/admin/products/update' product_id=$ID}" close_url = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" } {intl l='Product created on %date_create. Last modification: %date_change' date_create="{format_date date=$CREATE_DATE}" date_change="{format_date date=$UPDATE_DATE}"}
{/form}