Compare commits
No commits in common. "6aa7a257d2f2ddf3d9e06aa4c9920cc6eee3ea1f" and "b3da4c2cb32fbc077780d1ebc4d01573a7482ca5" have entirely different histories.
6aa7a257d2
...
b3da4c2cb3
|
|
@ -41,11 +41,12 @@ $variations_produit = pipe(
|
||||||
'id' => $variation->get_id(),
|
'id' => $variation->get_id(),
|
||||||
// Ne récupère que le titre de l'Attribut unique de la Variation.
|
// Ne récupère que le titre de l'Attribut unique de la Variation.
|
||||||
'titre' => match (true) {
|
'titre' => match (true) {
|
||||||
'' !== $variation->get_attribute('pa_giftcard-amount') => $variation->get_attribute( 'pa_giftcard-amount', ),
|
|
||||||
'' !== $variation->get_attribute('pa_side') => $variation->get_attribute('pa_side'),
|
'' !== $variation->get_attribute('pa_side') => $variation->get_attribute('pa_side'),
|
||||||
'' !== $variation->get_attribute('pa_size') => $variation->get_attribute('pa_size'),
|
|
||||||
'' !== $variation->get_attribute('pa_stone') => $variation->get_attribute('pa_stone'),
|
'' !== $variation->get_attribute('pa_stone') => $variation->get_attribute('pa_stone'),
|
||||||
'' !== $variation->get_attribute('pa_material-workshop') => $variation->get_attribute('pa_material-workshop'),
|
'' !== $variation->get_attribute('pa_size') => $variation->get_attribute('pa_size'),
|
||||||
|
'' !== $variation->get_attribute('pa_giftcard-amount') => $variation->get_attribute(
|
||||||
|
'pa_giftcard-amount',
|
||||||
|
),
|
||||||
default => '',
|
default => '',
|
||||||
},
|
},
|
||||||
'prix' => $variation->get_price(),
|
'prix' => $variation->get_price(),
|
||||||
|
|
|
||||||
|
|
@ -222,9 +222,8 @@ function recupere_produits_meme_collection(string $slug_collection): mixed {
|
||||||
|
|
||||||
function recupere_et_formate_attributs_produit(mixed $attributs_produit): mixed {
|
function recupere_et_formate_attributs_produit(mixed $attributs_produit): mixed {
|
||||||
return [
|
return [
|
||||||
'cote' => ['nom' => 'Side', 'valeur' => $attributs_produit['pa_side'] ?? false],
|
|
||||||
'materiel' => ['nom' => 'Material', 'valeur' => $attributs_produit['pa_material-workshop'] ?? false],
|
|
||||||
'pierre' => ['nom' => 'Stone', 'valeur' => $attributs_produit['pa_stone'] ?? false],
|
|
||||||
'taille' => ['nom' => 'Size', 'valeur' => $attributs_produit['pa_size'] ?? false],
|
'taille' => ['nom' => 'Size', 'valeur' => $attributs_produit['pa_size'] ?? false],
|
||||||
|
'pierre' => ['nom' => 'Stone', 'valeur' => $attributs_produit['pa_stone'] ?? false],
|
||||||
|
'cote' => ['nom' => 'Side', 'valeur' => $attributs_produit['pa_side'] ?? false],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
web/app/uploads/2024/09/DSC8400-copie-300x300.jpg
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/09/DSC8400-copie.jpg
Executable file
|
After Width: | Height: | Size: 629 KiB |
BIN
web/app/uploads/2024/09/DSC9148-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/09/DSC9148.jpg
Executable file
|
After Width: | Height: | Size: 269 KiB |
BIN
web/app/uploads/2024/09/DSC9269-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/09/DSC9269.jpg
Executable file
|
After Width: | Height: | Size: 286 KiB |
BIN
web/app/uploads/2024/09/DSC9339-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/09/DSC9339.jpg
Executable file
|
After Width: | Height: | Size: 325 KiB |
BIN
web/app/uploads/2024/09/DSC9760-300x300.jpg
Executable file
|
After Width: | Height: | Size: 18 KiB |
BIN
web/app/uploads/2024/09/DSC9760.jpg
Executable file
|
After Width: | Height: | Size: 444 KiB |
BIN
web/app/uploads/2024/09/DSC9897-300x300.jpg
Executable file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
web/app/uploads/2024/09/DSC9897.jpg
Executable file
|
After Width: | Height: | Size: 814 KiB |
BIN
web/app/uploads/2024/09/DSC9928-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/09/DSC9928.jpg
Executable file
|
After Width: | Height: | Size: 410 KiB |
BIN
web/app/uploads/2024/09/IKKAN-B-arg-300x300.jpg
Executable file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
web/app/uploads/2024/09/IKKAN-B-arg.jpg
Executable file
|
After Width: | Height: | Size: 110 KiB |
BIN
web/app/uploads/2024/09/KARA-B-1-300x300.jpg
Executable file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
web/app/uploads/2024/09/KARA-B-1.jpg
Executable file
|
After Width: | Height: | Size: 316 KiB |
BIN
web/app/uploads/2024/09/PIASU-B-s-300x300.jpg
Executable file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
web/app/uploads/2024/09/PIASU-B-s.jpg
Executable file
|
After Width: | Height: | Size: 120 KiB |
BIN
web/app/uploads/2024/09/trop-petits/HADOU-B.avif
Executable file
|
After Width: | Height: | Size: 16 KiB |
BIN
web/app/uploads/2024/09/trop-petits/HADOU-B.jpg
Executable file
|
After Width: | Height: | Size: 48 KiB |
BIN
web/app/uploads/2024/09/trop-petits/HADOU-B.jxl
Executable file
BIN
web/app/uploads/2024/09/trop-petits/HADOU-B.webp
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/DSC9897.avif
Executable file
|
After Width: | Height: | Size: 157 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/DSC9897.jpg
Executable file
|
After Width: | Height: | Size: 628 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/DSC9897.jxl
Executable file
BIN
web/app/uploads/2024/09/à-redimensionner/DSC9897.webp
Executable file
|
After Width: | Height: | Size: 52 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IKKAN-B2-vrm-copy.avif
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IKKAN-B2-vrm-copy.jpg
Executable file
|
After Width: | Height: | Size: 267 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IKKAN-B2-vrm-copy.jxl
Executable file
BIN
web/app/uploads/2024/09/à-redimensionner/IKKAN-B2-vrm-copy.webp
Executable file
|
After Width: | Height: | Size: 18 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1423.avif
Executable file
|
After Width: | Height: | Size: 119 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1423.jpg
Executable file
|
After Width: | Height: | Size: 445 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1423.jxl
Executable file
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1423.webp
Executable file
|
After Width: | Height: | Size: 90 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1478.avif
Executable file
|
After Width: | Height: | Size: 451 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1478.jpg
Executable file
|
After Width: | Height: | Size: 620 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1478.jxl
Executable file
BIN
web/app/uploads/2024/09/à-redimensionner/IMG_1478.webp
Executable file
|
After Width: | Height: | Size: 160 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/PIASU-B-mix.avif
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/PIASU-B-mix.jpg
Executable file
|
After Width: | Height: | Size: 353 KiB |
BIN
web/app/uploads/2024/09/à-redimensionner/PIASU-B-mix.jxl
Executable file
BIN
web/app/uploads/2024/09/à-redimensionner/PIASU-B-mix.webp
Executable file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 1.8 MiB |
BIN
web/app/uploads/2024/10/BOROBORO-BOaTANEMAKI-BO1a-opti-300x300.jpg
Executable file
|
After Width: | Height: | Size: 19 KiB |
BIN
web/app/uploads/2024/10/BOROBORO-BOaTANEMAKI-BO1a-opti.jpg
Executable file
|
After Width: | Height: | Size: 293 KiB |
BIN
web/app/uploads/2024/10/DSC9138-300x300.jpg
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
web/app/uploads/2024/10/DSC9138.jpg
Executable file
|
After Width: | Height: | Size: 355 KiB |
BIN
web/app/uploads/2024/10/DSC9336-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/10/DSC9336.jpg
Executable file
|
After Width: | Height: | Size: 350 KiB |
BIN
web/app/uploads/2024/10/DSC9341-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/10/DSC9341.jpg
Executable file
|
After Width: | Height: | Size: 674 KiB |
BIN
web/app/uploads/2024/10/DSC9710-300x300.jpg
Executable file
|
After Width: | Height: | Size: 20 KiB |
BIN
web/app/uploads/2024/10/DSC9710.jpg
Executable file
|
After Width: | Height: | Size: 527 KiB |
BIN
web/app/uploads/2024/10/DSC9730-300x300.jpg
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/10/DSC9730.jpg
Executable file
|
After Width: | Height: | Size: 485 KiB |
BIN
web/app/uploads/2024/10/DSC9748-300x300.jpg
Executable file
|
After Width: | Height: | Size: 18 KiB |
BIN
web/app/uploads/2024/10/DSC9748.jpg
Executable file
|
After Width: | Height: | Size: 527 KiB |
BIN
web/app/uploads/2024/10/DSC9763-300x300.jpg
Executable file
|
After Width: | Height: | Size: 18 KiB |
BIN
web/app/uploads/2024/10/DSC9763.jpg
Executable file
|
After Width: | Height: | Size: 506 KiB |
BIN
web/app/uploads/2024/10/DSC9781-1-300x300.jpg
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/10/DSC9781-1.jpg
Executable file
|
After Width: | Height: | Size: 468 KiB |
BIN
web/app/uploads/2024/10/DSC9781-300x300.jpg
Executable file
|
After Width: | Height: | Size: 16 KiB |
BIN
web/app/uploads/2024/10/DSC9781.jpg
Executable file
|
After Width: | Height: | Size: 474 KiB |
BIN
web/app/uploads/2024/10/DSCF7860-300x300.jpg
Executable file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
web/app/uploads/2024/10/DSCF7860.jpg
Executable file
|
After Width: | Height: | Size: 192 KiB |
BIN
web/app/uploads/2024/10/DSCF7869-300x300.jpg
Executable file
|
After Width: | Height: | Size: 13 KiB |
BIN
web/app/uploads/2024/10/DSCF7869.jpg
Executable file
|
After Width: | Height: | Size: 259 KiB |
BIN
web/app/uploads/2024/10/DSCF8674-300x300.jpg
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
web/app/uploads/2024/10/DSCF8674.jpg
Executable file
|
After Width: | Height: | Size: 380 KiB |
BIN
web/app/uploads/2024/10/DSCF8686-300x300.jpg
Executable file
|
After Width: | Height: | Size: 16 KiB |
BIN
web/app/uploads/2024/10/DSCF8686.jpg
Executable file
|
After Width: | Height: | Size: 411 KiB |
BIN
web/app/uploads/2024/10/DSCF8693-300x300.jpg
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
web/app/uploads/2024/10/DSCF8693.jpg
Executable file
|
After Width: | Height: | Size: 348 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 692 KiB |
BIN
web/app/uploads/2024/10/FUYOU-CR-300x300.jpg
Executable file
|
After Width: | Height: | Size: 17 KiB |
BIN
web/app/uploads/2024/10/FUYOU-CR.jpg
Executable file
|
After Width: | Height: | Size: 689 KiB |
BIN
web/app/uploads/2024/10/HADOU-BOoIKKAN-BKIGEN-BJOKOU-Co-300x300.jpg
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
web/app/uploads/2024/10/HADOU-BOoIKKAN-BKIGEN-BJOKOU-Co.jpg
Executable file
|
After Width: | Height: | Size: 330 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-300x300.jpg
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-arg-300x300.jpg
Executable file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-arg.jpg
Executable file
|
After Width: | Height: | Size: 31 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-vrm-1-300x300.jpg
Executable file
|
After Width: | Height: | Size: 14 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-vrm-1.jpg
Executable file
|
After Width: | Height: | Size: 282 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-vrm-300x300.jpg
Executable file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC-vrm.jpg
Executable file
|
After Width: | Height: | Size: 32 KiB |
BIN
web/app/uploads/2024/10/HADOU-EC.jpg
Executable file
|
After Width: | Height: | Size: 437 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR1-s-1-300x300.jpg
Executable file
|
After Width: | Height: | Size: 15 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR1-s-1.jpg
Executable file
|
After Width: | Height: | Size: 406 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR2-arg-300x300.jpg
Executable file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR2-arg.jpg
Executable file
|
After Width: | Height: | Size: 250 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR2-or-300x300.jpg
Executable file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
web/app/uploads/2024/10/HATTARI-CR2-or.jpg
Executable file
|
After Width: | Height: | Size: 278 KiB |
|
Before Width: | Height: | Size: 6.4 KiB |
BIN
web/app/uploads/2024/10/IKKAN-BR-arg-300x300.jpg
Executable file
|
After Width: | Height: | Size: 5.7 KiB |