templates/front/product-option/getPrice.html.twig line 1

Open in your IDE?
  1. {% if productDesabled is defined %}
  2. {% else %}
  3. <div class="bx_ca_right5">
  4.     <h3 style="background-color: #fff">{{ 'Total Panier' | trans({}, "productTranslate") }}</h3>
  5. {#    {% if abonnementPro == false and is_abonnement == false %}#}
  6. {#        <div class="d-flex bx_global_radio taille_full">#}
  7. {#            <h5>Particulier</h5>#}
  8. {#            <div class="maxwSelect priceSwuitch">#}
  9. {#                <div class="taille tailleSelect">#}
  10. {#                    <input type="radio" name="bx_switch_panier" class="select_ca_btn_oval typeCompte" id="bx_switch_panier1" value="{{ constant('App\\Entity\\Adresse::TYPE_COMPTE_PARTICULIER') }}" checked="checked">#}
  11. {#                    <label for="bx_switch_panier1" style="border: none;" class="block taille ">#}
  12. {#                        .#}
  13. {#                    </label>#}
  14. {#                </div>#}
  15. {#                <div class="taille tailleSelect">#}
  16. {#                    <input type="radio" name="bx_switch_panier" class="select_ca_btn_oval typeCompte" id="bx_switch_panier2" value="{{ constant('App\\Entity\\Adresse::TYPE_COMPTE_ENTREPRISE') }}">#}
  17. {#                    <label for="bx_switch_panier2" style="border: none;" class="block taille ">#}
  18. {#                        .#}
  19. {#                    </label>#}
  20. {#                </div></div>#}
  21. {#            <h5>Pro <span>Payez à 30 jours</span></h5>#}
  22. {#        </div>#}
  23. {#    {% endif %}#}
  24.     <div class="table_ca_right5">
  25.         {% if abonnementPro %}
  26.             <table class="table">
  27. {#                <thead>#}
  28. {#                <tr>#}
  29. {#                    <th scope="col" colspan="4">Remise abonnement  {{ abonnementPro.abonement.name }}</th>#}
  30. {#                </tr>#}
  31. {#                </thead>#}
  32.                 <tbody>
  33.                 <tr>
  34.                     <td colspan="2">{{ 'Prix HT' | trans({}, "productTranslate") }}</td>
  35. {#                    <td><strike style="color: red;">{{number_format(prixHtWithoutReduction) }}€</strike></td>#}
  36.                     <td>{{ number_format(prixHt) }}€</td>
  37.                 </tr>
  38.                 <tr>
  39.                     <td colspan="2">{{ 'Prix TTC' | trans({}, "productTranslate") }}</td>
  40. {#                    <td><strike style="color: red;">{{ number_format(prixTTcWithoutReduction) }}€</strike></td>#}
  41.                     <td>{{ number_format(prixTtc) }}€</td>
  42.                 </tr>
  43.                 <tr>
  44.                     <td colspan="2">{{ 'Livraison' | trans({}, "productTranslate") }}</td>
  45.                     <td>{{ number_format(priceCarrierTTC) }}€</td>
  46.                 </tr>
  47.                 </tbody>
  48.             </table>
  49.         {% else %}
  50.             {% if isPromo or is_abonnement %}
  51.                 <table class="table">
  52.                     {% if is_abonnement %}
  53.                         <thead>
  54.                             <tr>
  55.                                 <th scope="col" colspan="4">{{ 'Remise abonnement  copees +' | trans({}, "productTranslate") }}</th>
  56.                             </tr>
  57.                         </thead>
  58.                     {% endif %}
  59.                     <tbody>
  60.                     <tr>
  61.                         <td colspan="2">{{ 'Prix HT' | trans({}, "productTranslate") }}</td>
  62.                         <td><strike style="color: red;">{{number_format(prixHtWithoutReduction) }}€</strike></td>
  63.                         <td>{{ number_format(prixHt) }}€</td>
  64.                     </tr>
  65.                     <tr>
  66.                         <td colspan="2">{{ 'Prix TTC' | trans({}, "productTranslate") }}</td>
  67.                         <td><strike style="color: red;">{{ number_format(prixTTcWithoutReduction) }}€</strike></td>
  68.                         <td>{{ number_format(prixTtc) }}€</td>
  69.                     </tr>
  70.                     <tr>
  71.                         <td colspan="3">{{ 'Livraison' | trans({}, "productTranslate") }}</td>
  72.                         <td>{{ number_format(priceCarrierTTC) }}€</td>
  73.                     </tr>
  74.                     </tbody>
  75.                 </table>
  76.             {% else %}
  77.                 <table class="table" id="particulier" style="display: none">
  78.                     <thead>
  79.                     <tr>
  80.                         <th scope="col" colspan="2"><span class="color_b"><a style="color: #07bce9;;" href="{{ path('checkout_abonnement') }}"> Abonnement</a></span></th>
  81.                         <th scope="col">{{ 'Sans' | trans({}, "productTranslate") }}</th>
  82.                         <th scope="col" style="color: #07bce9;">{{ 'Avec' | trans({}, "productTranslate") }}</th>
  83.                     </tr>
  84.                     </thead>
  85.                     <tbody>
  86.                         <tr>
  87.                             <td colspan="2">{{ 'Prix HT' | trans({}, "productTranslate") }}</td>
  88.                             <td>{{ number_format(prixHt) }}€</td>
  89.                             <td><span style="padding: 5px;">{{  number_format(prixHt - ((prixHt * 10 )/100)) }}€</span></td>
  90.                         </tr>
  91.                         <tr>
  92.                             <td colspan="2">{{ 'Prix TTC' | trans({}, "productTranslate") }}</td>
  93.                             <td>{{ number_format(prixTtc) }}€</td>
  94.                             <td><span style="background: #fdf18d; padding: 5px;border-radius: 10px;">{{  number_format(prixTtc - ((prixTtc * 10 )/100)) }}€</span></td>
  95.                         </tr>
  96.                         <tr>
  97.                             <td colspan="2">{{ 'Livraison' | trans({}, "productTranslate") }}</td>
  98.                             <td>{{ number_format(priceCarrierTTC) }}€</td>
  99.                             <td>Offerte</td>
  100.                         </tr>
  101.                     </tbody>
  102.                 </table>
  103.                 <table class="table" id="entreprise">
  104.                     <thead>
  105.                     <tr>
  106.                         <th scope="col"><span class="color_b"><a style="color:  #07bce9;" href="{{ path('abonnementPro_offre') }}"> {{ 'Abonnement' | trans({}, "productTranslate") }}</a></span></th>
  107.                         <th scope="col">{{ 'Sans' | trans({}, "productTranslate") }}</th>
  108.                         <th style="text-align: center;" scope="col" style="color:  #07bce9;">{{ 'Plus' | trans({}, "productTranslate") }}</th>
  109. {#                        <th scope="col" style="color:  #07bce9;">Business</th>#}
  110.                     </tr>
  111.                     </thead>
  112.                     <tbody>
  113.                         <tr>
  114.                             <td>{{ 'Prix HT' | trans({}, "productTranslate") }}</td>
  115.                             <td>{{ number_format(prixHt) }}€</td>
  116.                             <td style="text-align: center;"><span style="padding: 5px;">{{ priceAbonnement.pricePro.prixHtTotal }}€</span></td>
  117. {#                            <td><span style="padding: 5px;">{{ priceAbonnement.priceTeam.prixHtTotal }}€</span></td>#}
  118.                         </tr>
  119.                         <tr>
  120.                             <td>{{ 'Prix TTC' | trans({}, "productTranslate") }}</td>
  121.                             <td>{{ number_format(prixTtc) }}€</td>
  122.                             <td style="text-align: center;"><span class="contour_jaune" style="">{{ priceAbonnement.pricePro.prixTtcTotal }}€</span></td>
  123. {#                            <td><span style="background: #fdf18d; padding: 5px;border-radius: 10px;">{{ priceAbonnement.priceTeam.prixTtcTotal }}€</span></td>#}
  124.                         </tr>
  125.                     </tbody>
  126.                 </table>
  127.             {% endif %}
  128.         {% endif %}
  129.     </div>
  130. </div>
  131. {% if abonnementPro == false %}
  132.     {#{% if is_abonnement == false %}#}
  133.         {#<div class="txt_rightca5">#}
  134.             {#<p>*à ce montant peuvent s'ajouter des frais de livraison pour les commandes de moins de 29€, et une majoration pour les commandes de moins de 10€</p>#}
  135.         {#</div>#}
  136.     {#{% endif %}#}
  137.     {% if isPromo == false and is_abonnement == false %}
  138.         <div class="txt_rightca5 textAbonnementPlusPanier" style="display:none">
  139.             <a href="{{ path('checkout_abonnement') }}" style="border-radius: 10px;color: #000; background-color: #FDF18D; display: inline-block; font-size: 12px; font-weight: 600; padding: 14px 21px; margin: 0 auto !important; text-align: center;">{{ 'Abonnez-vous à Copees+' | trans({}, "productTranslate") }}</a>
  140.             <p class="textAbonnementLiseuse">{{ 'Pour 4,99€/mois résiliable à tout moment en 1 clic, 10% d’économie sur tous vos achats + livraison gratuite illimitée.' | trans({}, "productTranslate") }} </p>
  141.         </div>
  142.         <div class="col-12 mb-4 mt-4 form-check_link textAbonnementProPanier blockAbonementText" style="">
  143.             <h2 style="font-family:cabin;font-size: 18px;font-weight: 700;font-style: normal;">{{ "Passez au Compte Plus !" | trans({}, "productTranslate")|raw }}</h2>
  144.             <div class="textAbonnementLiseuseDiv">
  145.                 <ul>
  146.                     <li class="mt-4">
  147.                         {{ 'Jusqu’à 50% de réduction sur notre catalogue de plus de 300 produits' | trans({}, "productTranslate") }}
  148.                     </li>
  149.                     <li>
  150.                         {{ 'Livraison gratuite illimitée le jour même sur créneau de 30 mn dans plus de 10 villes en France, et sous 48H maximum dans le reste de la France' | trans({}, "productTranslate") }}
  151.                     </li>
  152.                     <li>
  153.                         {{ 'Paiement automatique à 30 jours dès votre 2eme commande' | trans({}, "productTranslate") }}
  154.                     </li>
  155.                     <li>
  156.                         {{ 'Sauvegarde de vos fichiers dans votre espace' | trans({}, "productTranslate") }}
  157.                     </li>
  158.                     <li>
  159.                         {{ 'Une plateforme tout en un pour vous et vos collaborateurs avec plus de 300 produits et 20 000 modèles à personnaliser' | trans({}, "productTranslate") }}
  160.                     </li>
  161.                     <li>
  162.                         {{ 'Abonnement sans engagement de durée, résiliable en 1 clic à tous moments' | trans({}, "productTranslate") }}
  163.                     </li>
  164.                 </ul>
  165.             </div>
  166.             <a class="btnAboNewLiseuse selectTagAboLinkGoogle" href="{{ path('abonnementPro_adresse_facture') }}?typeAbonnement={{ constant('App\\Entity\\AbonnementPro::TYPE_PRO') }}&typeComptePaiement=1&isFree=1" style="">{{ 'Testez gratuitement Copees Plus' | trans({}, "productTranslate") }}</a>
  167.         </div>
  168.     {% endif %}
  169. {% endif %}
  170. {% endif %}