Compare commits
1 Commits
main
...
73d39b49ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 73d39b49ea |
+1
-1
@@ -111,7 +111,7 @@ function normalizeProduct(array $p): array
|
||||
'category' => normalizeText($p['category'] ?? $p['CATEGORIA'] ?? $p['CATEGORY'] ?? ''),
|
||||
'colors' => normalizeText($p['colors'] ?? $p['COLORS'] ?? $p['VIDRE'] ?? ''),
|
||||
'description' => normalizeText($p['description'] ?? $p['DESCRIPCIO'] ?? $p['DESCRIPTION'] ?? ''),
|
||||
'image_url' => $filename ? "https://kapvoe-portfoli.treblarella.org/assets/products/$filename" : '',
|
||||
'image_url' => $filename ? "https://img.treblarella.org/assets/products/$filename" : '',
|
||||
'stock' => normalizeStock($p['stock'] ?? $p['STOCK'] ?? 0),
|
||||
'top_vendes' => normalizeBool($p['top_vendes'] ?? $p['TOP_VENDES'] ?? false),
|
||||
'europe_price_number' => $priceNumber,
|
||||
|
||||
Reference in New Issue
Block a user