
Originally Posted by
nagelkruid
It is excellent, thanks a lot, will check out the ship mod in a few as well, cheers.
hah, still very happy with this mod, people like to use it too...
i just looked at re-enabling product notifications as well but when those are enabled i actually want to disable the checkbox when it isn't on stock for the product notification so people don't get confused.
I did this by adding code to includes/modules/sideboxes/product_notifications.php right under the first check
Code:
if ($show_product_notifications == true) {
$check_query = "select count(*) as count
from " . TABLE_PRODUCTS . "
where products_id = '" . (int)$_GET['products_id'] . "'
and products_quantity != 0";
$check = $db->Execute($check_query);
if ($check->fields['count'] <= 0) {
$show_product_notifications= false;
}
else {
}
}
Now it doesn't show the product notification sidebox when the product isn't on stock.
don't mean to spam your thread, thought it was related enough to make a note of it here.
Cheers,
Jeroen
Bookmarks