parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Product/ProductPage/Panels/pricing.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Product/ProductPage/Panels/pricing.html.twig")); // line 25 echo "

"; // line 32 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Retail price", [], "Admin.Catalog.Feature"), "html", null, true); echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("This is the price at which you intend to sell this product to your customers. The tax included price will change according to the tax rule you select.", [], "Admin.Catalog.Help"), "html", null, true); echo "\" >

"; // line 43 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "price", []), 'errors'); echo " "; // line 44 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "price", []), 'widget'); echo "
"; // line 48 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "price_ttc", []), 'errors'); echo " "; // line 49 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "price_ttc", []), 'widget'); echo "
"; // line 60 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "unit_price", []), 'errors'); echo " "; // line 61 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "unit_price", []), 'widget'); echo "
"; // line 64 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "unity", []), 'errors'); echo " "; // line 65 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "unity", []), 'widget'); echo "
env->getExtension('PrestaShopBundle\Twig\LayoutExtension')->getConfiguration("PS_USE_ECOTAX") != 1)) { echo "hide"; } echo "\"> "; // line 71 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "ecotax", []), 'errors'); echo " "; // line 72 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "ecotax", []), 'widget'); echo "
"; // line 81 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "id_tax_rules_group", []), 'errors'); echo " "; // line 82 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "id_tax_rules_group", []), 'widget'); echo "
"; // line 91 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "on_sale", []), 'widget'); echo "

"; // line 98 echo twig_replace_filter($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Final retail price: [1][2][/2] tax incl.[/1] / [3][/3] tax excl.", [], "Admin.Catalog.Feature"), ["[1]" => "", "[/1]" => "", "[2]" => "", "[/2]" => "", "[3]" => "", "[/3]" => ""]); echo "

"; // line 111 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cost price", [], "Admin.Catalog.Feature"), "html", null, true); echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("The cost price is the price you paid for the product. Do not include the tax. It should be lower than the retail price: the difference between the two will be your margin.", [], "Admin.Catalog.Help"), "html", null, true); echo "\" >

"; // line 118 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "wholesale_price", []), 'errors'); echo " "; // line 119 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "wholesale_price", []), 'widget'); echo "

"; // line 128 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Specific prices", [], "Admin.Catalog.Feature"), "html", null, true); echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("You can set specific prices for customers belonging to different groups, different countries, etc.", [], "Admin.Catalog.Help"), "html", null, true); echo "\" >

add_circle "; // line 137 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Add a specific price", [], "Admin.Catalog.Feature"), "html", null, true); echo "
env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_specific_price_add"); echo "\"> "; // line 140 echo twig_include($this->env, $context, "@Product/ProductPage/Forms/form_specific_price.html.twig", ["form" => $this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specific_price", []), "is_multishop_context" => ($context["is_multishop_context"] ?? $this->getContext($context, "is_multishop_context"))]); echo "
env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_specific_price_list", ["idProduct" => 1]); echo "\" data-action-delete=\""; // line 146 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_delete_specific_price", ["idSpecificPrice" => 1]); echo "\" data-action-edit=\""; // line 147 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_get_specific_price_update_form", ["idSpecificPrice" => 1]); echo "\">
"; // line 150 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Rule", [], "Admin.Catalog.Feature"), "html", null, true); echo " "; // line 151 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Combination", [], "Admin.Catalog.Feature"), "html", null, true); echo " "; // line 152 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Currency", [], "Admin.Global"), "html", null, true); echo " "; // line 153 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Country", [], "Admin.Global"), "html", null, true); echo " "; // line 154 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Group", [], "Admin.Global"), "html", null, true); echo " "; // line 155 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Customer", [], "Admin.Global"), "html", null, true); echo " "; // line 156 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Fixed price", [], "Admin.Catalog.Feature"), "html", null, true); echo " "; // line 157 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Impact", [], "Admin.Catalog.Feature"), "html", null, true); echo " "; // line 158 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Period", [], "Admin.Global"), "html", null, true); echo " "; // line 159 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("From", [], "Admin.Catalog.Feature"), "html", null, true); echo "
"; // line 172 echo twig_include($this->env, $context, "@Product/ProductPage/Forms/form_edit_specific_price_modal.html.twig"); echo "

"; // line 180 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Priority management", [], "Admin.Catalog.Feature"), "html", null, true); echo " env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sometimes one customer can fit into multiple price rules. Priorities allow you to define which rules apply first.", [], "Admin.Catalog.Help"), "html", null, true); echo "\" >

"; // line 188 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_0", []), 'errors'); echo " "; // line 189 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_0", []), 'widget'); echo "
"; // line 195 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_1", []), 'errors'); echo " "; // line 196 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_1", []), 'widget'); echo "
"; // line 202 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_2", []), 'errors'); echo " "; // line 203 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_2", []), 'widget'); echo "
"; // line 209 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_3", []), 'errors'); echo " "; // line 210 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriority_3", []), 'widget'); echo "
"; // line 214 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["pricingForm"] ?? $this->getContext($context, "pricingForm")), "specificPricePriorityToAll", []), 'widget'); echo "
"; // line 219 echo $this->env->getExtension('PrestaShopBundle\Twig\HookExtension')->renderHook("displayAdminProductsPriceStepBottom", ["id_product" => ($context["productId"] ?? $this->getContext($context, "productId"))]); echo "
"; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "@Product/ProductPage/Panels/pricing.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 417 => 219, 409 => 214, 402 => 210, 398 => 209, 389 => 203, 385 => 202, 376 => 196, 372 => 195, 363 => 189, 359 => 188, 355 => 187, 347 => 182, 342 => 180, 331 => 172, 315 => 159, 311 => 158, 307 => 157, 303 => 156, 299 => 155, 295 => 154, 291 => 153, 287 => 152, 283 => 151, 279 => 150, 273 => 147, 269 => 146, 265 => 145, 257 => 140, 253 => 139, 248 => 137, 238 => 130, 233 => 128, 221 => 119, 217 => 118, 213 => 117, 206 => 113, 201 => 111, 185 => 98, 175 => 91, 168 => 87, 164 => 86, 157 => 82, 153 => 81, 149 => 80, 138 => 72, 134 => 71, 130 => 70, 124 => 69, 117 => 65, 113 => 64, 107 => 61, 103 => 60, 96 => 56, 91 => 54, 83 => 49, 79 => 48, 75 => 47, 69 => 44, 65 => 43, 61 => 42, 50 => 34, 45 => 32, 36 => 25,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{#** * 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 *#}

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

{{ form_errors(pricingForm.price) }} {{ form_widget(pricingForm.price) }}
{{ form_errors(pricingForm.price_ttc) }} {{ form_widget(pricingForm.price_ttc) }}
{{ form_errors(pricingForm.unit_price) }} {{ form_widget(pricingForm.unit_price) }}
{{ form_errors(pricingForm.unity) }} {{ form_widget(pricingForm.unity) }}
{{ form_errors(pricingForm.ecotax) }} {{ form_widget(pricingForm.ecotax) }}
{{ form_errors(pricingForm.id_tax_rules_group) }} {{ form_widget(pricingForm.id_tax_rules_group) }}
{{ form_widget(pricingForm.on_sale) }}

{{ 'Final retail price: [1][2][/2] tax incl.[/1] / [3][/3] tax excl.'|trans({}, 'Admin.Catalog.Feature')|replace({ '[1]': '', '[/1]': '', '[2]': '', '[/2]': '', '[3]': '', '[/3]': '', })|raw }}

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

{{ form_errors(pricingForm.wholesale_price) }} {{ form_widget(pricingForm.wholesale_price) }}

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

add_circle {{ 'Add a specific price'|trans({}, 'Admin.Catalog.Feature') }}
{{ include('@Product/ProductPage/Forms/form_specific_price.html.twig', {'form': pricingForm.specific_price, 'is_multishop_context': is_multishop_context}) }}
{{ 'Rule'|trans({}, 'Admin.Catalog.Feature') }} {{ 'Combination'|trans({}, 'Admin.Catalog.Feature') }} {{ 'Currency'|trans({}, 'Admin.Global') }} {{ 'Country'|trans({}, 'Admin.Global') }} {{ 'Group'|trans({}, 'Admin.Global') }} {{ 'Customer'|trans({}, 'Admin.Global') }} {{ 'Fixed price'|trans({}, 'Admin.Catalog.Feature') }} {{ 'Impact'|trans({}, 'Admin.Catalog.Feature') }} {{ 'Period'|trans({}, 'Admin.Global') }} {{ 'From'|trans({}, 'Admin.Catalog.Feature') }}
{{ include('@Product/ProductPage/Forms/form_edit_specific_price_modal.html.twig') }}

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

{{ form_errors(pricingForm.specificPricePriority_0) }} {{ form_widget(pricingForm.specificPricePriority_0) }}
{{ form_errors(pricingForm.specificPricePriority_1) }} {{ form_widget(pricingForm.specificPricePriority_1) }}
{{ form_errors(pricingForm.specificPricePriority_2) }} {{ form_widget(pricingForm.specificPricePriority_2) }}
{{ form_errors(pricingForm.specificPricePriority_3) }} {{ form_widget(pricingForm.specificPricePriority_3) }}
{{ form_widget(pricingForm.specificPricePriorityToAll) }}
{{ renderhook('displayAdminProductsPriceStepBottom', { 'id_product': productId }) }}
", "@Product/ProductPage/Panels/pricing.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Panels/pricing.html.twig"); } }