[-] 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;
|
||||
|
||||
if ($row['id_product_attribute'])
|
||||
{
|
||||
$row['quantity_all_versions'] = $row['quantity'];
|
||||
$row['quantity'] = Product::getQuantity(
|
||||
$row['quantity_all_versions'] = Product::getQuantity(
|
||||
(int)$row['id_product'],
|
||||
$row['id_product_attribute'],
|
||||
0,
|
||||
isset($row['cache_is_pack']) ? $row['cache_is_pack'] : null
|
||||
);
|
||||
}
|
||||
else
|
||||
$row['quantity'] = Product::getQuantity((int)$row['id_product']);
|
||||
|
||||
|
||||
@@ -117,17 +117,16 @@ ul#product_list {
|
||||
#product_list li .content_price {
|
||||
margin:26px 0 15px 0;
|
||||
}
|
||||
#product_list li .price {
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
font-weight:bold;
|
||||
font-size: 18px;
|
||||
color:#990000
|
||||
}
|
||||
#product_list li span.availability {
|
||||
display:none;
|
||||
#product_list li .price {
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
font-weight:bold;
|
||||
font-size: 18px;
|
||||
color:#990000
|
||||
}
|
||||
#product_list li span.availability {
|
||||
color: #488C40
|
||||
}
|
||||
}
|
||||
#product_list li .ajax_add_to_cart_button {
|
||||
padding-left: 20px
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user