Version Notes
Did we add new features?
Yes
Did you fix a bunch of Bugs?
No
Branched functionality for the FREE version and the PRO version.
The following features are now supported in the PRO Version.
* Amazon style Logins.
* Success page guest to customer create account form.
* Customer Groups.
Download this release
Release Info
Developer | Gareth Price |
Extension | Clearandfizzy_Reducedcheckout |
Version | 1.7.0 |
Comparing to | |
See all releases |
Code changes from version 1.6.4 to 1.7.0
- app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Cms/Block.php +0 -78
- app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Login/Step.php +3 -3
- app/code/community/Clearandfizzy/Reducedcheckout/etc/system.xml +44 -25
- app/code/community/Clearandfizzy/Reducedcheckout/sql/reducedcheckout_setup/install-1.5.1.php +0 -9
- app/design/frontend/base/default/layout/clearandfizzy/reducedcheckout/reducedcheckout.xml +0 -22
- app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage/login.phtml +0 -149
- app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/success/wrapper.phtml +0 -35
- app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/success/wrapper/signup.phtml +0 -85
- package.xml +12 -15
app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Cms/Block.php
DELETED
@@ -1,78 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Clearandfizzy
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
*
|
8 |
-
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
-
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
-
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
-
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
-
|
13 |
-
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
-
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
-
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
-
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
-
* CONDITIONS.
|
18 |
-
*
|
19 |
-
* DISCLAIMER
|
20 |
-
*
|
21 |
-
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
-
* versions in the future. If you wish to customize this extension for your
|
23 |
-
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
-
*
|
25 |
-
* @category Community
|
26 |
-
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c) 2013 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
-
* @license http://creativecommons.org/licenses/by-nd/3.0/ Creative Commons (CC BY-ND 3.0)
|
29 |
-
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
-
*
|
31 |
-
*/
|
32 |
-
class Clearandfizzy_Reducedcheckout_Model_System_Config_Source_Cms_Block
|
33 |
-
{
|
34 |
-
|
35 |
-
protected $_options;
|
36 |
-
|
37 |
-
public function toOptionArray()
|
38 |
-
{
|
39 |
-
return $this->toOptionIdArray();
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Returns pairs identifier - title for unique identifiers
|
44 |
-
* and pairs identifier|block_id - title for non-unique after first
|
45 |
-
*
|
46 |
-
* @return array
|
47 |
-
*/
|
48 |
-
public function toOptionIdArray()
|
49 |
-
{
|
50 |
-
|
51 |
-
if (!$this->_options) {
|
52 |
-
$collection = Mage::getResourceModel('cms/block_collection')->load();
|
53 |
-
|
54 |
-
$this->_options = array();
|
55 |
-
$existingIdentifiers = array();
|
56 |
-
|
57 |
-
// look though collection
|
58 |
-
foreach ($collection as $item) {
|
59 |
-
$identifier = $item->getData('identifier');
|
60 |
-
|
61 |
-
$data['value'] = $identifier;
|
62 |
-
$data['label'] = $item->getData('title');
|
63 |
-
|
64 |
-
if (in_array($identifier, $existingIdentifiers)) {
|
65 |
-
$data['value'] .= '|' . $item->getData('block_id');
|
66 |
-
} else {
|
67 |
-
$existingIdentifiers[] = $identifier;
|
68 |
-
} // end if
|
69 |
-
|
70 |
-
$this->_options[] = $data;
|
71 |
-
} // end for
|
72 |
-
} // end if
|
73 |
-
|
74 |
-
return $this->_options;
|
75 |
-
} // end fun
|
76 |
-
|
77 |
-
|
78 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Login/Step.php
CHANGED
@@ -33,9 +33,9 @@ class Clearandfizzy_Reducedcheckout_Model_System_Config_Source_Login_Step {
|
|
33 |
|
34 |
|
35 |
public function toOptionArray() {
|
36 |
-
return array ( "0" => "Default Magento",
|
37 |
-
"1" => "
|
38 |
-
"2" => "
|
39 |
);
|
40 |
|
41 |
} // end
|
33 |
|
34 |
|
35 |
public function toOptionArray() {
|
36 |
+
return array ( "0" => "Default Magento login",
|
37 |
+
"1" => "Hide login step [Guest Only Checkout]",
|
38 |
+
"2" => "Amazon Style login form",
|
39 |
);
|
40 |
|
41 |
} // end
|
app/code/community/Clearandfizzy/Reducedcheckout/etc/system.xml
CHANGED
@@ -56,7 +56,7 @@
|
|
56 |
<li>Allows forced Shipping method.</li>
|
57 |
<li>Fix for Magento Shipping Tablerates in 1.7.0.2 <a target="_blank" href="http://www.magentocommerce.com/bug-tracking/issue?issue=14069">http://www.magentocommerce.com/bug-tracking/issue?issue=14069</a></li>
|
58 |
<li>Allows you to setup rules based on Customer groups.</li>
|
59 |
-
|
60 |
</ol> ]]></comment>
|
61 |
<expanded>1</expanded>
|
62 |
</reducedcheckout_about>
|
@@ -86,7 +86,21 @@
|
|
86 |
<label>Login Step</label>
|
87 |
<frontend_type>select</frontend_type>
|
88 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_login_step</source_model>
|
89 |
-
<comment>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
<sort_order>20</sort_order>
|
91 |
<show_in_default>1</show_in_default>
|
92 |
<show_in_website>1</show_in_website>
|
@@ -106,7 +120,7 @@
|
|
106 |
|
107 |
<!-- todo: Gp - make this into a drop down menu -->
|
108 |
<default_shipping>
|
109 |
-
<label>
|
110 |
<frontend_type>select</frontend_type>
|
111 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_shipping_enabledMethods</source_model>
|
112 |
<comment>The code for the default shipping method</comment>
|
@@ -118,7 +132,7 @@
|
|
118 |
|
119 |
<default_payment>
|
120 |
<!-- todo: Gp - make this into a drop down menu -->
|
121 |
-
<label>
|
122 |
<frontend_type>select</frontend_type>
|
123 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_payment_enabledMethods</source_model>
|
124 |
<comment>The code for the default payment method</comment>
|
@@ -129,29 +143,25 @@
|
|
129 |
</default_payment>
|
130 |
|
131 |
<register_on_order_success>
|
132 |
-
<label>
|
133 |
<frontend_type>select</frontend_type>
|
134 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
135 |
-
<comment>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
<sort_order>50</sort_order>
|
137 |
<show_in_default>1</show_in_default>
|
138 |
<show_in_website>1</show_in_website>
|
139 |
<show_in_store>1</show_in_store>
|
140 |
</register_on_order_success>
|
141 |
-
|
142 |
-
|
143 |
-
<label>CMS Static Block</label>
|
144 |
-
<frontend_type>select</frontend_type>
|
145 |
-
<source_model>clearandfizzy_reducedcheckout/system_config_source_cms_block</source_model>
|
146 |
-
<comment></comment>
|
147 |
-
<depends><register_on_order_success>1</register_on_order_success></depends>
|
148 |
-
<sort_order>60</sort_order>
|
149 |
-
<show_in_default>1</show_in_default>
|
150 |
-
<show_in_website>1</show_in_website>
|
151 |
-
<show_in_store>1</show_in_store>
|
152 |
-
</register_on_order_success_cms_block>
|
153 |
-
|
154 |
-
<enable28112fix>
|
155 |
<label>Enable Shipping Tablerates Bug #28112 fix</label>
|
156 |
<frontend_type>select</frontend_type>
|
157 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
@@ -172,17 +182,26 @@
|
|
172 |
<show_in_website>1</show_in_website>
|
173 |
<show_in_store>1</show_in_store>
|
174 |
<expanded>1</expanded>
|
175 |
-
<comment><![CDATA[
|
|
|
176 |
<li><h3>Customer Groups Rules</h3></li>
|
177 |
-
|
178 |
-
|
179 |
</ol> ]]></comment>
|
180 |
|
181 |
<fields>
|
182 |
<customergroups_enabled>
|
183 |
<label>Enabled Customer Groups</label>
|
184 |
<frontend_type>select</frontend_type>
|
185 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
<sort_order>1</sort_order>
|
187 |
<show_in_default>1</show_in_default>
|
188 |
<show_in_website>1</show_in_website>
|
56 |
<li>Allows forced Shipping method.</li>
|
57 |
<li>Fix for Magento Shipping Tablerates in 1.7.0.2 <a target="_blank" href="http://www.magentocommerce.com/bug-tracking/issue?issue=14069">http://www.magentocommerce.com/bug-tracking/issue?issue=14069</a></li>
|
58 |
<li>Allows you to setup rules based on Customer groups.</li>
|
59 |
+
<li>For support and tons more features <a target="_blank" style="color: blue;"href="http://www.magentocommerce.com/magento-connect/reduced-checkout-pro-guest-converter.html">Upgrade to the PRO version</a></li>
|
60 |
</ol> ]]></comment>
|
61 |
<expanded>1</expanded>
|
62 |
</reducedcheckout_about>
|
86 |
<label>Login Step</label>
|
87 |
<frontend_type>select</frontend_type>
|
88 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_login_step</source_model>
|
89 |
+
<comment>
|
90 |
+
<![CDATA[
|
91 |
+
<a target="_blank" style="color: blue;"href="http://www.magentocommerce.com/magento-connect/reduced-checkout-pro-guest-converter.html">Upgrade to the PRO version</a></li><br />
|
92 |
+
Select the look of of the login step of the checkout process. For support and tons more features.
|
93 |
+
|
94 |
+
<script>
|
95 |
+
$$('select#clearandfizzy_reducedcheckout_settings_reducedcheckout_loginstep_type option').each(function(o) {
|
96 |
+
if(o.readAttribute('value') == '2') {
|
97 |
+
o.disabled = true;
|
98 |
+
} // end if
|
99 |
+
});
|
100 |
+
</script>
|
101 |
+
|
102 |
+
]]>
|
103 |
+
</comment>
|
104 |
<sort_order>20</sort_order>
|
105 |
<show_in_default>1</show_in_default>
|
106 |
<show_in_website>1</show_in_website>
|
120 |
|
121 |
<!-- todo: Gp - make this into a drop down menu -->
|
122 |
<default_shipping>
|
123 |
+
<label>Shipping Method Step</label>
|
124 |
<frontend_type>select</frontend_type>
|
125 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_shipping_enabledMethods</source_model>
|
126 |
<comment>The code for the default shipping method</comment>
|
132 |
|
133 |
<default_payment>
|
134 |
<!-- todo: Gp - make this into a drop down menu -->
|
135 |
+
<label>Payment Method Step</label>
|
136 |
<frontend_type>select</frontend_type>
|
137 |
<source_model>clearandfizzy_reducedcheckout/system_config_source_payment_enabledMethods</source_model>
|
138 |
<comment>The code for the default payment method</comment>
|
143 |
</default_payment>
|
144 |
|
145 |
<register_on_order_success>
|
146 |
+
<label>Order Success page - Guest to Customer Converter</label>
|
147 |
<frontend_type>select</frontend_type>
|
148 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
149 |
+
<comment>
|
150 |
+
<![CDATA[<a target="_blank" style="color: blue;"href="http://www.magentocommerce.com/magento-connect/reduced-checkout-pro-guest-converter.html">Upgrade to the PRO version</a><br />
|
151 |
+
Enable "Register now" Form on Order Success page - Displays a form encouraging guest users to register.
|
152 |
+
|
153 |
+
<script>
|
154 |
+
Form.Element.disable('clearandfizzy_reducedcheckout_settings_reducedcheckout_register_on_order_success');
|
155 |
+
</script>
|
156 |
+
]]>
|
157 |
+
</comment>
|
158 |
<sort_order>50</sort_order>
|
159 |
<show_in_default>1</show_in_default>
|
160 |
<show_in_website>1</show_in_website>
|
161 |
<show_in_store>1</show_in_store>
|
162 |
</register_on_order_success>
|
163 |
+
|
164 |
+
<enable28112fix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
<label>Enable Shipping Tablerates Bug #28112 fix</label>
|
166 |
<frontend_type>select</frontend_type>
|
167 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
182 |
<show_in_website>1</show_in_website>
|
183 |
<show_in_store>1</show_in_store>
|
184 |
<expanded>1</expanded>
|
185 |
+
<comment><![CDATA[
|
186 |
+
<ol>
|
187 |
<li><h3>Customer Groups Rules</h3></li>
|
188 |
+
<li>This feature will not work if you have chosen to "Hide login step" in the login step options above. This is because a customer needs to login before we can see what group they are in.</li>
|
189 |
+
<li>For support and tons more features <a target="_blank" style="color: blue;"href="http://www.magentocommerce.com/magento-connect/reduced-checkout-pro-guest-converter.html">Upgrade to the PRO version</a></li>
|
190 |
</ol> ]]></comment>
|
191 |
|
192 |
<fields>
|
193 |
<customergroups_enabled>
|
194 |
<label>Enabled Customer Groups</label>
|
195 |
<frontend_type>select</frontend_type>
|
196 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
197 |
+
<comment>
|
198 |
+
<![CDATA[
|
199 |
+
<script>
|
200 |
+
Form.Element.disable('clearandfizzy_reducedcheckout_settings_reducedcheckout_customergroups_customergroups_enabled');
|
201 |
+
</script>
|
202 |
+
|
203 |
+
]]>
|
204 |
+
</comment>
|
205 |
<sort_order>1</sort_order>
|
206 |
<show_in_default>1</show_in_default>
|
207 |
<show_in_website>1</show_in_website>
|
app/code/community/Clearandfizzy/Reducedcheckout/sql/reducedcheckout_setup/install-1.5.1.php
CHANGED
@@ -34,15 +34,6 @@ $installer = $this;
|
|
34 |
|
35 |
$installer->startSetup();
|
36 |
|
37 |
-
$installer->addBlock("<h3>That's great!</h3>
|
38 |
-
<p>Thanks for making a purchase - we recommend you confirm your email address and enter a password so we can create a new account from the details you've given during your checkout.</p>
|
39 |
-
<h4>Benefits</h4>
|
40 |
-
<ul>
|
41 |
-
<ul>
|
42 |
-
<li>Make it easier for you to track your order & get customer support.</li>
|
43 |
-
<li>You won't need to enter all your details again next-time you visit.</li>
|
44 |
-
</ul>
|
45 |
-
</ul>");
|
46 |
|
47 |
|
48 |
$installer->endSetup();
|
34 |
|
35 |
$installer->startSetup();
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
|
39 |
$installer->endSetup();
|
app/design/frontend/base/default/layout/clearandfizzy/reducedcheckout/reducedcheckout.xml
CHANGED
@@ -39,13 +39,6 @@
|
|
39 |
</reference>
|
40 |
</clearandfizzy_checkout_reduced>
|
41 |
|
42 |
-
<clearandfizzy_checkout_reduced_login_custom>
|
43 |
-
<reference name="checkout.onepage.login">
|
44 |
-
<action method="setTemplate"><template>clearandfizzy/reducedcheckout/onepage/login.phtml</template> </action>
|
45 |
-
</reference>
|
46 |
-
</clearandfizzy_checkout_reduced_login_custom>
|
47 |
-
|
48 |
-
|
49 |
<clearandfizzy_checkout_reduced_forceguestonly>
|
50 |
|
51 |
<reference name="content">
|
@@ -75,21 +68,6 @@
|
|
75 |
</reference>
|
76 |
|
77 |
</clearandfizzy_checkout_reduced_skip_shippingmethod>
|
78 |
-
|
79 |
-
<clearandfizzy_checkout_reduced_success_register>
|
80 |
-
<reference name="head">
|
81 |
-
<action method="addCss"><stylesheet>css/clearandfizzy/reducedcheckout.css</stylesheet></action>
|
82 |
-
</reference>
|
83 |
-
|
84 |
-
<reference name="content">
|
85 |
-
<remove name="checkout.success" />
|
86 |
-
<block type="core/template" name="checkout.success.wrapper" template="clearandfizzy/reducedcheckout/success/wrapper.phtml">
|
87 |
-
<block type="checkout/onepage_success" name="checkout.success.2" template="checkout/success.phtml"/>
|
88 |
-
<block type="core/template" name="checkout.success.form.register" template="clearandfizzy/reducedcheckout/success/wrapper/signup.phtml"/>
|
89 |
-
</block>
|
90 |
-
</reference>
|
91 |
-
|
92 |
-
</clearandfizzy_checkout_reduced_success_register>
|
93 |
|
94 |
<clearandfizzy_checkout_reduced_hide_telephonefax>
|
95 |
<reference name="head">
|
39 |
</reference>
|
40 |
</clearandfizzy_checkout_reduced>
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
<clearandfizzy_checkout_reduced_forceguestonly>
|
43 |
|
44 |
<reference name="content">
|
68 |
</reference>
|
69 |
|
70 |
</clearandfizzy_checkout_reduced_skip_shippingmethod>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
<clearandfizzy_checkout_reduced_hide_telephonefax>
|
73 |
<reference name="head">
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage/login.phtml
DELETED
@@ -1,149 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Clearandfizzy
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
*
|
8 |
-
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
-
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
-
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
-
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
-
|
13 |
-
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
-
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
-
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
-
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
-
* CONDITIONS.
|
18 |
-
*
|
19 |
-
* DISCLAIMER
|
20 |
-
*
|
21 |
-
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
-
* versions in the future. If you wish to customize this extension for your
|
23 |
-
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
-
*
|
25 |
-
* @category Community
|
26 |
-
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c) 2013 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
-
* @license http://creativecommons.org/licenses/by-nd/3.0/ Creative Commons (CC BY-ND 3.0)
|
29 |
-
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
-
*
|
31 |
-
*/
|
32 |
-
?>
|
33 |
-
<?php
|
34 |
-
?>
|
35 |
-
<div id="clearandfizzy_reducedcheckout_login" class="">
|
36 |
-
<?php echo $this->getChildHtml('login_before')?>
|
37 |
-
<div class="">
|
38 |
-
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
-
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
40 |
-
|
41 |
-
<div class="">
|
42 |
-
|
43 |
-
<ul class="form-list">
|
44 |
-
<li class="fields">
|
45 |
-
<h2><?php echo $this->__('My Email Address');?></h2>
|
46 |
-
<div class="">
|
47 |
-
<div class="input-box">
|
48 |
-
<input type="text" name="login[username]" class="input-text required-entry validate-email" id="login-email" title="Email" value="" />
|
49 |
-
</div>
|
50 |
-
</div>
|
51 |
-
</li>
|
52 |
-
<li class="fields"> </li>
|
53 |
-
<li class="fields">
|
54 |
-
<h2 class=""><?php echo $this->__('Are you already a customer?') ?></h2>
|
55 |
-
</li>
|
56 |
-
<li class="fields">
|
57 |
-
<ul class="form-list">
|
58 |
-
<li class="control">
|
59 |
-
<input type="radio" name="checkout_method" id="login:guest" value="guest" class="radio" /><label for="login:guest"><?php echo $this->__("No, I'm a new customer") ?></label>
|
60 |
-
</li>
|
61 |
-
<li class="control">
|
62 |
-
<div>
|
63 |
-
<input type="radio" name="checkout_method" id="login:login" value="login" class="radio" checked="checked" /><label for="login:login"><?php echo $this->__('Yes, and my password is') ?></label>
|
64 |
-
<div class="">
|
65 |
-
<div class="input-box">
|
66 |
-
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="login-password" title="Password" value="" />
|
67 |
-
<input name="context" type="hidden" value="checkout" />
|
68 |
-
</div>
|
69 |
-
</div>
|
70 |
-
</li>
|
71 |
-
</ul>
|
72 |
-
</li>
|
73 |
-
|
74 |
-
<li class="fields">
|
75 |
-
<div class="">
|
76 |
-
<button id="submit" type="submit" title="Continue" class="button"><span><span>Continue</span></span></button>
|
77 |
-
</div>
|
78 |
-
</li>
|
79 |
-
</ul>
|
80 |
-
</div>
|
81 |
-
</form>
|
82 |
-
</div>
|
83 |
-
</div>
|
84 |
-
|
85 |
-
<script type="text/javascript">
|
86 |
-
//<![CDATA[
|
87 |
-
var loginForm = new VarienForm('login-form', true);
|
88 |
-
|
89 |
-
$('login-password').observe('keypress', bindLoginPost);
|
90 |
-
$('submit').observe('click', submitCheckout);
|
91 |
-
|
92 |
-
function bindLoginPost(evt){
|
93 |
-
if (evt.keyCode == Event.KEY_RETURN) {
|
94 |
-
loginForm.submit();
|
95 |
-
}
|
96 |
-
}
|
97 |
-
function submitLoginCheckout()
|
98 |
-
{
|
99 |
-
if(loginForm.validator && loginForm.validator.validate()){
|
100 |
-
//$('submit').disabled = true;
|
101 |
-
|
102 |
-
$('login-form').submit();
|
103 |
-
}
|
104 |
-
}
|
105 |
-
|
106 |
-
$('login\:guest').observe('click', bindRadioClick);
|
107 |
-
$('login\:login').observe('click', bindRadioClick);
|
108 |
-
|
109 |
-
function bindRadioClick(e) {
|
110 |
-
|
111 |
-
switch (this.identify()) {
|
112 |
-
|
113 |
-
case "login:guest":
|
114 |
-
$('login-password').value = '';
|
115 |
-
$('login-password').addClassName('disabled');
|
116 |
-
$('login-password').removeClassName('required-entry');
|
117 |
-
$('login-password').removeClassName('validate-password');
|
118 |
-
$('login-password').disable();
|
119 |
-
break;
|
120 |
-
|
121 |
-
case "login:login":
|
122 |
-
$('login-password').removeClassName('disabled');
|
123 |
-
$('login-password').addClassName('required-entry');
|
124 |
-
$('login-password').addClassName('validate-password');
|
125 |
-
$('login-password').enable();
|
126 |
-
break;
|
127 |
-
|
128 |
-
} // end switch
|
129 |
-
|
130 |
-
} // end function
|
131 |
-
|
132 |
-
function submitCheckout(e) {
|
133 |
-
|
134 |
-
if ( $('login\:guest').checked == true ) {
|
135 |
-
submitGuestCheckout(e);
|
136 |
-
} else {
|
137 |
-
submitLoginCheckout();
|
138 |
-
}
|
139 |
-
} // end
|
140 |
-
|
141 |
-
function submitGuestCheckout(e) {
|
142 |
-
$('billing:email').value = $('login-email').value;
|
143 |
-
checkout.setMethod();
|
144 |
-
Event.stop(e);
|
145 |
-
} // end fun
|
146 |
-
|
147 |
-
|
148 |
-
//]]>
|
149 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/success/wrapper.phtml
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Clearandfizzy
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
*
|
8 |
-
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
-
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
-
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
-
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
-
|
13 |
-
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
-
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
-
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
-
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
-
* CONDITIONS.
|
18 |
-
*
|
19 |
-
* DISCLAIMER
|
20 |
-
*
|
21 |
-
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
-
* versions in the future. If you wish to customize this extension for your
|
23 |
-
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
-
*
|
25 |
-
* @category Community
|
26 |
-
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c) 2013 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
-
* @license http://creativecommons.org/licenses/by-nd/3.0/ Creative Commons (CC BY-ND 3.0)
|
29 |
-
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
-
*
|
31 |
-
*/
|
32 |
-
?>
|
33 |
-
<div id="clearandfizzy_reducedcheckout_wrapper">
|
34 |
-
<?php echo $this->getChildHtml('',true, true); ?>
|
35 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/success/wrapper/signup.phtml
DELETED
@@ -1,85 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Clearandfizzy
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
*
|
8 |
-
* THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
9 |
-
* COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
10 |
-
* COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
11 |
-
* AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
12 |
-
|
13 |
-
* BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
14 |
-
* TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
15 |
-
* BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
16 |
-
* CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
17 |
-
* CONDITIONS.
|
18 |
-
*
|
19 |
-
* DISCLAIMER
|
20 |
-
*
|
21 |
-
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
22 |
-
* versions in the future. If you wish to customize this extension for your
|
23 |
-
* needs please refer to http://www.clearandfizzy.com for more information.
|
24 |
-
*
|
25 |
-
* @category Community
|
26 |
-
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c) 2013 Clearandfizzy Ltd. (http://www.clearandfizzy.com)
|
28 |
-
* @license http://creativecommons.org/licenses/by-nd/3.0/ Creative Commons (CC BY-ND 3.0)
|
29 |
-
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
-
*
|
31 |
-
*/
|
32 |
-
?>
|
33 |
-
<?php
|
34 |
-
/*
|
35 |
-
|
36 |
-
<h3>That's great!</h3>
|
37 |
-
<p>Thanks for making a purchase - we recommend you confirm your email address and enter a password so we can create a new account from the details you've given during your checkout.</p>
|
38 |
-
<h4>Benefits</h4>
|
39 |
-
<ul>
|
40 |
-
<ul>
|
41 |
-
<li>Make it easier for you to track your order & get customer support.</li>
|
42 |
-
<li>You won't need to enter all your details again next-time you visit.</li>
|
43 |
-
</ul>
|
44 |
-
</ul>
|
45 |
-
|
46 |
-
*/
|
47 |
-
|
48 |
-
$email = Mage::helper('clearandfizzy_reducedcheckout/order')->getEmail();
|
49 |
-
$cms_block_id = Mage::helper('clearandfizzy_reducedcheckout/data')->getCMSBlockIdForOrderSuccessForm();
|
50 |
-
|
51 |
-
?>
|
52 |
-
<div id="reducedcheckout_success_form_register">
|
53 |
-
<form action="/reducedcheckout/signup" method="post" name="reducedcheckout_success_form">
|
54 |
-
|
55 |
-
<div class="fieldset">
|
56 |
-
<h2 class="legend">Create Account</h2>
|
57 |
-
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId($cms_block_id)->toHtml() ?>
|
58 |
-
|
59 |
-
<ul class="form-list">
|
60 |
-
<li class="fields">
|
61 |
-
<div class="field">
|
62 |
-
<label for="email" class="required"><?php echo $this->__('Email Address');?></label>
|
63 |
-
<div class="input-box">
|
64 |
-
<strong><?php echo $email; ?></strong>
|
65 |
-
</div>
|
66 |
-
</div>
|
67 |
-
|
68 |
-
<div class="field">
|
69 |
-
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password');?></label>
|
70 |
-
<div class="input-box">
|
71 |
-
<input type="password" name="password" class="input-text required-entry validate-password" id="password" title="Password" value="" />
|
72 |
-
</div>
|
73 |
-
</div>
|
74 |
-
|
75 |
-
</li>
|
76 |
-
</ul>
|
77 |
-
|
78 |
-
<div class="buttons-set show">
|
79 |
-
<p class="required">* Required Fields</p>
|
80 |
-
<button type="submit" title="Submit" class="button"><span><span>Create Account</span></span></button>
|
81 |
-
</div>
|
82 |
-
|
83 |
-
</div>
|
84 |
-
</form>
|
85 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
-
<version>1.
|
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>
|
@@ -9,32 +9,29 @@
|
|
9 |
<summary>Reduce the checkout process by force shipping & payment methods, adds "register" form to order success page.</summary>
|
10 |
<description>Extending the standard Magento onepage checkout this ReducedCheckout extension gives you the ability to reduce the number of steps a customer takes to a minimum. 
|
11 |

|
12 |
-
Configure it to remove the login step by forcing guest checkout, force payment and shipping methods to your choosing
|
13 |

|
14 |
Integration with 3rd-party payment and shipping extensions should be easy as this extension makes no modifications to the base templates.
|
15 |

|
16 |
Also
|
17 |
-
* Options to change checkout process based on Customer Group
|
18 |
* Contains a fix for Magento bug #28112 with regards to Shipping Tablerates.
|
19 |
</description>
|
20 |
<notes>Did we add new features?<br />
|
21 |
Yes<br />
|
22 |
<br />
|
23 |
Did you fix a bunch of Bugs?<br />
|
24 |
-
|
25 |
-
<br />
|
26 |
-
Well then, what in funkytown did you do?<br />
|
27 |
-
There is now the option to replace the default Magento login step with a radically different, more user intuitive form. 
|
28 |
-
<br /><br />
|
29 |
-
You now have the option to remove the telephone/fax input field from the checkout process.
|
30 |
-
<br /><br />
|
31 |
-
Updated licences Creative Commons (CC BY-ND 3.0) 
|
32 |
<br />
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
34 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
35 |
-
<date>
|
36 |
-
<time>
|
37 |
-
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><dir name="Helper"><file name="Data.php" hash="360bcfcda7ab1d8a480cff94a2fc2f38"/><file name="Order.php" hash="e1610d6ea46019208c191e19a84bf757"/></dir><dir name="Model"><file name="Observer.php" hash="a9660f900cc765f09f8ef88acc54ac91"/><dir name="Resource"><dir name="Carrier"><file name="TablerateFix.php" hash="0147e5bbe44453db8d41b6cb874a4300"/></dir><file name="Setup.php" hash="c0fea228b595d0c53e2b130d4d9a4630"/></dir><dir name="Signup"><file name="Observer.php" hash="0597c69154bd1782c8c2de2226773cca"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
+
<version>1.7.0</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>
|
9 |
<summary>Reduce the checkout process by force shipping & payment methods, adds "register" form to order success page.</summary>
|
10 |
<description>Extending the standard Magento onepage checkout this ReducedCheckout extension gives you the ability to reduce the number of steps a customer takes to a minimum. 
|
11 |

|
12 |
+
Configure it to remove the login step by forcing guest checkout, force payment and shipping methods to your choosing.
|
13 |

|
14 |
Integration with 3rd-party payment and shipping extensions should be easy as this extension makes no modifications to the base templates.
|
15 |

|
16 |
Also
|
|
|
17 |
* Contains a fix for Magento bug #28112 with regards to Shipping Tablerates.
|
18 |
</description>
|
19 |
<notes>Did we add new features?<br />
|
20 |
Yes<br />
|
21 |
<br />
|
22 |
Did you fix a bunch of Bugs?<br />
|
23 |
+
No<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<br />
|
25 |
+
Branched functionality for the FREE version and the PRO version.
|
26 |
+
<br/><br/>
|
27 |
+
The following features are now supported in the PRO Version.<br/>
|
28 |
+
* Amazon style Logins.<br/>
|
29 |
+
* Success page guest to customer create account form.<br/>
|
30 |
+
* Customer Groups.<br/></notes>
|
31 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
32 |
+
<date>2014-02-14</date>
|
33 |
+
<time>21:00:56</time>
|
34 |
+
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><dir name="Helper"><file name="Data.php" hash="360bcfcda7ab1d8a480cff94a2fc2f38"/><file name="Order.php" hash="e1610d6ea46019208c191e19a84bf757"/></dir><dir name="Model"><file name="Observer.php" hash="a9660f900cc765f09f8ef88acc54ac91"/><dir name="Resource"><dir name="Carrier"><file name="TablerateFix.php" hash="0147e5bbe44453db8d41b6cb874a4300"/></dir><file name="Setup.php" hash="c0fea228b595d0c53e2b130d4d9a4630"/></dir><dir name="Signup"><file name="Observer.php" hash="0597c69154bd1782c8c2de2226773cca"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Login"><file name="Step.php" hash="c59f321d3158fd1727b0774293956b1c"/></dir><dir name="Payment"><file name="EnabledMethods.php" hash="9cabd7136cf931202d50ccea396cbac7"/></dir><dir name="Shipping"><file name="EnabledMethods.php" hash="f5f6439e922886159da6794d7e08e10f"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="OnepageController.php" hash="f1143caa3efb8d7f1b8259119a357b73"/><file name="SignupController.php" hash="fedc8303a528adb123f141e275538af3"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0bb1372118e88ad09fbd1b1d5113dea7"/><file name="config.xml" hash="fd6f40e6e45095bb015c6144f64af08f"/><file name="system.xml" hash="7ad27d73f4203d34d616d1770057c7a9"/></dir><dir name="sql"><dir name="reducedcheckout_setup"><file name="install-1.5.1.php" hash="65c07c4b4b932f673ea3d7184a9121f7"/></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="eaf9b776a4a941a1f5a68d22dcad620d"/></dir></dir></dir><dir name="template"><dir name="clearandfizzy"><dir name="reducedcheckout"><file name="onepage.phtml" hash="53b4539f4d6eeb92a2cbbfa1672790ad"/></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="2122ca5de41c9e6a7b7bd9d6531e82a0"/></dir></dir></dir></dir></dir></dir></target><target name="mageweb"><dir><dir name="js"><dir name="clearandfizzy"><dir name="reducedcheckout"><file name="hidetelephonefax.js" hash="321ce2ed89d3a1958a487c5fd0445d23"/></dir></dir></dir></dir></target></contents>
|
35 |
<compatible/>
|
36 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
37 |
</package>
|