June 5, 2015 at 4:22 pm
#4606
Tu Tran
Moderator
Hi,
1/ To to do that, please go to the file skin\frontend\default\sns_nova\css\theme-xxx.css, which is currently using on your site, add the code below:
.products-grid .item .item-inner .item-img .cart-wrap .out-of-stock {
font-size: 116.7%;
text-transform: none;
position: relative;
height: 32px;
padding: 0 23px 0 23px;
border: 1px solid #e5e5e5;
background: #FFF;
border-radius: 18px;
text-align: center;
display: inline-block;
line-height: 32px;
font-weight: bold;
}
to the end of the file.
2/ To solve this issue, please go to the file app\code\local\Sns\Producttabs\Block\List.php, find and replace the code
//$items[$product_obj->id] = $product_obj;
By:
$items[$product_obj->id] = $product_obj;
3/ This is not the single product, and normally there no add to cart button with the out of stock products. I have tried to check on my local, but don’t see that. So please check the config of this one again !
Thanks you,
Useful
Recent Topics
Support Policy
- The time respons: 1-2 days
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7