Version Notes
- Add support for sending the account details & new platform UI
- Add check if table `nosto_tagging_customer` already exists before creating it
- Add visitor checksum tagging
- Strip out _Main Website_ from the default account title
- Disable tagging categories if there are hidden categories in the category path
Download this release
Release Info
Developer | Nosto |
Extension | Nosto_Tagging |
Version | 2.6.15 |
Comparing to | |
See all releases |
Code changes from version 2.6.14 to 2.6.15
- app/code/community/Nosto/Tagging/Block/Addtocart.php +6 -6
- app/code/community/Nosto/Tagging/Block/Adminhtml/Iframe.php +8 -6
- app/code/community/Nosto/Tagging/Block/Adminhtml/Wizard.php +6 -6
- app/code/community/Nosto/Tagging/Block/Cart.php +17 -6
- app/code/community/Nosto/Tagging/Block/Category.php +6 -6
- app/code/community/Nosto/Tagging/Block/Customer.php +18 -6
- app/code/community/Nosto/Tagging/Block/Element.php +6 -6
- app/code/community/Nosto/Tagging/Block/Embed.php +6 -6
- app/code/community/Nosto/Tagging/Block/Meta.php +6 -6
- app/code/community/Nosto/Tagging/Block/Order.php +18 -6
- app/code/community/Nosto/Tagging/Block/Product.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Account.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Customer.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Data.php +51 -6
- app/code/community/Nosto/Tagging/Helper/Date.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Oauth.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Price.php +6 -6
- app/code/community/Nosto/Tagging/Helper/Url.php +6 -6
- app/code/community/Nosto/Tagging/Model/Base.php +6 -6
- app/code/community/Nosto/Tagging/Model/Container/Cart.php +6 -6
- app/code/community/Nosto/Tagging/Model/Container/Customer.php +6 -6
- app/code/community/Nosto/Tagging/Model/Customer.php +6 -6
- app/code/community/Nosto/Tagging/Model/Export/Collection/Order.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Account.php +32 -3
- app/code/community/Nosto/Tagging/Model/Meta/Account/Billing.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Account/Iframe.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Account/Owner.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Oauth.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Order.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Order/Buyer.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Order/Item.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Order/Status.php +6 -6
- app/code/community/Nosto/Tagging/Model/Meta/Product.php +10 -30
- app/code/community/Nosto/Tagging/Model/Observer.php +6 -6
- app/code/community/Nosto/Tagging/Model/Product.php +6 -6
- app/code/community/Nosto/Tagging/Model/Resource/Customer.php +6 -6
- app/code/community/Nosto/Tagging/Model/Resource/Customer/Collection.php +6 -6
- app/code/community/Nosto/Tagging/Model/Resource/Product/Collection.php +6 -6
- app/code/community/Nosto/Tagging/Model/Resource/Setup.php +6 -6
- app/code/community/Nosto/Tagging/Model/Service/Order.php +6 -6
- app/code/community/Nosto/Tagging/Model/System/Config/Source/Image.php +6 -6
- app/code/community/Nosto/Tagging/bootstrap.php +23 -31
- app/code/community/Nosto/Tagging/controllers/Adminhtml/NostoController.php +10 -6
- app/code/community/Nosto/Tagging/controllers/ExportController.php +6 -6
- app/code/community/Nosto/Tagging/controllers/OauthController.php +6 -6
- app/code/community/Nosto/Tagging/etc/adminhtml.xml +24 -26
- app/code/community/Nosto/Tagging/etc/cache.xml +24 -26
- app/code/community/Nosto/Tagging/etc/config.xml +25 -27
- app/code/community/Nosto/Tagging/etc/system.xml +24 -26
- app/code/community/Nosto/Tagging/sql/tagging_setup/mysql4-install-1.2.0.php +45 -43
- app/code/community/Nosto/Tagging/sql/tagging_setup/mysql4-upgrade-1.1.7-1.2.0.php +6 -6
- app/design/adminhtml/default/default/layout/nostotagging.xml +24 -26
- app/design/adminhtml/default/default/template/nostotagging/iframe.phtml +8 -8
- app/design/adminhtml/default/default/template/nostotagging/wizard.phtml +8 -8
- app/design/frontend/base/default/layout/nostotagging.xml +24 -26
- app/design/frontend/base/default/template/nostotagging/addtocart.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/cart.phtml +9 -8
- app/design/frontend/base/default/template/nostotagging/category.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/category/view.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/customer.phtml +9 -8
- app/design/frontend/base/default/template/nostotagging/element.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/embed.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/meta.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/order.phtml +9 -8
- app/design/frontend/base/default/template/nostotagging/product.phtml +8 -8
- app/design/frontend/base/default/template/nostotagging/searchterm.phtml +5 -5
- app/etc/modules/Nosto_Tagging.xml +24 -26
- js/nosto/iframeHandler.min.js +1 -1
- lib/nosto/php-sdk/src/classes/Nosto.php +47 -7
- lib/nosto/php-sdk/src/classes/NostoAccount.php +9 -3
- lib/nosto/php-sdk/src/classes/NostoAccountMeta.php +110 -43
- lib/nosto/php-sdk/src/classes/NostoCipher.php +3 -2
- lib/nosto/php-sdk/src/classes/NostoCurrency.php +27 -16
- lib/nosto/php-sdk/src/classes/NostoCurrencyCode.php +1 -0
- lib/nosto/php-sdk/src/classes/NostoCurrencyFormat.php +1 -0
- lib/nosto/php-sdk/src/classes/NostoCurrencyInfo.php +1 -0
- lib/nosto/php-sdk/src/classes/NostoCurrencySymbol.php +1 -0
- lib/nosto/php-sdk/src/classes/NostoDotEnv.php +3 -2
- lib/nosto/php-sdk/src/classes/NostoExchangeRate.php +1 -0
- lib/nosto/php-sdk/src/classes/NostoMessage.php +3 -2
- lib/nosto/php-sdk/src/classes/NostoObject.php +3 -2
- lib/nosto/php-sdk/src/classes/NostoOrderConfirmation.php +5 -2
- lib/nosto/php-sdk/src/classes/NostoProductReCrawl.php +6 -3
- lib/nosto/php-sdk/src/classes/NostoValidator.php +14 -13
- lib/nosto/php-sdk/src/classes/api/NostoApiRequest.php +3 -2
- lib/nosto/php-sdk/src/classes/api/NostoApiToken.php +3 -2
- lib/nosto/php-sdk/src/classes/collection/NostoCollection.php +3 -2
- lib/nosto/php-sdk/src/classes/collection/NostoExchangeRateCollection.php +3 -2
- lib/nosto/php-sdk/src/classes/collection/NostoOrderCollection.php +3 -2
- lib/nosto/php-sdk/src/classes/collection/NostoProductCollection.php +3 -2
- lib/nosto/php-sdk/src/classes/exception/NostoApiResponseException.php +42 -0
- lib/nosto/php-sdk/src/classes/exception/NostoException.php +3 -2
- lib/nosto/php-sdk/src/classes/exception/NostoHttpException.php +64 -2
- lib/nosto/php-sdk/src/classes/exception/NostoHttpResponseException.php +42 -0
- lib/nosto/php-sdk/src/classes/export/NostoExportOrderCollection.php +5 -2
- lib/nosto/php-sdk/src/classes/export/NostoExportProductCollection.php +3 -2
- lib/nosto/php-sdk/src/classes/export/NostoExporter.php +3 -2
- lib/nosto/php-sdk/src/classes/helper/NostoHelper.php +3 -2
- lib/nosto/php-sdk/src/classes/helper/NostoHelperDate.php +3 -2
- lib/nosto/php-sdk/src/classes/helper/NostoHelperIframe.php +3 -2
- lib/nosto/php-sdk/src/classes/helper/NostoHelperPrice.php +3 -2
- lib/nosto/php-sdk/src/classes/http/NostoHttpRequest.php +3 -2
- lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapter.php +3 -2
- lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapterCurl.php +3 -2
- lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapterSocket.php +3 -2
- lib/nosto/php-sdk/src/classes/http/NostoHttpResponse.php +7 -6
- lib/nosto/php-sdk/src/classes/oauth/NostoOAuthClient.php +5 -4
- lib/nosto/php-sdk/src/classes/oauth/NostoOAuthToken.php +3 -2
- lib/nosto/php-sdk/src/classes/operation/NostoOperationAccount.php +1 -0
- lib/nosto/php-sdk/src/classes/operation/NostoOperationExchangeRate.php +7 -4
- lib/nosto/php-sdk/src/classes/operation/NostoOperationProduct.php +3 -2
- lib/nosto/php-sdk/src/config.inc.php +5 -2
- lib/nosto/php-sdk/src/interfaces/NostoExchangeRateInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/NostoExportCollectionInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/NostoOAuthClientMetaDataInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/NostoProductInterface.php +9 -2
- lib/nosto/php-sdk/src/interfaces/NostoValidatableInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/account/NostoAccountInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataBillingDetailsInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataIframeInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataInterface.php +10 -2
- lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataOwnerInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/order/NostoOrderBuyerInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/order/NostoOrderInterface.php +10 -2
- lib/nosto/php-sdk/src/interfaces/order/NostoOrderPurchasedItemInterface.php +3 -2
- lib/nosto/php-sdk/src/interfaces/order/NostoOrderStatusInterface.php +3 -2
- lib/nosto/php-sdk/src/js/src/NostoIframe.js +4 -3
- package.xml +131 -129
app/code/community/Nosto/Tagging/Block/Addtocart.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Adminhtml/Iframe.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -36,6 +36,7 @@
|
|
36 |
class Nosto_Tagging_Block_Adminhtml_Iframe extends Mage_Adminhtml_Block_Template
|
37 |
{
|
38 |
const DEFAULT_IFRAME_ORIGIN_REGEXP = '(https:\/\/(.*)\.hub\.nosto\.com)|(https:\/\/my\.nosto\.com)';
|
|
|
39 |
|
40 |
/**
|
41 |
* @var string the iframe url if SSO to Nosto can be made.
|
@@ -77,6 +78,7 @@ class Nosto_Tagging_Block_Adminhtml_Iframe extends Mage_Adminhtml_Block_Template
|
|
77 |
$session->setData('nosto_message', null);
|
78 |
}
|
79 |
}
|
|
|
80 |
$store = $this->getSelectedStore();
|
81 |
$account = Mage::helper('nosto_tagging/account')->find($store);
|
82 |
return $this->_iframeUrl = Mage::helper('nosto_tagging/account')
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
36 |
class Nosto_Tagging_Block_Adminhtml_Iframe extends Mage_Adminhtml_Block_Template
|
37 |
{
|
38 |
const DEFAULT_IFRAME_ORIGIN_REGEXP = '(https:\/\/(.*)\.hub\.nosto\.com)|(https:\/\/my\.nosto\.com)';
|
39 |
+
const IFRAME_VERSION = 1;
|
40 |
|
41 |
/**
|
42 |
* @var string the iframe url if SSO to Nosto can be made.
|
78 |
$session->setData('nosto_message', null);
|
79 |
}
|
80 |
}
|
81 |
+
$params['v'] = self::IFRAME_VERSION;
|
82 |
$store = $this->getSelectedStore();
|
83 |
$account = Mage::helper('nosto_tagging/account')->find($store);
|
84 |
return $this->_iframeUrl = Mage::helper('nosto_tagging/account')
|
app/code/community/Nosto/Tagging/Block/Adminhtml/Wizard.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Cart.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -181,4 +181,15 @@ class Nosto_Tagging_Block_Cart extends Mage_Checkout_Block_Cart_Abstract
|
|
181 |
|
182 |
return $name;
|
183 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
181 |
|
182 |
return $name;
|
183 |
}
|
184 |
+
|
185 |
+
/*
|
186 |
+
* Returns the visitor's Nosto Id
|
187 |
+
*/
|
188 |
+
public function getVisitorChecksum()
|
189 |
+
{
|
190 |
+
/* @var $helper Nosto_Tagging_Helper_Data */
|
191 |
+
$helper = Mage::helper('nosto_tagging');
|
192 |
+
|
193 |
+
return $helper->getVisitorChecksum();
|
194 |
+
}
|
195 |
}
|
app/code/community/Nosto/Tagging/Block/Category.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Customer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -52,4 +52,16 @@ class Nosto_Tagging_Block_Customer extends Mage_Customer_Block_Account_Dashboard
|
|
52 |
|
53 |
return parent::_toHtml();
|
54 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
52 |
|
53 |
return parent::_toHtml();
|
54 |
}
|
55 |
+
|
56 |
+
/*
|
57 |
+
* Returns the visitor's Nosto Id
|
58 |
+
*/
|
59 |
+
public function getVisitorChecksum()
|
60 |
+
{
|
61 |
+
/* @var $helper Nosto_Tagging_Helper_Data */
|
62 |
+
$helper = Mage::helper('nosto_tagging');
|
63 |
+
|
64 |
+
return $helper->getVisitorChecksum();
|
65 |
+
}
|
66 |
+
|
67 |
}
|
app/code/community/Nosto/Tagging/Block/Element.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Embed.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Meta.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Block/Order.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -67,4 +67,16 @@ class Nosto_Tagging_Block_Order extends Mage_Checkout_Block_Success
|
|
67 |
$meta->loadData($order);
|
68 |
return $meta;
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
67 |
$meta->loadData($order);
|
68 |
return $meta;
|
69 |
}
|
70 |
+
|
71 |
+
/*
|
72 |
+
* Returns the visitor's Nosto Id
|
73 |
+
*/
|
74 |
+
public function getVisitorChecksum()
|
75 |
+
{
|
76 |
+
/* @var $helper Nosto_Tagging_Helper_Data */
|
77 |
+
$helper = Mage::helper('nosto_tagging');
|
78 |
+
|
79 |
+
return $helper->getVisitorChecksum();
|
80 |
+
}
|
81 |
+
|
82 |
}
|
app/code/community/Nosto/Tagging/Block/Product.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Account.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Customer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Data.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -54,6 +54,15 @@ class Nosto_Tagging_Helper_Data extends Mage_Core_Helper_Abstract
|
|
54 |
*/
|
55 |
const VISITOR_HASH_ALGO = 'sha256';
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
/**
|
58 |
* @inheritdoc
|
59 |
*/
|
@@ -87,6 +96,7 @@ class Nosto_Tagging_Helper_Data extends Mage_Core_Helper_Abstract
|
|
87 |
if (isset($categories[$id]) && $categories[$id]->getName()) {
|
88 |
$data[] = $categories[$id]->getName();
|
89 |
} else {
|
|
|
90 |
break;
|
91 |
}
|
92 |
}
|
@@ -132,4 +142,39 @@ class Nosto_Tagging_Helper_Data extends Mage_Core_Helper_Abstract
|
|
132 |
{
|
133 |
return Mage::getStoreConfig(self::XML_PATH_IMAGE_VERSION, $store);
|
134 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
54 |
*/
|
55 |
const VISITOR_HASH_ALGO = 'sha256';
|
56 |
|
57 |
+
/**
|
58 |
+
* List of strings to remove from the default Nosto account title
|
59 |
+
*
|
60 |
+
* @var array
|
61 |
+
*/
|
62 |
+
public static $removeFromTitle = array(
|
63 |
+
'Main Website - '
|
64 |
+
);
|
65 |
+
|
66 |
/**
|
67 |
* @inheritdoc
|
68 |
*/
|
96 |
if (isset($categories[$id]) && $categories[$id]->getName()) {
|
97 |
$data[] = $categories[$id]->getName();
|
98 |
} else {
|
99 |
+
$data = array();
|
100 |
break;
|
101 |
}
|
102 |
}
|
142 |
{
|
143 |
return Mage::getStoreConfig(self::XML_PATH_IMAGE_VERSION, $store);
|
144 |
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Return the Nosto cookie value
|
148 |
+
*
|
149 |
+
* @return string
|
150 |
+
*/
|
151 |
+
public function getCookieId()
|
152 |
+
{
|
153 |
+
return Mage::getModel('core/cookie')->get(self::COOKIE_NAME);
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Return the checksum for visitor
|
158 |
+
*
|
159 |
+
* @return string
|
160 |
+
*/
|
161 |
+
public function getVisitorChecksum()
|
162 |
+
{
|
163 |
+
$coo = $this->getCookieId();
|
164 |
+
if ($coo) {
|
165 |
+
return hash(self::VISITOR_HASH_ALGO, $coo);
|
166 |
+
}
|
167 |
+
return null;
|
168 |
+
}
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Return the checksum for visitor
|
172 |
+
*
|
173 |
+
* @return string
|
174 |
+
*/
|
175 |
+
public function cleanUpAccountTitle($name)
|
176 |
+
{
|
177 |
+
$clean = str_replace(self::$removeFromTitle, '', $name);
|
178 |
+
return $clean;
|
179 |
+
}
|
180 |
}
|
app/code/community/Nosto/Tagging/Helper/Date.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Oauth.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Price.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Helper/Url.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Base.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Container/Cart.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Container/Customer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Customer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Export/Collection/Order.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Account.php
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
* @category Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -80,6 +80,11 @@ class Nosto_Tagging_Model_Meta_Account extends Mage_Core_Model_Abstract implemen
|
|
80 |
*/
|
81 |
protected $_signUpApiToken = 'YBDKYwSqTCzSsU8Bwbg4im2pkHMcgTy9cCX7vevjJwON1UISJIwXOLMM0a8nZY7h';
|
82 |
|
|
|
|
|
|
|
|
|
|
|
83 |
/**
|
84 |
* @inheritdoc
|
85 |
*/
|
@@ -95,11 +100,15 @@ class Nosto_Tagging_Model_Meta_Account extends Mage_Core_Model_Abstract implemen
|
|
95 |
*/
|
96 |
public function loadData(Mage_Core_Model_Store $store)
|
97 |
{
|
98 |
-
|
|
|
|
|
|
|
99 |
. ' - '
|
100 |
. $store->getGroup()->getName()
|
101 |
. ' - '
|
102 |
-
. $store->getName()
|
|
|
103 |
$this->_name = substr(sha1(rand()), 0, 8);
|
104 |
$this->_frontPageUrl = NostoHttpRequest::replaceQueryParamInUrl(
|
105 |
'___store',
|
@@ -277,4 +286,24 @@ class Nosto_Tagging_Model_Meta_Account extends Mage_Core_Model_Abstract implemen
|
|
277 |
{
|
278 |
return null;
|
279 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
}
|
21 |
* @category Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
80 |
*/
|
81 |
protected $_signUpApiToken = 'YBDKYwSqTCzSsU8Bwbg4im2pkHMcgTy9cCX7vevjJwON1UISJIwXOLMM0a8nZY7h';
|
82 |
|
83 |
+
/**
|
84 |
+
* @var array|stdClass account details
|
85 |
+
*/
|
86 |
+
protected $_details;
|
87 |
+
|
88 |
/**
|
89 |
* @inheritdoc
|
90 |
*/
|
100 |
*/
|
101 |
public function loadData(Mage_Core_Model_Store $store)
|
102 |
{
|
103 |
+
/* @var Nosto_Tagging_Helper_Data $helper */
|
104 |
+
$helper = Mage::helper('nosto_tagging');
|
105 |
+
$this->_title = $helper->cleanUpAccountTitle(
|
106 |
+
$store->getWebsite()->getName()
|
107 |
. ' - '
|
108 |
. $store->getGroup()->getName()
|
109 |
. ' - '
|
110 |
+
. $store->getName()
|
111 |
+
);
|
112 |
$this->_name = substr(sha1(rand()), 0, 8);
|
113 |
$this->_frontPageUrl = NostoHttpRequest::replaceQueryParamInUrl(
|
114 |
'___store',
|
286 |
{
|
287 |
return null;
|
288 |
}
|
289 |
+
|
290 |
+
/**
|
291 |
+
* Set details
|
292 |
+
*
|
293 |
+
* @param array|stdClass $details
|
294 |
+
*/
|
295 |
+
public function setDetails($details)
|
296 |
+
{
|
297 |
+
$this->_details = $details;
|
298 |
+
}
|
299 |
+
|
300 |
+
/**
|
301 |
+
* Get the details
|
302 |
+
*
|
303 |
+
* @return array|stdClass
|
304 |
+
*/
|
305 |
+
public function getDetails()
|
306 |
+
{
|
307 |
+
return $this->_details;
|
308 |
+
}
|
309 |
}
|
app/code/community/Nosto/Tagging/Model/Meta/Account/Billing.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Account/Iframe.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Account/Owner.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Oauth.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Order.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Order/Buyer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Order/Item.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Order/Status.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Meta/Product.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -36,26 +36,6 @@
|
|
36 |
*/
|
37 |
class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implements NostoProductInterface, NostoValidatableInterface
|
38 |
{
|
39 |
-
/**
|
40 |
-
* Product "in stock" tagging string.
|
41 |
-
*/
|
42 |
-
const PRODUCT_IN_STOCK = 'InStock';
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Product "out of stock" tagging string.
|
46 |
-
*/
|
47 |
-
const PRODUCT_OUT_OF_STOCK = 'OutOfStock';
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Product "invisible " tagging string.
|
51 |
-
*/
|
52 |
-
const PRODUCT_INVISIBLE = 'Invisible';
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Product "can be directly added to cart" tag string.
|
56 |
-
*/
|
57 |
-
const PRODUCT_ADD_TO_CART = 'add-to-cart';
|
58 |
-
|
59 |
/**
|
60 |
* @var string the absolute url to the product page in the shop frontend.
|
61 |
*/
|
@@ -213,11 +193,11 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
213 |
*/
|
214 |
protected function buildAvailability(Mage_Catalog_Model_Product $product)
|
215 |
{
|
216 |
-
$availability = self::
|
217 |
if(!$product->isVisibleInSiteVisibility()) {
|
218 |
-
$availability = self::
|
219 |
} elseif ($product->isAvailable()) {
|
220 |
-
$availability = self::
|
221 |
}
|
222 |
|
223 |
return $availability;
|
@@ -259,7 +239,7 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
259 |
}
|
260 |
|
261 |
if (!$product->canConfigure()) {
|
262 |
-
$tags[] = self::
|
263 |
}
|
264 |
|
265 |
return $tags;
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
36 |
*/
|
37 |
class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implements NostoProductInterface, NostoValidatableInterface
|
38 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
/**
|
40 |
* @var string the absolute url to the product page in the shop frontend.
|
41 |
*/
|
193 |
*/
|
194 |
protected function buildAvailability(Mage_Catalog_Model_Product $product)
|
195 |
{
|
196 |
+
$availability = self::OUT_OF_STOCK;
|
197 |
if(!$product->isVisibleInSiteVisibility()) {
|
198 |
+
$availability = self::INVISIBLE;
|
199 |
} elseif ($product->isAvailable()) {
|
200 |
+
$availability = self::IN_STOCK;
|
201 |
}
|
202 |
|
203 |
return $availability;
|
239 |
}
|
240 |
|
241 |
if (!$product->canConfigure()) {
|
242 |
+
$tags[] = self::ADD_TO_CART;
|
243 |
}
|
244 |
|
245 |
return $tags;
|
app/code/community/Nosto/Tagging/Model/Observer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Product.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Resource/Customer.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Resource/Customer/Collection.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Resource/Product/Collection.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Resource/Setup.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/Service/Order.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/Model/System/Config/Source/Image.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/bootstrap.php
CHANGED
@@ -1,36 +1,28 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
-
*
|
5 |
-
*
|
6 |
-
*
|
7 |
-
*
|
8 |
-
*
|
9 |
-
*
|
10 |
-
*
|
11 |
-
*
|
12 |
-
*
|
13 |
-
*
|
14 |
-
*
|
15 |
-
*
|
16 |
-
*
|
17 |
-
*
|
18 |
-
*
|
19 |
-
*
|
20 |
-
*
|
21 |
-
*
|
22 |
-
*
|
23 |
-
*
|
24 |
-
*
|
25 |
-
*
|
26 |
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
27 |
-
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28 |
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29 |
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
-
*
|
31 |
-
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright 2015 Nosto Solutions Ltd
|
33 |
-
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
*/
|
35 |
|
36 |
require_once Mage::getBaseDir('lib') . '/nosto/php-sdk/src/config.inc.php';
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
+
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
*/
|
27 |
|
28 |
require_once Mage::getBaseDir('lib') . '/nosto/php-sdk/src/config.inc.php';
|
app/code/community/Nosto/Tagging/controllers/Adminhtml/NostoController.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -146,10 +146,14 @@ class Nosto_Tagging_Adminhtml_NostoController extends Mage_Adminhtml_Controller_
|
|
146 |
if ($this->getRequest()->isPost() && $store !== null) {
|
147 |
try {
|
148 |
$email = $this->getRequest()->getPost('email');
|
|
|
149 |
$meta = $accountHelper->getMetaData($store);
|
150 |
if (Zend_Validate::is($email, 'EmailAddress')) {
|
151 |
$meta->getOwner()->setEmail($email);
|
152 |
}
|
|
|
|
|
|
|
153 |
$account = NostoAccount::create($meta);
|
154 |
if ($accountHelper->save($account, $store)) {
|
155 |
$responseBody = array(
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
146 |
if ($this->getRequest()->isPost() && $store !== null) {
|
147 |
try {
|
148 |
$email = $this->getRequest()->getPost('email');
|
149 |
+
$details = $this->getRequest()->getPost('details');
|
150 |
$meta = $accountHelper->getMetaData($store);
|
151 |
if (Zend_Validate::is($email, 'EmailAddress')) {
|
152 |
$meta->getOwner()->setEmail($email);
|
153 |
}
|
154 |
+
if (!empty($details)) {
|
155 |
+
$meta->setDetails(json_decode($details));
|
156 |
+
}
|
157 |
$account = NostoAccount::create($meta);
|
158 |
if ($accountHelper->save($account, $store)) {
|
159 |
$responseBody = array(
|
app/code/community/Nosto/Tagging/controllers/ExportController.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/controllers/OauthController.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/code/community/Nosto/Tagging/etc/adminhtml.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<menu>
|
31 |
<nosto translate="title">
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<menu>
|
29 |
<nosto translate="title">
|
app/code/community/Nosto/Tagging/etc/cache.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<placeholders>
|
31 |
<nosto_tagging_cart>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<placeholders>
|
29 |
<nosto_tagging_cart>
|
app/code/community/Nosto/Tagging/etc/config.xml
CHANGED
@@ -1,35 +1,33 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<modules>
|
31 |
<Nosto_Tagging>
|
32 |
-
|
33 |
</Nosto_Tagging>
|
34 |
</modules>
|
35 |
<global>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<modules>
|
29 |
<Nosto_Tagging>
|
30 |
+
<version>2.6.15</version>
|
31 |
</Nosto_Tagging>
|
32 |
</modules>
|
33 |
<global>
|
app/code/community/Nosto/Tagging/etc/system.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<sections>
|
31 |
<nosto_tagging translate="label">
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<sections>
|
29 |
<nosto_tagging translate="label">
|
app/code/community/Nosto/Tagging/sql/tagging_setup/mysql4-install-1.2.0.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
@@ -37,47 +37,49 @@
|
|
37 |
$installer = $this;
|
38 |
$installer->startSetup();
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
'
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
->addColumn(
|
52 |
-
'quote_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 10, array(
|
53 |
-
'unsigned' => true,
|
54 |
-
'nullable' => false
|
55 |
)
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
60 |
)
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
)
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
)
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE
|
76 |
-
),
|
77 |
-
array('quote_id', 'nosto_id'), array(
|
78 |
-
'type' => Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE
|
79 |
)
|
80 |
-
|
81 |
-
$installer->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
$installer->endSetup();
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
37 |
$installer = $this;
|
38 |
$installer->startSetup();
|
39 |
|
40 |
+
if (!$installer->getConnection()->isTableExists($installer->getTable('nosto_tagging/customer'))) {
|
41 |
+
$table = $installer
|
42 |
+
->getConnection()
|
43 |
+
->newTable($installer->getTable('nosto_tagging/customer'))
|
44 |
+
->addColumn(
|
45 |
+
'customer_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 10, array(
|
46 |
+
'unsigned' => true,
|
47 |
+
'nullable' => false,
|
48 |
+
'primary' => true,
|
49 |
+
'identity' => true
|
50 |
+
)
|
|
|
|
|
|
|
|
|
51 |
)
|
52 |
+
->addColumn(
|
53 |
+
'quote_id', Varien_Db_Ddl_Table::TYPE_INTEGER, 10, array(
|
54 |
+
'unsigned' => true,
|
55 |
+
'nullable' => false
|
56 |
+
)
|
57 |
)
|
58 |
+
->addColumn(
|
59 |
+
'nosto_id', Varien_Db_Ddl_Table::TYPE_VARCHAR, 255, array(
|
60 |
+
'nullable' => false
|
61 |
+
)
|
62 |
)
|
63 |
+
->addColumn(
|
64 |
+
'created_at', Varien_Db_Ddl_Table::TYPE_DATETIME, null, array(
|
65 |
+
'nullable' => false
|
66 |
+
)
|
67 |
)
|
68 |
+
->addColumn(
|
69 |
+
'updated_at', Varien_Db_Ddl_Table::TYPE_DATETIME, null, array(
|
70 |
+
'nullable' => true
|
71 |
+
)
|
|
|
|
|
|
|
|
|
72 |
)
|
73 |
+
->addIndex(
|
74 |
+
$installer->getIdxName(
|
75 |
+
'nosto_tagging/customer', array('quote_id', 'nosto_id'),
|
76 |
+
Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE
|
77 |
+
),
|
78 |
+
array('quote_id', 'nosto_id'), array(
|
79 |
+
'type' => Varien_Db_Adapter_Interface::INDEX_TYPE_UNIQUE
|
80 |
+
)
|
81 |
+
);
|
82 |
+
$installer->getConnection()->createTable($table);
|
83 |
+
}
|
84 |
|
85 |
$installer->endSetup();
|
app/code/community/Nosto/Tagging/sql/tagging_setup/mysql4-upgrade-1.1.7-1.2.0.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
|
app/design/adminhtml/default/default/layout/nostotagging.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<!-- Nosto main menu link page -->
|
31 |
<adminhtml_nosto_index>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<!-- Nosto main menu link page -->
|
29 |
<adminhtml_nosto_index>
|
app/design/adminhtml/default/default/template/nostotagging/iframe.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/adminhtml/default/default/template/nostotagging/wizard.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/layout/nostotagging.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<layout version="1.0.0">
|
30 |
<!-- -->
|
31 |
<!-- Adds Nosto tagging meta-data to site -->
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<layout version="1.0.0">
|
28 |
<!-- -->
|
29 |
<!-- Adds Nosto tagging meta-data to site -->
|
app/design/frontend/base/default/template/nostotagging/addtocart.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/cart.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
@@ -40,6 +40,7 @@ $nostoPriceHelper = Mage::helper('nosto_tagging/price');
|
|
40 |
|
41 |
<!-- Nosto Cart Tagging -->
|
42 |
<div class="nosto_cart" style="display:none">
|
|
|
43 |
<?php foreach ($items as $item): ?>
|
44 |
<div class="line_item">
|
45 |
<span class="product_id"><?php echo $this->getProductId($item); ?></span>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
40 |
|
41 |
<!-- Nosto Cart Tagging -->
|
42 |
<div class="nosto_cart" style="display:none">
|
43 |
+
<span class="hcid"><?php echo $this->getVisitorChecksum(); ?></span>
|
44 |
<?php foreach ($items as $item): ?>
|
45 |
<div class="line_item">
|
46 |
<span class="product_id"><?php echo $this->getProductId($item); ?></span>
|
app/design/frontend/base/default/template/nostotagging/category.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/category/view.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/customer.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
@@ -37,6 +37,7 @@ $nostoHelper = Mage::helper('nosto_tagging');
|
|
37 |
|
38 |
<!-- Nosto Customer Tagging -->
|
39 |
<div class="nosto_customer" style="display:none">
|
|
|
40 |
<span class="first_name"><?php echo $nostoHelper->escapeHtml($customer->getFirstname()); ?></span>
|
41 |
<span class="last_name"><?php echo $nostoHelper->escapeHtml($customer->getLastname()); ?></span>
|
42 |
<span class="email"><?php echo $nostoHelper->escapeHtml($customer->getEmail()); ?></span>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
37 |
|
38 |
<!-- Nosto Customer Tagging -->
|
39 |
<div class="nosto_customer" style="display:none">
|
40 |
+
<span class="hcid"><?php echo $this->getVisitorChecksum(); ?></span>
|
41 |
<span class="first_name"><?php echo $nostoHelper->escapeHtml($customer->getFirstname()); ?></span>
|
42 |
<span class="last_name"><?php echo $nostoHelper->escapeHtml($customer->getLastname()); ?></span>
|
43 |
<span class="email"><?php echo $nostoHelper->escapeHtml($customer->getEmail()); ?></span>
|
app/design/frontend/base/default/template/nostotagging/element.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/embed.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/meta.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/order.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
@@ -40,6 +40,7 @@ $priceHelper = Mage::helper('nosto_tagging/price');
|
|
40 |
<?php if ($order->getPurchasedItems() !== array()): ?>
|
41 |
<!-- Nosto Order Tagging -->
|
42 |
<div class="nosto_purchase_order" style="display:none">
|
|
|
43 |
<span class="order_number"><?php echo $order->getOrderNumber(); ?></span>
|
44 |
<span class="external_order_ref"><?php echo $helper->escapeHtml($order->getExternalOrderRef()); ?></span>
|
45 |
<?php if ($order->getOrderStatus()): ?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
40 |
<?php if ($order->getPurchasedItems() !== array()): ?>
|
41 |
<!-- Nosto Order Tagging -->
|
42 |
<div class="nosto_purchase_order" style="display:none">
|
43 |
+
<span class="hcid"><?php echo $this->getVisitorChecksum(); ?></span>
|
44 |
<span class="order_number"><?php echo $order->getOrderNumber(); ?></span>
|
45 |
<span class="external_order_ref"><?php echo $helper->escapeHtml($order->getExternalOrderRef()); ?></span>
|
46 |
<?php if ($order->getOrderStatus()): ?>
|
app/design/frontend/base/default/template/nostotagging/product.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,17 +11,17 @@
|
|
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
|
22 |
-
* @package
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
-
* @copyright Copyright (c) 2013-
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
+
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
* @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
*/
|
27 |
?>
|
app/design/frontend/base/default/template/nostotagging/searchterm.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
-
*
|
5 |
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
@@ -11,13 +11,13 @@
|
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
1 |
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
+
*
|
5 |
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
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 Nosto
|
22 |
* @package Nosto_Tagging
|
23 |
* @author Nosto Solutions Ltd <magento@nosto.com>
|
app/etc/modules/Nosto_Tagging.xml
CHANGED
@@ -1,31 +1,29 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
*/
|
28 |
-
-->
|
29 |
<config>
|
30 |
<modules>
|
31 |
<Nosto_Tagging>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
~ Magento
|
4 |
+
~
|
5 |
+
~ NOTICE OF LICENSE
|
6 |
+
~
|
7 |
+
~ This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
~ that is bundled with this package in the file LICENSE.txt.
|
9 |
+
~ It is also available through the world-wide-web at this URL:
|
10 |
+
~ http://opensource.org/licenses/osl-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 Nosto
|
22 |
+
~ @package Nosto_Tagging
|
23 |
+
~ @author Nosto Solutions Ltd <magento@nosto.com>
|
24 |
+
~ @copyright Copyright (c) 2013-2016 Nosto Solutions Ltd (http://www.nosto.com)
|
25 |
+
~ @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
-->
|
|
|
|
|
27 |
<config>
|
28 |
<modules>
|
29 |
<Nosto_Tagging>
|
js/nosto/iframeHandler.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(a){"use strict";function b(b,e){var f=c({method:"POST",async:!0,data:{}},e);f.data.form_key=a.FORM_KEY;var g=new XMLHttpRequest;"function"==typeof f.success&&g.addEventListener("load",function(a){f.success(JSON.parse(a.target.response))},!1),g.open(f.method,decodeURIComponent(b),f.async),g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.send(d(f.data))}function c(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function d(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(""!==b&&(b+="&"),b+=encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b}var e=function(d,e){var f="newAccount",g="connectAccount",h="removeAccount",i=c({iframeId:"nosto_iframe",urls:{createAccount:"",connectAccount:"",deleteAccount:""}},e),j=document.getElementById(i.iframeId);switch(d.type){case f:b(i.urls.createAccount,{data:
|
1 |
+
!function(a){"use strict";function b(b,e){var f=c({method:"POST",async:!0,data:{}},e);f.data.form_key=a.FORM_KEY;var g=new XMLHttpRequest;"function"==typeof f.success&&g.addEventListener("load",function(a){f.success(JSON.parse(a.target.response))},!1),g.open(f.method,decodeURIComponent(b),f.async),g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.send(d(f.data))}function c(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a}function d(a){var b="";for(var c in a)a.hasOwnProperty(c)&&(""!==b&&(b+="&"),b+=encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b}var e=function(d,e){var f="newAccount",g="connectAccount",h="removeAccount",i=c({iframeId:"nosto_iframe",urls:{createAccount:"",connectAccount:"",deleteAccount:""}},e),j=document.getElementById(i.iframeId);switch(d.type){case f:var k={email:d.params.email};d.params.details&&(k.details=JSON.stringify(d.params.details)),b(i.urls.createAccount,{data:k,success:function(a){a.success&&a.redirect_url&&(j.src=a.redirect_url)}});break;case g:b(i.urls.connectAccount,{success:function(b){b.success&&b.redirect_url?a.location.href=b.redirect_url:!b.success&&b.redirect_url&&(j.src=b.redirect_url)}});break;case h:b(i.urls.deleteAccount,{success:function(a){a.success&&a.redirect_url&&(j.src=a.redirect_url)}});break;default:throw new Error("Nosto: invalid postMessage `type`.")}};a.Nosto=a.Nosto||{},a.Nosto.handlePostMessage=e}(window||{});
|
lib/nosto/php-sdk/src/classes/Nosto.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -112,14 +113,53 @@ class Nosto
|
|
112 |
* @param string $message the error message.
|
113 |
* @param NostoHttpRequest $request the request object to take additional info from.
|
114 |
* @param NostoHttpResponse $response the response object to take additional info from.
|
115 |
-
* @throws NostoHttpException the exception.
|
116 |
*/
|
117 |
public static function throwHttpException($message, NostoHttpRequest $request, NostoHttpResponse $response)
|
118 |
{
|
119 |
-
$
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
124 |
|
125 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
113 |
* @param string $message the error message.
|
114 |
* @param NostoHttpRequest $request the request object to take additional info from.
|
115 |
* @param NostoHttpResponse $response the response object to take additional info from.
|
116 |
+
* @throws NostoHttpException|NostoApiResponseException the exception.
|
117 |
*/
|
118 |
public static function throwHttpException($message, NostoHttpRequest $request, NostoHttpResponse $response)
|
119 |
{
|
120 |
+
$jsonResponse = $response->getJsonResult();
|
121 |
+
|
122 |
+
if (
|
123 |
+
isset($jsonResponse->type)
|
124 |
+
&& isset($jsonResponse->message)
|
125 |
+
) {
|
126 |
+
if (isset($jsonResponse->message)) {
|
127 |
+
$message .= '. ' . $jsonResponse->message;
|
128 |
+
}
|
129 |
+
throw new NostoApiResponseException(
|
130 |
+
$message,
|
131 |
+
$response->getCode(), // http status code
|
132 |
+
null,
|
133 |
+
$request,
|
134 |
+
$response
|
135 |
+
);
|
136 |
+
} else {
|
137 |
+
if ($response->getMessage()) {
|
138 |
+
$message .= '. ' . $response->getMessage();
|
139 |
+
}
|
140 |
+
throw new NostoHttpException(
|
141 |
+
$message,
|
142 |
+
$response->getCode(),
|
143 |
+
null,
|
144 |
+
$request,
|
145 |
+
$response
|
146 |
+
);
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Throws a new NostoException exception
|
152 |
+
*
|
153 |
+
* @param string $message the error message
|
154 |
+
* @param int $code the code
|
155 |
+
* @throws NostoException the exception
|
156 |
+
*/
|
157 |
+
public static function throwException($message, $code = null)
|
158 |
+
{
|
159 |
+
throw new NostoException(
|
160 |
+
$message,
|
161 |
+
$code
|
162 |
+
);
|
163 |
}
|
164 |
|
165 |
/**
|
lib/nosto/php-sdk/src/classes/NostoAccount.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -109,6 +110,10 @@ class NostoAccount extends NostoObject implements NostoAccountInterface, NostoVa
|
|
109 |
$params['api_tokens'][] = 'api_'.$name;
|
110 |
}
|
111 |
|
|
|
|
|
|
|
|
|
112 |
$request = new NostoApiRequest();
|
113 |
$request->setPath(NostoApiRequest::PATH_SIGN_UP);
|
114 |
$request->setReplaceParams(array('{lang}' => $meta->getLanguageCode()));
|
@@ -116,8 +121,9 @@ class NostoAccount extends NostoObject implements NostoAccountInterface, NostoVa
|
|
116 |
$request->setAuthBasic('', $meta->getSignUpApiToken());
|
117 |
$response = $request->post(json_encode($params));
|
118 |
|
|
|
119 |
if ($response->getCode() !== 200) {
|
120 |
-
Nosto::throwHttpException('
|
121 |
}
|
122 |
|
123 |
$account = new self($meta->getPlatform().'-'.$meta->getName());
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
110 |
$params['api_tokens'][] = 'api_'.$name;
|
111 |
}
|
112 |
|
113 |
+
if ($meta->getDetails()) {
|
114 |
+
$params['details'] = $meta->getDetails();
|
115 |
+
}
|
116 |
+
|
117 |
$request = new NostoApiRequest();
|
118 |
$request->setPath(NostoApiRequest::PATH_SIGN_UP);
|
119 |
$request->setReplaceParams(array('{lang}' => $meta->getLanguageCode()));
|
121 |
$request->setAuthBasic('', $meta->getSignUpApiToken());
|
122 |
$response = $request->post(json_encode($params));
|
123 |
|
124 |
+
/* In case of no result we have not been able to make the API call */
|
125 |
if ($response->getCode() !== 200) {
|
126 |
+
Nosto::throwHttpException('Failed to create Nosto account', $request, $response);
|
127 |
}
|
128 |
|
129 |
$account = new self($meta->getPlatform().'-'.$meta->getName());
|
lib/nosto/php-sdk/src/classes/NostoAccountMeta.php
CHANGED
@@ -1,26 +1,37 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
|
|
4 |
*
|
5 |
-
*
|
|
|
6 |
*
|
7 |
-
*
|
8 |
-
*
|
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 contact@nosto.com so we can send you a copy immediately.
|
14 |
*
|
15 |
-
*
|
|
|
|
|
16 |
*
|
17 |
-
*
|
18 |
-
*
|
19 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
*
|
21 |
-
* @author Nosto Solutions Ltd <contact@nosto.com>
|
22 |
-
* @copyright 2013-2016 Nosto Solutions Ltd
|
23 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
26 |
/**
|
@@ -83,6 +94,40 @@ abstract class NostoAccountMeta implements NostoAccountMetaDataInterface
|
|
83 |
*/
|
84 |
protected $defaultVariationId = false;
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
/**
|
87 |
* Sets the store title.
|
88 |
*
|
@@ -125,14 +170,6 @@ abstract class NostoAccountMeta implements NostoAccountMetaDataInterface
|
|
125 |
return $this->name;
|
126 |
}
|
127 |
|
128 |
-
/**
|
129 |
-
* The name of the platform the account is used on.
|
130 |
-
* A list of valid platform names is issued by Nosto.
|
131 |
-
*
|
132 |
-
* @return string the platform names.
|
133 |
-
*/
|
134 |
-
abstract public function getPlatform();
|
135 |
-
|
136 |
/**
|
137 |
* Sets the store front page url.
|
138 |
*
|
@@ -237,21 +274,6 @@ abstract class NostoAccountMeta implements NostoAccountMetaDataInterface
|
|
237 |
return $this->billing;
|
238 |
}
|
239 |
|
240 |
-
/**
|
241 |
-
* The API token used to identify an account creation.
|
242 |
-
* This token is platform specific and issued by Nosto.
|
243 |
-
*
|
244 |
-
* @return string the API token.
|
245 |
-
*/
|
246 |
-
abstract public function getSignUpApiToken();
|
247 |
-
|
248 |
-
/**
|
249 |
-
* Returns the partner code
|
250 |
-
*
|
251 |
-
* @return string
|
252 |
-
*/
|
253 |
-
abstract public function getPartnerCode();
|
254 |
-
|
255 |
/**
|
256 |
* Returns an array of currencies used for this account
|
257 |
*
|
@@ -301,17 +323,62 @@ abstract class NostoAccountMeta implements NostoAccountMetaDataInterface
|
|
301 |
$this->defaultVariationId = $defaultVariationId;
|
302 |
}
|
303 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
|
305 |
-
|
306 |
-
* Returns the
|
307 |
*
|
308 |
* @return string
|
309 |
*/
|
|
|
|
|
|
|
|
|
|
|
310 |
/**
|
|
|
|
|
311 |
* @return string
|
312 |
*/
|
313 |
-
public function
|
314 |
{
|
315 |
-
return $this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
}
|
317 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
+
* All rights reserved.
|
5 |
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without modification,
|
7 |
+
* are permitted provided that the following conditions are met:
|
8 |
*
|
9 |
+
* 1. Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
|
|
|
11 |
*
|
12 |
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
13 |
+
* this list of conditions and the following disclaimer in the documentation
|
14 |
+
* and/or other materials provided with the distribution.
|
15 |
*
|
16 |
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
17 |
+
* may be used to endorse or promote products derived from this software without
|
18 |
+
* specific prior written permission.
|
19 |
+
*
|
20 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23 |
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
24 |
+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
27 |
+
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29 |
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
+
*
|
31 |
+
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
+
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
*
|
|
|
|
|
|
|
35 |
*/
|
36 |
|
37 |
/**
|
94 |
*/
|
95 |
protected $defaultVariationId = false;
|
96 |
|
97 |
+
/**
|
98 |
+
* @var string details
|
99 |
+
*/
|
100 |
+
protected $details = false;
|
101 |
+
|
102 |
+
/**
|
103 |
+
* @var string sign up api token
|
104 |
+
*/
|
105 |
+
protected $signupApiToken;
|
106 |
+
|
107 |
+
/**
|
108 |
+
* @var string platform name
|
109 |
+
*/
|
110 |
+
protected $platform;
|
111 |
+
|
112 |
+
/**
|
113 |
+
* @var string partner code
|
114 |
+
*/
|
115 |
+
protected $partnerCode;
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Constructor
|
119 |
+
*
|
120 |
+
* @param string $platform
|
121 |
+
* @param string $signupApiToken
|
122 |
+
* @param string $partnerCode
|
123 |
+
*/
|
124 |
+
public function __construct($platform, $signupApiToken, $partnerCode)
|
125 |
+
{
|
126 |
+
$this->platform = $platform;
|
127 |
+
$this->signupApiToken = $signupApiToken;
|
128 |
+
$this->partnerCode = $partnerCode;
|
129 |
+
}
|
130 |
+
|
131 |
/**
|
132 |
* Sets the store title.
|
133 |
*
|
170 |
return $this->name;
|
171 |
}
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
/**
|
174 |
* Sets the store front page url.
|
175 |
*
|
274 |
return $this->billing;
|
275 |
}
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
/**
|
278 |
* Returns an array of currencies used for this account
|
279 |
*
|
323 |
$this->defaultVariationId = $defaultVariationId;
|
324 |
}
|
325 |
|
326 |
+
/**
|
327 |
+
* Return the default variation id
|
328 |
+
*
|
329 |
+
* @return string
|
330 |
+
*/
|
331 |
+
public function getDefaultVariationId()
|
332 |
+
{
|
333 |
+
return $this->defaultVariationId;
|
334 |
+
}
|
335 |
+
|
336 |
+
/**
|
337 |
+
* Sets the details
|
338 |
+
* @param string $details
|
339 |
+
*/
|
340 |
+
public function setDetails($details)
|
341 |
+
{
|
342 |
+
$this->details = $details;
|
343 |
+
}
|
344 |
+
|
345 |
+
/**
|
346 |
+
* Returns the account details
|
347 |
+
*
|
348 |
+
* @return string
|
349 |
+
*/
|
350 |
+
public function getDetails()
|
351 |
+
{
|
352 |
+
return $this->details;
|
353 |
+
}
|
354 |
|
355 |
+
/**
|
356 |
+
* Returns the partner code
|
357 |
*
|
358 |
* @return string
|
359 |
*/
|
360 |
+
public function getPartnerCode()
|
361 |
+
{
|
362 |
+
return $this->partnerCode;
|
363 |
+
}
|
364 |
+
|
365 |
/**
|
366 |
+
* Returns the name of the platform
|
367 |
+
*
|
368 |
* @return string
|
369 |
*/
|
370 |
+
public function getPlatform()
|
371 |
{
|
372 |
+
return $this->platform;
|
373 |
+
}
|
374 |
+
|
375 |
+
/**
|
376 |
+
* Returns the signup api token
|
377 |
+
*
|
378 |
+
* @return string
|
379 |
+
*/
|
380 |
+
public function getSignupApiToken()
|
381 |
+
{
|
382 |
+
return $this->signupApiToken;
|
383 |
}
|
384 |
}
|
lib/nosto/php-sdk/src/classes/NostoCipher.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoCurrency.php
CHANGED
@@ -1,26 +1,37 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
|
|
4 |
*
|
5 |
-
*
|
|
|
6 |
*
|
7 |
-
*
|
8 |
-
*
|
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 contact@nosto.com so we can send you a copy immediately.
|
14 |
*
|
15 |
-
*
|
|
|
|
|
16 |
*
|
17 |
-
*
|
18 |
-
*
|
19 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
*
|
21 |
-
* @author Nosto Solutions Ltd <contact@nosto.com>
|
22 |
-
* @copyright 2013-2016 Nosto Solutions Ltd
|
23 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
26 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
+
* All rights reserved.
|
5 |
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without modification,
|
7 |
+
* are permitted provided that the following conditions are met:
|
8 |
*
|
9 |
+
* 1. Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
|
|
|
|
|
|
|
|
|
|
11 |
*
|
12 |
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
13 |
+
* this list of conditions and the following disclaimer in the documentation
|
14 |
+
* and/or other materials provided with the distribution.
|
15 |
*
|
16 |
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
17 |
+
* may be used to endorse or promote products derived from this software without
|
18 |
+
* specific prior written permission.
|
19 |
+
*
|
20 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23 |
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
24 |
+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
27 |
+
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29 |
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
+
*
|
31 |
+
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
+
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
*
|
|
|
|
|
|
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoCurrencyCode.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoCurrencyFormat.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoCurrencyInfo.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoCurrencySymbol.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoDotEnv.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoExchangeRate.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoMessage.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoObject.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/NostoOrderConfirmation.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -78,8 +79,10 @@ class NostoOrderConfirmation
|
|
78 |
),
|
79 |
'created_at' => Nosto::helper('date')->format($order->getCreatedDate()),
|
80 |
'payment_provider' => $order->getPaymentProvider(),
|
|
|
81 |
'purchased_items' => array(),
|
82 |
);
|
|
|
83 |
foreach ($order->getPurchasedItems() as $item) {
|
84 |
$orderData['purchased_items'][] = array(
|
85 |
'product_id' => $item->getProductId(),
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
79 |
),
|
80 |
'created_at' => Nosto::helper('date')->format($order->getCreatedDate()),
|
81 |
'payment_provider' => $order->getPaymentProvider(),
|
82 |
+
'external_order_ref' => $order->getExternalOrderRef(),
|
83 |
'purchased_items' => array(),
|
84 |
);
|
85 |
+
|
86 |
foreach ($order->getPurchasedItems() as $item) {
|
87 |
$orderData['purchased_items'][] = array(
|
88 |
'product_id' => $item->getProductId(),
|
lib/nosto/php-sdk/src/classes/NostoProductReCrawl.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -99,7 +100,9 @@ class NostoProductReCrawl
|
|
99 |
{
|
100 |
$token = $account->getApiToken('products');
|
101 |
if ($token === null) {
|
102 |
-
throw new NostoException(
|
|
|
|
|
103 |
}
|
104 |
$request = new NostoApiRequest();
|
105 |
$request->setPath(NostoApiRequest::PATH_PRODUCT_RE_CRAWL);
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
100 |
{
|
101 |
$token = $account->getApiToken('products');
|
102 |
if ($token === null) {
|
103 |
+
throw new NostoException(
|
104 |
+
'Failed to send product re-crawl to Nosto. No `products` API token found for account.'
|
105 |
+
);
|
106 |
}
|
107 |
$request = new NostoApiRequest();
|
108 |
$request->setPath(NostoApiRequest::PATH_PRODUCT_RE_CRAWL);
|
lib/nosto/php-sdk/src/classes/NostoValidator.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -41,12 +42,12 @@ class NostoValidator
|
|
41 |
/**
|
42 |
* @var NostoValidatableInterface the object to validate.
|
43 |
*/
|
44 |
-
private $
|
45 |
|
46 |
/**
|
47 |
* @var array map of validation errors per attribute.
|
48 |
*/
|
49 |
-
private $
|
50 |
|
51 |
/**
|
52 |
* Constructor.
|
@@ -56,7 +57,7 @@ class NostoValidator
|
|
56 |
*/
|
57 |
public function __construct(NostoValidatableInterface $object)
|
58 |
{
|
59 |
-
$this->
|
60 |
}
|
61 |
|
62 |
/**
|
@@ -67,7 +68,7 @@ class NostoValidator
|
|
67 |
*/
|
68 |
public function validate()
|
69 |
{
|
70 |
-
foreach ($this->
|
71 |
if (isset($rule[0], $rule[1])) {
|
72 |
$properties = $rule[0];
|
73 |
$validator = 'validate'.$rule[1];
|
@@ -91,7 +92,7 @@ class NostoValidator
|
|
91 |
*/
|
92 |
public function hasErrors()
|
93 |
{
|
94 |
-
return (bool)count($this->
|
95 |
}
|
96 |
|
97 |
/**
|
@@ -101,7 +102,7 @@ class NostoValidator
|
|
101 |
*/
|
102 |
public function getErrors()
|
103 |
{
|
104 |
-
return $this->
|
105 |
}
|
106 |
|
107 |
/**
|
@@ -112,10 +113,10 @@ class NostoValidator
|
|
112 |
*/
|
113 |
protected function addError($attribute, $message)
|
114 |
{
|
115 |
-
if (!isset($this->
|
116 |
-
$this->
|
117 |
}
|
118 |
-
$this->
|
119 |
}
|
120 |
|
121 |
/**
|
@@ -127,7 +128,7 @@ class NostoValidator
|
|
127 |
protected function validateRequired(array $properties)
|
128 |
{
|
129 |
foreach ($properties as $property) {
|
130 |
-
$value = $this->
|
131 |
if (empty($value)) {
|
132 |
$this->addError($property, sprintf('Property "%s" must not be empty.', $property));
|
133 |
return false;
|
@@ -147,7 +148,7 @@ class NostoValidator
|
|
147 |
{
|
148 |
$supported = implode('", "', $values);
|
149 |
foreach ($properties as $property) {
|
150 |
-
$value = $this->
|
151 |
if (!in_array($value, $values)) {
|
152 |
$this->addError(
|
153 |
$property,
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
42 |
/**
|
43 |
* @var NostoValidatableInterface the object to validate.
|
44 |
*/
|
45 |
+
private $object;
|
46 |
|
47 |
/**
|
48 |
* @var array map of validation errors per attribute.
|
49 |
*/
|
50 |
+
private $errors = array();
|
51 |
|
52 |
/**
|
53 |
* Constructor.
|
57 |
*/
|
58 |
public function __construct(NostoValidatableInterface $object)
|
59 |
{
|
60 |
+
$this->object = $object;
|
61 |
}
|
62 |
|
63 |
/**
|
68 |
*/
|
69 |
public function validate()
|
70 |
{
|
71 |
+
foreach ($this->object->getValidationRules() as $rule) {
|
72 |
if (isset($rule[0], $rule[1])) {
|
73 |
$properties = $rule[0];
|
74 |
$validator = 'validate'.$rule[1];
|
92 |
*/
|
93 |
public function hasErrors()
|
94 |
{
|
95 |
+
return (bool)count($this->errors);
|
96 |
}
|
97 |
|
98 |
/**
|
102 |
*/
|
103 |
public function getErrors()
|
104 |
{
|
105 |
+
return $this->errors;
|
106 |
}
|
107 |
|
108 |
/**
|
113 |
*/
|
114 |
protected function addError($attribute, $message)
|
115 |
{
|
116 |
+
if (!isset($this->errors[$attribute])) {
|
117 |
+
$this->errors[$attribute] = array();
|
118 |
}
|
119 |
+
$this->errors[$attribute][] = $message;
|
120 |
}
|
121 |
|
122 |
/**
|
128 |
protected function validateRequired(array $properties)
|
129 |
{
|
130 |
foreach ($properties as $property) {
|
131 |
+
$value = $this->object->{$property};
|
132 |
if (empty($value)) {
|
133 |
$this->addError($property, sprintf('Property "%s" must not be empty.', $property));
|
134 |
return false;
|
148 |
{
|
149 |
$supported = implode('", "', $values);
|
150 |
foreach ($properties as $property) {
|
151 |
+
$value = $this->object->{$property};
|
152 |
if (!in_array($value, $values)) {
|
153 |
$this->addError(
|
154 |
$property,
|
lib/nosto/php-sdk/src/classes/api/NostoApiRequest.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/api/NostoApiToken.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/collection/NostoCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/collection/NostoExchangeRateCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/collection/NostoOrderCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/collection/NostoProductCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/exception/NostoApiResponseException.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
+
* All rights reserved.
|
5 |
+
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without modification,
|
7 |
+
* are permitted provided that the following conditions are met:
|
8 |
+
*
|
9 |
+
* 1. Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
11 |
+
*
|
12 |
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
13 |
+
* this list of conditions and the following disclaimer in the documentation
|
14 |
+
* and/or other materials provided with the distribution.
|
15 |
+
*
|
16 |
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
17 |
+
* may be used to endorse or promote products derived from this software without
|
18 |
+
* specific prior written permission.
|
19 |
+
*
|
20 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23 |
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
24 |
+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
27 |
+
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29 |
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
+
*
|
31 |
+
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
+
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
+
*/
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Nosto exception class for api response errors within the sdk.
|
39 |
+
*/
|
40 |
+
class NostoApiResponseException extends NostoHttpResponseException
|
41 |
+
{
|
42 |
+
}
|
lib/nosto/php-sdk/src/classes/exception/NostoException.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/exception/NostoHttpException.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -38,4 +39,65 @@
|
|
38 |
*/
|
39 |
class NostoHttpException extends NostoException
|
40 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
39 |
*/
|
40 |
class NostoHttpException extends NostoException
|
41 |
{
|
42 |
+
/**
|
43 |
+
* @var NostoHttpResponse
|
44 |
+
*/
|
45 |
+
private $response;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* @var NostoHttpRequest
|
49 |
+
*/
|
50 |
+
private $request;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* NostoHttpException constructor.
|
54 |
+
* @param string $message
|
55 |
+
* @param null $code
|
56 |
+
* @param Throwable|null $previous
|
57 |
+
* @param NostoHttpRequest|null $request
|
58 |
+
* @param NostoHttpResponse|null $response
|
59 |
+
*/
|
60 |
+
public function __construct(
|
61 |
+
$message = "",
|
62 |
+
$code = null,
|
63 |
+
Throwable $previous = null,
|
64 |
+
NostoHttpRequest $request = null,
|
65 |
+
NostoHttpResponse $response = null
|
66 |
+
) {
|
67 |
+
parent::__construct($message, $code, $previous);
|
68 |
+
$this->setRequest($request);
|
69 |
+
$this->setResponse($response);
|
70 |
+
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* @return NostoHttpRequest
|
74 |
+
*/
|
75 |
+
public function getRequest()
|
76 |
+
{
|
77 |
+
return $this->request;
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* @param NostoHttpRequest $request
|
82 |
+
*/
|
83 |
+
public function setRequest(NostoHttpRequest $request)
|
84 |
+
{
|
85 |
+
$this->request = $request;
|
86 |
+
}
|
87 |
+
|
88 |
+
/**
|
89 |
+
* @return NostoHttpResponse
|
90 |
+
*/
|
91 |
+
public function getResponse()
|
92 |
+
{
|
93 |
+
return $this->response;
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* @param NostoHttpResponse $response
|
98 |
+
*/
|
99 |
+
public function setResponse(NostoHttpResponse $response)
|
100 |
+
{
|
101 |
+
$this->response = $response;
|
102 |
+
}
|
103 |
}
|
lib/nosto/php-sdk/src/classes/exception/NostoHttpResponseException.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
+
* All rights reserved.
|
5 |
+
*
|
6 |
+
* Redistribution and use in source and binary forms, with or without modification,
|
7 |
+
* are permitted provided that the following conditions are met:
|
8 |
+
*
|
9 |
+
* 1. Redistributions of source code must retain the above copyright notice,
|
10 |
+
* this list of conditions and the following disclaimer.
|
11 |
+
*
|
12 |
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
13 |
+
* this list of conditions and the following disclaimer in the documentation
|
14 |
+
* and/or other materials provided with the distribution.
|
15 |
+
*
|
16 |
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
17 |
+
* may be used to endorse or promote products derived from this software without
|
18 |
+
* specific prior written permission.
|
19 |
+
*
|
20 |
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
21 |
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
22 |
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
23 |
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
24 |
+
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
25 |
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
26 |
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
27 |
+
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
28 |
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
29 |
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
+
*
|
31 |
+
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
+
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
+
*/
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Nosto exception class for api response errors within the sdk.
|
39 |
+
*/
|
40 |
+
class NostoHttpResponseException extends NostoHttpException
|
41 |
+
{
|
42 |
+
}
|
lib/nosto/php-sdk/src/classes/export/NostoExportOrderCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -58,6 +59,7 @@ class NostoExportOrderCollection extends NostoOrderCollection implements NostoEx
|
|
58 |
'email' => $item->getBuyerInfo()->getEmail(),
|
59 |
),
|
60 |
'payment_provider' => $item->getPaymentProvider(),
|
|
|
61 |
'purchased_items' => array(),
|
62 |
);
|
63 |
foreach ($item->getPurchasedItems() as $orderItem) {
|
@@ -69,6 +71,7 @@ class NostoExportOrderCollection extends NostoOrderCollection implements NostoEx
|
|
69 |
'price_currency_code' => strtoupper($orderItem->getCurrencyCode()),
|
70 |
);
|
71 |
}
|
|
|
72 |
$array[] = $data;
|
73 |
}
|
74 |
return json_encode($array);
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
59 |
'email' => $item->getBuyerInfo()->getEmail(),
|
60 |
),
|
61 |
'payment_provider' => $item->getPaymentProvider(),
|
62 |
+
'external_order_ref' => $item->getExternalOrderRef(),
|
63 |
'purchased_items' => array(),
|
64 |
);
|
65 |
foreach ($item->getPurchasedItems() as $orderItem) {
|
71 |
'price_currency_code' => strtoupper($orderItem->getCurrencyCode()),
|
72 |
);
|
73 |
}
|
74 |
+
|
75 |
$array[] = $data;
|
76 |
}
|
77 |
return json_encode($array);
|
lib/nosto/php-sdk/src/classes/export/NostoExportProductCollection.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/export/NostoExporter.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/helper/NostoHelper.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/helper/NostoHelperDate.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/helper/NostoHelperIframe.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/helper/NostoHelperPrice.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/http/NostoHttpRequest.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapter.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapterCurl.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/http/NostoHttpRequestAdapterSocket.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/http/NostoHttpResponse.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -56,7 +57,7 @@ class NostoHttpResponse
|
|
56 |
/**
|
57 |
* @var int runtime cache for the http response code.
|
58 |
*/
|
59 |
-
private $
|
60 |
|
61 |
/**
|
62 |
* Constructor.
|
@@ -117,7 +118,7 @@ class NostoHttpResponse
|
|
117 |
*/
|
118 |
public function getCode()
|
119 |
{
|
120 |
-
if (is_null($this->
|
121 |
$code = 0;
|
122 |
if (!empty($this->headers)) {
|
123 |
foreach ($this->headers as $header) {
|
@@ -128,9 +129,9 @@ class NostoHttpResponse
|
|
128 |
}
|
129 |
}
|
130 |
}
|
131 |
-
$this->
|
132 |
}
|
133 |
-
return $this->
|
134 |
}
|
135 |
|
136 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
57 |
/**
|
58 |
* @var int runtime cache for the http response code.
|
59 |
*/
|
60 |
+
private $code;
|
61 |
|
62 |
/**
|
63 |
* Constructor.
|
118 |
*/
|
119 |
public function getCode()
|
120 |
{
|
121 |
+
if (is_null($this->code)) {
|
122 |
$code = 0;
|
123 |
if (!empty($this->headers)) {
|
124 |
foreach ($this->headers as $header) {
|
129 |
}
|
130 |
}
|
131 |
}
|
132 |
+
$this->code = $code;
|
133 |
}
|
134 |
+
return $this->code;
|
135 |
}
|
136 |
|
137 |
/**
|
lib/nosto/php-sdk/src/classes/oauth/NostoOAuthClient.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -39,8 +40,8 @@
|
|
39 |
*/
|
40 |
class NostoOAuthClient
|
41 |
{
|
42 |
-
const PATH_AUTH = '?client_id={cid}&redirect_uri={uri}&response_type=code&scope={sco}&lang={iso}';
|
43 |
-
const PATH_TOKEN = '/token?code={cod}&client_id={cid}&client_secret={sec}&redirect_uri={uri}&grant_type=authorization_code';
|
44 |
|
45 |
/**
|
46 |
* @var string the nosto oauth endpoint base url.
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
40 |
*/
|
41 |
class NostoOAuthClient
|
42 |
{
|
43 |
+
const PATH_AUTH = '?client_id={cid}&redirect_uri={uri}&response_type=code&scope={sco}&lang={iso}'; // @codingStandardsIgnoreLine
|
44 |
+
const PATH_TOKEN = '/token?code={cod}&client_id={cid}&client_secret={sec}&redirect_uri={uri}&grant_type=authorization_code'; // @codingStandardsIgnoreLine
|
45 |
|
46 |
/**
|
47 |
* @var string the nosto oauth endpoint base url.
|
lib/nosto/php-sdk/src/classes/oauth/NostoOAuthToken.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/operation/NostoOperationAccount.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/classes/operation/NostoOperationExchangeRate.php
CHANGED
@@ -31,6 +31,7 @@
|
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -74,11 +75,13 @@ class NostoOperationExchangeRate
|
|
74 |
$request = $this->initApiRequest();
|
75 |
$response = $request->post($this->getCollectionAsJson());
|
76 |
if ($response->getCode() !== 200) {
|
77 |
-
|
78 |
sprintf(
|
79 |
'Failed to update currencyCode exchange rates for account %s.',
|
80 |
$this->account->getName()
|
81 |
-
)
|
|
|
|
|
82 |
);
|
83 |
}
|
84 |
return true;
|
@@ -94,7 +97,7 @@ class NostoOperationExchangeRate
|
|
94 |
{
|
95 |
$token = $this->account->getApiToken(NostoApiToken::API_EXCHANGE_RATES);
|
96 |
if (is_null($token)) {
|
97 |
-
|
98 |
sprintf(
|
99 |
'No `%s` API token found for account "%s".',
|
100 |
NostoApiToken::API_EXCHANGE_RATES,
|
@@ -142,7 +145,7 @@ class NostoOperationExchangeRate
|
|
142 |
);
|
143 |
}
|
144 |
if (empty($data['rates'])) {
|
145 |
-
|
146 |
sprintf(
|
147 |
'Failed to update currencyCode exchange rates for account %s. No rates found in collection.',
|
148 |
$this->account->getName()
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
75 |
$request = $this->initApiRequest();
|
76 |
$response = $request->post($this->getCollectionAsJson());
|
77 |
if ($response->getCode() !== 200) {
|
78 |
+
Nosto::throwHttpException(
|
79 |
sprintf(
|
80 |
'Failed to update currencyCode exchange rates for account %s.',
|
81 |
$this->account->getName()
|
82 |
+
),
|
83 |
+
$request,
|
84 |
+
$response
|
85 |
);
|
86 |
}
|
87 |
return true;
|
97 |
{
|
98 |
$token = $this->account->getApiToken(NostoApiToken::API_EXCHANGE_RATES);
|
99 |
if (is_null($token)) {
|
100 |
+
Nosto::throwHttpException(
|
101 |
sprintf(
|
102 |
'No `%s` API token found for account "%s".',
|
103 |
NostoApiToken::API_EXCHANGE_RATES,
|
145 |
);
|
146 |
}
|
147 |
if (empty($data['rates'])) {
|
148 |
+
Nosto::throwException(
|
149 |
sprintf(
|
150 |
'Failed to update currencyCode exchange rates for account %s. No rates found in collection.',
|
151 |
$this->account->getName()
|
lib/nosto/php-sdk/src/classes/operation/NostoOperationProduct.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/config.inc.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
// Interfaces
|
@@ -65,6 +66,8 @@ require_once(dirname(__FILE__).'/classes/collection/NostoExchangeRateCollection.
|
|
65 |
|
66 |
require_once(dirname(__FILE__).'/classes/exception/NostoException.php');
|
67 |
require_once(dirname(__FILE__).'/classes/exception/NostoHttpException.php');
|
|
|
|
|
68 |
|
69 |
require_once(dirname(__FILE__).'/classes/export/NostoExporter.php');
|
70 |
require_once(dirname(__FILE__).'/classes/export/NostoExportProductCollection.php');
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
// Interfaces
|
66 |
|
67 |
require_once(dirname(__FILE__).'/classes/exception/NostoException.php');
|
68 |
require_once(dirname(__FILE__).'/classes/exception/NostoHttpException.php');
|
69 |
+
require_once(dirname(__FILE__).'/classes/exception/NostoHttpResponseException.php');
|
70 |
+
require_once(dirname(__FILE__).'/classes/exception/NostoApiResponseException.php');
|
71 |
|
72 |
require_once(dirname(__FILE__).'/classes/export/NostoExporter.php');
|
73 |
require_once(dirname(__FILE__).'/classes/export/NostoExportProductCollection.php');
|
lib/nosto/php-sdk/src/interfaces/NostoExchangeRateInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/NostoExportCollectionInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/NostoOAuthClientMetaDataInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/NostoProductInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -39,6 +40,12 @@
|
|
39 |
*/
|
40 |
interface NostoProductInterface
|
41 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
* Returns the absolute url to the product page in the shop frontend.
|
44 |
*
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
40 |
*/
|
41 |
interface NostoProductInterface
|
42 |
{
|
43 |
+
const IN_STOCK = 'InStock';
|
44 |
+
const OUT_OF_STOCK = 'OutOfStock';
|
45 |
+
const INVISIBLE = 'Invisible';
|
46 |
+
const DISCONTINUED = 'Discontinued';
|
47 |
+
const ADD_TO_CART = 'add-to-cart';
|
48 |
+
|
49 |
/**
|
50 |
* Returns the absolute url to the product page in the shop frontend.
|
51 |
*
|
lib/nosto/php-sdk/src/interfaces/NostoValidatableInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/account/NostoAccountInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataBillingDetailsInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataIframeInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -142,4 +143,11 @@ interface NostoAccountMetaDataInterface
|
|
142 |
* @return string
|
143 |
*/
|
144 |
public function getDefaultVariationId();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
143 |
* @return string
|
144 |
*/
|
145 |
public function getDefaultVariationId();
|
146 |
+
|
147 |
+
/**
|
148 |
+
* Returns the account details
|
149 |
+
*
|
150 |
+
* @return string
|
151 |
+
*/
|
152 |
+
public function getDetails();
|
153 |
}
|
lib/nosto/php-sdk/src/interfaces/account/NostoAccountMetaDataOwnerInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/order/NostoOrderBuyerInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/order/NostoOrderInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
@@ -80,4 +81,11 @@ interface NostoOrderInterface
|
|
80 |
* @return NostoOrderStatusInterface the model.
|
81 |
*/
|
82 |
public function getOrderStatus();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
81 |
* @return NostoOrderStatusInterface the model.
|
82 |
*/
|
83 |
public function getOrderStatus();
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Returns the external order ref.
|
87 |
+
*
|
88 |
+
* @return string the external order ref.
|
89 |
+
*/
|
90 |
+
public function getExternalOrderRef();
|
91 |
}
|
lib/nosto/php-sdk/src/interfaces/order/NostoOrderPurchasedItemInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/interfaces/order/NostoOrderStatusInterface.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Copyright (c)
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -29,8 +29,9 @@
|
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
-
* @copyright
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
34 |
*/
|
35 |
|
36 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
4 |
* All rights reserved.
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without modification,
|
29 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
30 |
*
|
31 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
32 |
+
* @copyright 2016 Nosto Solutions Ltd
|
33 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
34 |
+
*
|
35 |
*/
|
36 |
|
37 |
/**
|
lib/nosto/php-sdk/src/js/src/NostoIframe.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
|
2 |
-
* Copyright (c)
|
3 |
* All rights reserved.
|
4 |
*
|
5 |
* Redistribution and use in source and binary forms, with or without modification,
|
@@ -28,8 +28,9 @@
|
|
28 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29 |
*
|
30 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
31 |
-
* @copyright
|
32 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
|
|
33 |
*/
|
34 |
|
35 |
// Define the "Nosto" namespace if not already defined.
|
1 |
+
/*
|
2 |
+
* Copyright (c) 2016, Nosto Solutions Ltd
|
3 |
* All rights reserved.
|
4 |
*
|
5 |
* Redistribution and use in source and binary forms, with or without modification,
|
28 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29 |
*
|
30 |
* @author Nosto Solutions Ltd <contact@nosto.com>
|
31 |
+
* @copyright 2016 Nosto Solutions Ltd
|
32 |
* @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
|
33 |
+
*
|
34 |
*/
|
35 |
|
36 |
// Define the "Nosto" namespace if not already defined.
|
package.xml
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Nosto_Tagging</name>
|
4 |
-
<version>2.6.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Personalization for Magento</summary>
|
10 |
<description>Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.</description>
|
11 |
-
<notes>-
|
12 |
<authors>
|
13 |
<author>
|
14 |
<name>Nosto</name>
|
@@ -16,106 +16,106 @@
|
|
16 |
<email>magento@nosto.com</email>
|
17 |
</author>
|
18 |
</authors>
|
19 |
-
<date>2016-
|
20 |
-
<time>
|
21 |
<contents>
|
22 |
<target name="magecommunity">
|
23 |
<dir name="Nosto">
|
24 |
<dir name="Tagging">
|
25 |
<dir name="Block">
|
26 |
-
<file name="Addtocart.php" hash="
|
27 |
<dir name="Adminhtml">
|
28 |
-
<file name="Iframe.php" hash="
|
29 |
-
<file name="Wizard.php" hash="
|
30 |
</dir>
|
31 |
-
<file name="Cart.php" hash="
|
32 |
-
<file name="Category.php" hash="
|
33 |
-
<file name="Customer.php" hash="
|
34 |
-
<file name="Element.php" hash="
|
35 |
-
<file name="Embed.php" hash="
|
36 |
-
<file name="Meta.php" hash="
|
37 |
-
<file name="Order.php" hash="
|
38 |
-
<file name="Product.php" hash="
|
39 |
<file name="Searchterm.php" hash="884cbca118486d922e73821242d8fc83"/>
|
40 |
</dir>
|
41 |
<dir name="Helper">
|
42 |
-
<file name="Account.php" hash="
|
43 |
-
<file name="Customer.php" hash="
|
44 |
-
<file name="Data.php" hash="
|
45 |
-
<file name="Date.php" hash="
|
46 |
-
<file name="Oauth.php" hash="
|
47 |
-
<file name="Price.php" hash="
|
48 |
-
<file name="Url.php" hash="
|
49 |
</dir>
|
50 |
<dir name="Model">
|
51 |
-
<file name="Base.php" hash="
|
52 |
<dir name="Container">
|
53 |
-
<file name="Cart.php" hash="
|
54 |
-
<file name="Customer.php" hash="
|
55 |
</dir>
|
56 |
-
<file name="Customer.php" hash="
|
57 |
<dir name="Export">
|
58 |
<dir name="Collection">
|
59 |
-
<file name="Order.php" hash="
|
60 |
</dir>
|
61 |
</dir>
|
62 |
<dir name="Meta">
|
63 |
<dir name="Account">
|
64 |
-
<file name="Billing.php" hash="
|
65 |
-
<file name="Iframe.php" hash="
|
66 |
-
<file name="Owner.php" hash="
|
67 |
</dir>
|
68 |
-
<file name="Account.php" hash="
|
69 |
-
<file name="Oauth.php" hash="
|
70 |
<dir name="Order">
|
71 |
-
<file name="Buyer.php" hash="
|
72 |
-
<file name="Item.php" hash="
|
73 |
-
<file name="Status.php" hash="
|
74 |
</dir>
|
75 |
-
<file name="Order.php" hash="
|
76 |
-
<file name="Product.php" hash="
|
77 |
</dir>
|
78 |
-
<file name="Observer.php" hash="
|
79 |
-
<file name="Product.php" hash="
|
80 |
<dir name="Resource">
|
81 |
<dir name="Customer">
|
82 |
-
<file name="Collection.php" hash="
|
83 |
</dir>
|
84 |
-
<file name="Customer.php" hash="
|
85 |
<dir name="Product">
|
86 |
-
<file name="Collection.php" hash="
|
87 |
</dir>
|
88 |
-
<file name="Setup.php" hash="
|
89 |
</dir>
|
90 |
<dir name="Service">
|
91 |
-
<file name="Order.php" hash="
|
92 |
</dir>
|
93 |
<dir name="System">
|
94 |
<dir name="Config">
|
95 |
<dir name="Source">
|
96 |
-
<file name="Image.php" hash="
|
97 |
</dir>
|
98 |
</dir>
|
99 |
</dir>
|
100 |
</dir>
|
101 |
-
<file name="bootstrap.php" hash="
|
102 |
<dir name="controllers">
|
103 |
<dir name="Adminhtml">
|
104 |
-
<file name="NostoController.php" hash="
|
105 |
</dir>
|
106 |
-
<file name="ExportController.php" hash="
|
107 |
-
<file name="OauthController.php" hash="
|
108 |
</dir>
|
109 |
<dir name="etc">
|
110 |
-
<file name="adminhtml.xml" hash="
|
111 |
-
<file name="cache.xml" hash="
|
112 |
-
<file name="config.xml" hash="
|
113 |
-
<file name="system.xml" hash="
|
114 |
</dir>
|
115 |
<dir name="sql">
|
116 |
<dir name="tagging_setup">
|
117 |
-
<file name="mysql4-install-1.2.0.php" hash="
|
118 |
-
<file name="mysql4-upgrade-1.1.7-1.2.0.php" hash="
|
119 |
</dir>
|
120 |
</dir>
|
121 |
</dir>
|
@@ -126,12 +126,12 @@
|
|
126 |
<dir name="default">
|
127 |
<dir name="default">
|
128 |
<dir name="layout">
|
129 |
-
<file name="nostotagging.xml" hash="
|
130 |
</dir>
|
131 |
<dir name="template">
|
132 |
<dir name="nostotagging">
|
133 |
-
<file name="iframe.phtml" hash="
|
134 |
-
<file name="wizard.phtml" hash="
|
135 |
</dir>
|
136 |
</dir>
|
137 |
</dir>
|
@@ -141,23 +141,23 @@
|
|
141 |
<dir name="base">
|
142 |
<dir name="default">
|
143 |
<dir name="layout">
|
144 |
-
<file name="nostotagging.xml" hash="
|
145 |
</dir>
|
146 |
<dir name="template">
|
147 |
<dir name="nostotagging">
|
148 |
-
<file name="addtocart.phtml" hash="
|
149 |
-
<file name="cart.phtml" hash="
|
150 |
<dir name="category">
|
151 |
-
<file name="view.phtml" hash="
|
152 |
</dir>
|
153 |
-
<file name="category.phtml" hash="
|
154 |
-
<file name="customer.phtml" hash="
|
155 |
-
<file name="element.phtml" hash="
|
156 |
-
<file name="embed.phtml" hash="
|
157 |
-
<file name="meta.phtml" hash="
|
158 |
-
<file name="order.phtml" hash="
|
159 |
-
<file name="product.phtml" hash="
|
160 |
-
<file name="searchterm.phtml" hash="
|
161 |
</dir>
|
162 |
</dir>
|
163 |
</dir>
|
@@ -166,7 +166,7 @@
|
|
166 |
</target>
|
167 |
<target name="mageetc">
|
168 |
<dir name="modules">
|
169 |
-
<file name="Nosto_Tagging.xml" hash="
|
170 |
</dir>
|
171 |
</target>
|
172 |
<target name="magelib">
|
@@ -174,89 +174,91 @@
|
|
174 |
<dir name="php-sdk">
|
175 |
<dir name="src">
|
176 |
<dir name="classes">
|
177 |
-
<file name="Nosto.php" hash="
|
178 |
-
<file name="NostoAccount.php" hash="
|
179 |
-
<file name="NostoAccountMeta.php" hash="
|
180 |
-
<file name="NostoCipher.php" hash="
|
181 |
-
<file name="NostoCurrency.php" hash="
|
182 |
-
<file name="NostoCurrencyCode.php" hash="
|
183 |
-
<file name="NostoCurrencyFormat.php" hash="
|
184 |
-
<file name="NostoCurrencyInfo.php" hash="
|
185 |
-
<file name="NostoCurrencySymbol.php" hash="
|
186 |
-
<file name="NostoDotEnv.php" hash="
|
187 |
-
<file name="NostoExchangeRate.php" hash="
|
188 |
-
<file name="NostoMessage.php" hash="
|
189 |
-
<file name="NostoObject.php" hash="
|
190 |
-
<file name="NostoOrderConfirmation.php" hash="
|
191 |
-
<file name="NostoProductReCrawl.php" hash="
|
192 |
-
<file name="NostoValidator.php" hash="
|
193 |
<dir name="api">
|
194 |
-
<file name="NostoApiRequest.php" hash="
|
195 |
-
<file name="NostoApiToken.php" hash="
|
196 |
</dir>
|
197 |
<dir name="collection">
|
198 |
-
<file name="NostoCollection.php" hash="
|
199 |
-
<file name="NostoExchangeRateCollection.php" hash="
|
200 |
-
<file name="NostoOrderCollection.php" hash="
|
201 |
-
<file name="NostoProductCollection.php" hash="
|
202 |
</dir>
|
203 |
<dir name="exception">
|
204 |
-
<file name="
|
205 |
-
<file name="
|
|
|
|
|
206 |
</dir>
|
207 |
<dir name="export">
|
208 |
-
<file name="NostoExportOrderCollection.php" hash="
|
209 |
-
<file name="NostoExportProductCollection.php" hash="
|
210 |
-
<file name="NostoExporter.php" hash="
|
211 |
</dir>
|
212 |
<dir name="helper">
|
213 |
-
<file name="NostoHelper.php" hash="
|
214 |
-
<file name="NostoHelperDate.php" hash="
|
215 |
-
<file name="NostoHelperIframe.php" hash="
|
216 |
-
<file name="NostoHelperPrice.php" hash="
|
217 |
</dir>
|
218 |
<dir name="http">
|
219 |
-
<file name="NostoHttpRequest.php" hash="
|
220 |
-
<file name="NostoHttpRequestAdapter.php" hash="
|
221 |
-
<file name="NostoHttpRequestAdapterCurl.php" hash="
|
222 |
-
<file name="NostoHttpRequestAdapterSocket.php" hash="
|
223 |
-
<file name="NostoHttpResponse.php" hash="
|
224 |
</dir>
|
225 |
<dir name="oauth">
|
226 |
-
<file name="NostoOAuthClient.php" hash="
|
227 |
-
<file name="NostoOAuthToken.php" hash="
|
228 |
</dir>
|
229 |
<dir name="operation">
|
230 |
-
<file name="NostoOperationAccount.php" hash="
|
231 |
-
<file name="NostoOperationExchangeRate.php" hash="
|
232 |
-
<file name="NostoOperationProduct.php" hash="
|
233 |
</dir>
|
234 |
</dir>
|
235 |
-
<file name="config.inc.php" hash="
|
236 |
<dir name="interfaces">
|
237 |
-
<file name="NostoExchangeRateInterface.php" hash="
|
238 |
-
<file name="NostoExportCollectionInterface.php" hash="
|
239 |
-
<file name="NostoOAuthClientMetaDataInterface.php" hash="
|
240 |
-
<file name="NostoProductInterface.php" hash="
|
241 |
-
<file name="NostoValidatableInterface.php" hash="
|
242 |
<dir name="account">
|
243 |
-
<file name="NostoAccountInterface.php" hash="
|
244 |
-
<file name="NostoAccountMetaDataBillingDetailsInterface.php" hash="
|
245 |
-
<file name="NostoAccountMetaDataIframeInterface.php" hash="
|
246 |
-
<file name="NostoAccountMetaDataInterface.php" hash="
|
247 |
-
<file name="NostoAccountMetaDataOwnerInterface.php" hash="
|
248 |
</dir>
|
249 |
<dir name="order">
|
250 |
-
<file name="NostoOrderBuyerInterface.php" hash="
|
251 |
-
<file name="NostoOrderInterface.php" hash="
|
252 |
-
<file name="NostoOrderPurchasedItemInterface.php" hash="
|
253 |
-
<file name="NostoOrderStatusInterface.php" hash="
|
254 |
</dir>
|
255 |
</dir>
|
256 |
<dir name="js">
|
257 |
<file name="NostoIframe.min.js" hash="5fd9f5b418dd796c469aaa0c58b34aaa"/>
|
258 |
<dir name="src">
|
259 |
-
<file name="NostoIframe.js" hash="
|
260 |
</dir>
|
261 |
</dir>
|
262 |
<dir name="libs">
|
@@ -276,7 +278,7 @@
|
|
276 |
<target name="mageweb">
|
277 |
<dir name="js">
|
278 |
<dir name="nosto">
|
279 |
-
<file name="iframeHandler.min.js" hash="
|
280 |
<file name="iframeResizer.min.js" hash="163b065c9dd702dc364913a951b81fee"/>
|
281 |
</dir>
|
282 |
</dir>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Nosto_Tagging</name>
|
4 |
+
<version>2.6.15</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Personalization for Magento</summary>
|
10 |
<description>Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.</description>
|
11 |
+
<notes>- Add support for sending the account details & new platform UI&#xD;- Add check if table `nosto_tagging_customer` already exists before creating it&#xD;- Add visitor checksum tagging&#xD;- Strip out _Main Website_ from the default account title&#xD;- Disable tagging categories if there are hidden categories in the category path</notes>
|
12 |
<authors>
|
13 |
<author>
|
14 |
<name>Nosto</name>
|
16 |
<email>magento@nosto.com</email>
|
17 |
</author>
|
18 |
</authors>
|
19 |
+
<date>2016-06-16</date>
|
20 |
+
<time>08:12:43</time>
|
21 |
<contents>
|
22 |
<target name="magecommunity">
|
23 |
<dir name="Nosto">
|
24 |
<dir name="Tagging">
|
25 |
<dir name="Block">
|
26 |
+
<file name="Addtocart.php" hash="b5107b218baecbbcceeeeed451e65c3f"/>
|
27 |
<dir name="Adminhtml">
|
28 |
+
<file name="Iframe.php" hash="322da1336a0ce7cd7222fc69ef819693"/>
|
29 |
+
<file name="Wizard.php" hash="7a67ca3cf25ccd8085426a3bdda3be9b"/>
|
30 |
</dir>
|
31 |
+
<file name="Cart.php" hash="2d4ec5f8f3adc5dc9760b6d577604773"/>
|
32 |
+
<file name="Category.php" hash="fcdd8eabff592fbfd32e70e9e8ffac48"/>
|
33 |
+
<file name="Customer.php" hash="866c1150fb798acd475814c793670f6b"/>
|
34 |
+
<file name="Element.php" hash="1ed6a3f6e815a36c0cc8e2ac26e97237"/>
|
35 |
+
<file name="Embed.php" hash="5c4cf0bcc78e28df5fd877c798e8293e"/>
|
36 |
+
<file name="Meta.php" hash="dcf83fc72a7c3ea6349f32dbfdf469d8"/>
|
37 |
+
<file name="Order.php" hash="2bd05136ccce9f53c8657f0c1bb8da8c"/>
|
38 |
+
<file name="Product.php" hash="d928da8c2196537b2d7b370fd60c84f6"/>
|
39 |
<file name="Searchterm.php" hash="884cbca118486d922e73821242d8fc83"/>
|
40 |
</dir>
|
41 |
<dir name="Helper">
|
42 |
+
<file name="Account.php" hash="cbdca4a9968d1529031a34fb0a4ebb48"/>
|
43 |
+
<file name="Customer.php" hash="f87def2d435ff46ae9708d62892424f5"/>
|
44 |
+
<file name="Data.php" hash="5594525f14dfc2c011cae77eadc09a82"/>
|
45 |
+
<file name="Date.php" hash="7d1b55282770627291f781dc9dd55eff"/>
|
46 |
+
<file name="Oauth.php" hash="a9ddbf62971f77b3e86c05bb4a23ee66"/>
|
47 |
+
<file name="Price.php" hash="79218677cb2d9082b02227e7f433e26c"/>
|
48 |
+
<file name="Url.php" hash="f6f540650274ea87bc703b83d600d2c8"/>
|
49 |
</dir>
|
50 |
<dir name="Model">
|
51 |
+
<file name="Base.php" hash="512d57dbb91fec6b61d331ffacc93f20"/>
|
52 |
<dir name="Container">
|
53 |
+
<file name="Cart.php" hash="48983d6bf94b57ef6583969dcaec9982"/>
|
54 |
+
<file name="Customer.php" hash="08ed2d6a1661a2499f1fd9963dbbef0d"/>
|
55 |
</dir>
|
56 |
+
<file name="Customer.php" hash="72c0d0d5f2f22881f75e82aa2488ea59"/>
|
57 |
<dir name="Export">
|
58 |
<dir name="Collection">
|
59 |
+
<file name="Order.php" hash="9255336f9ae7c7cf4b34b7ebba3e2e83"/>
|
60 |
</dir>
|
61 |
</dir>
|
62 |
<dir name="Meta">
|
63 |
<dir name="Account">
|
64 |
+
<file name="Billing.php" hash="d26a6d06313a546cc197832c8b6a72e6"/>
|
65 |
+
<file name="Iframe.php" hash="5c603cefadec90159b2e7ee1c36cb9a0"/>
|
66 |
+
<file name="Owner.php" hash="c1e6a5ceb14800db9d1f38b5441673d5"/>
|
67 |
</dir>
|
68 |
+
<file name="Account.php" hash="bb3d8121f1e9c331a8fd61e2edd8ae20"/>
|
69 |
+
<file name="Oauth.php" hash="9460f80c324c6cf89f26296e4d4d4a20"/>
|
70 |
<dir name="Order">
|
71 |
+
<file name="Buyer.php" hash="e15f9c65f7323630982eb73131716cad"/>
|
72 |
+
<file name="Item.php" hash="615815cf039d733e3363bf2561cf90f2"/>
|
73 |
+
<file name="Status.php" hash="1277dabe24836edc27bba448a0c33afe"/>
|
74 |
</dir>
|
75 |
+
<file name="Order.php" hash="c402e82e20a2282bfe545a9c4481c7b9"/>
|
76 |
+
<file name="Product.php" hash="f06380fcb7a02d31e4db83f28ac08924"/>
|
77 |
</dir>
|
78 |
+
<file name="Observer.php" hash="1af16bc0aae56e93b7ec1ec3a7c7ae7c"/>
|
79 |
+
<file name="Product.php" hash="df071b5a356793a1a2d3eae36a87d713"/>
|
80 |
<dir name="Resource">
|
81 |
<dir name="Customer">
|
82 |
+
<file name="Collection.php" hash="cb50bd89badc31867fc8927afff833ff"/>
|
83 |
</dir>
|
84 |
+
<file name="Customer.php" hash="2db99b6ea05d69d33747525f3895fe35"/>
|
85 |
<dir name="Product">
|
86 |
+
<file name="Collection.php" hash="b16d1c3559661fa840a79637a01ddd33"/>
|
87 |
</dir>
|
88 |
+
<file name="Setup.php" hash="688082f95af4cd0676f9dac374c48fc3"/>
|
89 |
</dir>
|
90 |
<dir name="Service">
|
91 |
+
<file name="Order.php" hash="35c43839685550db5afc5d184d881011"/>
|
92 |
</dir>
|
93 |
<dir name="System">
|
94 |
<dir name="Config">
|
95 |
<dir name="Source">
|
96 |
+
<file name="Image.php" hash="c407a3912727093fd334a800948d7b23"/>
|
97 |
</dir>
|
98 |
</dir>
|
99 |
</dir>
|
100 |
</dir>
|
101 |
+
<file name="bootstrap.php" hash="2ee453bbe4ead0b3db6da08c30c6ddb5"/>
|
102 |
<dir name="controllers">
|
103 |
<dir name="Adminhtml">
|
104 |
+
<file name="NostoController.php" hash="1620dd4ea1bcbe558d32b0711211afa3"/>
|
105 |
</dir>
|
106 |
+
<file name="ExportController.php" hash="b3600647f08ba4b3e094ba960d756513"/>
|
107 |
+
<file name="OauthController.php" hash="2251bba8997207421594086ea444afe6"/>
|
108 |
</dir>
|
109 |
<dir name="etc">
|
110 |
+
<file name="adminhtml.xml" hash="485ad85df190403f03391ffea0ecac2a"/>
|
111 |
+
<file name="cache.xml" hash="c63a5c181de4a93e7dccd5c485e167ff"/>
|
112 |
+
<file name="config.xml" hash="7d7cdf5d40f7f9dc3a1b6c322a468cc1"/>
|
113 |
+
<file name="system.xml" hash="13bf5e2b575f9d352c87f65beff1ce55"/>
|
114 |
</dir>
|
115 |
<dir name="sql">
|
116 |
<dir name="tagging_setup">
|
117 |
+
<file name="mysql4-install-1.2.0.php" hash="be30ee06f46c101c5f078f9d55bb139d"/>
|
118 |
+
<file name="mysql4-upgrade-1.1.7-1.2.0.php" hash="ff774ae3c70648b33eb5eae68debd555"/>
|
119 |
</dir>
|
120 |
</dir>
|
121 |
</dir>
|
126 |
<dir name="default">
|
127 |
<dir name="default">
|
128 |
<dir name="layout">
|
129 |
+
<file name="nostotagging.xml" hash="ba938d9b7c56b27124870641c30d57a1"/>
|
130 |
</dir>
|
131 |
<dir name="template">
|
132 |
<dir name="nostotagging">
|
133 |
+
<file name="iframe.phtml" hash="3d60a678dceaedc806c85741238a8346"/>
|
134 |
+
<file name="wizard.phtml" hash="02b937a25e316e9dfe957104e44be0be"/>
|
135 |
</dir>
|
136 |
</dir>
|
137 |
</dir>
|
141 |
<dir name="base">
|
142 |
<dir name="default">
|
143 |
<dir name="layout">
|
144 |
+
<file name="nostotagging.xml" hash="5086a82ef8d91aea96d19301ead29b35"/>
|
145 |
</dir>
|
146 |
<dir name="template">
|
147 |
<dir name="nostotagging">
|
148 |
+
<file name="addtocart.phtml" hash="2c66033eae4cdb64b246e0fad23c1a43"/>
|
149 |
+
<file name="cart.phtml" hash="7e61c0880447f7ea266c3691d8f8172c"/>
|
150 |
<dir name="category">
|
151 |
+
<file name="view.phtml" hash="648ac0a4608a116e91d469147ada5c30"/>
|
152 |
</dir>
|
153 |
+
<file name="category.phtml" hash="61c53d7e8804cc58ecce26e66d2d0a6f"/>
|
154 |
+
<file name="customer.phtml" hash="a535eccc88ce34c56e19891bcc6aaaa9"/>
|
155 |
+
<file name="element.phtml" hash="21c05a2c0db519e876c058ea087d6383"/>
|
156 |
+
<file name="embed.phtml" hash="355769db8c273b7f8c92069b2262add0"/>
|
157 |
+
<file name="meta.phtml" hash="7aa206af71e02c9d24129662dd5b7aef"/>
|
158 |
+
<file name="order.phtml" hash="3d36a75c03d767d294d61015277ac57f"/>
|
159 |
+
<file name="product.phtml" hash="cf68284ba208f46184619f2a63b01b5a"/>
|
160 |
+
<file name="searchterm.phtml" hash="20ff1bbc903c8879e327376cfcdc5e74"/>
|
161 |
</dir>
|
162 |
</dir>
|
163 |
</dir>
|
166 |
</target>
|
167 |
<target name="mageetc">
|
168 |
<dir name="modules">
|
169 |
+
<file name="Nosto_Tagging.xml" hash="c5a467ee1111bff376e98b71da113553"/>
|
170 |
</dir>
|
171 |
</target>
|
172 |
<target name="magelib">
|
174 |
<dir name="php-sdk">
|
175 |
<dir name="src">
|
176 |
<dir name="classes">
|
177 |
+
<file name="Nosto.php" hash="2c7b6c163a017b509a85a5c2a6869e42"/>
|
178 |
+
<file name="NostoAccount.php" hash="6109b8ca5348c4bf71afd68f6b356c95"/>
|
179 |
+
<file name="NostoAccountMeta.php" hash="f6e81dbead7b9425afed98f13faec9c9"/>
|
180 |
+
<file name="NostoCipher.php" hash="f0af45e9fc48fe2734b6798ee5e3cdfc"/>
|
181 |
+
<file name="NostoCurrency.php" hash="511399f42ff5793de445944b5456c28e"/>
|
182 |
+
<file name="NostoCurrencyCode.php" hash="e2f14283c22f7aac9744150b9bd6457a"/>
|
183 |
+
<file name="NostoCurrencyFormat.php" hash="e676309a9f9420f0912bbf65b5363bda"/>
|
184 |
+
<file name="NostoCurrencyInfo.php" hash="2c8b7f50bfa483f1df764909441351fa"/>
|
185 |
+
<file name="NostoCurrencySymbol.php" hash="9f16f03a3d7187710daa37dac7ecf1c2"/>
|
186 |
+
<file name="NostoDotEnv.php" hash="be272235f6d48705023beeb6a24f2ce9"/>
|
187 |
+
<file name="NostoExchangeRate.php" hash="d6b70ad6bb434aba02bc450f1d066d34"/>
|
188 |
+
<file name="NostoMessage.php" hash="48912d9e00c08b5b5374eee368067cb4"/>
|
189 |
+
<file name="NostoObject.php" hash="0a348871fed339e7bdc57237e7947441"/>
|
190 |
+
<file name="NostoOrderConfirmation.php" hash="4f3ceb7ecbbdd2b78824e5d030fd60cf"/>
|
191 |
+
<file name="NostoProductReCrawl.php" hash="0b24f2fb00c9601e9b3d529f61a23bc5"/>
|
192 |
+
<file name="NostoValidator.php" hash="70523f08482bd8ef3a1a52a7fda2e237"/>
|
193 |
<dir name="api">
|
194 |
+
<file name="NostoApiRequest.php" hash="e3f7acbded105c2c521233e25f4c740b"/>
|
195 |
+
<file name="NostoApiToken.php" hash="4db43866f41dfa8739942018e90bffa0"/>
|
196 |
</dir>
|
197 |
<dir name="collection">
|
198 |
+
<file name="NostoCollection.php" hash="9e85a39ac3a860becd63d2d3cc64659f"/>
|
199 |
+
<file name="NostoExchangeRateCollection.php" hash="c06337ff17993eb7da1f2b653a74bccb"/>
|
200 |
+
<file name="NostoOrderCollection.php" hash="57cf60f4c4bc7ad57211d9c542420e15"/>
|
201 |
+
<file name="NostoProductCollection.php" hash="fcae6d129e8fad82099a05600fef8eea"/>
|
202 |
</dir>
|
203 |
<dir name="exception">
|
204 |
+
<file name="NostoApiResponseException.php" hash="e5430f3d3cfdc1a8f02cc68cb351da40"/>
|
205 |
+
<file name="NostoException.php" hash="d73bdc24769b5f9483a46b218254c488"/>
|
206 |
+
<file name="NostoHttpException.php" hash="9abf965891309b45ab9d0cd60382432e"/>
|
207 |
+
<file name="NostoHttpResponseException.php" hash="1549798afd49cf52e522fd6d8d9481f3"/>
|
208 |
</dir>
|
209 |
<dir name="export">
|
210 |
+
<file name="NostoExportOrderCollection.php" hash="9e1c115ef84617f96e9896ffc67f3586"/>
|
211 |
+
<file name="NostoExportProductCollection.php" hash="47549ca2651eb2223602506e48f54a97"/>
|
212 |
+
<file name="NostoExporter.php" hash="6c242c8b66a504483bff29ee83e795b8"/>
|
213 |
</dir>
|
214 |
<dir name="helper">
|
215 |
+
<file name="NostoHelper.php" hash="87ab4af83eb0f346238677e07acdd49e"/>
|
216 |
+
<file name="NostoHelperDate.php" hash="071e881ba63521bd3adfa50d14acfe43"/>
|
217 |
+
<file name="NostoHelperIframe.php" hash="a83dd911b45db7bd69bbfa38a6bb9d3b"/>
|
218 |
+
<file name="NostoHelperPrice.php" hash="15caf64dcf71a420a3e54612c181d470"/>
|
219 |
</dir>
|
220 |
<dir name="http">
|
221 |
+
<file name="NostoHttpRequest.php" hash="d58478a568530607a2e8977993a0ebed"/>
|
222 |
+
<file name="NostoHttpRequestAdapter.php" hash="e3ee66855cb2a81795172d85cafd75f0"/>
|
223 |
+
<file name="NostoHttpRequestAdapterCurl.php" hash="15fd9b4153d7433ac101b742aa8cd69d"/>
|
224 |
+
<file name="NostoHttpRequestAdapterSocket.php" hash="5656a7ffba3b3ea365969ca5cdafc8e3"/>
|
225 |
+
<file name="NostoHttpResponse.php" hash="6e6b6a155679604637e86b2a1faa29db"/>
|
226 |
</dir>
|
227 |
<dir name="oauth">
|
228 |
+
<file name="NostoOAuthClient.php" hash="d0ffcdcac250639715bfc1927f10e59c"/>
|
229 |
+
<file name="NostoOAuthToken.php" hash="b771e384b2751a0255f0f5755f5fb6c6"/>
|
230 |
</dir>
|
231 |
<dir name="operation">
|
232 |
+
<file name="NostoOperationAccount.php" hash="dc7e52907b64b5e5149814bb048eb283"/>
|
233 |
+
<file name="NostoOperationExchangeRate.php" hash="523c253cdd85612333b3e614bcb4aa37"/>
|
234 |
+
<file name="NostoOperationProduct.php" hash="5788862288b3d39424a4d8f6a677b97d"/>
|
235 |
</dir>
|
236 |
</dir>
|
237 |
+
<file name="config.inc.php" hash="2588b6b13b9877dd14a1d4d7d0747c2f"/>
|
238 |
<dir name="interfaces">
|
239 |
+
<file name="NostoExchangeRateInterface.php" hash="6c68bd4b564021cf0cb7e3f5b4b16ebe"/>
|
240 |
+
<file name="NostoExportCollectionInterface.php" hash="5de9b4dbbbbc1d1b41a53990536a51b5"/>
|
241 |
+
<file name="NostoOAuthClientMetaDataInterface.php" hash="98f06f774b4a9af07ef4024bb49ce447"/>
|
242 |
+
<file name="NostoProductInterface.php" hash="a6047977f419ab47564a69aede34526c"/>
|
243 |
+
<file name="NostoValidatableInterface.php" hash="9a14e13c2f20653ceb202b8f247e46ce"/>
|
244 |
<dir name="account">
|
245 |
+
<file name="NostoAccountInterface.php" hash="c84dea82c07743a49049b2b9f526132d"/>
|
246 |
+
<file name="NostoAccountMetaDataBillingDetailsInterface.php" hash="7e294f596d899af9aa5cf8dea94390e0"/>
|
247 |
+
<file name="NostoAccountMetaDataIframeInterface.php" hash="11ae6877125b32ca25a2545b41f91b9e"/>
|
248 |
+
<file name="NostoAccountMetaDataInterface.php" hash="c9d9a739d88db6cc4b3137f06ef930b7"/>
|
249 |
+
<file name="NostoAccountMetaDataOwnerInterface.php" hash="be8d01705b37778a8ed61e01db2178f6"/>
|
250 |
</dir>
|
251 |
<dir name="order">
|
252 |
+
<file name="NostoOrderBuyerInterface.php" hash="400f680f5e1827bf76fea06a454c3ecd"/>
|
253 |
+
<file name="NostoOrderInterface.php" hash="b5c3f5d59b7ac97b925e13ef9d13d96b"/>
|
254 |
+
<file name="NostoOrderPurchasedItemInterface.php" hash="978d961aefce11ec732fa2257d667df0"/>
|
255 |
+
<file name="NostoOrderStatusInterface.php" hash="80dc0acc4644d007279af286515d8073"/>
|
256 |
</dir>
|
257 |
</dir>
|
258 |
<dir name="js">
|
259 |
<file name="NostoIframe.min.js" hash="5fd9f5b418dd796c469aaa0c58b34aaa"/>
|
260 |
<dir name="src">
|
261 |
+
<file name="NostoIframe.js" hash="53eaf62450081dd7fc86bd2203512cb6"/>
|
262 |
</dir>
|
263 |
</dir>
|
264 |
<dir name="libs">
|
278 |
<target name="mageweb">
|
279 |
<dir name="js">
|
280 |
<dir name="nosto">
|
281 |
+
<file name="iframeHandler.min.js" hash="7a4eec2ab2082f0669b106511985ccf7"/>
|
282 |
<file name="iframeResizer.min.js" hash="163b065c9dd702dc364913a951b81fee"/>
|
283 |
</dir>
|
284 |
</dir>
|