{% extends 'base_admin.html.twig' %} {% block title %}Modifier l’option{% endblock %} {% block body %}
💡 Le prix normal pour {{ form.quantity.vars.value }} x {{ product.title|lower }} est de {{ fullPrice|number_format(2, ',', ' ') }} €. Avec ce pack, l’utilisateur économise {{ savings|number_format(2, ',', ' ') }} €.
{% endif %} {% endif %} {% if product.price and form.price.vars.value and form.quantity.vars.value %} {% set fullPrice = product.price * form.quantity.vars.value %} {% set savings = fullPrice - form.price.vars.value %} {% if savings > 0 %}💡 Le prix normal pour {{ form.quantity.vars.value }} x {{ product.title|lower }} est de {{ fullPrice|number_format(2, ',', ' ') }} €. Avec ce pack, l’utilisateur économise {{ savings|number_format(2, ',', ' ') }} €.
{% endif %} {% endif %} {% endblock %}