Version Notes
Notes
Download this release
Release Info
| Developer | Oct8ne |
| Extension | LetsSyncroLLC_Oct8ne |
| Version | 1.1.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.1.1 to 1.1.3
- app/code/community/LetsSyncroLLC/Oct8ne/Block/Accountconfig.php +14 -23
- app/code/community/LetsSyncroLLC/Oct8ne/Block/Index.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/Helper/Data.php +0 -13
- app/code/community/LetsSyncroLLC/Oct8ne/Model/Letssyncro.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/Model/Mysql4/LetsSyncro/Collection.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/Model/Mysql4/Letssyncro.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/Model/Observer.php +125 -117
- app/code/community/LetsSyncroLLC/Oct8ne/controllers/AccountController.php +49 -0
- app/code/community/LetsSyncroLLC/Oct8ne/controllers/AdminController.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/controllers/IndexController.php +0 -12
- app/code/community/LetsSyncroLLC/Oct8ne/controllers/letssyncro.phtml +0 -13
- app/code/community/LetsSyncroLLC/Oct8ne/etc/config.xml +15 -2
- app/code/community/LetsSyncroLLC/Oct8ne/etc/system.xml +39 -0
- app/code/community/LetsSyncroLLC/Oct8ne/sql/oct8ne_setup/mysql4-install-0.5.0.php +0 -13
- app/code/community/LetsSyncroLLC/Oct8ne/sql/oct8ne_setup/mysql4-install-1.0.0.php +0 -13
- app/design/frontend/default/default/template/oct8ne/letssyncro.phtml +0 -13
- app/design/frontend/default/oct8ne/template/page/1column.phtml +46 -0
- app/design/frontend/default/oct8ne/template/page/2columns-left.phtml +46 -0
- app/design/frontend/default/oct8ne/template/page/2columns-right.phtml +46 -0
- app/design/frontend/default/oct8ne/template/page/3columns.phtml +46 -0
- app/etc/modules/LetsSyncroLLC_Oct8ne.xml +7 -1
- app/locale/en_US/LetsSyncroLLC_Oct8ne.csv +12 -12
- app/locale/es_ES/LetsSyncroLLC_Oct8ne.csv +12 -12
- package.xml +166 -4
app/code/community/LetsSyncroLLC/Oct8ne/Block/Accountconfig.php
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
| 16 |
{
|
| 17 |
private $letssyncromodel;
|
|
@@ -35,11 +22,11 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 35 |
} elseif (empty($letssyncro_password)) {
|
| 36 |
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('The field (Password) cannot be empty.').'</div></li></ul></li></ul><br></div>';
|
| 37 |
} elseif (!$this->updateLetsSyncroUserPassword($letssyncrooptions,$letssyncromodel,$letssyncro_useremail,$letssyncro_password)) {
|
| 38 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error on your credentials and cannot obtain
|
| 39 |
} elseif (!$this->updateLetsSyncroEnabled('1',$letssyncrooptions,$letssyncromodel)) {
|
| 40 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error activating
|
| 41 |
} else {
|
| 42 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('
|
| 43 |
}
|
| 44 |
|
| 45 |
$letssyncromodel->save();
|
|
@@ -48,9 +35,9 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 48 |
if (isset($_GET['deactivate']) && !isset($submitLetsSyncroCredentials))
|
| 49 |
{
|
| 50 |
if (!$this->updateLetsSyncroEnabled('0',$letssyncrooptions,$letssyncromodel))
|
| 51 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error deactivating
|
| 52 |
else
|
| 53 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('
|
| 54 |
|
| 55 |
$letssyncromodel->save();
|
| 56 |
}
|
|
@@ -58,9 +45,9 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 58 |
if (isset($_GET['activate']) && !isset($submitLetsSyncroCredentials))
|
| 59 |
{
|
| 60 |
if (!$this->updateLetsSyncroEnabled('1',$letssyncrooptions,$letssyncromodel))
|
| 61 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error activating
|
| 62 |
else
|
| 63 |
-
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('
|
| 64 |
|
| 65 |
$letssyncromodel->save();
|
| 66 |
}
|
|
@@ -181,7 +168,7 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 181 |
<label class="t" for="display_on"> <img src="'.Mage::getStoreConfig('web/unsecure/base_url').'/app/design/adminhtml/default/default/template/oct8ne/enabled.gif" alt="'.$this->__('Enabled').'" title="'.$this->__('Enabled').'" /></label>
|
| 182 |
<input type="radio" name="letssyncro_enabled" id="off" value="0" '.(!$letssyncrooptions['enabled'] ? 'checked="checked" ' : '').'/>
|
| 183 |
<label class="t" for="display_off"> <img src="'.Mage::getStoreConfig('web/unsecure/base_url').'/app/design/adminhtml/default/default/template/oct8ne/disabled.gif" alt="'.$this->__('Disabled').'" title="'.$this->__('Disabled').'" /></label>
|
| 184 |
-
<p class="clear">'.$this->__('Enable the integration with
|
| 185 |
</div>
|
| 186 |
<label>'.$this->__('User License ID:').'</label>
|
| 187 |
<div class="margin-form">
|
|
@@ -196,7 +183,7 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 196 |
<label>'.$this->__('URL API:').'</label>
|
| 197 |
<div class="margin-form"">
|
| 198 |
<input type="text" name="letssyncro_urlapi" id="letssyncro_urlapi" size="40" value="'.(($this->error AND isset($_POST['letssyncro_urlapi'])) ? $_POST['letssyncro_urlapi'] : $letssyncrooptions['urlapi']).'" />
|
| 199 |
-
<p class="clear">'.$this->__('URL of the API
|
| 200 |
</div>
|
| 201 |
<div class="margin-form">
|
| 202 |
<input type="submit" class="button disable" name="submitLetsSyncroSettings" style="cursor: pointer;" value="'.$this->__('Save').'" id="submitLetsSyncroSettings" />
|
|
@@ -342,8 +329,10 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 342 |
$Pass = $DOM->createElement('Pass', $this->urlsafe_b64decode($letssyncro_password));
|
| 343 |
$baseurl = $DOM->createElement('BaseUrl', Mage::getBaseUrl());
|
| 344 |
$checkouturl = $DOM->createElement('CheckoutUrl', Mage::helper('checkout/url')->getCheckoutUrl());
|
| 345 |
-
$loginurl = $DOM->createElement('
|
| 346 |
// $currency = $DOM->createElement('CheckoutUrl', Mage::helper('checkout/url')->getCheckoutUrl());
|
|
|
|
|
|
|
| 347 |
|
| 348 |
$XML->appendChild($baseurl);
|
| 349 |
$XML->appendChild($checkouturl);
|
|
@@ -351,6 +340,8 @@ class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
|
| 351 |
$XML->appendChild($Email);
|
| 352 |
$XML->appendChild($loginurl);
|
| 353 |
$XML->appendChild($Pass);
|
|
|
|
|
|
|
| 354 |
|
| 355 |
return $DOM->saveXML($DOM->documentElement);
|
| 356 |
}
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class LetsSyncroLLC_Oct8ne_Block_Accountconfig extends Mage_Core_Block_Template
|
| 3 |
{
|
| 4 |
private $letssyncromodel;
|
| 22 |
} elseif (empty($letssyncro_password)) {
|
| 23 |
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('The field (Password) cannot be empty.').'</div></li></ul></li></ul><br></div>';
|
| 24 |
} elseif (!$this->updateLetsSyncroUserPassword($letssyncrooptions,$letssyncromodel,$letssyncro_useremail,$letssyncro_password)) {
|
| 25 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error on your credentials and cannot obtain OCT8NE integration data.').'</div></li></ul></li></ul><br></div>';
|
| 26 |
} elseif (!$this->updateLetsSyncroEnabled('1',$letssyncrooptions,$letssyncromodel)) {
|
| 27 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error activating OCT8NE integration.').'</div></li></ul></li></ul><br></div>';
|
| 28 |
} else {
|
| 29 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('OCT8NE integration data obtained successfully!').'</div></li></ul></li></ul><br></div>';
|
| 30 |
}
|
| 31 |
|
| 32 |
$letssyncromodel->save();
|
| 35 |
if (isset($_GET['deactivate']) && !isset($submitLetsSyncroCredentials))
|
| 36 |
{
|
| 37 |
if (!$this->updateLetsSyncroEnabled('0',$letssyncrooptions,$letssyncromodel))
|
| 38 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error deactivating OCT8NE integration.').'</div></li></ul></li></ul><br></div>';
|
| 39 |
else
|
| 40 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('OCT8NE integration deactivated successfully!').'</div></li></ul></li></ul><br></div>';
|
| 41 |
|
| 42 |
$letssyncromodel->save();
|
| 43 |
}
|
| 45 |
if (isset($_GET['activate']) && !isset($submitLetsSyncroCredentials))
|
| 46 |
{
|
| 47 |
if (!$this->updateLetsSyncroEnabled('1',$letssyncrooptions,$letssyncromodel))
|
| 48 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="error-msg"><ul><li><div id="themessage">'.$this->__('There was an error activating OCT8NE integration.').'</div></li></ul></li></ul><br></div>';
|
| 49 |
else
|
| 50 |
+
$this->_html .= '<div id="messagesbox"><ul class="messages"><li class="success-msg"><ul><li><div id="themessage">'.$this->__('OCT8NE integration activated successfully!').'</div></li></ul></li></ul><br></div>';
|
| 51 |
|
| 52 |
$letssyncromodel->save();
|
| 53 |
}
|
| 168 |
<label class="t" for="display_on"> <img src="'.Mage::getStoreConfig('web/unsecure/base_url').'/app/design/adminhtml/default/default/template/oct8ne/enabled.gif" alt="'.$this->__('Enabled').'" title="'.$this->__('Enabled').'" /></label>
|
| 169 |
<input type="radio" name="letssyncro_enabled" id="off" value="0" '.(!$letssyncrooptions['enabled'] ? 'checked="checked" ' : '').'/>
|
| 170 |
<label class="t" for="display_off"> <img src="'.Mage::getStoreConfig('web/unsecure/base_url').'/app/design/adminhtml/default/default/template/oct8ne/disabled.gif" alt="'.$this->__('Disabled').'" title="'.$this->__('Disabled').'" /></label>
|
| 171 |
+
<p class="clear">'.$this->__('Enable the integration with OCT8NE').'</p>
|
| 172 |
</div>
|
| 173 |
<label>'.$this->__('User License ID:').'</label>
|
| 174 |
<div class="margin-form">
|
| 183 |
<label>'.$this->__('URL API:').'</label>
|
| 184 |
<div class="margin-form"">
|
| 185 |
<input type="text" name="letssyncro_urlapi" id="letssyncro_urlapi" size="40" value="'.(($this->error AND isset($_POST['letssyncro_urlapi'])) ? $_POST['letssyncro_urlapi'] : $letssyncrooptions['urlapi']).'" />
|
| 186 |
+
<p class="clear">'.$this->__('URL of the API OCT8NE service. Probably you don\'t have to modify it.').'</p>
|
| 187 |
</div>
|
| 188 |
<div class="margin-form">
|
| 189 |
<input type="submit" class="button disable" name="submitLetsSyncroSettings" style="cursor: pointer;" value="'.$this->__('Save').'" id="submitLetsSyncroSettings" />
|
| 329 |
$Pass = $DOM->createElement('Pass', $this->urlsafe_b64decode($letssyncro_password));
|
| 330 |
$baseurl = $DOM->createElement('BaseUrl', Mage::getBaseUrl());
|
| 331 |
$checkouturl = $DOM->createElement('CheckoutUrl', Mage::helper('checkout/url')->getCheckoutUrl());
|
| 332 |
+
$loginurl = $DOM->createElement('LoginUrl', Mage::helper('customer')->getLoginUrl());
|
| 333 |
// $currency = $DOM->createElement('CheckoutUrl', Mage::helper('checkout/url')->getCheckoutUrl());
|
| 334 |
+
$platform = $DOM->createElement('Platform', 'MAGENTO');
|
| 335 |
+
$domain = $DOM->createElement('UrlDomain', str_replace("index.php/", "", Mage::getBaseUrl()));
|
| 336 |
|
| 337 |
$XML->appendChild($baseurl);
|
| 338 |
$XML->appendChild($checkouturl);
|
| 340 |
$XML->appendChild($Email);
|
| 341 |
$XML->appendChild($loginurl);
|
| 342 |
$XML->appendChild($Pass);
|
| 343 |
+
$XML->appendChild($platform);
|
| 344 |
+
$XML->appendChild($domain);
|
| 345 |
|
| 346 |
return $DOM->saveXML($DOM->documentElement);
|
| 347 |
}
|
app/code/community/LetsSyncroLLC/Oct8ne/Block/Index.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_Block_Index extends Mage_Core_Block_Template
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_Block_Index extends Mage_Core_Block_Template
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/Helper/Data.php
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
class LetsSyncroLLC_Oct8ne_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 16 |
|
| 17 |
static public function getProductFullUrl( $product ) {
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
class LetsSyncroLLC_Oct8ne_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 3 |
|
| 4 |
static public function getProductFullUrl( $product ) {
|
app/code/community/LetsSyncroLLC/Oct8ne/Model/Letssyncro.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_Model_LetsSyncro extends Mage_Core_Model_Abstract
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_Model_LetsSyncro extends Mage_Core_Model_Abstract
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/Model/Mysql4/LetsSyncro/Collection.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_Model_Mysql4_LetsSyncro_Collection extends Varien_Data_Collection_Db
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_Model_Mysql4_LetsSyncro_Collection extends Varien_Data_Collection_Db
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/Model/Mysql4/Letssyncro.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_Model_Mysql4_LetsSyncro extends Mage_Core_Model_Mysql4_Abstract
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_Model_Mysql4_LetsSyncro extends Mage_Core_Model_Mysql4_Abstract
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/Model/Observer.php
CHANGED
|
@@ -1,117 +1,125 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
class LetsSyncroLLC_Oct8ne_Model_Observer
|
| 4 |
-
{
|
| 5 |
-
public function interceptMethod($observer)
|
| 6 |
-
{
|
| 7 |
-
$request = $observer->getEvent()->getData('front')->getRequest();
|
| 8 |
-
|
| 9 |
-
if(isset($request->oct8ne))
|
| 10 |
-
{
|
| 11 |
-
Mage::
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
)
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
);
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class LetsSyncroLLC_Oct8ne_Model_Observer
|
| 4 |
+
{
|
| 5 |
+
public function interceptMethod($observer)
|
| 6 |
+
{
|
| 7 |
+
$request = $observer->getEvent()->getData('front')->getRequest();
|
| 8 |
+
|
| 9 |
+
if(isset($request->oct8ne))
|
| 10 |
+
{
|
| 11 |
+
$package = Mage::getStoreConfig('design/oct8nedesign/package');
|
| 12 |
+
$theme = Mage::getStoreConfig('design/oct8nedesign/theme');
|
| 13 |
+
|
| 14 |
+
if(empty($package))
|
| 15 |
+
$package = "default";
|
| 16 |
+
|
| 17 |
+
if(empty($theme))
|
| 18 |
+
$theme = "oct8ne";
|
| 19 |
+
|
| 20 |
+
Mage::getDesign()->setPackageName($package);
|
| 21 |
+
Mage::getDesign()->setTheme($theme);
|
| 22 |
+
Mage::register('oct8ne', 1);
|
| 23 |
+
// Mage::getModel('core/url')->setRouteParam('oct8ne', 1);
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
public function layoutRenderBefore($observer)
|
| 28 |
+
{
|
| 29 |
+
$session = Mage::getSingleton('core/session');
|
| 30 |
+
$logged_in = $session->getData("notify_oct8ne", null);
|
| 31 |
+
if(!is_null($logged_in))
|
| 32 |
+
{
|
| 33 |
+
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
| 34 |
+
|
| 35 |
+
$session->unsetData("notify_oct8ne");
|
| 36 |
+
$layout = Mage::getSingleton('core/layout');
|
| 37 |
+
|
| 38 |
+
$head = $layout->getBlock('root')->getChild('head');
|
| 39 |
+
if (is_object($head)) {
|
| 40 |
+
$head->addItem("script", "oct8ne-notify", <<<EOT
|
| 41 |
+
function lookForOct8neIFrameLoaded() {
|
| 42 |
+
var iframe = document.getElementById( 'oct8ne-iframe-return' );
|
| 43 |
+
if ( iframe == null )
|
| 44 |
+
setTimeout( 'lookForOct8neIFrameLoaded()', 500 );
|
| 45 |
+
else {
|
| 46 |
+
var post_data = {
|
| 47 |
+
user: {
|
| 48 |
+
id: {$customer->getId()},
|
| 49 |
+
firstName: "{$customer->getFirstname()}",
|
| 50 |
+
lastName: "{$customer->getLastname()}",
|
| 51 |
+
email: "{$customer->getEmail()}"
|
| 52 |
+
}
|
| 53 |
+
};
|
| 54 |
+
iframe.contentWindow.postMessage( JSON.stringify(post_data), '*' );
|
| 55 |
+
}
|
| 56 |
+
};
|
| 57 |
+
lookForOct8neIFrameLoaded();
|
| 58 |
+
EOT
|
| 59 |
+
);
|
| 60 |
+
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
$logged_out = $session->getData("notify_oct8ne_logout", null);
|
| 65 |
+
if(!is_null($logged_out))
|
| 66 |
+
{
|
| 67 |
+
// $customer = Mage::getSingleton('customer/session')->getCustomer();
|
| 68 |
+
|
| 69 |
+
$session->unsetData("notify_oct8ne_logout");
|
| 70 |
+
$layout = Mage::getSingleton('core/layout');
|
| 71 |
+
|
| 72 |
+
$head = $layout->getBlock('root')->getChild('head');
|
| 73 |
+
if (is_object($head)) {
|
| 74 |
+
$head->addItem("script", "oct8ne-notify", <<<EOT
|
| 75 |
+
function lookForOct8neIFrameLoaded() {
|
| 76 |
+
var iframe = document.getElementById( 'oct8ne-iframe-return' );
|
| 77 |
+
if ( iframe == null )
|
| 78 |
+
setTimeout( 'lookForOct8neIFrameLoaded()', 500 );
|
| 79 |
+
else
|
| 80 |
+
iframe.contentWindow.postMessage( 'logout', '*' );
|
| 81 |
+
}
|
| 82 |
+
lookForOct8neIFrameLoaded();
|
| 83 |
+
EOT
|
| 84 |
+
);
|
| 85 |
+
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
/**
|
| 91 |
+
* Get checkout session model instance
|
| 92 |
+
*
|
| 93 |
+
* @return Mage_Checkout_Model_Session
|
| 94 |
+
*/
|
| 95 |
+
protected function _getSession() { return Mage::getSingleton('checkout/session'); }
|
| 96 |
+
|
| 97 |
+
public function placeOrderBefore($observer)
|
| 98 |
+
{
|
| 99 |
+
$order = $observer->getEvent()->getOrder();
|
| 100 |
+
$oct8ne_products = $this->_getSession()->getOct8neProducts();
|
| 101 |
+
if(!is_array($oct8ne_products))
|
| 102 |
+
$oct8ne_products = array();
|
| 103 |
+
|
| 104 |
+
$items = $order->getAllItems();
|
| 105 |
+
foreach($items as $item)
|
| 106 |
+
{
|
| 107 |
+
$product = $item->getProduct();
|
| 108 |
+
/*
|
| 109 |
+
foreach($oct8ne_products as $op)
|
| 110 |
+
{
|
| 111 |
+
$found = false;
|
| 112 |
+
if($op->getId() == $product->getId())
|
| 113 |
+
$found = true;
|
| 114 |
+
}
|
| 115 |
+
*/
|
| 116 |
+
$found = in_array($product->getId(), $oct8ne_products);
|
| 117 |
+
|
| 118 |
+
$model = Mage::getModel('oct8ne/orderproducts');
|
| 119 |
+
$model->setOrderId($order->getId());
|
| 120 |
+
$model->setProductId($product->getId());
|
| 121 |
+
$model->setOct8ne($found?'Y':'N');
|
| 122 |
+
$model->save();
|
| 123 |
+
}
|
| 124 |
+
}
|
| 125 |
+
}
|
app/code/community/LetsSyncroLLC/Oct8ne/controllers/AccountController.php
CHANGED
|
@@ -45,6 +45,55 @@ EOT;
|
|
| 45 |
parent::_loginPostRedirect();
|
| 46 |
}
|
| 47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
/**
|
| 50 |
* Customer logout action
|
| 45 |
parent::_loginPostRedirect();
|
| 46 |
}
|
| 47 |
}
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* Add welcome message and send new account email.
|
| 51 |
+
* Returns success URL
|
| 52 |
+
*
|
| 53 |
+
* @param Mage_Customer_Model_Customer $customer
|
| 54 |
+
* @param bool $isJustConfirmed
|
| 55 |
+
* @return string
|
| 56 |
+
*/
|
| 57 |
+
protected function _welcomeCustomer(Mage_Customer_Model_Customer $customer, $isJustConfirmed = false)
|
| 58 |
+
{
|
| 59 |
+
if(!is_null(Mage::registry('oct8ne')))
|
| 60 |
+
{
|
| 61 |
+
/*
|
| 62 |
+
// die("login!!!");
|
| 63 |
+
|
| 64 |
+
*/
|
| 65 |
+
if(Mage::getSingleton('customer/session')->isLoggedIn())
|
| 66 |
+
{
|
| 67 |
+
echo <<< EOT
|
| 68 |
+
<h2 class="add2cart-msg">Logged in</h2>
|
| 69 |
+
|
| 70 |
+
<script type="text/javascript">
|
| 71 |
+
parent.postMessage("loginOK", "*");
|
| 72 |
+
</script>
|
| 73 |
+
EOT;
|
| 74 |
+
die();
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
}
|
| 78 |
+
else
|
| 79 |
+
{
|
| 80 |
+
if(Mage::getSingleton('customer/session')->isLoggedIn()) {
|
| 81 |
+
|
| 82 |
+
$session = Mage::getSingleton('core/session');
|
| 83 |
+
$customerData = Mage::getSingleton('customer/session')->getCustomer();
|
| 84 |
+
$url = $session->getBeforeAuthUrl();
|
| 85 |
+
// if(substr($url, -24) == '/checkout/onepage/index/') <<------------------ activar esto para notificar sólamente en el checkout
|
| 86 |
+
//Mage::register("notify_oct8ne", $customerData->getId());
|
| 87 |
+
$session->setData("notify_oct8ne", $customerData->getId());
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
// ent::_loginPostRedirect();
|
| 92 |
+
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
return parent::_welcomeCustomer($customer, $isJustConfirmed);
|
| 96 |
+
}
|
| 97 |
|
| 98 |
/**
|
| 99 |
* Customer logout action
|
app/code/community/LetsSyncroLLC/Oct8ne/controllers/AdminController.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_AdminController extends Mage_Adminhtml_Controller_Action
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_AdminController extends Mage_Adminhtml_Controller_Action
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/controllers/IndexController.php
CHANGED
|
@@ -1,16 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
|
| 15 |
class LetsSyncroLLC_Oct8ne_IndexController extends Mage_Core_Controller_Front_Action
|
| 16 |
{
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class LetsSyncroLLC_Oct8ne_IndexController extends Mage_Core_Controller_Front_Action
|
| 4 |
{
|
app/code/community/LetsSyncroLLC/Oct8ne/controllers/letssyncro.phtml
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
global $letssyncro;
|
| 16 |
if (!isset($letssyncro)) {
|
| 17 |
$letssyncro = Mage::getModel('oct8ne/letssyncro')->load(1);
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
global $letssyncro;
|
| 3 |
if (!isset($letssyncro)) {
|
| 4 |
$letssyncro = Mage::getModel('oct8ne/letssyncro')->load(1);
|
app/code/community/LetsSyncroLLC/Oct8ne/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<LetsSyncroLLC_Oct8ne>
|
| 5 |
-
<version>1.1.
|
| 6 |
</LetsSyncroLLC_Oct8ne>
|
| 7 |
</modules>
|
| 8 |
<global>
|
|
@@ -208,9 +208,22 @@
|
|
| 208 |
</syncrodata>-->
|
| 209 |
</children>
|
| 210 |
</oct8ne>
|
| 211 |
-
|
| 212 |
</admin>
|
|
|
|
| 213 |
</resources>
|
|
|
|
|
|
|
| 214 |
</acl>
|
| 215 |
</adminhtml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
</config>
|
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<LetsSyncroLLC_Oct8ne>
|
| 5 |
+
<version>1.1.3</version>
|
| 6 |
</LetsSyncroLLC_Oct8ne>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 208 |
</syncrodata>-->
|
| 209 |
</children>
|
| 210 |
</oct8ne>
|
| 211 |
+
</children>
|
| 212 |
</admin>
|
| 213 |
+
|
| 214 |
</resources>
|
| 215 |
+
|
| 216 |
+
|
| 217 |
</acl>
|
| 218 |
</adminhtml>
|
| 219 |
+
|
| 220 |
+
<default>
|
| 221 |
+
<design>
|
| 222 |
+
<oct8nedesign>
|
| 223 |
+
<package>default</package>
|
| 224 |
+
<theme>oct8ne</theme>
|
| 225 |
+
</oct8nedesign>
|
| 226 |
+
</design>
|
| 227 |
+
</default>
|
| 228 |
</config>
|
| 229 |
+
|
app/code/community/LetsSyncroLLC/Oct8ne/etc/system.xml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<config>
|
| 3 |
+
<sections>
|
| 4 |
+
<design>
|
| 5 |
+
<groups>
|
| 6 |
+
<oct8nedesign translate="label">
|
| 7 |
+
<label>Oct8ne Design</label>
|
| 8 |
+
<frontend_type>text</frontend_type>
|
| 9 |
+
<sort_order>1</sort_order>
|
| 10 |
+
<show_in_default>1</show_in_default>
|
| 11 |
+
<show_in_website>1</show_in_website>
|
| 12 |
+
<show_in_store>1</show_in_store>
|
| 13 |
+
<fields>
|
| 14 |
+
<package translate="label">
|
| 15 |
+
<label>Package Name</label>
|
| 16 |
+
<frontend_type>text</frontend_type>
|
| 17 |
+
<backend_model>adminhtml/system_config_backend_design_package</backend_model>
|
| 18 |
+
<sort_order>1</sort_order>
|
| 19 |
+
<show_in_default>1</show_in_default>
|
| 20 |
+
<show_in_website>1</show_in_website>
|
| 21 |
+
<show_in_store>1</show_in_store>
|
| 22 |
+
</package>
|
| 23 |
+
|
| 24 |
+
<theme translate="label">
|
| 25 |
+
<label>Theme</label>
|
| 26 |
+
<frontend_type>text</frontend_type>
|
| 27 |
+
<sort_order>10</sort_order>
|
| 28 |
+
<show_in_default>1</show_in_default>
|
| 29 |
+
<show_in_website>1</show_in_website>
|
| 30 |
+
<show_in_store>1</show_in_store>
|
| 31 |
+
</theme>
|
| 32 |
+
</fields>
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
</oct8nedesign>
|
| 36 |
+
</groups>
|
| 37 |
+
</design>
|
| 38 |
+
</sections>
|
| 39 |
+
</config>
|
app/code/community/LetsSyncroLLC/Oct8ne/sql/oct8ne_setup/mysql4-install-0.5.0.php
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version Release: $Revision: 1.0 $
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
$installer = $this;
|
| 16 |
$installer->startSetup();
|
| 17 |
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
$installer = $this;
|
| 3 |
$installer->startSetup();
|
| 4 |
|
app/code/community/LetsSyncroLLC/Oct8ne/sql/oct8ne_setup/mysql4-install-1.0.0.php
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
$installer = $this;
|
| 16 |
$installer->startSetup();
|
| 17 |
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
$installer = $this;
|
| 3 |
$installer->startSetup();
|
| 4 |
|
app/design/frontend/default/default/template/oct8ne/letssyncro.phtml
CHANGED
|
@@ -1,17 +1,4 @@
|
|
| 1 |
<?php
|
| 2 |
-
/*
|
| 3 |
-
* 2013 LetsSyncro
|
| 4 |
-
*
|
| 5 |
-
* DISCLAIMER
|
| 6 |
-
*
|
| 7 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 8 |
-
* versions in the future.
|
| 9 |
-
*
|
| 10 |
-
* @author idnovate.com <info@idnovate.com> for LetsSyncro, LLC
|
| 11 |
-
* @copyright 2013 LetsSyncro, LLC. All rights reserved
|
| 12 |
-
* @version: 1.0
|
| 13 |
-
*/
|
| 14 |
-
|
| 15 |
global $letssyncro;
|
| 16 |
|
| 17 |
$req = Mage::app()->getRequest();
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
global $letssyncro;
|
| 3 |
|
| 4 |
$req = Mage::app()->getRequest();
|
app/design/frontend/default/oct8ne/template/page/1column.phtml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category design
|
| 22 |
+
* @package base_default
|
| 23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
?>
|
| 27 |
+
<?php
|
| 28 |
+
/**
|
| 29 |
+
* Template for Mage_Page_Block_Html
|
| 30 |
+
*/
|
| 31 |
+
?>
|
| 32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
| 34 |
+
<head>
|
| 35 |
+
<?php echo $this->getChildHtml('head') ?>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
| 38 |
+
<div>
|
| 39 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
| 40 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
| 41 |
+
<?php echo $this->getChildHtml('content') ?>
|
| 42 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
| 43 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
| 44 |
+
</div>
|
| 45 |
+
</body>
|
| 46 |
+
</html>
|
app/design/frontend/default/oct8ne/template/page/2columns-left.phtml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category design
|
| 22 |
+
* @package base_default
|
| 23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
?>
|
| 27 |
+
<?php
|
| 28 |
+
/**
|
| 29 |
+
* Template for Mage_Page_Block_Html
|
| 30 |
+
*/
|
| 31 |
+
?>
|
| 32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
| 34 |
+
<head>
|
| 35 |
+
<?php echo $this->getChildHtml('head') ?>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
| 38 |
+
<div>
|
| 39 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
| 40 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
| 41 |
+
<?php echo $this->getChildHtml('content') ?>
|
| 42 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
| 43 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
| 44 |
+
</div>
|
| 45 |
+
</body>
|
| 46 |
+
</html>
|
app/design/frontend/default/oct8ne/template/page/2columns-right.phtml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category design
|
| 22 |
+
* @package base_default
|
| 23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
?>
|
| 27 |
+
<?php
|
| 28 |
+
/**
|
| 29 |
+
* Template for Mage_Page_Block_Html
|
| 30 |
+
*/
|
| 31 |
+
?>
|
| 32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
| 34 |
+
<head>
|
| 35 |
+
<?php echo $this->getChildHtml('head') ?>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
| 38 |
+
<div>
|
| 39 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
| 40 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
| 41 |
+
<?php echo $this->getChildHtml('content') ?>
|
| 42 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
| 43 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
| 44 |
+
</div>
|
| 45 |
+
</body>
|
| 46 |
+
</html>
|
app/design/frontend/default/oct8ne/template/page/3columns.phtml
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Magento
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* DISCLAIMER
|
| 16 |
+
*
|
| 17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
| 18 |
+
* versions in the future. If you wish to customize Magento for your
|
| 19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
| 20 |
+
*
|
| 21 |
+
* @category design
|
| 22 |
+
* @package base_default
|
| 23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
| 24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
+
*/
|
| 26 |
+
?>
|
| 27 |
+
<?php
|
| 28 |
+
/**
|
| 29 |
+
* Template for Mage_Page_Block_Html
|
| 30 |
+
*/
|
| 31 |
+
?>
|
| 32 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
| 33 |
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
|
| 34 |
+
<head>
|
| 35 |
+
<?php echo $this->getChildHtml('head') ?>
|
| 36 |
+
</head>
|
| 37 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
| 38 |
+
<div>
|
| 39 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
| 40 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
| 41 |
+
<?php echo $this->getChildHtml('content') ?>
|
| 42 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
| 43 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
| 44 |
+
</div>
|
| 45 |
+
</body>
|
| 46 |
+
</html>
|
app/etc/modules/LetsSyncroLLC_Oct8ne.xml
CHANGED
|
@@ -5,6 +5,12 @@
|
|
| 5 |
<active>true</active>
|
| 6 |
<codePool>community</codePool>
|
| 7 |
<version>1.0.0</version>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</LetsSyncroLLC_Oct8ne>
|
| 9 |
</modules>
|
| 10 |
-
</config>
|
| 5 |
<active>true</active>
|
| 6 |
<codePool>community</codePool>
|
| 7 |
<version>1.0.0</version>
|
| 8 |
+
<depends>
|
| 9 |
+
<Mage_Eav/>
|
| 10 |
+
<Mage_Dataflow/>
|
| 11 |
+
<Mage_Cms/>
|
| 12 |
+
<Mage_Index/>
|
| 13 |
+
</depends>
|
| 14 |
</LetsSyncroLLC_Oct8ne>
|
| 15 |
</modules>
|
| 16 |
+
</config>
|
app/locale/en_US/LetsSyncroLLC_Oct8ne.csv
CHANGED
|
@@ -7,31 +7,31 @@
|
|
| 7 |
"Dashboard","Dashboard"
|
| 8 |
"Account Setup","Account Setup"
|
| 9 |
"Execute synchronization","Execute synchronization"
|
| 10 |
-
"
|
| 11 |
"Status:","Status:"
|
| 12 |
"Linked account:","Linked account:"
|
| 13 |
"Email:","Email:"
|
| 14 |
"Password:","Password:"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"Don't have a
|
| 18 |
"Sign up now","Sign up now"
|
| 19 |
"Link Up","Link Up"
|
| 20 |
"Synchronization finished successfully.","Synchronization finished successfully."
|
| 21 |
"Products added:","Products added:"
|
| 22 |
"Products updated:","Products updated:"
|
| 23 |
-
"There was an error synchronizing with
|
| 24 |
"Does the account is properly linked up in Account Setup?","Does the account is properly linked up in Account Setup?"
|
| 25 |
"The field (Email) cannot be empty.","The field (Email) cannot be empty."
|
| 26 |
"The field (Password) cannot be empty.","The field (Password) cannot be empty."
|
| 27 |
"The field (URL API) cannot be empty.","The field (URL API) cannot be empty."
|
| 28 |
-
"Account not linked. Please, link up your account before at
|
| 29 |
-
"There was an error on your credentials and cannot obtain
|
| 30 |
-
"There was an error activating
|
| 31 |
-
"
|
| 32 |
-
"There was an error deactivating
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
"There was an error saving your settings.","There was an error saving your settings."
|
| 36 |
"The fields (License ID and API token) are invalid.","The fields (License ID and API token) are invalid."
|
| 37 |
"Settings updated successfully.","Settings updated successfully."
|
| 7 |
"Dashboard","Dashboard"
|
| 8 |
"Account Setup","Account Setup"
|
| 9 |
"Execute synchronization","Execute synchronization"
|
| 10 |
+
"OCT8NE Dashboard","OCT8NE Dashboard"
|
| 11 |
"Status:","Status:"
|
| 12 |
"Linked account:","Linked account:"
|
| 13 |
"Email:","Email:"
|
| 14 |
"Password:","Password:"
|
| 15 |
+
"OCT8NE email","OCT8NE email"
|
| 16 |
+
"OCT8NE password","OCT8NE password"
|
| 17 |
+
"Don't have a OCT8NE account?","Don't have a OCT8NE account?"
|
| 18 |
"Sign up now","Sign up now"
|
| 19 |
"Link Up","Link Up"
|
| 20 |
"Synchronization finished successfully.","Synchronization finished successfully."
|
| 21 |
"Products added:","Products added:"
|
| 22 |
"Products updated:","Products updated:"
|
| 23 |
+
"There was an error synchronizing with OCT8NE.","There was an error synchronizing with OCT8NE."
|
| 24 |
"Does the account is properly linked up in Account Setup?","Does the account is properly linked up in Account Setup?"
|
| 25 |
"The field (Email) cannot be empty.","The field (Email) cannot be empty."
|
| 26 |
"The field (Password) cannot be empty.","The field (Password) cannot be empty."
|
| 27 |
"The field (URL API) cannot be empty.","The field (URL API) cannot be empty."
|
| 28 |
+
"Account not linked. Please, link up your account before at OCT8NE/Account Setup.","Account not linked. Please, link up your account before at OCT8NE/Account Setup."
|
| 29 |
+
"There was an error on your credentials and cannot obtain OCT8NE integration data.","There was an error on your credentials and cannot obtain OCT8NE integration data."
|
| 30 |
+
"There was an error activating OCT8NE integration.","There was an error activating OCT8NE integration."
|
| 31 |
+
"OCT8NE integration data obtained successfully!","OCT8NE integration data obtained successfully!"
|
| 32 |
+
"There was an error deactivating OCT8NE integration.","There was an error deactivating OCT8NE integration."
|
| 33 |
+
"OCT8NE integration deactivated successfully!","OCT8NE integration deactivated successfully!"
|
| 34 |
+
"OCT8NE integration activated successfully!","OCT8NE integration activated successfully!"
|
| 35 |
"There was an error saving your settings.","There was an error saving your settings."
|
| 36 |
"The fields (License ID and API token) are invalid.","The fields (License ID and API token) are invalid."
|
| 37 |
"Settings updated successfully.","Settings updated successfully."
|
app/locale/es_ES/LetsSyncroLLC_Oct8ne.csv
CHANGED
|
@@ -7,31 +7,31 @@
|
|
| 7 |
"Dashboard","Panel de control"
|
| 8 |
"Account Setup","Configuración de la cuenta"
|
| 9 |
"Execute synchronization","Ejecutar sincronización"
|
| 10 |
-
"
|
| 11 |
"Status:","Estado:"
|
| 12 |
"Linked account:","Cuenta enlazada:"
|
| 13 |
"Email:","Email:"
|
| 14 |
"Password:","Password:"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"Don't have a
|
| 18 |
"Sign up now","Regístrate ahora"
|
| 19 |
"Link Up","Enlazar"
|
| 20 |
"Synchronization finished successfully.","Sincronización finalizada correctamente."
|
| 21 |
"Products added:","Productos añadidos:"
|
| 22 |
"Products updated:","Productos actualizados:"
|
| 23 |
-
"There was an error synchronizing with
|
| 24 |
"Does the account is properly linked up in Account Setup?","¿Está la cuenta correctamente enlazada en la configuración?"
|
| 25 |
"The field (Email) cannot be empty.","El campo (Email) no puede estar vacío."
|
| 26 |
"The field (Password) cannot be empty.","El campo (Password) no puede estar vacío."
|
| 27 |
"The field (URL API) cannot be empty.","El campo (URL API) no puede estar vacío."
|
| 28 |
-
"Account not linked. Please, link up your account before at
|
| 29 |
-
"There was an error on your credentials and cannot obtain
|
| 30 |
-
"There was an error activating
|
| 31 |
-
"
|
| 32 |
-
"There was an error deactivating
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
"There was an error saving your settings.","Ha ocurrido un error grabando los ajustes."
|
| 36 |
"The fields (License ID and API token) are invalid.","Los campos (License ID and API token) son inválidos."
|
| 37 |
"Settings updated successfully.","Ajustes actualizados correctamente."
|
| 7 |
"Dashboard","Panel de control"
|
| 8 |
"Account Setup","Configuración de la cuenta"
|
| 9 |
"Execute synchronization","Ejecutar sincronización"
|
| 10 |
+
"OCT8NE Dashboard","Panel de control OCT8NE"
|
| 11 |
"Status:","Estado:"
|
| 12 |
"Linked account:","Cuenta enlazada:"
|
| 13 |
"Email:","Email:"
|
| 14 |
"Password:","Password:"
|
| 15 |
+
"OCT8NE email","Email OCT8NE"
|
| 16 |
+
"OCT8NE password","Password OCT8NE"
|
| 17 |
+
"Don't have a OCT8NE account?","¿No tienes una cuenta OCT8NE?"
|
| 18 |
"Sign up now","Regístrate ahora"
|
| 19 |
"Link Up","Enlazar"
|
| 20 |
"Synchronization finished successfully.","Sincronización finalizada correctamente."
|
| 21 |
"Products added:","Productos añadidos:"
|
| 22 |
"Products updated:","Productos actualizados:"
|
| 23 |
+
"There was an error synchronizing with OCT8NE.","Ha ocurrido un error sincronizando con OCT8NE."
|
| 24 |
"Does the account is properly linked up in Account Setup?","¿Está la cuenta correctamente enlazada en la configuración?"
|
| 25 |
"The field (Email) cannot be empty.","El campo (Email) no puede estar vacío."
|
| 26 |
"The field (Password) cannot be empty.","El campo (Password) no puede estar vacío."
|
| 27 |
"The field (URL API) cannot be empty.","El campo (URL API) no puede estar vacío."
|
| 28 |
+
"Account not linked. Please, link up your account before at OCT8NE/Account Setup.","Cuenta no enlazada. Por favor, enlace antes su cuenta en OCT8NE/Configuración de la cuenta."
|
| 29 |
+
"There was an error on your credentials and cannot obtain OCT8NE integration data.","Hay un error en sus credenciales y no se han podido obtener los datos de integración con OCT8NE."
|
| 30 |
+
"There was an error activating OCT8NE integration.","Ha ocurrido un error activando la integración con OCT8NE."
|
| 31 |
+
"OCT8NE integration data obtained successfully!","¡Datos de integración con OCT8NE obtenidos correctamente!"
|
| 32 |
+
"There was an error deactivating OCT8NE integration.","Ha ocurrido un error desactivando la integración con OCT8NE."
|
| 33 |
+
"OCT8NE integration deactivated successfully!","¡Integración con OCT8NE desactivada correctamente!"
|
| 34 |
+
"OCT8NE integration activated successfully!","¡Integración con OCT8NE activada correctamente!"
|
| 35 |
"There was an error saving your settings.","Ha ocurrido un error grabando los ajustes."
|
| 36 |
"The fields (License ID and API token) are invalid.","Los campos (License ID and API token) son inválidos."
|
| 37 |
"Settings updated successfully.","Ajustes actualizados correctamente."
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>LetsSyncroLLC_Oct8ne</name>
|
| 4 |
-
<version>1.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>license</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -10,9 +10,171 @@
|
|
| 10 |
<description>Oct8ne extension description</description>
|
| 11 |
<notes>Notes</notes>
|
| 12 |
<authors><author><name>Oct8ne</name><user>Oct8ne</user><email>xavier.gonzalez@oct8ne.com</email></author></authors>
|
| 13 |
-
<date>2014-02-
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magecommunity"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.3.0</min><max>5.4.12</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>LetsSyncroLLC_Oct8ne</name>
|
| 4 |
+
<version>1.1.3</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>license</license>
|
| 7 |
<channel>community</channel>
|
| 10 |
<description>Oct8ne extension description</description>
|
| 11 |
<notes>Notes</notes>
|
| 12 |
<authors><author><name>Oct8ne</name><user>Oct8ne</user><email>xavier.gonzalez@oct8ne.com</email></author></authors>
|
| 13 |
+
<date>2014-02-14</date>
|
| 14 |
+
<time>19:48:21</time>
|
| 15 |
+
<contents><target name="magecommunity">
|
| 16 |
+
<dir name="LetsSyncroLLC">
|
| 17 |
+
<dir name="Oct8ne">
|
| 18 |
+
<dir name="Block">
|
| 19 |
+
<file name="Accountconfig.php"/>
|
| 20 |
+
<dir name="Customer">
|
| 21 |
+
<file name="Notifier.php"/>
|
| 22 |
+
</dir>
|
| 23 |
+
<dir name="Html">
|
| 24 |
+
<file name="Head.php"/>
|
| 25 |
+
</dir>
|
| 26 |
+
<file name="Index.php"/>
|
| 27 |
+
</dir>
|
| 28 |
+
<dir name="Helper">
|
| 29 |
+
<dir name="Customer">
|
| 30 |
+
<file name="Data.php"/>
|
| 31 |
+
</dir>
|
| 32 |
+
<file name="Data.php"/>
|
| 33 |
+
<file name="Search.php"/>
|
| 34 |
+
<file name="Url.php"/>
|
| 35 |
+
<file name="Wishlist.php"/>
|
| 36 |
+
</dir>
|
| 37 |
+
<dir name="Model">
|
| 38 |
+
<file name="Cron.php"/>
|
| 39 |
+
<file name="Letssyncro.php"/>
|
| 40 |
+
<dir name="Mage">
|
| 41 |
+
<file name="Onepage.php"/>
|
| 42 |
+
<file name="Url.php"/>
|
| 43 |
+
</dir>
|
| 44 |
+
<dir name="Mysql4">
|
| 45 |
+
<dir name="LetsSyncro">
|
| 46 |
+
<file name="Collection.php"/>
|
| 47 |
+
</dir>
|
| 48 |
+
<file name="Letssyncro.php"/>
|
| 49 |
+
<dir name="Orderproducts">
|
| 50 |
+
<file name="Collection.php"/>
|
| 51 |
+
</dir>
|
| 52 |
+
<file name="Orderproducts.php"/>
|
| 53 |
+
</dir>
|
| 54 |
+
<file name="Observer.php"/>
|
| 55 |
+
<file name="Orderproducts.php"/>
|
| 56 |
+
</dir>
|
| 57 |
+
<dir name="controllers">
|
| 58 |
+
<file name="AccountController.php"/>
|
| 59 |
+
<file name="AdminController.php"/>
|
| 60 |
+
<file name="FrameController.php"/>
|
| 61 |
+
<file name="IndexController.php"/>
|
| 62 |
+
<file name="letssyncro.phtml"/>
|
| 63 |
+
</dir>
|
| 64 |
+
<dir name="etc">
|
| 65 |
+
<file name="config.xml"/>
|
| 66 |
+
<file name="system.xml"/>
|
| 67 |
+
</dir>
|
| 68 |
+
<dir name="sql">
|
| 69 |
+
<dir name="oct8ne_setup">
|
| 70 |
+
<file name="mysql4-install-0.5.0.php"/>
|
| 71 |
+
<file name="mysql4-install-1.0.0.php"/>
|
| 72 |
+
<file name="mysql4-upgrade-1.0.0-1.1.0.php"/>
|
| 73 |
+
</dir>
|
| 74 |
+
</dir>
|
| 75 |
+
</dir>
|
| 76 |
+
</dir></target><target name="mageetc">
|
| 77 |
+
<dir name="modules">
|
| 78 |
+
<file name="LetsSyncroLLC_Oct8ne.xml"/>
|
| 79 |
+
</dir></target><target name="magedesign">
|
| 80 |
+
<dir name="frontend">
|
| 81 |
+
<dir name="default">
|
| 82 |
+
<dir name="default">
|
| 83 |
+
<dir name="layout">
|
| 84 |
+
<file name="oct8ne.xml"/>
|
| 85 |
+
</dir>
|
| 86 |
+
<dir name="template">
|
| 87 |
+
<dir name="oct8ne">
|
| 88 |
+
<dir name="frame">
|
| 89 |
+
<file name="add2cart.phtml"/>
|
| 90 |
+
<file name="addtowishlist.phtml"/>
|
| 91 |
+
<file name="clean-page.phtml"/>
|
| 92 |
+
<dir name="customer">
|
| 93 |
+
<file name="data.phtml"/>
|
| 94 |
+
<file name="notifier.phtml"/>
|
| 95 |
+
</dir>
|
| 96 |
+
<file name="getcart.phtml"/>
|
| 97 |
+
<file name="getwishlist.phtml"/>
|
| 98 |
+
<file name="json-page.phtml"/>
|
| 99 |
+
<file name="loginpost.phtml"/>
|
| 100 |
+
<file name="naked-page.phtml"/>
|
| 101 |
+
<file name="productinfo.phtml"/>
|
| 102 |
+
<file name="productrelated.phtml"/>
|
| 103 |
+
<dir name="productview">
|
| 104 |
+
<file name="additional.phtml"/>
|
| 105 |
+
<file name="addto.phtml"/>
|
| 106 |
+
<file name="addtocart.phtml"/>
|
| 107 |
+
<file name="attributes.phtml"/>
|
| 108 |
+
<file name="description.phtml"/>
|
| 109 |
+
<file name="media.phtml"/>
|
| 110 |
+
<file name="media.phtml.ORIGINAL"/>
|
| 111 |
+
<dir name="options">
|
| 112 |
+
<file name="js.phtml"/>
|
| 113 |
+
<dir name="type">
|
| 114 |
+
<file name="date.phtml"/>
|
| 115 |
+
<file name="default.phtml"/>
|
| 116 |
+
<file name="file.phtml"/>
|
| 117 |
+
<file name="select.phtml"/>
|
| 118 |
+
<file name="text.phtml"/>
|
| 119 |
+
</dir>
|
| 120 |
+
<dir name="wrapper">
|
| 121 |
+
<file name="bottom.phtml"/>
|
| 122 |
+
</dir>
|
| 123 |
+
<file name="wrapper.phtml"/>
|
| 124 |
+
</dir>
|
| 125 |
+
<file name="options.phtml"/>
|
| 126 |
+
<file name="price.phtml"/>
|
| 127 |
+
<file name="price_clone.phtml"/>
|
| 128 |
+
<file name="tierprices.phtml"/>
|
| 129 |
+
<dir name="type">
|
| 130 |
+
<file name="configurable.phtml"/>
|
| 131 |
+
<file name="default.phtml"/>
|
| 132 |
+
<file name="grouped.phtml"/>
|
| 133 |
+
<dir name="options">
|
| 134 |
+
<file name="configurable.phtml"/>
|
| 135 |
+
</dir>
|
| 136 |
+
<file name="simple.phtml"/>
|
| 137 |
+
<file name="virtual.phtml"/>
|
| 138 |
+
</dir>
|
| 139 |
+
</dir>
|
| 140 |
+
<file name="productview-FROM-SCRATCH.phtml"/>
|
| 141 |
+
<file name="productview.phtml"/>
|
| 142 |
+
<file name="removefromwishlist.phtml"/>
|
| 143 |
+
<file name="search.phtml"/>
|
| 144 |
+
</dir>
|
| 145 |
+
<file name="letssyncro.phtml"/>
|
| 146 |
+
</dir>
|
| 147 |
+
</dir>
|
| 148 |
+
</dir>
|
| 149 |
+
<dir name="oct8ne">
|
| 150 |
+
<dir name="template">
|
| 151 |
+
<dir name="page">
|
| 152 |
+
<file name="1column.phtml" />
|
| 153 |
+
<file name="2columns-left.phtml" />
|
| 154 |
+
<file name="2columns-right.phtml" />
|
| 155 |
+
<file name="3columns.phtml" />
|
| 156 |
+
</dir>
|
| 157 |
+
</dir>
|
| 158 |
+
</dir>
|
| 159 |
+
</dir>
|
| 160 |
+
</dir></target><target name="magelocale">
|
| 161 |
+
<dir>
|
| 162 |
+
<dir name="en_US">
|
| 163 |
+
<file name="LetsSyncroLLC_Oct8ne.csv"/>
|
| 164 |
+
</dir>
|
| 165 |
+
<dir name="es_ES">
|
| 166 |
+
<file name="LetsSyncroLLC_Oct8ne.csv"/>
|
| 167 |
+
</dir>
|
| 168 |
+
</dir></target><target name="mageskin">
|
| 169 |
+
<dir name="adminhtml">
|
| 170 |
+
<dir name="default">
|
| 171 |
+
<dir name="default">
|
| 172 |
+
<dir name="images">
|
| 173 |
+
<file name="LetsSyncro_Logo.png"/>
|
| 174 |
+
</dir>
|
| 175 |
+
</dir>
|
| 176 |
+
</dir>
|
| 177 |
+
</dir></target></contents>
|
| 178 |
<compatible/>
|
| 179 |
<dependencies><required><php><min>5.3.0</min><max>5.4.12</max></php></required></dependencies>
|
| 180 |
</package>
|
