diff --git a/web/app/themes/haiku-atelier-2024/page-cart.php b/web/app/themes/haiku-atelier-2024/page-cart.php index cdfaaac8..b3754d10 100755 --- a/web/app/themes/haiku-atelier-2024/page-cart.php +++ b/web/app/themes/haiku-atelier-2024/page-cart.php @@ -169,8 +169,8 @@ function charge_scripts_styles_page_panier(): void { add_action('wp_enqueue_scripts', 'charge_scripts_styles_page_panier'); -$lal = wp_json_encode($contexte); -echo ""; +// $lal = wp_json_encode($contexte); +// echo ""; // Rendu Timber::render( diff --git a/web/app/themes/haiku-atelier-2024/single-product.php b/web/app/themes/haiku-atelier-2024/single-product.php index 0035a043..11e66d50 100755 --- a/web/app/themes/haiku-atelier-2024/single-product.php +++ b/web/app/themes/haiku-atelier-2024/single-product.php @@ -86,12 +86,12 @@ function charge_scripts_page_produit(): void { add_action('wp_enqueue_scripts', 'charge_scripts_page_produit'); -$lal = wp_json_encode($context); -echo ""; +// $lal = wp_json_encode($context); +// echo ""; -$lol = wc_get_product()->get_children(); -$lol = wp_json_encode($lol); -echo ""; +// $lol = wc_get_product()->get_children(); +// $lol = wp_json_encode($lol); +// echo ""; // Rendu Timber::render( diff --git a/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig b/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig index d8ab3e4b..37ec5236 100755 --- a/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig +++ b/web/app/themes/haiku-atelier-2024/views/parts/pages/produit/informations-produit.twig @@ -12,48 +12,48 @@

{{ produit.name }}

- {% if produit.attributes %} - {% for attribut in produit.attributes %} -
- {{ include('parts/pages/produit/selecteur-attributs-produit.twig') }} -
- {% endfor %} - {% endif %} - - + #} + + {% if variations_produit|length > 1 %} + + +
+ +
+ {% endif %}

{{ prix_maximal ?? produit.price }}€