Version Notes
Did we add new features?
Yes
Did you fix a bunch of Bugs?
Yes
Well then, what in funkytown did you do?
Added a fix for logged in users when forceguest checkout was enabled.
You can now enable a Registration form on the order success page to convert those guest checkout people.
Download this release
Release Info
Developer | Gareth Price |
Extension | Clearandfizzy_Reducedcheckout |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer.php
CHANGED
@@ -20,7 +20,9 @@ class Clearandfizzy_Reducedcheckout_Model_Observer extends Mage_Core_Model_Obser
|
|
20 |
$update->addHandle('clearandfizzy_checkout_reduced');
|
21 |
|
22 |
// should we remove the login step..
|
23 |
-
if (
|
|
|
|
|
24 |
$update->addHandle('clearandfizzy_checkout_reduced_forceguestonly');
|
25 |
} // end
|
26 |
|
@@ -37,7 +39,7 @@ class Clearandfizzy_Reducedcheckout_Model_Observer extends Mage_Core_Model_Obser
|
|
37 |
} // end
|
38 |
|
39 |
|
40 |
-
|
41 |
if ( array_search('checkout_onepage_success', $handles) == true ) {
|
42 |
|
43 |
$update = $observer->getEvent()->getLayout()->getUpdate();
|
20 |
$update->addHandle('clearandfizzy_checkout_reduced');
|
21 |
|
22 |
// should we remove the login step..
|
23 |
+
if (
|
24 |
+
Mage::getSingleton('customer/session')->isLoggedIn() == false &&
|
25 |
+
Mage::helper('clearandfizzy_reducedcheckout/data')->isGuestCheckoutOnly() == true) {
|
26 |
$update->addHandle('clearandfizzy_checkout_reduced_forceguestonly');
|
27 |
} // end
|
28 |
|
39 |
} // end
|
40 |
|
41 |
|
42 |
+
//checkout_onepage_success
|
43 |
if ( array_search('checkout_onepage_success', $handles) == true ) {
|
44 |
|
45 |
$update = $observer->getEvent()->getLayout()->getUpdate();
|
app/code/community/Clearandfizzy/Reducedcheckout/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
|
4 |
<modules>
|
5 |
<Clearandfizzy_Reducedcheckout>
|
6 |
-
<version>1.5.
|
7 |
</Clearandfizzy_Reducedcheckout>
|
8 |
</modules>
|
9 |
|
3 |
|
4 |
<modules>
|
5 |
<Clearandfizzy_Reducedcheckout>
|
6 |
+
<version>1.5.2</version>
|
7 |
</Clearandfizzy_Reducedcheckout>
|
8 |
</modules>
|
9 |
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage.phtml
CHANGED
@@ -26,7 +26,9 @@
|
|
26 |
|
27 |
<?php
|
28 |
// this is to enable forced guest checkout
|
29 |
-
if (
|
|
|
|
|
30 |
?>
|
31 |
Element.hide('register-customer-password');
|
32 |
checkout.gotoSection('billing');
|
@@ -37,6 +39,6 @@
|
|
37 |
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('reducedcheckout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('reducedcheckout/onepage/saveShipping') ?>','<?php echo $this->getUrl('reducedcheckout/onepage/shippingMethod') ?>');
|
38 |
var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('reducedcheckout/onepage/saveShippingMethod') ?>");
|
39 |
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('reducedcheckout/onepage/savePayment') ?>');
|
40 |
-
|
41 |
//]]>
|
42 |
</script>
|
26 |
|
27 |
<?php
|
28 |
// this is to enable forced guest checkout
|
29 |
+
if (Mage::getSingleton('customer/session')->isLoggedIn() == false &&
|
30 |
+
$this->helper('clearandfizzy_reducedcheckout/data')->isGuestCheckoutOnly() == true
|
31 |
+
) {
|
32 |
?>
|
33 |
Element.hide('register-customer-password');
|
34 |
checkout.gotoSection('billing');
|
39 |
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('reducedcheckout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('reducedcheckout/onepage/saveShipping') ?>','<?php echo $this->getUrl('reducedcheckout/onepage/shippingMethod') ?>');
|
40 |
var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('reducedcheckout/onepage/saveShippingMethod') ?>");
|
41 |
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('reducedcheckout/onepage/savePayment') ?>');
|
42 |
+
|
43 |
//]]>
|
44 |
</script>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
-
<version>1.5.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nd/3.0/">CC BY-ND 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -31,8 +31,8 @@ You can now enable a Registration form on the order success page to convert thos
|
|
31 |
</notes>
|
32 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
33 |
<date>2013-09-16</date>
|
34 |
-
<time>
|
35 |
-
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><dir name="Helper"><file name="Data.php" hash="3d2c90f0621f5eaf5f83d4b2907bef1b"/><file name="Order.php" hash="7767797ecc49d77744772711edc34309"/></dir><dir name="Model"><file name="Observer.php" hash="
|
36 |
<compatible/>
|
37 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
38 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
+
<version>1.5.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nd/3.0/">CC BY-ND 3.0</license>
|
7 |
<channel>community</channel>
|
31 |
</notes>
|
32 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
33 |
<date>2013-09-16</date>
|
34 |
+
<time>22:49:47</time>
|
35 |
+
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><dir name="Helper"><file name="Data.php" hash="3d2c90f0621f5eaf5f83d4b2907bef1b"/><file name="Order.php" hash="7767797ecc49d77744772711edc34309"/></dir><dir name="Model"><file name="Observer.php" hash="2c060b32f5fd0be45e936d83e6f410f1"/><dir name="Resource"><dir name="Carrier"><file name="TablerateFix.php" hash="0a8685c145d95ae76b838d2af2b88638"/></dir><file name="Setup.php" hash="a61d7b6fc72e35a85b614adfa7bdb0de"/></dir><dir name="Signup"><file name="Observer.php" hash="dae40c461569f1d47032fa7490aea1e3"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Cms"><file name="Block.php" hash="c81fc3cf02fe8eed1685c2db80c84198"/></dir><dir name="Payment"><file name="EnabledMethods.php" hash="f6b69e6fc6697870c53c6c86dbd68e98"/></dir><dir name="Shipping"><file name="EnabledMethods.php" hash="5cf16d02a105f9699e4258bb5bc57364"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="OnepageController.php" hash="8d8d7ee733035d27a202cbd277041267"/><file name="SignupController.php" hash="aa5a86065a4722d069627635188b72e4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0bb1372118e88ad09fbd1b1d5113dea7"/><file name="config.xml" hash="0fc5c6d66851e7bdb834a360d609729d"/><file name="system.xml" hash="aaf0aa503322d55543ba741d07fa759b"/></dir><dir name="sql"><dir name="reducedcheckout_setup"><file name="install-1.5.1.php" hash="c938aa01bcb1c36461fb9f3e2145ec03"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clearandfizzy_ReducedCheckout.xml" hash="9cb58e8121e0c0e294f10a3595b2be7d"/></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="clearandfizzy"><dir name="reducedcheckout"><file name="reducedcheckout.xml" hash="7613031b17573e99fda0cdc79437d9f7"/></dir></dir></dir><dir name="template"><dir name="clearandfizzy"><dir name="reducedcheckout"><file name="onepage.phtml" hash="df2ff5c95137c2260b0f718790a67cff"/><dir name="success"><dir name="wrapper"><file name="signup.phtml" hash="e9268dd4f9857a78a50ccbab3a084cb0"/></dir><file name="wrapper.phtml" hash="5adda37a860234711644153b757ad53e"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="clearandfizzy"><file name="reducedcheckout.css" hash="4a00abdcb804c0c08efec311acc320cb"/></dir></dir></dir></dir></dir></dir></target></contents>
|
36 |
<compatible/>
|
37 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
38 |
</package>
|