{#** * 2007-2019 PrestaShop and Contributors * * 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 https://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% extends '@PrestaShop/Admin/layout.html.twig' %} {% trans_default_domain "Admin.Shopparameters.Feature" %} {% import '@PrestaShop/Admin/macros.html.twig' as ps %} {% set generalForm = form.general %} {% block content %} {{ form_start(form, {'attr' : {'class': 'form', 'id': 'configuration_form'} }) }}
{% block preferences_form_general %}

settings {{ 'General'|trans({}, 'Admin.Global') }}

{{ ps.label_with_help( ('Enable SSL'|trans), ('If you want to enable SSL on all the pages of your shop, activate the "Enable on all the pages" option below.'|trans({}, 'Admin.Shopparameters.Help')) ) }} {% if app.request.isSecure() %}
{{ form_errors(generalForm.enable_ssl) }} {{ form_widget(generalForm.enable_ssl) }} {{ 'If you own an SSL certificate for your shop\'s domain name, you can activate SSL encryption (https://) for customer account identification and order processing.'|trans({}, 'Admin.Shopparameters.Help') }}
{% else %} {% endif %}
{{ form_errors(generalForm.enable_ssl_everywhere) }} {{ form_widget(generalForm.enable_ssl_everywhere) }} {{ 'When enabled, all the pages of your shop will be SSL-secured.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.enable_token) }} {{ form_widget(generalForm.enable_token) }} {{ 'Enable or disable token in the Front Office to improve PrestaShop\'s security.'|trans({}, 'Admin.Shopparameters.Help') }} {% if generalForm.enable_token.vars.disabled %} {% endif %}
{{ form_errors(generalForm.allow_html_iframes) }} {{ form_widget(generalForm.allow_html_iframes) }} {{ 'Allow iframes on text fields like product description. We recommend that you leave this option disabled.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.use_htmlpurifier) }} {{ form_widget(generalForm.use_htmlpurifier) }} {{ 'Clean the HTML content on text fields. We recommend that you leave this option enabled.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.price_round_mode) }} {{ form_widget(generalForm.price_round_mode) }} {{ 'You can choose among 6 different ways of rounding prices. "Round up away from zero ..." is the recommended behavior.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.price_round_type) }} {{ form_widget(generalForm.price_round_type) }} {{ 'You can choose when to round prices: either on each item, each line or the total (of an invoice, for example).'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.price_display_precision) }} {{ form_widget(generalForm.price_display_precision) }} {{ 'Choose how many decimals you want to display'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.display_suppliers) }} {{ form_widget(generalForm.display_suppliers) }} {{ 'Enable brands and suppliers pages on your front office even when their respective modules are disabled.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.display_best_sellers) }} {{ form_widget(generalForm.display_best_sellers) }} {{ 'Enable best sellers page on your front office even when its respective module is disabled.'|trans({}, 'Admin.Shopparameters.Help') }}
{{ form_errors(generalForm.multishop_feature_active) }} {{ form_widget(generalForm.multishop_feature_active) }} {{ 'The multistore feature allows you to manage several e-shops with one Back Office. If this feature is enabled, a "Multistore" page will be available in the "Advanced Parameters" menu.'|trans({}, 'Admin.Shopparameters.Help') }} {% if generalForm.multishop_feature_active.vars.disabled %} {% endif %}
{{ form_errors(generalForm.shop_activity) }} {{ form_widget(generalForm.shop_activity) }}
{% block shop_preferences_form_rest %} {{ form_rest(form) }} {% endblock %}
{% endblock %}
{{ form_end(form) }} {% endblock %}