Version Notes
Did we add new features?
Yes
Did you fix a bunch of Bugs?
Yes
Integrated Notifications to better communicate extension updates and bugfixes to users.
Download this release
Release Info
Developer | Gareth Price |
Extension | Clearandfizzy_Reducedcheckout |
Version | 1.10.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.10.0
- app/code/community/Clearandfizzy/Reducedcheckout/ABOUT.html +64 -0
- app/code/community/Clearandfizzy/Reducedcheckout/Helper/Data.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Helper/Order.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Helper/Url.php +1 -1
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Notification/Feed.php +52 -0
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/.DS_Store +0 -0
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/Notification/Feed.php +40 -0
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/Signup.php +0 -106
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Resource/Carrier/TablerateFix.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Model/Resource/Setup.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Login/Step.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Payment/Enabledmethods.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Shipping/Enabledmethods.php +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/README.txt +3 -0
- app/code/community/Clearandfizzy/Reducedcheckout/controllers/OnepageController.php +31 -20
- app/code/community/Clearandfizzy/Reducedcheckout/controllers/SignupController.php +0 -72
- app/code/community/Clearandfizzy/Reducedcheckout/etc/adminhtml.xml +2 -2
- app/code/community/Clearandfizzy/Reducedcheckout/etc/config.xml +22 -5
- app/code/community/Clearandfizzy/Reducedcheckout/etc/system.xml +10 -4
- app/code/community/Clearandfizzy/Reducedcheckout/sql/reducedcheckout_setup/install-1.5.1.php +2 -2
- app/design/frontend/base/default/layout/clearandfizzy/reducedcheckout/reducedcheckout.xml +2 -2
- app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage.phtml +1 -1
- package.xml +6 -8
app/code/community/Clearandfizzy/Reducedcheckout/ABOUT.html
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p>Customise, reduce and replace your Magento checkout process with a simple plugin</p>
|
2 |
+
|
3 |
+
<h2>About Reduced Checkout</h2>
|
4 |
+
<p>As a developer and business owner myself I was fed up with having to deal with
|
5 |
+
intentionally obfuscated Magento extensions, so took the route of developing an
|
6 |
+
extension based on the needs and wants of myself and my clients - the result was this
|
7 |
+
extension, clearly written and documented.</p>
|
8 |
+
|
9 |
+
<p>Magento is notoriously time consuming and costly to customise. The checkout is probably the worst part of all - a small error here can cost you big money.</p>
|
10 |
+
|
11 |
+
<h2>User Experience</h2>
|
12 |
+
<p> If you only have one payment method and/or one shipping method you can now remove the payment step altogether - stop forcing customers to go through this pointless conversion killing step!</p>
|
13 |
+
|
14 |
+
<h2>Key Features</h2>
|
15 |
+
<p>
|
16 |
+
<strong>*</strong> Shipping - One shipping method? Remove the shipping step altogether.
|
17 |
+
<br /> <strong>*</strong> Payment - One payment method? Remove this step also.
|
18 |
+
<br /><strong>*</strong> Remove the Fax field and/or telephone field.
|
19 |
+
<br /><strong>*</strong> Integration with 3rd-party payment and shipping extensions should be easy as this extension makes no modifications to the base templates.
|
20 |
+
</p>
|
21 |
+
|
22 |
+
<h2>Why not upgrade to PRO?</h2>
|
23 |
+
<p>If you like the free version, make sure you checkout <a href="http://www.magentocommerce.com/magento-connect/reduced-checkout-pro-guest-converter.html">Reduced Checkout PRO + Guest Converter</a>. The PRO edition includes the free features plus:
|
24 |
+
<br />
|
25 |
+
<br /> <strong>*</strong> Login - Amazon style login - you now have the option to enabled an Amazon style login with guest checkout.
|
26 |
+
<br /> <strong>*</strong> Login - Alternatively force "Guest Only Checkout", customers won't ever be asked to login or create an account.
|
27 |
+
<br /> <strong>*</strong> Success Page - Customisable order success page - now you can manage this page using the CMS.
|
28 |
+
<br /> <strong>*</strong> Success page - Guest users can simply convert their account to a full user account by entering a password.
|
29 |
+
<br />
|
30 |
+
<br /> Streamline the checkout process further by removing as many outbound links / checkout distractions as possible.<br />
|
31 |
+
<br /> <strong>*</strong> Clear the Header block of links.
|
32 |
+
<br /> <strong>*</strong> Enabled One Column Layout.
|
33 |
+
<br /> <strong>*</strong> Hide "Edit Your Cart" on checkout.
|
34 |
+
<br /> <strong>*</strong> Hide Empty-Cart Button.
|
35 |
+
<br /> <strong>*</strong> Hide Cross-sells block.
|
36 |
+
<br /> <strong>*</strong> Hide Estimate Delivery block.
|
37 |
+
<br /> <strong>*</strong> Hide Discount Code block.
|
38 |
+
<br /> <strong>*</strong> Remove the Fax field and/or telephone field, via a simple adman dropdown.
|
39 |
+
<br /> <strong>*</strong> Change the checkout experience for different customer groups. Want your wholesale partners to have a choice of payment or methods but not your retail customer? No problem - just select the right option in the plugin configuration.
|
40 |
+
<br />
|
41 |
+
<br /><strong>*</strong> PRO comes with a 30 day money back guarantee and six months email support.
|
42 |
+
</p>
|
43 |
+
|
44 |
+
<h2>Support and Guarantee</h2>
|
45 |
+
<p>This is a FREE plugin and comes with limited email support.
|
46 |
+
<br />Please note that this extension is provided as is. It is recommended to always backup your installation prior to use.
|
47 |
+
</p>
|
48 |
+
|
49 |
+
<h2>FAQ</h2>
|
50 |
+
<p>
|
51 |
+
Here are a list of Frequently Asked Questions and quick tips.
|
52 |
+
<br/>
|
53 |
+
<br /> <strong>Q</strong>. After step 1 of the checkout I am redirected to the page of my cart page.
|
54 |
+
<br /> <strong>A</strong>. Quite often i see clients using an incorrect shipping method or payment method.
|
55 |
+
(for example i see alot of companies incorrectly using “Zero Subtotal Checkout”).
|
56 |
+
<br /> <strong>A</strong>. If you're on a https:// url make sure the javascript is also being requested via https:// by viewing the html source.
|
57 |
+
<br />
|
58 |
+
<br /> <strong>Q</strong>. Skip Shipping / Skip Payment drop downs are not populated with my enabled methods.
|
59 |
+
<br /> <strong>A</strong>. On rare occassions Magento Connect has not installed the package correctly (Creating folders rather than files on some OS's). Confirm the following exist as files rather than folders.
|
60 |
+
<br /> app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Shipping/Enabledmethods.php
|
61 |
+
<br /> app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Payment/Enabledmethods.php
|
62 |
+
<br /> Delete these folders and attempt to uninstall and re-install the extension.
|
63 |
+
|
64 |
+
</p>
|
app/code/community/Clearandfizzy/Reducedcheckout/Helper/Data.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Helper/Order.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Helper/Url.php
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
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 |
*
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 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 |
*
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Notification/Feed.php
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
class Clearandfizzy_Reducedcheckout_Model_Notification_Feed extends Mage_AdminNotification_Model_Feed {
|
33 |
+
|
34 |
+
const XML_FEED_URL_PATH = 'clearandfizzy_reducedcheckout_settings/adminnotification/feed_url';
|
35 |
+
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Because we're using Constants we need to pull this code into the right scope.
|
39 |
+
* (non-PHPdoc)
|
40 |
+
* @see Mage_AdminNotification_Model_Feed::getFeedUrl()
|
41 |
+
*/
|
42 |
+
public function getFeedUrl()
|
43 |
+
{
|
44 |
+
|
45 |
+
if (is_null($this->_feedUrl)) {
|
46 |
+
$this->_feedUrl = 'http://' . Mage::getStoreConfig(self::XML_FEED_URL_PATH);
|
47 |
+
}
|
48 |
+
|
49 |
+
return $this->_feedUrl;
|
50 |
+
}
|
51 |
+
|
52 |
+
} // end
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/.DS_Store
ADDED
Binary file
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/Notification/Feed.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
+
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
class Clearandfizzy_Reducedcheckout_Model_Observer_Notification_Feed {
|
33 |
+
|
34 |
+
public function preDispatch() {
|
35 |
+
$model = Mage::getModel('clearandfizzy_reducedcheckout/notification_feed');
|
36 |
+
|
37 |
+
$model->checkUpdate();
|
38 |
+
} // end
|
39 |
+
|
40 |
+
} // end
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Observer/Signup.php
DELETED
@@ -1,106 +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) 2014 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_Observer_Signup extends Mage_Core_Model_Observer {
|
33 |
-
|
34 |
-
protected $_helper;
|
35 |
-
|
36 |
-
public function __construct() {
|
37 |
-
$this->_helper = Mage::helper('clearandfizzy_reducedcheckout/order');
|
38 |
-
} // end
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Observes the user register event.
|
42 |
-
* If a guest customer decides to register then we should assign the order to that new customer account
|
43 |
-
*
|
44 |
-
* @param Varien_Event_Observer $observer
|
45 |
-
*/
|
46 |
-
|
47 |
-
public function checkCustomerCreated(Varien_Event_Observer $observer) {
|
48 |
-
$helper = $this->_helper;
|
49 |
-
|
50 |
-
// if this session key does not exist then we have nothing to do
|
51 |
-
if (Mage::registry($helper->getSessionKey()) == false) {
|
52 |
-
return;
|
53 |
-
} // end if
|
54 |
-
|
55 |
-
$customer = $observer->getCustomer();
|
56 |
-
$order = $helper->getOrder();
|
57 |
-
|
58 |
-
$address = Mage::getModel('customer/address');
|
59 |
-
$billing = $order->getBillingAddress();
|
60 |
-
$shipping = $order->getShippingAddress();
|
61 |
-
|
62 |
-
// assign this order to the current customer
|
63 |
-
$order = $this->_assignCustomerToOrder($order, $customer);
|
64 |
-
|
65 |
-
// assign bill and shipping to the customer
|
66 |
-
$billing = $this->_prepareAddress($billing, $customer);
|
67 |
-
$address->setData($billing->getData());
|
68 |
-
$customer->addAddress($address);
|
69 |
-
$customer->save();
|
70 |
-
|
71 |
-
// un-register this key
|
72 |
-
Mage::unregister($helper->getSessionKey());
|
73 |
-
|
74 |
-
return true;
|
75 |
-
} // end
|
76 |
-
|
77 |
-
/**
|
78 |
-
* Assign a customer to an order
|
79 |
-
* @param unknown $order
|
80 |
-
* @param unknown $customer
|
81 |
-
* @return unknown
|
82 |
-
*/
|
83 |
-
protected function _assignCustomerToOrder($order, $customer) {
|
84 |
-
|
85 |
-
// assign the customer to the order
|
86 |
-
$order->setCustomerId($customer->getId());
|
87 |
-
$order->save();
|
88 |
-
|
89 |
-
return $order;
|
90 |
-
}
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Remove some values from the address
|
94 |
-
* @param unknown $address
|
95 |
-
* @param unknown $customer
|
96 |
-
* @return unknown
|
97 |
-
*/
|
98 |
-
protected function _prepareAddress($address, $customer) {
|
99 |
-
$address->unsetData('entity_id');
|
100 |
-
$address->setCustomerId($customer->getId());
|
101 |
-
$address->setIsDefaultBilling(true);
|
102 |
-
|
103 |
-
return $address;
|
104 |
-
} // end
|
105 |
-
|
106 |
-
} // end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Resource/Carrier/TablerateFix.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/Resource/Setup.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Login/Step.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Payment/Enabledmethods.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/Model/System/Config/Source/Shipping/Enabledmethods.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/README.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
ABOUT
|
2 |
+
--
|
3 |
+
Customise, reduce and replace your Magento checkout process with a simple plugin.
|
app/code/community/Clearandfizzy/Reducedcheckout/controllers/OnepageController.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
@@ -127,10 +127,10 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
127 |
// attempt to load the next section
|
128 |
if ( $gotonext == true ) {
|
129 |
$result = $this->getNextSection($result, $current = 'shippingmethod');
|
130 |
-
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
131 |
} // end if
|
132 |
|
133 |
-
|
|
|
134 |
} // end
|
135 |
|
136 |
/**
|
@@ -142,27 +142,39 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
142 |
if ($this->_expireAjax()) {
|
143 |
return;
|
144 |
} // end if
|
145 |
-
|
|
|
|
|
|
|
|
|
|
|
146 |
// this is the default way
|
147 |
-
|
148 |
-
|
149 |
// override the default value if we need to
|
150 |
if ( $this->_helper->skipPaymentMethod() == true) {
|
151 |
$payment = $this->_helper->getPaymentMethod();
|
152 |
$data = array('method' => $payment);
|
153 |
} // end if
|
154 |
|
|
|
155 |
$result = $this->getOnepage()->savePayment($data);
|
156 |
|
157 |
// get section and redirect data
|
158 |
$redirectUrl = $this->getOnepage()->getQuote()->getPayment()->getCheckoutRedirectUrl();
|
159 |
|
|
|
|
|
|
|
|
|
|
|
160 |
// attempt to load the next section
|
161 |
if ( $gotonext == true ) {
|
162 |
$result = $this->getNextSection($result, $current = 'payment');
|
163 |
-
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
164 |
} // end if
|
165 |
-
|
|
|
|
|
166 |
} // end
|
167 |
|
168 |
/**
|
@@ -187,9 +199,10 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
187 |
// attempt to load the next section
|
188 |
if ( $gotonext == true ) {
|
189 |
$result = $this->getNextSection($result, $current = 'billing');
|
190 |
-
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
191 |
} // end if
|
192 |
|
|
|
|
|
193 |
} // end
|
194 |
|
195 |
/**
|
@@ -210,7 +223,6 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
210 |
$this->saveMethodAction();
|
211 |
} // end if
|
212 |
|
213 |
-
|
214 |
$data = $this->getRequest()->getPost('billing', array());
|
215 |
$customerAddressId = $this->getRequest()->getPost('billing_address_id', false);
|
216 |
|
@@ -243,7 +255,7 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
243 |
|
244 |
} // end if
|
245 |
} // end
|
246 |
-
|
247 |
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
248 |
}
|
249 |
} // end
|
@@ -280,8 +292,7 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
280 |
} // end
|
281 |
|
282 |
return parent::progressAction();
|
283 |
-
} // end
|
284 |
-
|
285 |
|
286 |
/**
|
287 |
* Quick fix Magento 1.8 and pre 1.8 have different methods to generate the right hand progress bar.
|
@@ -316,21 +327,21 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
316 |
|
317 |
// set the payment method
|
318 |
if ( $this->_helper->skipPaymentMethod() == true) {
|
319 |
-
$this->savePaymentAction( $gotonext = false );
|
320 |
} // end if
|
321 |
|
322 |
switch ($current) {
|
323 |
|
324 |
case "billing":
|
325 |
if ($this->_helper->skipShippingMethod() == true && $this->_helper->skipPaymentMethod() == true) {
|
326 |
-
|
327 |
$result['goto_section'] = 'review';
|
328 |
$result['allow_sections'] = array('review');
|
329 |
$result['update_section'] = array(
|
330 |
'name' => 'review',
|
331 |
'html' => $this->_getReviewHtml()
|
332 |
);
|
333 |
-
|
334 |
} elseif ( $this->_helper->skipShippingMethod() == true && $this->_helper->skipPaymentMethod() == false ) {
|
335 |
|
336 |
$result['goto_section'] = 'payment';
|
@@ -355,14 +366,14 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
355 |
case "shippingmethod":
|
356 |
|
357 |
if ( $this->_helper->skipPaymentMethod() == true ) {
|
358 |
-
|
359 |
$result['goto_section'] = 'review';
|
360 |
$result['allow_sections'] = array('review');
|
361 |
$result['update_section'] = array(
|
362 |
'name' => 'review',
|
363 |
'html' => $this->_getReviewHtml()
|
364 |
);
|
365 |
-
|
366 |
} elseif ( $this->_helper->skipPaymentMethod() == false ) {
|
367 |
|
368 |
$result['goto_section'] = 'payment';
|
@@ -381,6 +392,7 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
381 |
'name' => 'review',
|
382 |
'html' => $this->_getReviewHtml()
|
383 |
);
|
|
|
384 |
break;
|
385 |
|
386 |
} // end sw
|
@@ -389,5 +401,4 @@ class Clearandfizzy_Reducedcheckout_OnepageController extends Mage_Checkout_Onep
|
|
389 |
|
390 |
} // end
|
391 |
|
392 |
-
|
393 |
} // end class
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
127 |
// attempt to load the next section
|
128 |
if ( $gotonext == true ) {
|
129 |
$result = $this->getNextSection($result, $current = 'shippingmethod');
|
|
|
130 |
} // end if
|
131 |
|
132 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
133 |
+
|
134 |
} // end
|
135 |
|
136 |
/**
|
142 |
if ($this->_expireAjax()) {
|
143 |
return;
|
144 |
} // end if
|
145 |
+
|
146 |
+
if (!$this->getRequest()->isPost()) {
|
147 |
+
$this->_ajaxRedirectResponse();
|
148 |
+
return;
|
149 |
+
}
|
150 |
+
|
151 |
// this is the default way
|
152 |
+
$data = $this->getRequest()->getPost('payment', array());
|
153 |
+
|
154 |
// override the default value if we need to
|
155 |
if ( $this->_helper->skipPaymentMethod() == true) {
|
156 |
$payment = $this->_helper->getPaymentMethod();
|
157 |
$data = array('method' => $payment);
|
158 |
} // end if
|
159 |
|
160 |
+
// start forming the JSON result
|
161 |
$result = $this->getOnepage()->savePayment($data);
|
162 |
|
163 |
// get section and redirect data
|
164 |
$redirectUrl = $this->getOnepage()->getQuote()->getPayment()->getCheckoutRedirectUrl();
|
165 |
|
166 |
+
// if the redirect URL has been set in this step then make it visibile for the entire Checkout object
|
167 |
+
if ($redirectUrl) {
|
168 |
+
$this->getOnepage()->getCheckout()->setRedirectUrl($redirectUrl);
|
169 |
+
}
|
170 |
+
|
171 |
// attempt to load the next section
|
172 |
if ( $gotonext == true ) {
|
173 |
$result = $this->getNextSection($result, $current = 'payment');
|
|
|
174 |
} // end if
|
175 |
+
|
176 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
177 |
+
|
178 |
} // end
|
179 |
|
180 |
/**
|
199 |
// attempt to load the next section
|
200 |
if ( $gotonext == true ) {
|
201 |
$result = $this->getNextSection($result, $current = 'billing');
|
|
|
202 |
} // end if
|
203 |
|
204 |
+
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
205 |
+
|
206 |
} // end
|
207 |
|
208 |
/**
|
223 |
$this->saveMethodAction();
|
224 |
} // end if
|
225 |
|
|
|
226 |
$data = $this->getRequest()->getPost('billing', array());
|
227 |
$customerAddressId = $this->getRequest()->getPost('billing_address_id', false);
|
228 |
|
255 |
|
256 |
} // end if
|
257 |
} // end
|
258 |
+
|
259 |
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
260 |
}
|
261 |
} // end
|
292 |
} // end
|
293 |
|
294 |
return parent::progressAction();
|
295 |
+
} // end
|
|
|
296 |
|
297 |
/**
|
298 |
* Quick fix Magento 1.8 and pre 1.8 have different methods to generate the right hand progress bar.
|
327 |
|
328 |
// set the payment method
|
329 |
if ( $this->_helper->skipPaymentMethod() == true) {
|
330 |
+
$this->savePaymentAction( $gotonext = false );
|
331 |
} // end if
|
332 |
|
333 |
switch ($current) {
|
334 |
|
335 |
case "billing":
|
336 |
if ($this->_helper->skipShippingMethod() == true && $this->_helper->skipPaymentMethod() == true) {
|
337 |
+
|
338 |
$result['goto_section'] = 'review';
|
339 |
$result['allow_sections'] = array('review');
|
340 |
$result['update_section'] = array(
|
341 |
'name' => 'review',
|
342 |
'html' => $this->_getReviewHtml()
|
343 |
);
|
344 |
+
|
345 |
} elseif ( $this->_helper->skipShippingMethod() == true && $this->_helper->skipPaymentMethod() == false ) {
|
346 |
|
347 |
$result['goto_section'] = 'payment';
|
366 |
case "shippingmethod":
|
367 |
|
368 |
if ( $this->_helper->skipPaymentMethod() == true ) {
|
369 |
+
|
370 |
$result['goto_section'] = 'review';
|
371 |
$result['allow_sections'] = array('review');
|
372 |
$result['update_section'] = array(
|
373 |
'name' => 'review',
|
374 |
'html' => $this->_getReviewHtml()
|
375 |
);
|
376 |
+
|
377 |
} elseif ( $this->_helper->skipPaymentMethod() == false ) {
|
378 |
|
379 |
$result['goto_section'] = 'payment';
|
392 |
'name' => 'review',
|
393 |
'html' => $this->_getReviewHtml()
|
394 |
);
|
395 |
+
|
396 |
break;
|
397 |
|
398 |
} // end sw
|
401 |
|
402 |
} // end
|
403 |
|
|
|
404 |
} // end class
|
app/code/community/Clearandfizzy/Reducedcheckout/controllers/SignupController.php
DELETED
@@ -1,72 +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) 2014 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_SignupController extends Mage_Core_Controller_Front_Action
|
33 |
-
{
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Grab the form submission, inject needed data into the form post before forwarding onto the magento create account controller.
|
37 |
-
*
|
38 |
-
*/
|
39 |
-
public function indexAction() {
|
40 |
-
$helper = Mage::helper('clearandfizzy_reducedcheckout/order');
|
41 |
-
|
42 |
-
//get the current order
|
43 |
-
$order = $helper->getOrder();
|
44 |
-
|
45 |
-
// grab the details we need from the order
|
46 |
-
$firstname = $order->getCustomerFirstname();
|
47 |
-
$lastname = $order->getCustomerLastname();
|
48 |
-
$email = $order->getCustomerEmail();
|
49 |
-
$password = $this->getRequest()->getParam('password');
|
50 |
-
$confirmation = $this->getRequest()->getParam('password');
|
51 |
-
|
52 |
-
// put them in the form submission
|
53 |
-
$this->getRequest()->setPost('firstname', $firstname);
|
54 |
-
$this->getRequest()->setPost('lastname', $lastname);
|
55 |
-
$this->getRequest()->setPost('email', $email);
|
56 |
-
$this->getRequest()->setPost('password', $password);
|
57 |
-
$this->getRequest()->setPost('confirmation', $password);
|
58 |
-
$this->getRequest()->setPost('success_url', Mage::getUrl('customer/account/*'));
|
59 |
-
|
60 |
-
// there are two parts to this process..
|
61 |
-
// Once the customer account is created we observe the "customer_register_success" event
|
62 |
-
// and add the addresses / order etc in there.
|
63 |
-
|
64 |
-
// set this before any observers fire
|
65 |
-
Mage::register($helper->getSessionKey(), true);
|
66 |
-
|
67 |
-
// forward onto the account creation action
|
68 |
-
$this->_forward('createpost','account','customer');
|
69 |
-
|
70 |
-
} // end
|
71 |
-
|
72 |
-
} // end class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Clearandfizzy/Reducedcheckout/etc/adminhtml.xml
CHANGED
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
-
* @copyright Copyright (c)
|
29 |
-
* @license http://
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/license.txt
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
app/code/community/Clearandfizzy/Reducedcheckout/etc/config.xml
CHANGED
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
-
* @copyright Copyright (c)
|
29 |
-
* @license http://
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
@@ -36,13 +36,12 @@
|
|
36 |
|
37 |
<modules>
|
38 |
<Clearandfizzy_Reducedcheckout>
|
39 |
-
<version>1.
|
40 |
</Clearandfizzy_Reducedcheckout>
|
41 |
</modules>
|
42 |
|
43 |
<global>
|
44 |
|
45 |
-
<!-- maps blocks to the "{{extension}}" namespace (use "extension" for overriding) -->
|
46 |
<blocks>
|
47 |
<clearandfizzy_reducedcheckout>
|
48 |
<class>Clearandfizzy_Reducedcheckout_Block</class>
|
@@ -121,6 +120,19 @@
|
|
121 |
</clearandfizzy_reducedcheckout>
|
122 |
</updates>
|
123 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
</adminhtml>
|
125 |
|
126 |
<frontend>
|
@@ -183,7 +195,12 @@
|
|
183 |
<customergroups_enabled>0</customergroups_enabled>
|
184 |
</reducedcheckout_customergroups>
|
185 |
|
|
|
|
|
|
|
|
|
|
|
186 |
</clearandfizzy_reducedcheckout_settings>
|
187 |
</default>
|
188 |
-
|
189 |
</config>
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/license.txt
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
36 |
|
37 |
<modules>
|
38 |
<Clearandfizzy_Reducedcheckout>
|
39 |
+
<version>1.10.0</version>
|
40 |
</Clearandfizzy_Reducedcheckout>
|
41 |
</modules>
|
42 |
|
43 |
<global>
|
44 |
|
|
|
45 |
<blocks>
|
46 |
<clearandfizzy_reducedcheckout>
|
47 |
<class>Clearandfizzy_Reducedcheckout_Block</class>
|
120 |
</clearandfizzy_reducedcheckout>
|
121 |
</updates>
|
122 |
</layout>
|
123 |
+
|
124 |
+
<events>
|
125 |
+
<controller_action_predispatch>
|
126 |
+
<observers>
|
127 |
+
<clearandfizzy_reducedcheckout_feed>
|
128 |
+
<class>clearandfizzy_reducedcheckout/observer_notification_feed</class>
|
129 |
+
<method>preDispatch</method>
|
130 |
+
</clearandfizzy_reducedcheckout_feed>
|
131 |
+
</observers>
|
132 |
+
</controller_action_predispatch>
|
133 |
+
</events>
|
134 |
+
|
135 |
+
|
136 |
</adminhtml>
|
137 |
|
138 |
<frontend>
|
195 |
<customergroups_enabled>0</customergroups_enabled>
|
196 |
</reducedcheckout_customergroups>
|
197 |
|
198 |
+
<adminnotification>
|
199 |
+
<feed_url>magento.clearandfizzy.com/community/reducedcheckout-free.xml</feed_url>
|
200 |
+
<frequency>12</frequency>
|
201 |
+
</adminnotification>
|
202 |
+
|
203 |
</clearandfizzy_reducedcheckout_settings>
|
204 |
</default>
|
205 |
+
|
206 |
</config>
|
app/code/community/Clearandfizzy/Reducedcheckout/etc/system.xml
CHANGED
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
-
* @copyright Copyright (c)
|
29 |
-
* @license http://
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
@@ -63,14 +63,20 @@
|
|
63 |
<show_in_store>1</show_in_store>
|
64 |
<comment><![CDATA[ <ol>
|
65 |
<li><h3>About</h3></li>
|
66 |
-
<li>
|
67 |
<li>Allows forced Guest Registration.</li>
|
68 |
-
<li>Allows forced Payment method.</li>
|
69 |
<li>Allows forced Shipping method.</li>
|
|
|
70 |
<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>
|
71 |
<li>Allows you to setup rules based on Customer groups.</li>
|
72 |
<li>Focus Checkout mode, configure the checkout page to have reduced clutter.</li>
|
73 |
<li>For support and buckets 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
<li> </li>
|
75 |
<li><h3>Systems Check</h3></li>
|
76 |
<li>Web > Secure > Base URL: <strong id="is-enabled"></span></strong>
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/license.txt
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
63 |
<show_in_store>1</show_in_store>
|
64 |
<comment><![CDATA[ <ol>
|
65 |
<li><h3>About</h3></li>
|
66 |
+
<li>Quickly checkout without changing the Magento checkout workflow </li>
|
67 |
<li>Allows forced Guest Registration.</li>
|
|
|
68 |
<li>Allows forced Shipping method.</li>
|
69 |
+
<li>Allows forced Payment method.</li>
|
70 |
<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>
|
71 |
<li>Allows you to setup rules based on Customer groups.</li>
|
72 |
<li>Focus Checkout mode, configure the checkout page to have reduced clutter.</li>
|
73 |
<li>For support and buckets 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>
|
74 |
+
<li> </li>
|
75 |
+
<li><h3>Paypal</h3></li>
|
76 |
+
<li><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> for Paypal payment methods.</li>
|
77 |
+
<li> </li>
|
78 |
+
<li><h3>FAQ</h3></li>
|
79 |
+
<li>There is a FAQ list at the bottom of the extension page on Magento Connect <a target="_blank" style="color: blue;" href="http://www.magentocommerce.com/magento-connect/reduced-checkout-free.html">http://www.magentocommerce.com/magento-connect/reduced-checkout-free.html</a></li>
|
80 |
<li> </li>
|
81 |
<li><h3>Systems Check</h3></li>
|
82 |
<li>Web > Secure > Base URL: <strong id="is-enabled"></span></strong>
|
app/code/community/Clearandfizzy/Reducedcheckout/sql/reducedcheckout_setup/install-1.5.1.php
CHANGED
@@ -24,8 +24,8 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
28 |
-
* @license http://
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
28 |
+
* @license http://www.clearandfizzy.com/license.txt
|
29 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
30 |
*
|
31 |
*/
|
app/design/frontend/base/default/layout/clearandfizzy/reducedcheckout/reducedcheckout.xml
CHANGED
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
-
* @copyright Copyright (c)
|
29 |
-
* @license http://
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
25 |
*
|
26 |
* @category Community
|
27 |
* @package Clearandfizzy_Reducedcheckout
|
28 |
+
* @copyright Copyright (c) 2015 Clearandfizzy ltd. (http://www.clearandfizzy.com)
|
29 |
+
* @license http://www.clearandfizzy.com/license.txt
|
30 |
* @author Gareth Price <gareth@clearandfizzy.com>
|
31 |
*
|
32 |
*/
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage.phtml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
-
* @copyright Copyright (c)
|
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 |
*
|
24 |
*
|
25 |
* @category Community
|
26 |
* @package Clearandfizzy_Reducedcheckout
|
27 |
+
* @copyright Copyright (c) 2015 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 |
*
|
package.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Reduce the checkout process by force shipping & payment methods, adds "register" form to order success page.</summary>
|
@@ -22,14 +22,12 @@ Yes<br />
|
|
22 |
Did you fix a bunch of Bugs?<br />
|
23 |
Yes<br />
|
24 |
<br />
|
25 |
-
|
26 |
-
Updated the system configuration settings for this extension.
|
27 |
-
Fixed some possible MAMP file-naming convention issues.
|
28 |
<br/><br/></notes>
|
29 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
30 |
-
<date>
|
31 |
-
<time>
|
32 |
-
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><dir name="Helper"><file name="Data.php" hash="
|
33 |
<compatible/>
|
34 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
35 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
+
<version>1.10.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://www.clearandfizzy.com/licence.txt">Clearandfizzy Licence</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Reduce the checkout process by force shipping & payment methods, adds "register" form to order success page.</summary>
|
22 |
Did you fix a bunch of Bugs?<br />
|
23 |
Yes<br />
|
24 |
<br />
|
25 |
+
Integrated Notifications to better communicate extension updates and bugfixes to users.
|
|
|
|
|
26 |
<br/><br/></notes>
|
27 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
28 |
+
<date>2015-05-03</date>
|
29 |
+
<time>14:45:19</time>
|
30 |
+
<contents><target name="magecommunity"><dir name="Clearandfizzy"><dir name="Reducedcheckout"><file name="ABOUT.html" hash="f5660ea744778528fcf46f9f1b771dc4"/><dir name="Helper"><file name="Data.php" hash="f40195409de3bcd177fbaef187c38ac8"/><file name="Order.php" hash="8bb5e25a5af150f2a11aa1cf38c7eb2a"/><file name="Url.php" hash="987fdf77efee5bf6a196cd0535f9af55"/></dir><dir name="Model"><dir name="Notification"><file name="Feed.php" hash="0e6c6cb7b6562bcd5e7309a4e72dce60"/></dir><dir name="Observer"><dir name="Notification"><file name="Feed.php" hash="31f374cb977f90e95c5a449489e04a32"/></dir><file name=".DS_Store" hash="799e5ddfa60c63b87419373672e5610c"/></dir><file name="Observer.php" hash="975762338aa63607468f11f94fa05de2"/><dir name="Resource"><dir name="Carrier"><file name="TablerateFix.php" hash="0c7bfc67b88e2dd07c9487203ec304cd"/></dir><file name="Setup.php" hash="a2c94b16cc40e9c19c6acb2c359ceb08"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Login"><file name="Step.php" hash="296a73590864ccb68214170fc590d218"/></dir><dir name="Payment"><file name="Enabledmethods.php" hash="e050df0c5951fc1e014ec947cecfddf0"/></dir><dir name="Shipping"><file name="Enabledmethods.php" hash="b74773eaf2ff0243f92370dd84ce1d57"/></dir></dir></dir></dir></dir><file name="README.txt" hash="e44d3902587ce3405e8ef527d92d0ca5"/><dir name="controllers"><dir name="Adminhtml"><file name="ReducedcheckoutController.php" hash="825f7e381698ecf47e405f634d950c61"/></dir><file name="OnepageController.php" hash="aa45a5f0367e3346b92e5deb53bb1b7b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="4c42f829ac324b149f7937c64b99773c"/><file name="config.xml" hash="ab272bd416e8d6b5d0193b10640eaaf6"/><file name="system.xml" hash="420fd9ad4565ae7376d9a74c415c7747"/></dir><dir name="sql"><dir name="reducedcheckout_setup"><file name="install-1.5.1.php" hash="825ce19e90018c4568273c14b10f5318"/></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="362ed866ca7c856758b47a74b9a66c69"/></dir></dir></dir><dir name="template"><dir name="clearandfizzy"><dir name="reducedcheckout"><file name="onepage.phtml" hash="ac4a2e8f4b9fb6710b0492c798c7dbdf"/></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>
|
31 |
<compatible/>
|
32 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
33 |
</package>
|