Version Notes
Did we add new features?
No
Did you fix a bunch of Bugs?
Yes
Some customers were having issues with secure pages, we now detect if the website is in secure mode and return the correct url. Those clients that don't use secure pages will remain unaffected.
Download this release
Release Info
Developer | Gareth Price |
Extension | Clearandfizzy_Reducedcheckout |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
app/code/community/Clearandfizzy/Reducedcheckout/Helper/Url.php
CHANGED
@@ -30,52 +30,59 @@
|
|
30 |
*
|
31 |
*/
|
32 |
class Clearandfizzy_Reducedcheckout_Helper_Url extends Mage_Core_Helper_Abstract {
|
33 |
-
|
34 |
protected $is_secure;
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
-
*
|
44 |
*/
|
45 |
public function getProgressUrl() {
|
46 |
-
return Mage::getUrl('reducedcheckout/onepage/progress', array("_secure" => $this->
|
47 |
-
} // end
|
48 |
-
|
49 |
public function getReviewUrl() {
|
50 |
-
return Mage::getUrl('reducedcheckout/onepage/review', array("_secure" => $this->
|
51 |
} // end
|
52 |
-
|
53 |
public function getSaveMethodUrl() {
|
54 |
-
return Mage::getUrl('reducedcheckout/onepage/saveMethod', array("_secure" => $this->
|
55 |
}
|
56 |
|
57 |
public function getFailureUrl() {
|
58 |
-
return Mage::getUrl('checkout/cart', array("_secure" => $this->
|
59 |
}
|
60 |
-
|
61 |
public function getAddressUrl() {
|
62 |
-
return Mage::getUrl('reducedcheckout/onepage/getAddress', array("_secure" => $this->
|
63 |
-
} // end
|
64 |
-
|
65 |
public function getSaveBillingUrl() {
|
66 |
-
return Mage::getUrl('reducedcheckout/onepage/saveBilling', array("_secure" => $this->
|
67 |
-
} // end
|
68 |
|
69 |
public function getSaveShippingUrl() {
|
70 |
-
return Mage::getUrl('reducedcheckout/onepage/saveShipping', array("_secure" => $this->
|
71 |
}
|
72 |
|
73 |
public function getSaveShippingMethod() {
|
74 |
-
return Mage::getUrl('reducedcheckout/onepage/saveShippingMethod', array("_secure" => $this->
|
75 |
}
|
76 |
|
77 |
public function getSavePaymentUrl() {
|
78 |
-
return Mage::getUrl('reducedcheckout/onepage/savePayment', array("_secure" => $this->
|
79 |
}
|
80 |
-
|
81 |
} // end class
|
30 |
*
|
31 |
*/
|
32 |
class Clearandfizzy_Reducedcheckout_Helper_Url extends Mage_Core_Helper_Abstract {
|
33 |
+
|
34 |
protected $is_secure;
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Returns a true/false if the current page is https or not
|
38 |
+
* @return boolean
|
39 |
+
*/
|
40 |
+
public function getIsSecure() {
|
41 |
+
if ($this->is_secure == null) {
|
42 |
+
$this->is_secure = Mage::app()->getStore()->isCurrentlySecure();
|
43 |
+
} // end if
|
44 |
+
|
45 |
+
return $this->is_secure;
|
46 |
+
} // end
|
47 |
+
|
48 |
+
|
49 |
/**
|
50 |
+
*
|
51 |
*/
|
52 |
public function getProgressUrl() {
|
53 |
+
return Mage::getUrl('reducedcheckout/onepage/progress', array("_secure" => $this->getIsSecure()));
|
54 |
+
} // end
|
55 |
+
|
56 |
public function getReviewUrl() {
|
57 |
+
return Mage::getUrl('reducedcheckout/onepage/review', array("_secure" => $this->getIsSecure()));
|
58 |
} // end
|
59 |
+
|
60 |
public function getSaveMethodUrl() {
|
61 |
+
return Mage::getUrl('reducedcheckout/onepage/saveMethod', array("_secure" => $this->getIsSecure()));
|
62 |
}
|
63 |
|
64 |
public function getFailureUrl() {
|
65 |
+
return Mage::getUrl('checkout/cart', array("_secure" => $this->getIsSecure()));
|
66 |
}
|
67 |
+
|
68 |
public function getAddressUrl() {
|
69 |
+
return Mage::getUrl('reducedcheckout/onepage/getAddress', array("_secure" => $this->getIsSecure()));
|
70 |
+
} // end
|
71 |
+
|
72 |
public function getSaveBillingUrl() {
|
73 |
+
return Mage::getUrl('reducedcheckout/onepage/saveBilling', array("_secure" => $this->getIsSecure()));
|
74 |
+
} // end
|
75 |
|
76 |
public function getSaveShippingUrl() {
|
77 |
+
return Mage::getUrl('reducedcheckout/onepage/saveShipping', array("_secure" => $this->getIsSecure()));
|
78 |
}
|
79 |
|
80 |
public function getSaveShippingMethod() {
|
81 |
+
return Mage::getUrl('reducedcheckout/onepage/saveShippingMethod', array("_secure" => $this->getIsSecure()));
|
82 |
}
|
83 |
|
84 |
public function getSavePaymentUrl() {
|
85 |
+
return Mage::getUrl('reducedcheckout/onepage/savePayment', array("_secure" => $this->getIsSecure()));
|
86 |
}
|
87 |
+
|
88 |
} // end class
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
-
<version>1.7.
|
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>
|
@@ -26,9 +26,9 @@ Some customers were having issues with secure pages, we now detect if the websit
|
|
26 |
<br/><br/>
|
27 |
</notes>
|
28 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
29 |
-
<date>2014-
|
30 |
-
<time>
|
31 |
-
<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"/><file name="Url.php" hash="
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Clearandfizzy_Reducedcheckout</name>
|
4 |
+
<version>1.7.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>
|
26 |
<br/><br/>
|
27 |
</notes>
|
28 |
<authors><author><name>Gareth Price</name><user>clearandfizzy</user><email>gareth@clearandfizzy.com</email></author></authors>
|
29 |
+
<date>2014-08-19</date>
|
30 |
+
<time>15:33:49</time>
|
31 |
+
<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"/><file name="Url.php" hash="3a677deb280b517358a5f5c1dc8d1857"/></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="b3d7c56bab358d0e2b5784efaf2656b1"/></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>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|