Ralab_Guest - Version 1.0.1

Version Notes

Ability to automatically convert guest users into registered users.

Added feature to auto-generates password for the new guest users and sends welcome email to these users.

Download this release

Release Info

Developer Kalpesh Balar
Extension Ralab_Guest
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Ralab/Guest/Model/Observer.php CHANGED
@@ -13,6 +13,7 @@ class Ralab_Guest_Model_Observer
13
  {
14
  public function registerGuestUser($observer)
15
  {
 
16
  if (!Mage::getSingleton('guest/config')->isEnabled()) {
17
  return;
18
  }
@@ -37,7 +38,7 @@ class Ralab_Guest_Model_Observer
37
  ->setLastname($lastname)
38
  ->setEmail($email)
39
  ->setPassword($randomPassword)
40
- ->setConfirmation($randomPassword);
41
  ->setPasswordConfirmation($randomPassword);
42
 
43
  $errors = array();
@@ -57,5 +58,6 @@ class Ralab_Guest_Model_Observer
57
  Mage::log($errors);
58
  }
59
  }
 
60
  }
61
  }
13
  {
14
  public function registerGuestUser($observer)
15
  {
16
+ Mage::log(__METHOD__);
17
  if (!Mage::getSingleton('guest/config')->isEnabled()) {
18
  return;
19
  }
38
  ->setLastname($lastname)
39
  ->setEmail($email)
40
  ->setPassword($randomPassword)
41
+ ->setConfirmation($randomPassword)
42
  ->setPasswordConfirmation($randomPassword);
43
 
44
  $errors = array();
58
  Mage::log($errors);
59
  }
60
  }
61
+ return true;
62
  }
63
  }
package.xml CHANGED
@@ -1,26 +1,30 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ralab_Guest</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Adds the ability convert all guest users into registered customers. </summary>
10
- <description>Features Overview&#xD;
11
  &#xD;
12
- - Ability to automatically convert guest users into registered users.&#xD;
 
 
 
 
 
 
13
  &#xD;
14
- - This extension auto-generates password for the new guest users and sends welcome email to these users&#xD;
 
15
  &#xD;
16
- </description>
17
- <notes>- Ability to automatically convert guest users into registered users.&#xD;
18
- &#xD;
19
- - Added feature to auto-generates password for the new guest users and sends welcome email to these users</notes>
20
  <authors><author><name>Kalpesh Balar</name><user>kalpeshbalar</user><email>kalpeshbalar@gmail.com</email></author></authors>
21
- <date>2015-04-09</date>
22
- <time>10:55:50</time>
23
- <contents><target name="magecommunity"><dir name="Ralab"><dir name="Guest"><dir name="Helper"><file name="Data.php" hash="16b0e4fd585dbdfb24b0b61b1991d7a4"/></dir><dir name="Model"><file name="Config.php" hash="61ed3d30d3825c060e1169ceceef46c9"/><file name="Observer.php" hash="9496a05ad83df344f613a2d5b410aaef"/></dir><dir name="etc"><file name="config.xml" hash="24704c1c4e5ae10abe259f8f59590b78"/><file name="system.xml" hash="a72ce5512f3d87da4a0517438b8be2da"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ralab_Guest.xml" hash="ee56818ba74d61f7833f601bdf25a741"/></dir></target></contents>
24
  <compatible/>
25
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
26
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ralab_Guest</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Adds the ability convert guest users into registered customers. </summary>
10
+ <description>&lt;p&gt;Auto Register Guest User is the free and easy to use solution for Magento which enables merchants to automatically register a guest user.&lt;/p&gt;&#xD;
11
  &#xD;
12
+ &lt;p&gt;Features at a glance:&lt;/p&gt;&#xD;
13
+ &lt;ul&gt;&#xD;
14
+ &lt;li&gt;Ability to automatically convert guest users into registered users.&lt;/li&gt;&#xD;
15
+ &lt;li&gt;This extension auto-generates password for the new guest users and sends welcome email to these users&lt;/li&gt;&#xD;
16
+ &lt;li&gt;Supports Paypal Express Checkout&lt;/li&gt;&#xD;
17
+ &lt;li&gt;Developer Friendly&lt;/li&gt;&#xD;
18
+ &lt;/ul&gt;&#xD;
19
  &#xD;
20
+ &lt;p&gt;If you have any questions or feedback, please let me know on kalpeshbalar@gmail.com&lt;/p&gt;</description>
21
+ <notes>Ability to automatically convert guest users into registered users.&#xD;
22
  &#xD;
23
+ Added feature to auto-generates password for the new guest users and sends welcome email to these users.</notes>
 
 
 
24
  <authors><author><name>Kalpesh Balar</name><user>kalpeshbalar</user><email>kalpeshbalar@gmail.com</email></author></authors>
25
+ <date>2015-04-10</date>
26
+ <time>12:23:41</time>
27
+ <contents><target name="magecommunity"><dir name="Ralab"><dir name="Guest"><dir name="Helper"><file name="Data.php" hash="16b0e4fd585dbdfb24b0b61b1991d7a4"/></dir><dir name="Model"><file name="Config.php" hash="61ed3d30d3825c060e1169ceceef46c9"/><file name="Observer.php" hash="23fc6d5dea997438279913d385473a47"/></dir><dir name="etc"><file name="config.xml" hash="24704c1c4e5ae10abe259f8f59590b78"/><file name="system.xml" hash="a72ce5512f3d87da4a0517438b8be2da"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ralab_Guest.xml" hash="ee56818ba74d61f7833f601bdf25a741"/></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
30
  </package>