diff --git a/admin-dev/themes/default/template/controllers/products/quantities.tpl b/admin-dev/themes/default/template/controllers/products/quantities.tpl index 61fa3241b..9236418a3 100644 --- a/admin-dev/themes/default/template/controllers/products/quantities.tpl +++ b/admin-dev/themes/default/template/controllers/products/quantities.tpl @@ -26,177 +26,174 @@ {if isset($product->id)}
{l s='This interface allows you to manage available quantities for sale for products. It also allows you to manage product combinations in the current shop.'}
-{l s='You can choose whether or not to use the advanced stock management system for this product.'}
-{l s='You can manually specify the quantities for the product/each product combination, or you can choose to automatically determine these quantities based on your stock (if advanced stock management is activated).'}
-{l s='In this case, quantities correspond to the real-stock quantities in the warehouses connected with the current shop, or current group of shops.'}
-{l s='For packs: If it has products that use advanced stock management, you have to specify a common warehouse for these products in the pack.'}
-{l s='Also, please note that when a product has combinations, its default combination will be used in stock movements.'}
-{l s='This interface allows you to manage available quantities for sale for products. It also allows you to manage product combinations in the current shop.'}
+{l s='You can choose whether or not to use the advanced stock management system for this product.'}
+{l s='You can manually specify the quantities for the product/each product combination, or you can choose to automatically determine these quantities based on your stock (if advanced stock management is activated).'}
+{l s='In this case, quantities correspond to the real-stock quantities in the warehouses connected with the current shop, or current group of shops.'}
+{l s='For packs: If it has products that use advanced stock management, you have to specify a common warehouse for these products in the pack.'}
+{l s='Also, please note that when a product has combinations, its default combination will be used in stock movements.'}
+|
- advanced_stock_management == 1 && $stock_management_active == 1}
- value="1" checked="checked"
- {else}
- value="0"
- {/if}
- {if $stock_management_active == 0 || $product->cache_is_pack}
- disabled="disabled"
- {/if}
- type="checkbox" name="advanced_stock_management" class="advanced_stock_management" id="advanced_stock_management" />
-
- - |
- ||||||||||||
|
- depends_on_stock == 1 && $stock_management_active == 1}
- checked="checked"
- {/if}
- {if $stock_management_active == 0 || $product->advanced_stock_management == 0 || $product->cache_is_pack}
- disabled="disabled"
- {/if}
- type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_1" value="1"/>
-
- - |
-
|
+ advanced_stock_management == 1 && $stock_management_active == 1}
+ value="1" checked="checked"
+ {else}
+ value="0"
+ {/if}
+ {if $stock_management_active == 0 || $product->cache_is_pack}
+ disabled="disabled"
+ {/if}
+ type="checkbox" name="advanced_stock_management" class="advanced_stock_management" id="advanced_stock_management" />
+
+ + |
+ ||||||||||||
|
+ depends_on_stock == 1 && $stock_management_active == 1}
+ checked="checked"
+ {/if}
+ {if $stock_management_active == 0 || $product->advanced_stock_management == 0 || $product->cache_is_pack}
+ disabled="disabled"
+ {/if}
+ type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_1" value="1"/>
+
+ + |
+ ||||||||||||
|
- depends_on_stock == 0 || $stock_management_active == 0}
- checked="checked"
- {/if}
- type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_0" value="0"/>
-
- - |
- ||||||||||||
|
- {l s='When a product has combinations, quantities will be based on the default combination.'} -{l s='Given the quantities of the products in this pack, the maximum quantity should be:'} {$pack_quantity} - |
- ||||||||||||
-
|
- ||||||||||||
-
-
+ out_of_stock == 2} checked="checked" {/if} id="out_of_stock_3" type="radio" value="2" class="out_of_stock" name="out_of_stock">
+
+
+
+ {l s='It is not possible to manage quantities when:'} -
|
+
{l s='It is not possible to manage quantities when:'}
+| {l s='The stock management is disabled'} | -|||
| @@ -206,41 +203,43 @@ | |||
| - {include file="controllers/products/multishop/checkbox.tpl" field="available_now" type="default" multilang="true"} - - | -- {include file="controllers/products/input_text_lang.tpl" - languages=$languages - input_value=$product->available_now - input_name='available_now'} - {l s='Forbidden characters:'} <>;=#{} - | -||
| - {include file="controllers/products/multishop/checkbox.tpl" field="available_later" type="default" multilang="true"} - - | -- {include file="controllers/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.'} + | + {include file="controllers/products/multishop/checkbox.tpl" field="available_now" type="default" multilang="true"} + + | ++ {include file="controllers/products/input_text_lang.tpl" + languages=$languages + input_value=$product->available_now + input_name='available_now'} + {l s='Forbidden characters:'} <>;=#{} + | +
| + {include file="controllers/products/multishop/checkbox.tpl" field="available_later" type="default" multilang="true"} + + | ++ {include file="controllers/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.'} + |
+ ||