[-] FO: Availability was not displayed anymore on product listing #PSCFV-5698
This commit is contained in:
1 parent
167da64574
commit
01bee20da6
2 files changed
+2
-6
No files matched your search
+2
-5
@@ -3671,14 +3671,11 @@ class ProductCore extends ObjectModel
|
|||||||
$row['specific_prices'] = $specific_prices;
|
$row['specific_prices'] = $specific_prices;
|
||||||
|
|
||||||
if ($row['id_product_attribute'])
|
if ($row['id_product_attribute'])
|
||||||
{
|
$row['quantity_all_versions'] = Product::getQuantity(
|
||||||
$row['quantity_all_versions'] = $row['quantity'];
|
|
||||||
$row['quantity'] = Product::getQuantity(
|
|
||||||
(int)$row['id_product'],
|
(int)$row['id_product'],
|
||||||
$row['id_product_attribute'],
|
0,
|
||||||
isset($row['cache_is_pack']) ? $row['cache_is_pack'] : null
|
isset($row['cache_is_pack']) ? $row['cache_is_pack'] : null
|
||||||
);
|
);
|
||||||
}
|
|
||||||
else
|
else
|
||||||
$row['quantity'] = Product::getQuantity((int)$row['id_product']);
|
$row['quantity'] = Product::getQuantity((int)$row['id_product']);
|
||||||
|
|
||||||
|
|||||||
@@ -125,7 +125,6 @@ ul#product_list {
|
|||||||
color:#990000
|
color:#990000
|
||||||
}
|
}
|
||||||
#product_list li span.availability {
|
#product_list li span.availability {
|
||||||
display:none;
|
|
||||||
color: #488C40
|
color: #488C40
|
||||||
}
|
}
|
||||||
#product_list li .ajax_add_to_cart_button {
|
#product_list li .ajax_add_to_cart_button {
|
||||||
|
|||||||
Reference in new issue
Block a user