Rhobur Posted July 3, 2010 Share Posted July 3, 2010 Hello again,When clicking on "notify when available" link nothing happens; I see that the link ends with # so it doesn't go anywhere.How can I make it work ?TIAR. Link to comment Share on other sites More sharing options...
paul.las Posted July 3, 2010 Share Posted July 3, 2010 i would like to know this also................. Link to comment Share on other sites More sharing options...
rocky Posted July 3, 2010 Share Posted July 3, 2010 The link uses Javascript. Are there any Javascript errors on your page that may prevent it from working? Link to comment Share on other sites More sharing options...
paul.las Posted July 4, 2010 Share Posted July 4, 2010 im using firefox and can not see any errors on the page Link to comment Share on other sites More sharing options...
Rhobur Posted July 4, 2010 Author Share Posted July 4, 2010 No. there is none I can see, here's an example:Page is http://www.caprice-shop.ro/lang-en/verighete/9402-verighete-gerstner-ger70284.htmland notify link is like this http://www.caprice-shop.ro/lang-en/verighete/9402-verighete-gerstner-ger70284.html#it doesn't matter if i input an email address or not in the upper text box. Link to comment Share on other sites More sharing options...
phrasespot Posted September 9, 2010 Share Posted September 9, 2010 This is due to missing escape sequences. Open the file [presta_base]/modules/mailalerts/product.tpl and change function addNotification() { $.ajax({ type: 'POST', url: '{$base_dir}modules/mailalerts/mailalerts-ajax_add.php', data: 'id_product={/literal}{$id_product}{literal}&id;_product_attribute='+$('#idCombination').val()+'&customer;_email='+$('#oos_customer_email').val()+'', success: function (msg) { if (msg == '1') { $('#mailalert_link').hide(); $('#oos_customer_email').hide(); $('#oosHook').html("{l s='Request notification registered' mod='mailalerts'}"); } } }); return false; }{/literal} enclosing {$base_dir} and {l s='Request notification registered' mod='mailalerts'} between {/literal}...{literal}to: function addNotification() { $.ajax({ type: 'POST', url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_add.php', data: 'id_product={/literal}{$id_product}{literal}&id;_product_attribute='+$('#idCombination').val()+'&customer;_email='+$('#oos_customer_email').val()+'', success: function (msg) { if (msg == '1') { $('#mailalert_link').hide(); $('#oos_customer_email').hide(); $('#oosHook').html("{/literal}{l s='Request notification registered' mod='mailalerts'}{literal}"); } } }); return false; }{/literal} enclosing {$base_dir} and {l s='Request notification registered' mod='mailalerts'} between {/literal}...{literal} Link to comment Share on other sites More sharing options...
DsToys Posted September 13, 2010 Share Posted September 13, 2010 Thak you phrasespot!!!!!I was having this problem too. 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