Jump to content

[solved] Mailalerts Out of Stock add Button


Recommended Posts

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 :)

post-452464-0-63857400-1380457874_thumb.png

Edited by Smijn1 (see edit history)
Link to comment
Share on other sites

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:

zsiSWMQ.png

 

 

 

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

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...