Hi,
Normally, if a product is Soldout, the SOLDOUT" badge will be displayed. If you want to remove that product completely, it is possible only with a "simple" coding edit; but you should do it very carefully.
Follow my steps.
1- Open this PHP file: /modules/mod_flexible_vm_pros_by_cats/tmpl/default.php
2- Find this line (line # 55):
$j=0; foreach($list_items as $key => $item) {
and replace it with this:
$j=0; foreach($list_items as $key => $item) {
if (($item->product_in_stock - $item->product_ordered) > 1) {
3- Find this line (line # 238):
<span class="flexiblewdSoldout"><?php echo $options->translate_soldout;?></span>
</li>
and replace it with this:
<span class="flexiblewdSoldout"><?php echo $options->translate_soldout;?></span>
</li>
<?php } ?>
And you are good to go. From now on, if any of the product is SOLDOUT, it will be removed from the module completely.
If you like Modern Slider and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Modules/Virtuemart-Modern-Slider-Products-by-Category-Tabs
Rate Modern Slider and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.
Thanks in advance!
Regards,
Support