{#** * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2018 PrestaShop SA * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#}

{{ 'Quantities'|trans({}, 'Admin.Catalog.Feature') }}

{% if 'PS_STOCK_MANAGEMENT'|configuration %}
{{ form_errors(formStockQuantity) }} {{ form_widget(formStockQuantity) }}
{% endif %}
{{ form_errors(formStockMinimalQuantity) }} {{ form_widget(formStockMinimalQuantity) }}

{{ 'Stock'|trans({}, 'Admin.Catalog.Feature') }}

{{ form_errors(formLocation) }} {{ form_widget(formLocation) }}
{{ form_errors(formLowStockThreshold) }} {{ form_widget(formLowStockThreshold) }}
{{ form_errors(formLowStockAlert) }} {{ form_widget(formLowStockAlert) }} Team[/1]"|trans({'[1]':'','[/1]':''}, 'Admin.Catalog.Help')|raw }}" >

{{ formVirtualProduct.vars.label }}

{{ form_widget(formVirtualProduct.is_virtual_file) }}
{{ form_errors(formVirtualProduct) }}
{{ form_widget(formVirtualProduct.file) }}
{{ form_errors(formVirtualProduct.name) }} {{ form_widget(formVirtualProduct.name) }}
{{ form_errors(formVirtualProduct.nb_downloadable) }} {{ form_widget(formVirtualProduct.nb_downloadable) }}
{{ form_errors(formVirtualProduct.expiration_date) }} {{ form_widget(formVirtualProduct.expiration_date) }}
{{ form_errors(formVirtualProduct.nb_days) }} {{ form_widget(formVirtualProduct.nb_days) }}
{{ form_widget(formVirtualProduct.save) }}
{% if asm_globally_activated and formType.vars.value != "2" %}
{{ form_errors(formAdvancedStockManagement) }} {{ form_widget(formAdvancedStockManagement) }} {% if form.step1.type_product.vars.value == "1" %} {{ 'When enabling advanced stock management for a pack, please make sure it is also enabled for its product(s) – if you choose to decrement product quantities.'|trans({}, 'Admin.Catalog.Notification') }} {% endif %}
{{ form_errors(formDependsOnStocks) }} {{ form_widget(formDependsOnStocks) }}
{% endif %} {% if 'PS_STOCK_MANAGEMENT'|configuration %}

{{ formPackStockType.vars.label }}

{{ form_errors(formPackStockType) }} {{ form_widget(formPackStockType) }}
{% endif %} {{ include('@Product/ProductPage/Forms/form_combinations.html.twig', {'form': formStep3, 'form_combination_bulk': formCombinations}) }} {{ renderhook('displayAdminProductsQuantitiesStepBottom', { 'id_product': productId }) }}