Jump to content

Add 'notify When Available' To Product-List


Recommended Posts

i want to put the  notify when available dialog next to the out of Stock message ( it will save customers a clicks or 2 and they may not know the notification option is available)

ive found the relevant code from product.tpl

<div id="oosHook">
<!-- MODULE MailAlerts -->
<p class="form-group">
<input type="text" id="oos_customer_email" name="customer_email" size="20" value="[email protected]" class="mailalerts_oos_email form-control"></p>
<a href="#" title="Notify me when available" id="mailalert_link" rel="nofollow">Notify me when available</a>

<span id="oos_customer_email_result" style="display:none; display: block;"></span>
<!-- END : MODULE MailAlerts -->

and have added it to product-list.tpl ( about line 220 )


I need to add the JS - I assume its this


whats the 'correct' way to do it  ?







Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...