The 'Back in stock notification' module allows you to subscribe to notifications regarding products being back in stock.
To unsubscribe from a notification list, a client should be able to go to his account and simply uncheck (clear) the box beside the appropriate product and click “Update”. If he doesn't want to unsubscribe from any lists, he should be able to click “Back" to simple leave the page.
But both the "Update" and the "Back" buttons do NOT work. When clicking them, the page is simply reloaded and ALL of the before unchecked (cleared) boxes are set back to checked again!?!?
Has anyone experienced a similar problem???
The HTML source code of the two buttons is the following:
<div class="buttonRow back"><input type="submit" value="Back" style="width: 80px;" /></div>
<div class="buttonRow forward"><input type="submit" value="Update" style="width: 80px;" /></div>
The PHP code for adding the check boxes is the following:
// Add the checkbox
$checkbox = '<input type="checkbox" name="stay_subscribed_to[]" value="' .
$subscribed_notification_lists[$i]['id'] . '" checked="checked" />';
$back_in_stock_notifications_item->setVariable('checkbox', $checkbox);
For me it seems that checkbox is hard set to "checked"... ?!?!?
Help is greatly appreciated!



