diff --git a/admin-dev/themes/template/products/associations.tpl b/admin-dev/themes/template/products/associations.tpl index 1186a7200..8c240b40d 100644 --- a/admin-dev/themes/template/products/associations.tpl +++ b/admin-dev/themes/template/products/associations.tpl @@ -33,15 +33,75 @@ - {**} - +
{$category_tree}
+ {if $feature_shop_active} + {* @todo use asso_shop from Helper *} + + + {$displayAssoShop} + + {/if} + + + + + + +
+
+ {* @todo : donot use 3 foreach, but assign var *} + {foreach from=$accessories item=accessory} + {$accessory.name|htmlentitiesUTF8}{if !empty($accessory.reference)}{$accessory.reference}{/if}
+ {/foreach} +
+ + + +
+

{l s='Begin typing the first letters of the product name, then select the product from the drop-down list:'}

+ + {l s='Add an accessory'} +
+
- \ No newline at end of file diff --git a/admin-dev/themes/template/products/informations.tpl b/admin-dev/themes/template/products/informations.tpl index f4476ea1f..e5ce1023f 100644 --- a/admin-dev/themes/template/products/informations.tpl +++ b/admin-dev/themes/template/products/informations.tpl @@ -110,13 +110,6 @@ - {if $feature_shop_active} - {* @todo use asso_shop from Helper *} - - - {$displayAssoShop} - - {/if} active}style="display:none"{/if} > @@ -317,63 +310,7 @@ var textFieldLabel = 0; - -
- - {if !$ps_stock_management} - - - - {/if} - {if !$has_attribute} - - - - - {/if} - - - - - - - - - - - - - {if $countAttributes} -{* .(($this->getFieldValue($product, 'available_date') != 0) ? stripslashes(htmlentities(Tools::displayDate($this->getFieldValue($product, 'available_date'), $language['id_lang']))) : '0000-00-00').'" *} - - - - - {/if}
{l s='The stock management is disabled'}
- -

{l s='The minimum quantity to buy this product (set to 1 to disable this feature)'}

-
{$currency->prefix}{$currency->suffix} - {if $country_display_tax_label}{l s='tax excl.'}{/if} -

{l s='Carrier tax will be applied.'}

-
- {include file="products/input_text_lang.tpl" - languages=$languages - input_value=$product->available_now - input_name='available_now'} - {l s='Forbidden characters:'} <>;=#{}  -
- {include file="products/input_text_lang.tpl" - languages=$languages - input_value=$product->available_later - input_name='available_later'} - {l s='Forbidden characters:'} <>;=#{}  -
- -

{l s='The available date when this product is out of stock'}

-
@@ -568,61 +505,6 @@ var textFieldLabel = 0;

{l s='Tags separated by commas (e.g., dvd, dvd player, hifi)'}

- - - - -
- {* @todo : donot use 3 foreach, but assign var *} - {foreach from=$accessories item=accessory} - {$accessory.name|htmlentitiesUTF8}{if !empty($accessory.reference)}{$accessory.reference}{/if}
- {/foreach} -
- - - - -
-

{l s='Begin typing the first letters of the product name, then select the product from the drop-down list:'}

- - {l s='Add an accessory'} -
- diff --git a/admin-dev/themes/template/products/quantities.tpl b/admin-dev/themes/template/products/quantities.tpl index b8fa783da..9ee668f9e 100644 --- a/admin-dev/themes/template/products/quantities.tpl +++ b/admin-dev/themes/template/products/quantities.tpl @@ -127,6 +127,54 @@ {/if} +
+

{l s='Availability display'}

+ + {if !$ps_stock_management} + + + + {/if} + {if !$has_attribute} + + + + + {/if} + + + + + + + + +{if $countAttributes} + + + + +{/if} +
{l s='The stock management is disabled'}
+ +

{l s='The minimum quantity to buy this product (set to 1 to disable this feature)'}

+
+ {include file="products/input_text_lang.tpl" + languages=$languages + input_value=$product->available_now + input_name='available_now'} + {l s='Forbidden characters:'} <>;=#{}  +
+ {include file="products/input_text_lang.tpl" + languages=$languages + input_value=$product->available_later + input_name='available_later'} + {l s='Forbidden characters:'} <>;=#{}  +
+ +

{l s='The available date when this product is out of stock'}

+