diff --git a/web/app/themes/haiku-atelier-2024/single-product.php b/web/app/themes/haiku-atelier-2024/single-product.php index a5894e0d..0035a043 100755 --- a/web/app/themes/haiku-atelier-2024/single-product.php +++ b/web/app/themes/haiku-atelier-2024/single-product.php @@ -57,8 +57,8 @@ $variations_produit = pipe( $prix_maximal = collect($variations_produit)->max('prix'); $produits_meme_collection = array_map( - callback: recupere_informations_produit_page_produit(...), array: recupere_produits_meme_collection($donnees_produit->collection)($donnees_produit->id), + callback: Product::new(...), ); $context['produit'] = $donnees_produit; diff --git a/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php b/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php index f256591f..fb2dcf74 100755 --- a/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php +++ b/web/app/themes/haiku-atelier-2024/src/inc/TraitementInformations.php @@ -1,15 +1,15 @@ - - {{ produit.photo_repos }} + {{ produit.default_photo }} - {{ produit.photo_survol }} + {{ produit.hover_photo }}

- {{ produit.nom }} + {{ produit.name }}

- {{ produit.prix }}€ + {{ produit.price }}€