Smijn1 Posted September 29, 2013 Share Posted September 29, 2013 (edited) Hi, I'm using PS 1.5.4.1 with a custom theme (leotracy by leotheme). I have got the mailalerts module enabled for the out of stock items, so that customers can leave their e-mail address and will be notified by e-mail when a product is available again. Right now there's a inputbox for the e-mailadresses and right below it says 'notify me when available', but it's plain text and I would like that to be a button with this text. How can I do this? Thanks in advance. I have attached an image, it's in dutch but I think you'll know what I mean Edited September 29, 2013 by Smijn1 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2013 Share Posted September 29, 2013 in modules/mailalerts/views/templates/hook/product.tpl file just add class="button" to this: <a href="#" title="{l s='Notify me when available' mod='mailalerts'}" onclick="return addNotification();" id="mailalert_link" rel="nofollow">{l s='Notify me when available' mod='mailalerts'}</a> effect: code with class="button": <a class="button" href="#" title="{l s='Notify me when available' mod='mailalerts'}" onclick="return addNotification();" id="mailalert_link" rel="nofollow">{l s='Notify me when available' mod='mailalerts'}</a> Link to comment Share on other sites More sharing options...
Smijn1 Posted September 29, 2013 Author Share Posted September 29, 2013 Awesome, thanks so much Vekia! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now