Hi:
For v157+ I'd like to only show the 'Out of Stock' button without a price; when quantity is 0.
Is there already a function for this? Thanks.
Tried this:
/includes/modules/YOUR_TEMPLATE_FOLDER/product_listing.php
Code:/** Show Price When Out of Stock $lc_text = $lc_price; */ if ($listing->fields['products_quantity'] > 0) { $lc_text = $lc_price; } else { $lc_text = ''; }
Bookmarks