diff --git a/templates/backOffice/default/includes/product-general-tab.html b/templates/backOffice/default/includes/product-general-tab.html index f91aeff9e..9cc34c815 100755 --- a/templates/backOffice/default/includes/product-general-tab.html +++ b/templates/backOffice/default/includes/product-general-tab.html @@ -11,54 +11,45 @@ close_url = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" } - {* Be sure to get the product ID, even if the form could not be validated *} - - - + {* Be sure to get the product ID, even if the form could not be validated*} + + {form_hidden_fields form=$form} {form_field form=$form field='id'} - + {/form_field} {form_field form=$form field='success_url'} - + {/form_field} {form_field form=$form field='locale'} - + {/form_field} {if $form_error}
{$form_error_message}
{/if} -
- - -
{$REF}
- - {form_field form=$form field='ref'} - - {/form_field} - -
- - {include file="includes/standard-description-form-fields.html"} - - {form_field form=$form field='url'} -
- - - -
- {/form_field} -
-
+
+ {form_field form=$form field='ref'} +
+ +
+ {* If ref's 'value is not empty the field is disable and the value is sent with an hidden field *} + + {if $value}{/if} +
+
+ {/form_field} + + {include file="includes/standard-description-form-fields.html"} +
+ +
{form_field form=$form field='default_category'}
@@ -79,9 +70,6 @@
{/form_field} -
- -
{form_field form=$form field='visible'}
@@ -96,16 +84,16 @@
-
-
-
- -
-

{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}"}

-
-
-
-
+ {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}