Youama Ajax Login and Register
Excellent - Wishlist on product Page Problem
If like me you were having problem with the problem on the wishlist - here's how to fix it. It's a hack, but it works.
Create 2 different buttons for the wishlist, one to show when user is logged out and one when user is logged.
The second button, which is shown to users logged in, is the original magento button.
For me in addto.phtml I have this.
<?php if (Mage::helper('customer')->isLoggedIn() != true) : ?>
<a id="fking-click"class="link-wishlist btn-fave"><span class="icon"></span><span class="default-fave favourite-font"><?php echo $this->__('Favourite') ?></span><span class="done-remove-favourite favourite-font" >
<?php else: ?>
<a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist btn-fave"><span class="icon"></span><span class="default-fave favourite-font"><?php echo $this->__('Favourite') ?></span><span class="done-remove-favourite favourite-font" >
<?php endif; ?>
You then add your id/class of button inside the function - function openCloseWindowEvents() in ajaxlogin.phtml depending if you want it to show register, or login button.
Hope this helps.
December 24, 2013
This extension has great features! bt not working with wishlist
please help this extension is not working with wishlist with if i change the url then its gives me looping of url
December 14, 2013
A great piece of code!
The plugin is great. It works out of the box and the design fits any custom template.
It can easily be modified if you need to.
I am now using this plugin on every project I encounter.
December 6, 2013
all good in 1.7 just little something
First of all thanks for shearing this extension.
the only problem i find is that the add to wishlist functionality dosn't work when it is redirect to the login.
I try for days but no luck.
Changing the profileUrl to:
profileUrl : '<?php echo Mage::getBaseUrl() ?>customer/account/edit',
It is fine to load the login form on the product page but not from the add to wishlist.
I try the "hack" on one of the messages:
changing the acountController.php to
$this->_url = Mage::getBaseUrl() . '?yregister';
$this->_url = Mage::helper("core/url")->getCurrentUrl() . '?yregister';
but i only get a loop of yregisters.
any clue how to fix this?
November 5, 2013
This extension work without problems and the developers keep it as simple as possible. It is easy to customize!
November 5, 2013
Thanks, working on 1.8 CE, no issues till now. thanks again
November 4, 2013
Not working fully
I can login only through Firefox, other browsers such as IE or Chrome redirect me to register after successful login.
November 1, 2013
Is a great extension.
I've changed in youama_ajaxlogin.xml :
<reference name="content"> with
<reference name="after_body_start"> to avoid problems with tablets and phones.
October 17, 2013
Not working on Mag 1.5
Firstly thanks for sharing this extension with the community for free. Good job.
I have installed the latest version on Mag 1.5 version but it is not working.
When the login pop up appears and I enter the username and password it stays on the same screen and just shows progress gif.
But If i refresh the page it actually logs me in. SO the redirect after successful login isnt working for me.
Secondly, I tried the options on other reviews to leave the page on current url by editing accountcontroller and profile url but it ends up with a redirect issue.
Could you please help me sort these issues as I really like your extension and want to use is.
September 19, 2013
awesome extension work for me............. :) thank u.......
August 31, 2013