[-] FO: Availability was not displayed anymore on product listing #PSCFV-5698
This commit is contained in:
+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']);
|
||||||
|
|
||||||
|
|||||||
@@ -117,17 +117,16 @@ ul#product_list {
|
|||||||
#product_list li .content_price {
|
#product_list li .content_price {
|
||||||
margin:26px 0 15px 0;
|
margin:26px 0 15px 0;
|
||||||
}
|
}
|
||||||
#product_list li .price {
|
#product_list li .price {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
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 {
|
||||||
padding-left: 20px
|
padding-left: 20px
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user