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.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.7.0 to 1.7.1
app/code/community/Clearandfizzy/Reducedcheckout/Helper/Url.php
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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_Helper_Url extends Mage_Core_Helper_Abstract {
|
| 33 |
+
|
| 34 |
+
protected $is_secure;
|
| 35 |
+
|
| 36 |
+
public function _construct() {
|
| 37 |
+
parent::_construct();
|
| 38 |
+
$this->is_secure = Mage::app()->getStore()->isCurrentlySecure();
|
| 39 |
+
} // end
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
/**
|
| 43 |
+
*
|
| 44 |
+
*/
|
| 45 |
+
public function getProgressUrl() {
|
| 46 |
+
return Mage::getUrl('reducedcheckout/onepage/progress', array("_secure" => $this->is_secure));
|
| 47 |
+
} // end
|
| 48 |
+
|
| 49 |
+
public function getReviewUrl() {
|
| 50 |
+
return Mage::getUrl('reducedcheckout/onepage/review', array("_secure" => $this->is_secure));
|
| 51 |
+
} // end
|
| 52 |
+
|
| 53 |
+
public function getSaveMethodUrl() {
|
| 54 |
+
return Mage::getUrl('reducedcheckout/onepage/saveMethod', array("_secure" => $this->is_secure));
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
public function getFailureUrl() {
|
| 58 |
+
return Mage::getUrl('checkout/cart', array("_secure" => $this->is_secure));
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
public function getAddressUrl() {
|
| 62 |
+
return Mage::getUrl('reducedcheckout/onepage/getAddress', array("_secure" => $this->is_secure));
|
| 63 |
+
} // end
|
| 64 |
+
|
| 65 |
+
public function getSaveBillingUrl() {
|
| 66 |
+
return Mage::getUrl('reducedcheckout/onepage/saveBilling', array("_secure" => $this->is_secure));
|
| 67 |
+
} // end
|
| 68 |
+
|
| 69 |
+
public function getSaveShippingUrl() {
|
| 70 |
+
return Mage::getUrl('reducedcheckout/onepage/saveShipping', array("_secure" => $this->is_secure));
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
public function getSaveShippingMethod() {
|
| 74 |
+
return Mage::getUrl('reducedcheckout/onepage/saveShippingMethod', array("_secure" => $this->is_secure));
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
public function getSavePaymentUrl() {
|
| 78 |
+
return Mage::getUrl('reducedcheckout/onepage/savePayment', array("_secure" => $this->is_secure));
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
} // end class
|
app/design/frontend/base/default/template/clearandfizzy/reducedcheckout/onepage.phtml
CHANGED
|
@@ -50,17 +50,23 @@
|
|
| 50 |
|
| 51 |
<script type="text/javascript">
|
| 52 |
//<