Version Notes
1. Order page modified with installment plans details in payment information section.
2. Customer can view there installment plans of a order from account panel for detail read the user guide
3. Enhance the payment association with order
4. Installment plan can be canceled on order cancellation
5. admin Interfaces are modified.
6. payment method only active at checkout per:
- min. checkout cart total
- allowed categories
- allowed customer groups
- excluded by product ids
7. SSL compatible
8. Round off problem removed
9. Date problem resolved
Download this release
Release Info
Developer | Warrin |
Extension | Ced_LayBuy |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.1.0
app/code/local/Ced/LayBuy/controllers/StandardController.php
CHANGED
@@ -359,6 +359,7 @@ class Ced_LayBuy_StandardController extends Mage_Core_Controller_Front_Action
|
|
359 |
$header .= '<head>';
|
360 |
$header .= '<link media="all" href="'.Mage::getBaseUrl('skin').'adminhtml/default/default/reset.css" type="text/css" rel="stylesheet">';
|
361 |
$header .= '<link media="all" href="'.Mage::getBaseUrl('skin').'adminhtml/default/default/boxes.css" type="text/css" rel="stylesheet">';
|
|
|
362 |
$header .= '</head>';
|
363 |
$header .= '<body style="font: 12px/1.5em; background: none repeat scroll 0 0 rgba(0, 0, 0, 0);">';
|
364 |
$header .= '<div class="grid">';
|
359 |
$header .= '<head>';
|
360 |
$header .= '<link media="all" href="'.Mage::getBaseUrl('skin').'adminhtml/default/default/reset.css" type="text/css" rel="stylesheet">';
|
361 |
$header .= '<link media="all" href="'.Mage::getBaseUrl('skin').'adminhtml/default/default/boxes.css" type="text/css" rel="stylesheet">';
|
362 |
+
$header .= '<style type="text/css">.grid table td{ font-size: 12px !important; }</style>';
|
363 |
$header .= '</head>';
|
364 |
$header .= '<body style="font: 12px/1.5em; background: none repeat scroll 0 0 rgba(0, 0, 0, 0);">';
|
365 |
$header .= '<div class="grid">';
|
app/design/frontend/base/default/template/laybuy/checkout/onepage/review/button.phtml
CHANGED
@@ -42,8 +42,7 @@
|
|
42 |
<iframe src="<?php echo $this->getUrl('laybuy/standard/docalc',array('_secure' => true)); ?>?currency=<?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?>&amt=<?php echo $grandtotal; ?>&init=<?php echo $customerOptions['INIT']; ?>&mnth=<?php echo $customerOptions['MONTHS']; ?>&html=1" name="preview-tbl" id="preview-tbl" style="width:100%; height:157px; border:0; margin:0; overflow:hidden" marginheight="0" marginwidth="0" noscroll></iframe>
|
43 |
</div>
|
44 |
<button type="submit" style="float: none !important; background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border: 0 none; cursor: pointer; margin: 0; overflow: visible; padding: 0; width: auto;" class="button btn-checkout" onclick="review.save();"><img src="<?php echo $this->escapeHtml($this->getPaymentAcceptanceMarkSrc())?>" alt="<?php echo Mage::helper('laybuy')->__('LAY-BUY') ?>" title="<?php echo $this->escapeHtml($this->getLayBuyTitle()) ?>" class="v-middle" /> </button>
|
45 |
-
<button type="button" style="float: none !important; background: none repeat scroll
|
46 |
-
<!-- <span class="btn-checkout"> -OR- </span> -->
|
47 |
<?php } ?>
|
48 |
<?php echo $this->getLayout()->createBlock("core/template")->setTemplate("checkout/onepage/review/button.phtml")->toHtml();
|
49 |
|
42 |
<iframe src="<?php echo $this->getUrl('laybuy/standard/docalc',array('_secure' => true)); ?>?currency=<?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?>&amt=<?php echo $grandtotal; ?>&init=<?php echo $customerOptions['INIT']; ?>&mnth=<?php echo $customerOptions['MONTHS']; ?>&html=1" name="preview-tbl" id="preview-tbl" style="width:100%; height:157px; border:0; margin:0; overflow:hidden" marginheight="0" marginwidth="0" noscroll></iframe>
|
43 |
</div>
|
44 |
<button type="submit" style="float: none !important; background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border: 0 none; cursor: pointer; margin: 0; overflow: visible; padding: 0; width: auto;" class="button btn-checkout" onclick="review.save();"><img src="<?php echo $this->escapeHtml($this->getPaymentAcceptanceMarkSrc())?>" alt="<?php echo Mage::helper('laybuy')->__('LAY-BUY') ?>" title="<?php echo $this->escapeHtml($this->getLayBuyTitle()) ?>" class="v-middle" /> </button>
|
45 |
+
<button type="button" style="float: none ! important; background: none repeat scroll 0px 0px transparent; border: 0px none; cursor: default; margin: 0px; overflow: visible; padding: 0px; width: auto; color: rgb(47, 47, 47); text-transform: none;" class="button btn-checkout"> -OR- </button>
|
|
|
46 |
<?php } ?>
|
47 |
<?php echo $this->getLayout()->createBlock("core/template")->setTemplate("checkout/onepage/review/button.phtml")->toHtml();
|
48 |
|
app/design/frontend/base/default/template/laybuy/form/extra.phtml
CHANGED
@@ -63,7 +63,7 @@
|
|
63 |
</li>
|
64 |
<li>
|
65 |
<label for="preview-tbl1"><?php echo $this->__('Plan Preview') ?></label>
|
66 |
-
<div class="input-box" style="width:100% !important">
|
67 |
<iframe src="<?php echo $this->getUrl('laybuy/standard/docalc',array('_secure'=>true)); ?>?currency=<?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?>&amt=<?php echo $grandtotal; ?>&init=<?php echo $this->getConfigData('mind'); ?>&mnth=<?php echo $this->getConfigData('months'); ?>&html=1" name="preview-tbl1" id="preview-tbl1" style="width:100%; height:157px; border:0; margin:0; overflow:hidden" marginheight="0" marginwidth="0" noscroll></iframe>
|
68 |
</div>
|
69 |
</li>
|
63 |
</li>
|
64 |
<li>
|
65 |
<label for="preview-tbl1"><?php echo $this->__('Plan Preview') ?></label>
|
66 |
+
<div id="preview-tbl1-wrapper" class="input-box" style="width:100% !important">
|
67 |
<iframe src="<?php echo $this->getUrl('laybuy/standard/docalc',array('_secure'=>true)); ?>?currency=<?php echo Mage::app()->getStore()->getCurrentCurrencyCode(); ?>&amt=<?php echo $grandtotal; ?>&init=<?php echo $this->getConfigData('mind'); ?>&mnth=<?php echo $this->getConfigData('months'); ?>&html=1" name="preview-tbl1" id="preview-tbl1" style="width:100%; height:157px; border:0; margin:0; overflow:hidden" marginheight="0" marginwidth="0" noscroll></iframe>
|
68 |
</div>
|
69 |
</li>
|
js/laybuy/jquery.atooltip.js
CHANGED
@@ -56,7 +56,7 @@
|
|
56 |
/**
|
57 |
Position aToolTip
|
58 |
*/
|
59 |
-
positionaToolTip = function(){
|
60 |
$('#'+settings.toolTipId).css({
|
61 |
top: (obj.offset().top - $('#'+settings.toolTipId).outerHeight() - settings.yOffset) + 'px',
|
62 |
left: (obj.offset().left + obj.outerWidth() + settings.xOffset) + 'px'
|
@@ -66,6 +66,45 @@
|
|
66 |
settings.onShow(obj);
|
67 |
}
|
68 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
},
|
70 |
/**
|
71 |
Remove aToolTip
|
56 |
/**
|
57 |
Position aToolTip
|
58 |
*/
|
59 |
+
/* positionaToolTip = function(){
|
60 |
$('#'+settings.toolTipId).css({
|
61 |
top: (obj.offset().top - $('#'+settings.toolTipId).outerHeight() - settings.yOffset) + 'px',
|
62 |
left: (obj.offset().left + obj.outerWidth() + settings.xOffset) + 'px'
|
66 |
settings.onShow(obj);
|
67 |
}
|
68 |
});
|
69 |
+
} ,*/
|
70 |
+
|
71 |
+
positionaToolTip = function(){
|
72 |
+
if($(window).width()<680)
|
73 |
+
{
|
74 |
+
var left_cal=obj.offset().left + obj.outerWidth() + settings.xOffset-(680-$(window).width());
|
75 |
+
if(left_cal<0)
|
76 |
+
{
|
77 |
+
left_cal=0;
|
78 |
+
}
|
79 |
+
var new_width = $('#'+settings.toolTipId).width();
|
80 |
+
if(new_width>$(window).width()){
|
81 |
+
new_width = $(window).width();
|
82 |
+
}
|
83 |
+
/* alert($(window).width());
|
84 |
+
alert(new_width); */
|
85 |
+
$('#'+settings.toolTipId).css({
|
86 |
+
top: (obj.offset().top - $('#'+settings.toolTipId).outerHeight() - settings.yOffset) + 'px',
|
87 |
+
left: (left_cal)+'px',
|
88 |
+
width: (new_width)+'px'
|
89 |
+
})
|
90 |
+
.stop().fadeIn(settings.inSpeed, function(){
|
91 |
+
if ($.isFunction(settings.onShow)){
|
92 |
+
settings.onShow(obj);
|
93 |
+
}
|
94 |
+
});
|
95 |
+
}
|
96 |
+
else
|
97 |
+
{
|
98 |
+
$('#'+settings.toolTipId).css({
|
99 |
+
top: (obj.offset().top - $('#'+settings.toolTipId).outerHeight() - settings.yOffset) + 'px',
|
100 |
+
left: (obj.offset().left + obj.outerWidth() + settings.xOffset) + 'px'
|
101 |
+
})
|
102 |
+
.stop().fadeIn(settings.inSpeed, function(){
|
103 |
+
if ($.isFunction(settings.onShow)){
|
104 |
+
settings.onShow(obj);
|
105 |
+
}
|
106 |
+
});
|
107 |
+
}
|
108 |
},
|
109 |
/**
|
110 |
Remove aToolTip
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ced_LayBuy</name>
|
4 |
-
<version>2.0
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -32,9 +32,9 @@ This effectively increases sales and radically improves cash flow where all the
|
|
32 |
8. Round off problem removed
|
33 |
9. Date problem resolved</notes>
|
34 |
<authors><author><name>Warrin</name><user>Warrin</user><email>warrin@lay-buys.com</email></author><author><name>Asheesh Singh</name><user>asheeshsingh</user><email>asheeshsingh@cedcoss.com</email></author></authors>
|
35 |
-
<date>2014-
|
36 |
-
<time>
|
37 |
-
<contents><target name="magelocal"><dir name="Ced"><dir name="LayBuy"><dir name="Block"><dir name="Adminhtml"><dir name="Report"><dir name="Details"><file name="Form.php" hash="e0ce57d85efc14656d4294021e5f5257"/></dir><file name="Details.php" hash="b300354434b67937bd0852937bd6ffbb"/><dir name="Edit"><file name="Form.php" hash="34ca36479122455bb9b0b1ccaf5d175b"/></dir><file name="Edit.php" hash="9f7eecb6e5c7ae03378b49089ea9a6c0"/><file name="Grid.php" hash="5492ab7536a608362860bc7c1bd1ac36"/><dir name="Renderer"><file name="Email.php" hash="8e6c0938d80f629cd285303018945ea1"/><file name="Order.php" hash="04257868d84c6eaccd79414ba09dcef6"/><file name="Record.php" hash="95eb9f836a50f3f80d254a7cdd8e1d6e"/></dir></dir><file name="Report.php" hash="addd972a4a28d141268f7cb3ad4a4ea6"/></dir><dir name="Customer"><dir name="Account"><file name="Details.php" hash="5bb9caf5b0a6e9584046f6af9ee4ae5f"/><file name="Grid.php" hash="3b170ed3f70422b3a64263535d3543e3"/></dir></dir><dir name="Form"><file name="Laybuy.php" hash="cbf8b96d0fa26d4b772bafd021e3fc83"/></dir><dir name="Info"><file name="Laybuy.php" hash="00dca1578594e6ec2d5f3ee9004d12fe"/></dir><dir name="Revise"><file name="Redirect.php" hash="6f63613d0fe5540a296804c14263a614"/></dir><dir name="Standard"><file name="Redirect.php" hash="306a88ff75d35c18157dc5dceb02c06f"/></dir></dir><dir name="Helper"><file name="Config.php" hash="53fbdb4b5b16b587716c8073616b9cd2"/><file name="Data.php" hash="f369e7082ac2a9f162e719dc8c347fce"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Report"><file name="Collection.php" hash="a3e133f1128200662330a5e21a94c809"/></dir><file name="Report.php" hash="25568238c401ab5e5768596fb76f7ef8"/><dir name="Revise"><file name="Collection.php" hash="2a502f75e4634e4f231f93226ef49b8a"/></dir><file name="Revise.php" hash="cd1a424882417e0ec94561a8cca378e8"/><file name="Setup.php" hash="261838defadf805c7ee29768f6ea8cec"/></dir><file name="Observer.php" hash="6a077f545a9f16f5702d783205da1935"/><file name="Report.php" hash="d910a81e6b242cba1d4b58c72929f25e"/><file name="Revise.php" hash="225c67ee5ff3e9646785ee4342822c82"/><file name="Standard.php" hash="039a65018d7bc6e2e2ed5fa70e9f4a50"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="8d6e6dc1c3265307eed7a829031dd5f3"/></dir><dir name="Source"><file name="Categories.php" hash="92c61dba3c23e7838cddbaaee8f21d05"/><file name="FetchingSchedule.php" hash="4f3e5aec5a17991d1625d6f17c0f7d32"/><file name="Groups.php" hash="87a205676d93d59a26d1d7bb69266991"/></dir></dir></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/><dir name="controllers"><dir name="Adminhtml"><file name="ReportController.php" hash="917a178e207153e4987a71988c80182a"/></dir><file name="ReportController.php" hash="0ae0fee6659f30a811f151c5007abaf8"/><file name="ReviseController.php" hash="17fdf479c5ca52306e3fb27bc832d37b"/><file name="StandardController.php" hash="
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ced_LayBuy</name>
|
4 |
+
<version>2.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
32 |
8. Round off problem removed
|
33 |
9. Date problem resolved</notes>
|
34 |
<authors><author><name>Warrin</name><user>Warrin</user><email>warrin@lay-buys.com</email></author><author><name>Asheesh Singh</name><user>asheeshsingh</user><email>asheeshsingh@cedcoss.com</email></author></authors>
|
35 |
+
<date>2014-03-05</date>
|
36 |
+
<time>07:55:01</time>
|
37 |
+
<contents><target name="magelocal"><dir name="Ced"><dir name="LayBuy"><dir name="Block"><dir name="Adminhtml"><dir name="Report"><dir name="Details"><file name="Form.php" hash="e0ce57d85efc14656d4294021e5f5257"/></dir><file name="Details.php" hash="b300354434b67937bd0852937bd6ffbb"/><dir name="Edit"><file name="Form.php" hash="34ca36479122455bb9b0b1ccaf5d175b"/></dir><file name="Edit.php" hash="9f7eecb6e5c7ae03378b49089ea9a6c0"/><file name="Grid.php" hash="5492ab7536a608362860bc7c1bd1ac36"/><dir name="Renderer"><file name="Email.php" hash="8e6c0938d80f629cd285303018945ea1"/><file name="Order.php" hash="04257868d84c6eaccd79414ba09dcef6"/><file name="Record.php" hash="95eb9f836a50f3f80d254a7cdd8e1d6e"/></dir></dir><file name="Report.php" hash="addd972a4a28d141268f7cb3ad4a4ea6"/></dir><dir name="Customer"><dir name="Account"><file name="Details.php" hash="5bb9caf5b0a6e9584046f6af9ee4ae5f"/><file name="Grid.php" hash="3b170ed3f70422b3a64263535d3543e3"/></dir></dir><dir name="Form"><file name="Laybuy.php" hash="cbf8b96d0fa26d4b772bafd021e3fc83"/></dir><dir name="Info"><file name="Laybuy.php" hash="00dca1578594e6ec2d5f3ee9004d12fe"/></dir><dir name="Revise"><file name="Redirect.php" hash="6f63613d0fe5540a296804c14263a614"/></dir><dir name="Standard"><file name="Redirect.php" hash="306a88ff75d35c18157dc5dceb02c06f"/></dir></dir><dir name="Helper"><file name="Config.php" hash="53fbdb4b5b16b587716c8073616b9cd2"/><file name="Data.php" hash="f369e7082ac2a9f162e719dc8c347fce"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Report"><file name="Collection.php" hash="a3e133f1128200662330a5e21a94c809"/></dir><file name="Report.php" hash="25568238c401ab5e5768596fb76f7ef8"/><dir name="Revise"><file name="Collection.php" hash="2a502f75e4634e4f231f93226ef49b8a"/></dir><file name="Revise.php" hash="cd1a424882417e0ec94561a8cca378e8"/><file name="Setup.php" hash="261838defadf805c7ee29768f6ea8cec"/></dir><file name="Observer.php" hash="6a077f545a9f16f5702d783205da1935"/><file name="Report.php" hash="d910a81e6b242cba1d4b58c72929f25e"/><file name="Revise.php" hash="225c67ee5ff3e9646785ee4342822c82"/><file name="Standard.php" hash="039a65018d7bc6e2e2ed5fa70e9f4a50"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="8d6e6dc1c3265307eed7a829031dd5f3"/></dir><dir name="Source"><file name="Categories.php" hash="92c61dba3c23e7838cddbaaee8f21d05"/><file name="FetchingSchedule.php" hash="4f3e5aec5a17991d1625d6f17c0f7d32"/><file name="Groups.php" hash="87a205676d93d59a26d1d7bb69266991"/></dir></dir></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/><dir name="controllers"><dir name="Adminhtml"><file name="ReportController.php" hash="917a178e207153e4987a71988c80182a"/></dir><file name="ReportController.php" hash="0ae0fee6659f30a811f151c5007abaf8"/><file name="ReviseController.php" hash="17fdf479c5ca52306e3fb27bc832d37b"/><file name="StandardController.php" hash="80ea0e85caed90d9976f35ebbc6fb170"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5bf10fdf706702d95790a1f72d94c27f"/><file name="config.xml" hash="8be86c9f4964a1908753425867e6eef0"/><file name="system.xml" hash="5dbf398d7c13be1f181a0214c45cb43d"/></dir><dir name="sql"><dir name="laybuy_setup"><file name="mysql4-install-0.1.0.php" hash="68e359cd24b6051d0c2a91daad899d71"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="bec5e37090cb5a6da6c8ba3652a8bd32"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="97aa7a2a8c91e46c896a6d04d9554aeb"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="9b147158166b94d52e0cfff369ce965c"/><file name="mysql4-upgrade-0.4.0-0.5.0.php" hash="7626925b0cac03d0918eb6b1d51e6d19"/><file name="mysql4-upgrade-0.5.0-0.6.0.php" hash="bc96daed76ca1f04b1eb422508bc3a4b"/><file name="mysql4-upgrade-0.6.0-0.7.0.php" hash="6aa013f47e3b78e4d78e2cba9b471cd4"/><file name="mysql4-upgrade-0.7.0-0.8.0.php" hash="c2ea0f16c8f1e0dc7412a6a0fda1c622"/><file name="mysql4-upgrade-0.8.0-0.9.0.php" hash="d98ba6bef5f4f46ca741d5db014686f1"/></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="7a169d0d389230274d762daf4491f27e"/></dir><dir name="template"><dir name="laybuy"><dir name="checkout"><dir name="onepage"><dir name="review"><file name="button.phtml" hash="097a1d7d5e5f7e3da67f2a7179d8c5bd"/></dir></dir></dir><dir name="customer"><dir name="account"><file name="details.phtml" hash="b2014625326522e477ffc2e5163bf9d9"/><file name="grid.phtml" hash="2dc802991a69b459f263f4e78c657549"/></dir></dir><dir name="form"><file name="extra.phtml" hash="9765d41880b42cb54aaf8ff6e2e4ce65"/><file name="laybuy.phtml" hash="f90924b706f10e70316e494f2c9eac02"/></dir><dir name="info"><file name="default.phtml" hash="3efc2eb9f35b47e6e888a726236bf273"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="daf3f1e61e17f4d16c64e34c0b6a0e7b"/></dir><dir name="template"><dir name="laybuy"><dir name="info"><file name="default.phtml" hash="a9dfb322a83df7bc53bb2a64c6f192e3"/></dir><file name="notification.phtml" hash="3b1d4be6c68480b0637e805214725372"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ced_LayBuy.xml" hash="394d4e115e1955ba12681f6a81cb118d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Ced_LayBuy.csv" hash="f79a1a6ca61c5e7a7463c380eb00896d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="laybuy"><file name="tooltip.css" hash="ece078bf3d8bb27db4a616fdad505671"/></dir></dir><dir name="images"><dir name="laybuy"><file name="closeBtn.png" hash="b0be9d9ef1053c79b0ebdcef83b53f44"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="laybuy"><file name="jquery.atooltip.js" hash="ab5a02c021ab955520727141f939eaf5"/><file name="jquery.min.js" hash="5cb7926315ebf3efbf6d6c9b9cc7201e"/></dir></dir></target></contents>
|
38 |
<compatible/>
|
39 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
40 |
</package>
|