SKYBOZ456 - Version 1.2.6.1

Version Notes

Skybox Checkout enables a Magento ecommerce site to sell instantly to 180 countries & territories and accept payment in 140 local currencies. SkyBOX Checkout is a combination of technology tools & services to help retailers expand overseas while offering a localized full landed cost calculation to international shoppers. SkyBOX Checkout takes on full risk of fraud screening & international payments while providing competitive international shipping with full tracking via its proprietary logistics network.

Download this release

Release Info

Developer Emilio Lizarraga
Extension SKYBOZ456
Version 1.2.6.1
Comparing to
See all releases


Code changes from version 1.2.6 to 1.2.6.1

app/code/community/Skybox/Checkout/Model/Cart.php CHANGED
@@ -520,8 +520,6 @@ class Skybox_Checkout_Model_Cart extends Mage_Checkout_Model_Cart
520
*/
521
public function removeItem($itemId)
522
{
523
- Mage::log('Skybox rulez! - removeItem !!', null, 'bueyada.log', true);
524
-
525
/**
526
* only one time for call to service start - Active
527
* when do remove
@@ -564,8 +562,6 @@ class Skybox_Checkout_Model_Cart extends Mage_Checkout_Model_Cart
564
*/
565
public function updateItems($data)
566
{
567
- Mage::log('Skybox updateItems!!!', null, 'bueyada.log', true);
568
-
569
/**
570
* only one time for call to service start - Active
571
* when do remove
@@ -671,8 +667,6 @@ class Skybox_Checkout_Model_Cart extends Mage_Checkout_Model_Cart
671
*/
672
public function updateItem($itemId, $requestInfo = null, $updatingParams = null)
673
{
674
- Mage::log('Skybox rulez! - updateItem !!', null, 'bueyada.log', true);
675
-
676
if (!$this->isEnable()) {
677
$result = parent::updateItem($itemId, $requestInfo, $updatingParams);
678
return $result;
520
*/
521
public function removeItem($itemId)
522
{
523
/**
524
* only one time for call to service start - Active
525
* when do remove
562
*/
563
public function updateItems($data)
564
{
565
/**
566
* only one time for call to service start - Active
567
* when do remove
667
*/
668
public function updateItem($itemId, $requestInfo = null, $updatingParams = null)
669
{
670
if (!$this->isEnable()) {
671
$result = parent::updateItem($itemId, $requestInfo, $updatingParams);
672
return $result;
app/code/community/Skybox/Checkout/controllers/CalculateController.php CHANGED
@@ -38,45 +38,56 @@ class Skybox_Checkout_CalculateController extends Mage_Core_Controller_Front_Act
38
39
/** @var Skybox_Catalog_Model_Api_Product $productAPI */
40
$productAPI = Mage::getModel('skyboxcatalog/api_product');
41
-
42
- /* $product Mage_Catalog_Model_Product */
43
- $product = Mage::getModel('catalog/product')->load($productId);
44
- $type = $product->getTypeId();
45
- $template = null;
46
- //Mage::log(print_r('calculateController: '.$type, true), null, 'tracer.log', true);
47
- switch ($type) {
48
- case 'simple':
49
- $template = $productAPI->CalculatePrice($product->getId(), null, $product->getFinalPrice(), 'simple')
50
- ->GetTemplateProduct();
51
- break;
52
- case 'configurable':
53
- $template = $productAPI->CalculatePrice($product->getId(), null, $price, $product->getTypeId())
54
- ->GetTemplateProduct();
55
- break;
56
- case 'bundle':
57
- try {
58
- $template = $productAPI->CalculatePrice($product->getId(), $request, $price, 'bundle')
59
->GetTemplateProduct();
60
- } catch (Exception $e) {
61
- Mage::logException($e);
62
- $template = '';
63
- }
64
- break;
65
- default;
66
- $this->_error('Invalid or not supported Product Type.');
67
- break;
68
}
69
-
70
- $extraHtml = '<div style="font-weight:bold" id="skybox-configurable-price-from-'
71
- . $product->getId()
72
- //. $this->getIdSuffix()
73
- . ''
74
- . '">'
75
- . $template
76
- . '</p>'
77
- . '<div style="clear:both"></div>';
78
-
79
- $this->getResponse()->setBody($extraHtml);
80
}
81
}
82
38
39
/** @var Skybox_Catalog_Model_Api_Product $productAPI */
40
$productAPI = Mage::getModel('skyboxcatalog/api_product');
41
+ $locationAllow = $productAPI->getLocationAllow();
42
+
43
+ if($locationAllow != "1"){
44
+ // Mage::log("getLocationAllow:::::[0]". $locationAllow, null, 'data.log', true);
45
+ }else {
46
+ // Mage::log("getLocationAllow:::::[1]". $locationAllow, null, 'data.log', true);
47
+ /* $product Mage_Catalog_Model_Product */
48
+ $product = Mage::getModel('catalog/product')->load($productId);
49
+ $type = $product->getTypeId();
50
+ $template = null;
51
+ //Mage::log(print_r('calculateController: '.$type, true), null, 'tracer.log', true);
52
+ switch ($type) {
53
+ case 'simple':
54
+ Mage::log("catch_exception_pendejerete_simple", null, 'tracerlog.log', true);
55
+ $template = $productAPI->CalculatePrice($product->getId(), null, $product->getFinalPrice(),
56
+ 'simple')
57
+ ->GetTemplateProduct();
58
+ break;
59
+ case 'configurable':
60
+ Mage::log("catch_exception_pendejerete_configurable", null, 'tracerlog.log', true);
61
+ $template = $productAPI->CalculatePrice($product->getId(), null, $price, $product->getTypeId())
62
->GetTemplateProduct();
63
+ break;
64
+ case 'bundle':
65
+ try {
66
+ Mage::log("catch_exception_pendejerete_bundle", null, 'tracerlog.log', true);
67
+ $template = $productAPI->CalculatePrice($product->getId(), $request, $price, 'bundle')
68
+ ->GetTemplateProduct();
69
+ } catch (Exception $e) {
70
+ Mage::log("catch_exception_pendejerete", null, 'tracerlog.log', true);
71
+ Mage::logException($e);
72
+ $template = '';
73
+ }
74
+ break;
75
+ default;
76
+ $this->_error('Invalid or not supported Product Type.');
77
+ break;
78
+ }
79
+
80
+ $extraHtml = '<div id="skybox-configurable-price-from-'
81
+ . $product->getId()
82
+ //. $this->getIdSuffix()
83
+ . ''
84
+ . '">'
85
+ . $template
86
+ . '</div>'
87
+ . '<div style="clear:both"></div>';
88
+
89
+ $this->getResponse()->setBody($extraHtml);
90
}
91
}
92
}
93
app/code/community/Skybox/Checkout/controllers/ProcessController.php CHANGED
@@ -295,7 +295,7 @@ class Skybox_Checkout_ProcessController extends Mage_Core_Controller_Front_Actio
295
296
// @todo: Rewrite custom Quote and LocationAllow logic.
297
if ($product_api->getLocationAllow() == 0) {
298
- Mage::log("The country is not allow", null, 'bueyada.log', true);
299
$item->setOriginalCustomPrice($productModel->getPrice());
300
}
301
//$item->setOriginalCustomPrice($product_api->getPrice());
295
296
// @todo: Rewrite custom Quote and LocationAllow logic.
297
if ($product_api->getLocationAllow() == 0) {
298
+ // Mage::log("The country is not allow", null, 'bueyada.log', true);
299
$item->setOriginalCustomPrice($productModel->getPrice());
300
}
301
//$item->setOriginalCustomPrice($product_api->getPrice());
app/design/frontend/base/default/layout/skyboxcheckout.xml CHANGED
@@ -121,9 +121,9 @@
121
</block>
122
-->
123
124
- <action method="addItem" ifconfig="skyboxinternational/skyboxsettings/skyboxactive">
125
- <type>skin_js</type><name>js/skybox/catalog.product.configurable.js</name>
126
- </action>
127
</reference>
128
129
<!--
121
</block>
122
-->
123
124
+ <!--<action method="addItem" ifconfig="skyboxinternational/skyboxsettings/skyboxactive">-->
125
+ <!--<type>skin_js</type><name>js/skybox/catalog.product.configurable.js</name>-->
126
+ <!--</action>-->
127
</reference>
128
129
<!--
app/design/frontend/base/default/template/skybox/checkout/cart.phtml CHANGED
@@ -78,6 +78,12 @@ if ($_helper->getActive()) {
78
echo $template;
79
endif;
80
81
$skyBoxUrlClientBase = $_helper->getSkyBoxUrlAPI();
82
$storeCode = Mage::getModel('skyboxcatalog/api_product')->getStoreCode();
83
$skyBoxUrlClientGet = str_replace("apirest/", "", $skyBoxUrlClientBase);
78
echo $template;
79
endif;
80
81
+
82
+ if($allowHelper->isPriceEnabled()){
83
+ $productConfigurable = $this->getSkinUrl('js/skybox/catalog.product.configurable.js');
84
+ echo '<script type="text/javascript" src="'.$productConfigurable.'"></script>';
85
+ }
86
+
87
$skyBoxUrlClientBase = $_helper->getSkyBoxUrlAPI();
88
$storeCode = Mage::getModel('skyboxcatalog/api_product')->getStoreCode();
89
$skyBoxUrlClientGet = str_replace("apirest/", "", $skyBoxUrlClientBase);
app/design/frontend/base/default/template/skybox/checkout/skyboxcheckout.phtml CHANGED
@@ -87,11 +87,7 @@ endif;
87
var url = SkyBoxUrlClient + id + ".html";
88
var content = jQuery.get(url, function (data) {
89
jQuery("#" + dataId).html(data);
90
- /*return data;*/
91
});
92
- // console.log("URL SkyBoxUrlClient: " +url);
93
- //console.log(url);
94
- /*console.log(content);*/
95
});
96
});
97
@@ -190,33 +186,6 @@ endif;
190
}
191
}
192
193
- var createCookie = function(name, value, days) {
194
- var expires;
195
- if (days) {
196
- var date = new Date();
197
- date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
198
- expires = "; expires=" + date.toGMTString();
199
- } else {
200
- expires = "";
201
- }
202
- document.cookie = name + "=" + value + expires + "; path=/";
203
- };
204
-
205
- function getCookie(c_name) {
206
- if (document.cookie.length > 0) {
207
- c_start = document.cookie.indexOf(c_name + "=");
208
- if (c_start !== -1) {
209
- c_start = c_start + c_name.length + 1;
210
- c_end = document.cookie.indexOf(";", c_start);
211
- if (c_end === -1) {
212
- c_end = document.cookie.length;
213
- }
214
- return unescape(document.cookie.substring(c_start, c_end));
215
- }
216
- }
217
- return "";
218
- }
219
-
220
function postMessageIframe() {
221
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
222
var eventer = window[eventMethod];
@@ -241,18 +210,6 @@ endif;
241
// popup.showCenter(true);
242
}
243
}
244
- function recalculateHeight() {
245
- if(!jQuery.isEmptyObject(popup) && win === 'resync'){
246
- var iFrameDOM = $("iframe#selectLocation_content").contents();
247
- popupHeight = iFrameDOM.find("body").height()+30;
248
- console.log(popupHeight);
249
- var _size = getSizeForPopup();
250
- popup.setSize(_size.width, _size.height)
251
- // popup.updateHeight()s
252
- // var fh = document.getElementById('selectLocation_content').contentWindow.document.getElementById('form1')
253
- }
254
- win = '';
255
- }
256
257
function browserResize() {
258
jQuery(window).resize(function() {
@@ -270,31 +227,32 @@ endif;
270
return {width: _width, height: popupHeight};
271
}
272
273
- $(".skx_position_option_country").unbind().click(function(){
274
goToLocation();
275
});
276
- $(".skx_banner_image_account").unbind().click(function(){
277
goToInitializeSession();
278
});
279
280
$(document).ready(function () {
281
widthPage = $(window).width();
282
heightPage = $(window).height();
283
- $(".skx_banner_image_car").click(goToCart);
284
- // $(".skx_position_option_country").click(goToLocation);
285
- // $(".skx_banner_image_account").click(goToInitializeSession);
286
- $(".skx_banner_image_tracking").click(goToTrackingLocation);
287
- $("#link_choise_country").click(goToCart);
288
postMessageIframe();
289
loadIframe();
290
browserResize();
291
-
292
- <?php if(Mage::getBlockSingleton('page/html_header')->getIsHomePage() && $change_country == true) : ?>
293
- if ( !getCookie('tivoli_latam_homepage') ) {
294
- createCookie('tivoli_latam_homepage', 1);
295
- //goToLocation();
296
- }
297
- <?php endif; ?>
298
});
299
})(jQuery);
300
</script>
@@ -362,7 +320,9 @@ if (!$_checkout->getErrorAuthenticate() && $_checkout->getLocationAllow()) : //
362
$height = (($UserTemporal == "1") ? 1400 : 900) + $size;
363
$height = 2500;
364
?>
365
- <iframe id="iframe_skybox_checkout" src="<?php echo $url; ?>" frameborder="0" scrolling="no"></iframe>
366
<script type="text/javascript">
367
jQuery(document).ready(function() {
368
var height = <?php echo $height; ?>;
@@ -387,7 +347,6 @@ endif;
387
setTimeout(function(){
388
var location_pathname = window.location.pathname.split('/');
389
var skx_bar = document.getElementsByClassName('skx-bar-text');
390
- console.log("location_pathname::::", location_pathname);
391
try{
392
if(location_pathname[2] === "international") skx_bar[0].style.display = "none";
393
}
87
var url = SkyBoxUrlClient + id + ".html";
88
var content = jQuery.get(url, function (data) {
89
jQuery("#" + dataId).html(data);
90
});
91
});
92
});
93
186
}
187
}
188
189
function postMessageIframe() {
190
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
191
var eventer = window[eventMethod];
210
// popup.showCenter(true);
211
}
212
}
213
214
function browserResize() {
215
jQuery(window).resize(function() {
227
return {width: _width, height: popupHeight};
228
}
229
230
+ $(".skx_position_option_country").unbind().click(function () {
231
goToLocation();
232
});
233
+
234
+ $(".skx_banner_image_account").unbind().click(function () {
235
goToInitializeSession();
236
});
237
238
+ $(".skx_banner_image_car").unbind().click(function () {
239
+ goToCart();
240
+ });
241
+
242
+ $(".skx_banner_image_tracking").unbind().click(function () {
243
+ goToTrackingLocation();
244
+ });
245
+
246
+ $("#link_choise_country").unbind().click(function () {
247
+ goToCart();
248
+ });
249
+
250
$(document).ready(function () {
251
widthPage = $(window).width();
252
heightPage = $(window).height();
253
postMessageIframe();
254
loadIframe();
255
browserResize();
256
});
257
})(jQuery);
258
</script>
320
$height = (($UserTemporal == "1") ? 1400 : 900) + $size;
321
$height = 2500;
322
?>
323
+ <div class="div_iframe_skybox_checkout">
324
+ <iframe id="iframe_skybox_checkout" src="<?php echo $url; ?>" frameborder="0" scrolling="no"></iframe>
325
+ </div>
326
<script type="text/javascript">
327
jQuery(document).ready(function() {
328
var height = <?php echo $height; ?>;
347
setTimeout(function(){
348
var location_pathname = window.location.pathname.split('/');
349
var skx_bar = document.getElementsByClassName('skx-bar-text');
350
try{
351
if(location_pathname[2] === "international") skx_bar[0].style.display = "none";
352
}
js/skybox/main.js CHANGED
@@ -103,7 +103,7 @@
103
goToLocation: function(data) {
104
console.log('>>>>>>>>>>>>>>>>>>>>>>>>> Log: Get goToLocation');
105
var datos = data.cartDataURL;
106
- var process_url = urlStore + "/skbcheckout/process"; // cambiar esta url
107
var return_url = document.URL;
108
// var url = SKYBOX_URL + "Webforms/PublicSite/ReSync.aspx?" + datos + "&process_url=" + process_url + "&return_url=" + return_url; //Falta una página de /skbcheckout/process en shopify
109
var url = SKYBOX_URL + "Webforms/PublicSite/ReSync.aspx?" + datos + "&process_url=" + process_url + "&return_url=" + return_url;
103
goToLocation: function(data) {
104
console.log('>>>>>>>>>>>>>>>>>>>>>>>>> Log: Get goToLocation');
105
var datos = data.cartDataURL;
106
+ var process_url = urlStore + "skbcheckout/process"; // cambiar esta url
107
var return_url = document.URL;
108
// var url = SKYBOX_URL + "Webforms/PublicSite/ReSync.aspx?" + datos + "&process_url=" + process_url + "&return_url=" + return_url; //Falta una página de /skbcheckout/process en shopify
109
var url = SKYBOX_URL + "Webforms/PublicSite/ReSync.aspx?" + datos + "&process_url=" + process_url + "&return_url=" + return_url;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>SKYBOZ456</name>
4
- <version>1.2.6</version>
5
<stability>stable</stability>
6
<license>Open</license>
7
<channel>community</channel>
@@ -11,8 +11,8 @@
11
<notes>Skybox Checkout enables a Magento ecommerce site to sell instantly to 180 countries &amp;amp; territories and accept payment in 140 local currencies. SkyBOX Checkout is a combination of technology tools &amp;amp; services to help retailers expand overseas while offering a localized full landed cost calculation to international shoppers. SkyBOX Checkout takes on full risk of fraud screening &amp;amp; international payments while providing competitive international shipping with full tracking via its proprietary logistics network.</notes>
12
<authors><author><name>Emilio Lizarraga</name><user>Emilio</user><email>emilio@skynet.net</email></author></authors>
13
<date>2017-05-09</date>
14
- <time>17:29:47</time>
15
- <contents><target name="magecommunity"><dir name="Skybox"><dir name="Catalog"><dir name="Block"><dir name="Bundle"><file name="Price.php" hash="9e6a41b50d37ed0884d08387ed793f99"/></dir><dir name="Catalog"><dir name="Category"><dir name="Tab"><file name="Skyboxcheckout.php" hash="c7e4e2df7a3b11ef640d18191eb01e2a"/></dir></dir></dir><dir name="Product"><file name="List.php" hash="b2b64e6dabe4727d4d18c7520eff7226"/><file name="Price.php" hash="b2fd8386c461d87e61c0d68f9718fe84"/><dir name="Widget"><file name="New.php" hash="8988c7748816f60afbc01eae20707c52"/></dir></dir></dir><dir name="Model"><dir name="Api"><file name="Product.php" hash="60ab5d3b86dd989cb1dd164c1112eb39"/></dir><file name="Observer.php" hash="cb96f1f3c9e83821148ca03c13d4e7a4"/><dir name="Product"><dir name="Attribute"><dir name="Source"><file name="Categories.php" hash="2c8e12e8ec757115531380881a3a4a22"/></dir></dir><dir name="Type"><file name="Price.php" hash="70f5e1fd02249941a5f04ca472bf440b"/></dir></dir><dir name="Resource"><file name="Setup.php" hash="02712115776769fa7983632cc72bdbdb"/></dir></dir><dir name="etc"><file name="config.xml" hash="aaeceb755f07f5ea6233b653d602bfdc"/></dir><dir name="sql"><dir name="skyboxcatalog_setup"><file name="mysql4-install-0.1.0.php" hash="dfa79dc84a6028a9171f709670a1b8d1"/></dir></dir></dir><dir name="Checkout"><dir name="Block"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="c7862ab4b8936f0f15d2217b8175f3b2"/></dir><file name="Sidebar.php" hash="cefcb890a5d9d2d89d370d07eee11049"/><file name="Totals.php" hash="b695dde8996b21b65277dfc6efc50482"/></dir><dir name="Checkout"><dir name="Cart"><file name="Sidebar.php" hash="f2f99df06a26ce5bc580becff0f562aa"/></dir><file name="Cart.php" hash="f5bf7d91da455bf8b587b12090cb5f55"/><file name="Links.php" hash="3bc5d4ee0b81cab34ef85b616362ba82"/><dir name="Onepage"><file name="Link.php" hash="6ee490c1a0248814c79b003dc11b3b13"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Total.php" hash="aca921ee33625d8ab824c9f770154fe8"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="42382d6dbe0257802a7f69548de10122"/><file name="Url.php" hash="bc4ba406cff59e5fdebe1cd087c3d946"/></dir><dir name="Model"><dir name="Api"><file name="Checkout.php" hash="02f0ea9268f986c85998527290e6cb61"/></dir><file name="Carrier.php" hash="e7a7856c7bd25099d2cd0ccc0fef3cc8"/><file name="Cart.php" hash="82cfd05c6c38fee8b63447abba31ba2f"/><dir name="Creditmemo"><file name="Total.php" hash="9741bdffba5f4fb93f974ebff5342446"/></dir><dir name="Invoice"><file name="Total.php" hash="bec3b4df14eb5ee06c32d648d230fe6c"/></dir><file name="Observer.php" hash="1d61207e72f626d76059bf4c5179e414"/><file name="Pay.php" hash="2162cfc602ba16441b50e76a1f0d355e"/><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Rmt.php" hash="cba464c6dfa49eb6b5219b5d510cb0d8"/><file name="Tax.php" hash="d19c997af49305890ec76256537bc274"/></dir></dir><file name="Item.php" hash="94c87cbf798b4f3b1df93df58d0127ff"/><file name="SubTotal.php" hash="618ab987b56594928babd91032d96fcf"/><file name="Total.php" hash="4b1ff9e87189ce3ebd426d782e6d6d49"/><file name="Total2.php" hash="2e68ee88038d6afa4ecae31c760923d2"/><file name="Total3.php" hash="af800fdcafa73d7e6f5005617c1fff50"/><file name="Total4.php" hash="d07c7d0c6cea924de1c073b86325f334"/><file name="Total5.php" hash="7621ffe0c48f4cff0be01d8675ebfd40"/><file name="Total6.php" hash="f3928406b3f8e27c2130b191affa216b"/><file name="Total7.php" hash="364dda6841e33501d8da82d6a707e3f3"/><file name="Total8.php" hash="0198e24497fbfb54da8d08c068421e98"/></dir></dir><dir name="controllers"><file name="CalculateController.php" hash="c73aa0c8ac767ececbfbbcd1619e7b4b"/><file name="InternationalController.php" hash="f0ffbc37e5e4d0a87108fb1e472944b1"/><file name="ProcessController.php" hash="9160f65b3dadec8533453f9bb536db10"/></dir><dir name="etc"><file name="config.xml" hash="3318e18c782da6ccec24f8a1e83af99f"/><file name="system.xml" hash="2a5472fd0a152a9675de8cecb9bdf6c5"/></dir><dir name="sql"><dir name="skyboxcheckout_setup"><file name="mysql4-install-0.1.0.php" hash="fb9abdfaba4397c16c925d7775a9f8f6"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="a9c26858268c150c09b486525a001ece"/><file name="mysql4-upgrade-0.1.0-0.1.2.php" hash="16668f60c9e3cdd74b4aebf6ac5beb99"/><file name="mysql4-upgrade-1.2.5-1.2.5.2.php" hash="46d14b76fc745e8772cde4956d1b1f66"/><file name="mysql4-upgrade-1.2.5.2-1.2.6.php" hash="46d14b76fc745e8772cde4956d1b1f66"/></dir></dir></dir><dir name="Core"><file name="Exception.php" hash="bca15d9d6fff9b215368a2957f2143c2"/><dir name="Helper"><file name="Allow.php" hash="f9376ffe2d6fd16b61f5e5b03a25c236"/><file name="Data.php" hash="eccfed0d0f8e29e8e50ec775d58a999f"/><file name="Email.php" hash="cc031b5b69014ac7105e909c39844acf"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="96880d0c219133d16a9507bc6b746521"/><file name="Restful.php" hash="3107eeebbf64d6c365cf0fe3a1b5a580"/></dir><file name="Config.php" hash="66680aacb08b887a655e4a1236e36dc1"/><file name="Logservice.php" hash="705634aa093731d2612d658f920f279f"/><dir name="Mysql4"><dir name="Logservice"><file name="Collection.php" hash="58ebee3c24c6743cee363bc2562e1244"/></dir><file name="Logservice.php" hash="c24c3296dabd9ea9443fb4fca9e1ab2e"/></dir><file name="Mysql4.php" hash="48e708546b6d819f9ab57d630d8a72c7"/><file name="Session.php" hash="75e90de0993568a07ba2cd9b83500538"/><file name="Standard.php" hash="9faf8ad601d206f7e7fd155ad87b0e4e"/></dir><dir name="etc"><file name="config.xml" hash="5364f9123f7a48ccf6eb708ec45c253e"/></dir><dir name="sql"><dir name="skyboxcore_setup"><file name="mysql4-install-0.1.0.php" hash="075d96fc11928d12d490cb346029f392"/></dir></dir></dir><dir name="International"><dir name="Helper"><file name="Data.php" hash="861172962e401f9729f0f098853d2535"/></dir><dir name="Model"><file name="Config.php" hash="7de8767d2cafb6a32c25ec04d5cc31d1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a282724808c4a3e46cf9bef869004684"/><file name="config.xml" hash="ec7afcf3c8c18aeb0aebe56bba3a25c5"/><file name="system.xml" hash="e39beecb0a418d56199062bca9bd4349"/></dir></dir><dir name="Services"><dir name="Model"><dir name="Api"><file name="V2.php" hash="85b805249e2d4bd5183402a958821c70"/></dir><file name="Api.php" hash="773cbefe6af8fc316f7a65b4b834da21"/></dir><dir name="etc"><file name="api.xml" hash="5a997cabfcebdfd33c046fb36a9f2c05"/><file name="config.xml" hash="340bcfa91d8e27a04301e9fd713c29e1"/><file name="wsdl.xml" hash="f457001a1237e7d87be84d6903b6e614"/><file name="wsi.xml" hash="a077f2cf9644dba05db287ec47509808"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="skyboxcatalog.xml" hash="49c2aa4aef74456609fc9411739dc030"/><file name="skyboxinternational.xml" hash="b26933ce204399bfbe54ce28d385c1e3"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="skyboxcheckout.xml" hash="00d65daea65979c748a3510094544f34"/></dir><dir name="template"><dir name="skybox"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="3e4d275d5260bf10def74b0af438b6e5"/></dir><file name="shipping.phtml" hash="4a181beac32bf4ecfee57d407b7c484b"/><dir name="sidebar"><file name="default.phtml" hash="3c767fa405317514d7c2d3d3ab9b6bc7"/></dir><file name="sidebar.phtml" hash="8344c09dde70abe4e3b9c8861a1bb741"/></dir><file name="cart.phtml" hash="f7071c19bfce775aae865b96d05d2167"/><file name="cart_list.phtml" hash="92e9359602a2f239fa1197060a3dc1a8"/><file name="headerskybox.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="onepage"><file name="link.phtml" hash="64157cac24b28a6563b5ff1d8c06780c"/></dir><file name="onepage.phtml" hash="2b74cd9dc82b54f1b71fe1f2d25ea3bb"/><file name="pagecheckout.phtml" hash="f049c52b94b917a96004c26f4a404f7d"/><file name="skyboxcheckout.phtml" hash="2ba5ad0d53914fbd44df66582f1fc4ed"/><file name="skyboxsuccess.phtml" hash="5327d846883827678f2ab6f5a426652e"/></dir><dir name="product"><file name="price.phtml" hash="22d109303a7e71cedd65f130ba64377d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Skybox_All.xml" hash="050dbba0b15dc3f5a8d78baa03fe1d81"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="skybox"><file name="catalog.product.configurable.js" hash="41265b531b5ae4d03e7663aa1c354b6d"/></dir></dir><dir name="css"><dir name="skybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_loading.gif" hash="328cc0f6c78211485058d460e80f4fa8"/><file name="fancybox_loading@2x.gif" hash="f92938639fa894a0e8ded1c3368abe98"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/><file name="fancybox_sprite@2x.png" hash="ed9970ce22242421e66ff150aa97fe5f"/><file name="jquery.fancybox.css" hash="50b795fb178b5a1c73833c47bad38987"/><file name="style.css" hash="2fc25ef48794afef983262e2e652a3c1"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="skybox"><file name="adminhtml.category.js" hash="2c005c1478cfe7b39266257f5bfa89c9"/><file name="jquery.ba-resize.min.js" hash="9e80c546032c71de01a5c4bf4527995f"/><file name="jquery.fancybox.js" hash="5701e956bc1c938e0bdb4f7c20cec9c4"/><file name="jquery.min.js" hash="b8d64d0bc142b3f670cc0611b0aebcae"/><file name="load-jquery.js" hash="79b0d3dfea993a89d56b4c690d10d468"/><file name="main.js" hash="8b56e5bec2d4acbd445ae3629f38a167"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies><required><php><min>5.3.25</min><max>7.0.0</max></php></required></dependencies>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>SKYBOZ456</name>
4
+ <version>1.2.6.1</version>
5
<stability>stable</stability>
6
<license>Open</license>
7
<channel>community</channel>
11
<notes>Skybox Checkout enables a Magento ecommerce site to sell instantly to 180 countries &amp;amp; territories and accept payment in 140 local currencies. SkyBOX Checkout is a combination of technology tools &amp;amp; services to help retailers expand overseas while offering a localized full landed cost calculation to international shoppers. SkyBOX Checkout takes on full risk of fraud screening &amp;amp; international payments while providing competitive international shipping with full tracking via its proprietary logistics network.</notes>
12
<authors><author><name>Emilio Lizarraga</name><user>Emilio</user><email>emilio@skynet.net</email></author></authors>
13
<date>2017-05-09</date>
14
+ <time>23:57:10</time>
15
+ <contents><target name="magecommunity"><dir name="Skybox"><dir name="Catalog"><dir name="Block"><dir name="Bundle"><file name="Price.php" hash="9e6a41b50d37ed0884d08387ed793f99"/></dir><dir name="Catalog"><dir name="Category"><dir name="Tab"><file name="Skyboxcheckout.php" hash="c7e4e2df7a3b11ef640d18191eb01e2a"/></dir></dir></dir><dir name="Product"><file name="List.php" hash="b2b64e6dabe4727d4d18c7520eff7226"/><file name="Price.php" hash="b2fd8386c461d87e61c0d68f9718fe84"/><dir name="Widget"><file name="New.php" hash="8988c7748816f60afbc01eae20707c52"/></dir></dir></dir><dir name="Model"><dir name="Api"><file name="Product.php" hash="60ab5d3b86dd989cb1dd164c1112eb39"/></dir><file name="Observer.php" hash="cb96f1f3c9e83821148ca03c13d4e7a4"/><dir name="Product"><dir name="Attribute"><dir name="Source"><file name="Categories.php" hash="2c8e12e8ec757115531380881a3a4a22"/></dir></dir><dir name="Type"><file name="Price.php" hash="70f5e1fd02249941a5f04ca472bf440b"/></dir></dir><dir name="Resource"><file name="Setup.php" hash="02712115776769fa7983632cc72bdbdb"/></dir></dir><dir name="etc"><file name="config.xml" hash="aaeceb755f07f5ea6233b653d602bfdc"/></dir><dir name="sql"><dir name="skyboxcatalog_setup"><file name="mysql4-install-0.1.0.php" hash="dfa79dc84a6028a9171f709670a1b8d1"/></dir></dir></dir><dir name="Checkout"><dir name="Block"><dir name="Cart"><dir name="Item"><file name="Renderer.php" hash="c7862ab4b8936f0f15d2217b8175f3b2"/></dir><file name="Sidebar.php" hash="cefcb890a5d9d2d89d370d07eee11049"/><file name="Totals.php" hash="b695dde8996b21b65277dfc6efc50482"/></dir><dir name="Checkout"><dir name="Cart"><file name="Sidebar.php" hash="f2f99df06a26ce5bc580becff0f562aa"/></dir><file name="Cart.php" hash="f5bf7d91da455bf8b587b12090cb5f55"/><file name="Links.php" hash="3bc5d4ee0b81cab34ef85b616362ba82"/><dir name="Onepage"><file name="Link.php" hash="6ee490c1a0248814c79b003dc11b3b13"/></dir></dir><dir name="Sales"><dir name="Order"><file name="Total.php" hash="aca921ee33625d8ab824c9f770154fe8"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="42382d6dbe0257802a7f69548de10122"/><file name="Url.php" hash="bc4ba406cff59e5fdebe1cd087c3d946"/></dir><dir name="Model"><dir name="Api"><file name="Checkout.php" hash="02f0ea9268f986c85998527290e6cb61"/></dir><file name="Carrier.php" hash="e7a7856c7bd25099d2cd0ccc0fef3cc8"/><file name="Cart.php" hash="aa5a34ab62b198b0759f4494f7018769"/><dir name="Creditmemo"><file name="Total.php" hash="9741bdffba5f4fb93f974ebff5342446"/></dir><dir name="Invoice"><file name="Total.php" hash="bec3b4df14eb5ee06c32d648d230fe6c"/></dir><file name="Observer.php" hash="1d61207e72f626d76059bf4c5179e414"/><file name="Pay.php" hash="2162cfc602ba16441b50e76a1f0d355e"/><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Rmt.php" hash="cba464c6dfa49eb6b5219b5d510cb0d8"/><file name="Tax.php" hash="d19c997af49305890ec76256537bc274"/></dir></dir><file name="Item.php" hash="94c87cbf798b4f3b1df93df58d0127ff"/><file name="SubTotal.php" hash="618ab987b56594928babd91032d96fcf"/><file name="Total.php" hash="4b1ff9e87189ce3ebd426d782e6d6d49"/><file name="Total2.php" hash="2e68ee88038d6afa4ecae31c760923d2"/><file name="Total3.php" hash="af800fdcafa73d7e6f5005617c1fff50"/><file name="Total4.php" hash="d07c7d0c6cea924de1c073b86325f334"/><file name="Total5.php" hash="7621ffe0c48f4cff0be01d8675ebfd40"/><file name="Total6.php" hash="f3928406b3f8e27c2130b191affa216b"/><file name="Total7.php" hash="364dda6841e33501d8da82d6a707e3f3"/><file name="Total8.php" hash="0198e24497fbfb54da8d08c068421e98"/></dir></dir><dir name="controllers"><file name="CalculateController.php" hash="15bd7d1e258d43ff3874475ba4ac1557"/><file name="InternationalController.php" hash="f0ffbc37e5e4d0a87108fb1e472944b1"/><file name="ProcessController.php" hash="017021d32b26898320f07522e4980de5"/></dir><dir name="etc"><file name="config.xml" hash="3318e18c782da6ccec24f8a1e83af99f"/><file name="system.xml" hash="2a5472fd0a152a9675de8cecb9bdf6c5"/></dir><dir name="sql"><dir name="skyboxcheckout_setup"><file name="mysql4-install-0.1.0.php" hash="fb9abdfaba4397c16c925d7775a9f8f6"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="a9c26858268c150c09b486525a001ece"/><file name="mysql4-upgrade-0.1.0-0.1.2.php" hash="16668f60c9e3cdd74b4aebf6ac5beb99"/><file name="mysql4-upgrade-1.2.5-1.2.5.2.php" hash="46d14b76fc745e8772cde4956d1b1f66"/><file name="mysql4-upgrade-1.2.5.2-1.2.6.php" hash="46d14b76fc745e8772cde4956d1b1f66"/></dir></dir></dir><dir name="Core"><file name="Exception.php" hash="bca15d9d6fff9b215368a2957f2143c2"/><dir name="Helper"><file name="Allow.php" hash="f9376ffe2d6fd16b61f5e5b03a25c236"/><file name="Data.php" hash="eccfed0d0f8e29e8e50ec775d58a999f"/><file name="Email.php" hash="cc031b5b69014ac7105e909c39844acf"/></dir><dir name="Model"><dir name="Api"><file name="Abstract.php" hash="96880d0c219133d16a9507bc6b746521"/><file name="Restful.php" hash="3107eeebbf64d6c365cf0fe3a1b5a580"/></dir><file name="Config.php" hash="66680aacb08b887a655e4a1236e36dc1"/><file name="Logservice.php" hash="705634aa093731d2612d658f920f279f"/><dir name="Mysql4"><dir name="Logservice"><file name="Collection.php" hash="58ebee3c24c6743cee363bc2562e1244"/></dir><file name="Logservice.php" hash="c24c3296dabd9ea9443fb4fca9e1ab2e"/></dir><file name="Mysql4.php" hash="48e708546b6d819f9ab57d630d8a72c7"/><file name="Session.php" hash="75e90de0993568a07ba2cd9b83500538"/><file name="Standard.php" hash="9faf8ad601d206f7e7fd155ad87b0e4e"/></dir><dir name="etc"><file name="config.xml" hash="5364f9123f7a48ccf6eb708ec45c253e"/></dir><dir name="sql"><dir name="skyboxcore_setup"><file name="mysql4-install-0.1.0.php" hash="075d96fc11928d12d490cb346029f392"/></dir></dir></dir><dir name="International"><dir name="Helper"><file name="Data.php" hash="861172962e401f9729f0f098853d2535"/></dir><dir name="Model"><file name="Config.php" hash="7de8767d2cafb6a32c25ec04d5cc31d1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a282724808c4a3e46cf9bef869004684"/><file name="config.xml" hash="ec7afcf3c8c18aeb0aebe56bba3a25c5"/><file name="system.xml" hash="e39beecb0a418d56199062bca9bd4349"/></dir></dir><dir name="Services"><dir name="Model"><dir name="Api"><file name="V2.php" hash="85b805249e2d4bd5183402a958821c70"/></dir><file name="Api.php" hash="773cbefe6af8fc316f7a65b4b834da21"/></dir><dir name="etc"><file name="api.xml" hash="5a997cabfcebdfd33c046fb36a9f2c05"/><file name="config.xml" hash="340bcfa91d8e27a04301e9fd713c29e1"/><file name="wsdl.xml" hash="f457001a1237e7d87be84d6903b6e614"/><file name="wsi.xml" hash="a077f2cf9644dba05db287ec47509808"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="skyboxcatalog.xml" hash="49c2aa4aef74456609fc9411739dc030"/><file name="skyboxinternational.xml" hash="b26933ce204399bfbe54ce28d385c1e3"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="skyboxcheckout.xml" hash="a6fa59651a304f8bed3b84a21b3440ce"/></dir><dir name="template"><dir name="skybox"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="3e4d275d5260bf10def74b0af438b6e5"/></dir><file name="shipping.phtml" hash="4a181beac32bf4ecfee57d407b7c484b"/><dir name="sidebar"><file name="default.phtml" hash="3c767fa405317514d7c2d3d3ab9b6bc7"/></dir><file name="sidebar.phtml" hash="8344c09dde70abe4e3b9c8861a1bb741"/></dir><file name="cart.phtml" hash="b425afeea99aaee950e260724984253d"/><file name="cart_list.phtml" hash="92e9359602a2f239fa1197060a3dc1a8"/><file name="headerskybox.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="onepage"><file name="link.phtml" hash="64157cac24b28a6563b5ff1d8c06780c"/></dir><file name="onepage.phtml" hash="2b74cd9dc82b54f1b71fe1f2d25ea3bb"/><file name="pagecheckout.phtml" hash="f049c52b94b917a96004c26f4a404f7d"/><file name="skyboxcheckout.phtml" hash="15d327661efa77d2c790bf53e28bdfea"/><file name="skyboxsuccess.phtml" hash="5327d846883827678f2ab6f5a426652e"/></dir><dir name="product"><file name="price.phtml" hash="22d109303a7e71cedd65f130ba64377d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Skybox_All.xml" hash="050dbba0b15dc3f5a8d78baa03fe1d81"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="js"><dir name="skybox"><file name="catalog.product.configurable.js" hash="5306b6650dad8d0ab3b0679d151c7d8e"/></dir></dir><dir name="css"><dir name="skybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_loading.gif" hash="328cc0f6c78211485058d460e80f4fa8"/><file name="fancybox_loading@2x.gif" hash="f92938639fa894a0e8ded1c3368abe98"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/><file name="fancybox_sprite@2x.png" hash="ed9970ce22242421e66ff150aa97fe5f"/><file name="jquery.fancybox.css" hash="50b795fb178b5a1c73833c47bad38987"/><file name="style.css" hash="80c29b6490813a323f61da31c879bb14"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="skybox"><file name="adminhtml.category.js" hash="2c005c1478cfe7b39266257f5bfa89c9"/><file name="jquery.ba-resize.min.js" hash="9e80c546032c71de01a5c4bf4527995f"/><file name="jquery.fancybox.js" hash="5701e956bc1c938e0bdb4f7c20cec9c4"/><file name="jquery.min.js" hash="b8d64d0bc142b3f670cc0611b0aebcae"/><file name="load-jquery.js" hash="79b0d3dfea993a89d56b4c690d10d468"/><file name="main.js" hash="bb0559f0ffb1999f7ffa4e877f57f773"/></dir></dir></target></contents>
16
<compatible/>
17
<dependencies><required><php><min>5.3.25</min><max>7.0.0</max></php></required></dependencies>
18
</package>
skin/frontend/base/default/css/skybox/style.css CHANGED
@@ -111,4 +111,16 @@
111
.fancybox-mobile{
112
position: fixed !important;
113
top: 20px !important;
114
}
111
.fancybox-mobile{
112
position: fixed !important;
113
top: 20px !important;
114
+ }
115
+
116
+ .div_iframe_skybox_checkout{
117
+
118
+ }
119
+
120
+ .div_iframe_skybox_checkout:before{
121
+
122
+ }
123
+
124
+ .div_iframe_skybox_checkout:after{
125
+
126
}
skin/frontend/base/default/js/skybox/catalog.product.configurable.js CHANGED
@@ -1,6 +1,6 @@
1
/**************************** CONFIGURABLE PRODUCT **************************/
2
3
- if (typeof Product != 'undefined') {
4
5
/*
6
* Note: We disabled this jQuery function, because we need to support IE older versions.
@@ -44,7 +44,7 @@ if (typeof Product != 'undefined') {
44
var SkyboxOptionsPrice = Class.create(Product.OptionsPrice, {
45
46
makeAjaxCall: function () {
47
- document.getElementsByClassName('price-info')[0].innerHTML = "<img src='https://cdn.shopify.com/s/files/1/1976/9429/t/1/assets/ajax-loader.gif?10083406412996855781'/>";
48
console.log("Price: " + this.myProductPrice);
49
var request = $('product_addtocart_form').serialize();
50
@@ -68,7 +68,7 @@ if (typeof Product != 'undefined') {
68
}
69
70
if (price_info) {
71
- //console.log('price-info');
72
$('.price-info')[0].innerHTML = response;
73
}
74
@@ -80,7 +80,6 @@ if (typeof Product != 'undefined') {
80
81
reload: function ($super) {
82
$super();
83
-
84
var price;
85
var formattedPrice;
86
var optionPrices = this.getOptionPrices();
@@ -114,19 +113,17 @@ if (typeof Product != 'undefined') {
114
var incl = excl;
115
var finalPrice = parseFloat(incl);
116
117
- /*console.log('Price incl tax: ' + _priceInclTax);
118
- console.log('Origin Tax: ' + this.currentTax);
119
- console.log('Tax: ' + tax);
120
- console.log('price reload: ' + price);
121
- console.log('Price + Tax: ' + incl);*/
122
123
this.url = SKYBOX_OPTIONS_PRICE_URL;
124
this.myProductPrice = finalPrice;
125
this.makeAjaxCall();
126
}
127
-
128
});
129
-
130
Product.OptionsPrice = SkyboxOptionsPrice;
131
}
132
1
/**************************** CONFIGURABLE PRODUCT **************************/
2
3
+ if (typeof Product !== 'undefined') {
4
5
/*
6
* Note: We disabled this jQuery function, because we need to support IE older versions.
44
var SkyboxOptionsPrice = Class.create(Product.OptionsPrice, {
45
46
makeAjaxCall: function () {
47
+ // document.getElementsByClassName('price-info')[0].innerHTML = "<img src='https://cdn.shopify.com/s/files/1/1976/9429/t/1/assets/ajax-loader.gif?10083406412996855781'/>";
48
console.log("Price: " + this.myProductPrice);
49
var request = $('product_addtocart_form').serialize();
50
68
}
69
70
if (price_info) {
71
+ console.log('price-info');
72
$('.price-info')[0].innerHTML = response;
73
}
74
80
81
reload: function ($super) {
82
$super();
83
var price;
84
var formattedPrice;
85
var optionPrices = this.getOptionPrices();
113
var incl = excl;
114
var finalPrice = parseFloat(incl);
115
116
+ // console.log('Price incl tax: ' + _priceInclTax);
117
+ // console.log('Origin Tax: ' + this.currentTax);
118
+ // console.log('Tax: ' + tax);
119
+ // console.log('price reload: ' + price);
120
+ // console.log('Price + Tax: ' + incl);
121
122
this.url = SKYBOX_OPTIONS_PRICE_URL;
123
this.myProductPrice = finalPrice;
124
this.makeAjaxCall();
125
}
126
});
127
Product.OptionsPrice = SkyboxOptionsPrice;
128
}
129