This commit is contained in:
2025-04-16 08:26:27 +02:00

View File

@@ -23,7 +23,7 @@ if ($sku) {
$product = $mdb->get('pp_shop_products', '*', ['sku' => $sku]); $product = $mdb->get('pp_shop_products', '*', ['sku' => $sku]);
if ($product) { if ($product) {
$image = $mdb->get('pp_shop_products_images', '*', ['product_id' => $product['id']]); $image = $mdb->get('pp_shop_products_images', '*', ['product_id' => $product['id'], 'ORDER' => [ 'o' => 'ASC' ] ]);
$productDescription = $mdb->get('pp_shop_products_langs', '*', ['product_id' => $product['id'], 'lang_id' => 'pl']); $productDescription = $mdb->get('pp_shop_products_langs', '*', ['product_id' => $product['id'], 'lang_id' => 'pl']);
$productArr = [ $productArr = [