Stock Status bug?

This topic has been marked as not resolved.

In the Bestseller Prodcut Module using OC 2.0.2 and Pav 1.2.5

Even though Stock Status and add to cart button is enabled by default it doesn’t show on the home page.

I had to change widget/_list_product.tpl

<?php if ($product['show_cart'] && $product['quantity'] < 1 && !$config_stock_checkout): ?>
<p class="tb_label_stock_status"><?php echo $product['stock_status']; ?></p>
<?php endif; ?>

to

<?php if ($product['quantity'] < 1 && !$config_stock_checkout): ?>
<p class="tb_label_stock_status"><?php echo $product['stock_status']; ?></p>
<?php endif; ?>

After that is working, was this a bug?

  • This reply was modified 3300 days ago by  steven2.
April 21, 2015 at 10:39 pm #40266
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
April 28, 2015 at 5:24 pm #40395
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.