Poprawa kolejności pobierania obrazów produktów w metodzie get_product_sku
This commit is contained in:
@@ -25,7 +25,7 @@ if ($sku)
|
||||
|
||||
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']);
|
||||
|
||||
$productArr = [
|
||||
|
||||
Reference in New Issue
Block a user