?? GreyFile — Mystic File Browser

Current path: home/webdevt/prestashop17/src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Product/Tabs/



?? Go up: /home/webdevt/prestashop17/src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Product

?? Viewing: options.html.twig

{#**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * 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.md.
 * 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 https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
 *#}
{% form_theme productForm.options.customizations '@PrestaShop/Admin/Sell/Catalog/Product/Form/customizations_form_theme.html.twig' %}
{% if productForm.options.suppliers is defined %}
  {% form_theme productForm.options.suppliers '@PrestaShop/Admin/Sell/Catalog/Product/Form/suppliers_form_theme.html.twig' %}
{% endif %}

<div role="tabpanel" class="form-contenttab tab-pane container-fluid" id="options-tab">
  {{ form_row(productForm.options) }}

  {% if productForm.options.suppliers is not defined and productType == 'combinations' %}
    {# For product with combinations suppliers are not here but in the combination form #}
    <h2>{{ 'Suppliers'|trans({}, 'Admin.Global') }}</h2>
    <div class="alert alert-info" role="alert">
      <p class="alert-text">
        {{ 'To specify the suppliers of this product\'s combinations you can go to [1]{combinations_label}[/1] tab.'|trans({
          '[1]': '<a href="#combinations-tab" class="tab-link" data-target-tab="combinations-tab">',
          '[/1]': '</a>',
          '{combinations_label}': 'Combinations'|trans({}, 'Admin.Catalog.Feature')
        }, 'Admin.Catalog.Help')|raw }}<br>
      </p>
    </div>
  {% endif %}
</div>


??

??