Version Notes
- Restore the type casting to quantity
Download this release
Release Info
| Developer | Nosto |
| Extension | Nosto_Tagging |
| Version | 2.6.12 |
| Comparing to | |
| See all releases | |
Code changes from version 2.6.10 to 2.6.12
- app/code/community/Nosto/Tagging/Block/Searchterm.php +63 -0
- app/code/community/Nosto/Tagging/Helper/Data.php +2 -0
- app/code/community/Nosto/Tagging/Model/Meta/Order.php +1 -1
- app/code/community/Nosto/Tagging/Model/Meta/Order/Item.php +8 -8
- app/code/community/Nosto/Tagging/Model/Meta/Product.php +28 -5
- app/code/community/Nosto/Tagging/Model/Observer.php +0 -3
- app/code/community/Nosto/Tagging/Model/Service/Order.php +1 -1
- app/code/community/Nosto/Tagging/etc/config.xml +1 -1
- app/design/frontend/base/default/layout/nostotagging.xml +3 -0
- app/design/frontend/base/default/template/nostotagging/cart.phtml +2 -2
- app/design/frontend/base/default/template/nostotagging/order.phtml +2 -2
- app/design/frontend/base/default/template/nostotagging/searchterm.phtml +36 -0
- package.xml +16 -14
app/code/community/Nosto/Tagging/Block/Searchterm.php
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
/**
|
| 29 |
+
* Search term tagging block.
|
| 30 |
+
* Adds search term tag to the HTML document.
|
| 31 |
+
*
|
| 32 |
+
* @category Nosto
|
| 33 |
+
* @package Nosto_Tagging
|
| 34 |
+
* @author Nosto Solutions Ltd <magento@nosto.com>
|
| 35 |
+
*/
|
| 36 |
+
class Nosto_Tagging_Block_Searchterm extends Mage_Core_Block_Template
|
| 37 |
+
{
|
| 38 |
+
/**
|
| 39 |
+
* Render shopping search term content
|
| 40 |
+
*
|
| 41 |
+
* @return string
|
| 42 |
+
*/
|
| 43 |
+
protected function _toHtml()
|
| 44 |
+
{
|
| 45 |
+
if (!Mage::helper('nosto_tagging')->isModuleEnabled()
|
| 46 |
+
|| !Mage::helper('nosto_tagging/account')->existsAndIsConnected()
|
| 47 |
+
) {
|
| 48 |
+
return '';
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
return parent::_toHtml();
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
/**
|
| 55 |
+
* Returns the search term
|
| 56 |
+
*
|
| 57 |
+
* @return string
|
| 58 |
+
*/
|
| 59 |
+
public function getSearchTerm()
|
| 60 |
+
{
|
| 61 |
+
return $this->helper('catalogsearch')->getQueryText();
|
| 62 |
+
}
|
| 63 |
+
}
|
app/code/community/Nosto/Tagging/Helper/Data.php
CHANGED
|
@@ -86,6 +86,8 @@ class Nosto_Tagging_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 86 |
foreach ($ids as $id) {
|
| 87 |
if (isset($categories[$id]) && $categories[$id]->getName()) {
|
| 88 |
$data[] = $categories[$id]->getName();
|
|
|
|
|
|
|
| 89 |
}
|
| 90 |
}
|
| 91 |
}
|
| 86 |
foreach ($ids as $id) {
|
| 87 |
if (isset($categories[$id]) && $categories[$id]->getName()) {
|
| 88 |
$data[] = $categories[$id]->getName();
|
| 89 |
+
} else {
|
| 90 |
+
break;
|
| 91 |
}
|
| 92 |
}
|
| 93 |
}
|
app/code/community/Nosto/Tagging/Model/Meta/Order.php
CHANGED
|
@@ -228,7 +228,7 @@ class Nosto_Tagging_Model_Meta_Order extends Mage_Core_Model_Abstract implements
|
|
| 228 |
return Mage::getModel(
|
| 229 |
'nosto_tagging/meta_order_item',
|
| 230 |
array(
|
| 231 |
-
'productId' =>
|
| 232 |
'quantity' => (int)$item->getQtyOrdered(),
|
| 233 |
'name' => $this->buildItemName($item),
|
| 234 |
'unitPrice' => $nostoPriceHelper->getItemFinalPriceInclTax($item),
|
| 228 |
return Mage::getModel(
|
| 229 |
'nosto_tagging/meta_order_item',
|
| 230 |
array(
|
| 231 |
+
'productId' => $this->buildItemProductId($item),
|
| 232 |
'quantity' => (int)$item->getQtyOrdered(),
|
| 233 |
'name' => $this->buildItemName($item),
|
| 234 |
'unitPrice' => $nostoPriceHelper->getItemFinalPriceInclTax($item),
|
app/code/community/Nosto/Tagging/Model/Meta/Order/Item.php
CHANGED
|
@@ -71,10 +71,10 @@ class Nosto_Tagging_Model_Meta_Order_Item extends Mage_Core_Model_Abstract imple
|
|
| 71 |
*/
|
| 72 |
public function __construct(array $args)
|
| 73 |
{
|
| 74 |
-
if (!isset($args['productId']) ||
|
| 75 |
Mage::log(
|
| 76 |
sprintf(
|
| 77 |
-
'%s.productId must
|
| 78 |
__CLASS__
|
| 79 |
),
|
| 80 |
Zend_Log::WARN,
|
|
@@ -82,10 +82,10 @@ class Nosto_Tagging_Model_Meta_Order_Item extends Mage_Core_Model_Abstract imple
|
|
| 82 |
);
|
| 83 |
$args['productId'] = '';
|
| 84 |
}
|
| 85 |
-
if (!isset($args['quantity']) ||
|
| 86 |
Mage::log(
|
| 87 |
sprintf(
|
| 88 |
-
'%s.quantity must
|
| 89 |
__CLASS__
|
| 90 |
),
|
| 91 |
Zend_Log::WARN,
|
|
@@ -93,7 +93,7 @@ class Nosto_Tagging_Model_Meta_Order_Item extends Mage_Core_Model_Abstract imple
|
|
| 93 |
);
|
| 94 |
$args['quantity'] = '';
|
| 95 |
}
|
| 96 |
-
if (!isset($args['name']) ||
|
| 97 |
Mage::log(
|
| 98 |
sprintf(
|
| 99 |
'%s.name must be a non-empty string value',
|
|
@@ -104,10 +104,10 @@ class Nosto_Tagging_Model_Meta_Order_Item extends Mage_Core_Model_Abstract imple
|
|
| 104 |
);
|
| 105 |
$args['name'] = '';
|
| 106 |
}
|
| 107 |
-
if (!isset($args['unitPrice']) ||
|
| 108 |
Mage::log(
|
| 109 |
sprintf(
|
| 110 |
-
'%s.unitPrice must
|
| 111 |
__CLASS__
|
| 112 |
),
|
| 113 |
Zend_Log::WARN,
|
|
@@ -115,7 +115,7 @@ class Nosto_Tagging_Model_Meta_Order_Item extends Mage_Core_Model_Abstract imple
|
|
| 115 |
);
|
| 116 |
$args['unitPrice'] = '';
|
| 117 |
}
|
| 118 |
-
if (!isset($args['currencyCode']) ||
|
| 119 |
Mage::log(
|
| 120 |
sprintf(
|
| 121 |
'%s.currencyCode must be a numeric value',
|
| 71 |
*/
|
| 72 |
public function __construct(array $args)
|
| 73 |
{
|
| 74 |
+
if (!isset($args['productId']) || empty($args['productId'])) {
|
| 75 |
Mage::log(
|
| 76 |
sprintf(
|
| 77 |
+
'%s.productId must have a value',
|
| 78 |
__CLASS__
|
| 79 |
),
|
| 80 |
Zend_Log::WARN,
|
| 82 |
);
|
| 83 |
$args['productId'] = '';
|
| 84 |
}
|
| 85 |
+
if (!isset($args['quantity']) || empty($args['quantity'])) {
|
| 86 |
Mage::log(
|
| 87 |
sprintf(
|
| 88 |
+
'%s.quantity must have a value',
|
| 89 |
__CLASS__
|
| 90 |
),
|
| 91 |
Zend_Log::WARN,
|
| 93 |
);
|
| 94 |
$args['quantity'] = '';
|
| 95 |
}
|
| 96 |
+
if (!isset($args['name']) || empty($args['name'])) {
|
| 97 |
Mage::log(
|
| 98 |
sprintf(
|
| 99 |
'%s.name must be a non-empty string value',
|
| 104 |
);
|
| 105 |
$args['name'] = '';
|
| 106 |
}
|
| 107 |
+
if (!isset($args['unitPrice']) || empty($args['unitPrice'])) {
|
| 108 |
Mage::log(
|
| 109 |
sprintf(
|
| 110 |
+
'%s.unitPrice must have a value',
|
| 111 |
__CLASS__
|
| 112 |
),
|
| 113 |
Zend_Log::WARN,
|
| 115 |
);
|
| 116 |
$args['unitPrice'] = '';
|
| 117 |
}
|
| 118 |
+
if (!isset($args['currencyCode']) || empty($args['currencyCode'])) {
|
| 119 |
Mage::log(
|
| 120 |
sprintf(
|
| 121 |
'%s.currencyCode must be a numeric value',
|
app/code/community/Nosto/Tagging/Model/Meta/Product.php
CHANGED
|
@@ -46,6 +46,11 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
| 46 |
*/
|
| 47 |
const PRODUCT_OUT_OF_STOCK = 'OutOfStock';
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
/**
|
| 50 |
* Product "can be directly added to cart" tag string.
|
| 51 |
*/
|
|
@@ -177,9 +182,7 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
| 177 |
$this->_price = $priceHelper->convertToDefaultCurrency($priceHelper->getProductFinalPriceInclTax($product), $store);
|
| 178 |
$this->_listPrice = $priceHelper->convertToDefaultCurrency($priceHelper->getProductPriceInclTax($product), $store);
|
| 179 |
$this->_currencyCode = $store->getDefaultCurrency()->getCode();
|
| 180 |
-
$this->_availability = $
|
| 181 |
-
? self::PRODUCT_IN_STOCK
|
| 182 |
-
: self::PRODUCT_OUT_OF_STOCK;
|
| 183 |
$this->_categories = $this->buildCategories($product);
|
| 184 |
|
| 185 |
// Optional properties.
|
|
@@ -201,6 +204,26 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
| 201 |
}
|
| 202 |
}
|
| 203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 204 |
/**
|
| 205 |
* Builds the "tag1" tags.
|
| 206 |
*
|
|
@@ -326,8 +349,8 @@ class Nosto_Tagging_Model_Meta_Product extends Nosto_Tagging_Model_Base implemen
|
|
| 326 |
$data[] = $categoryString;
|
| 327 |
}
|
| 328 |
}
|
| 329 |
-
|
| 330 |
-
return $data;
|
| 331 |
}
|
| 332 |
|
| 333 |
/**
|
| 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 |
*/
|
| 182 |
$this->_price = $priceHelper->convertToDefaultCurrency($priceHelper->getProductFinalPriceInclTax($product), $store);
|
| 183 |
$this->_listPrice = $priceHelper->convertToDefaultCurrency($priceHelper->getProductPriceInclTax($product), $store);
|
| 184 |
$this->_currencyCode = $store->getDefaultCurrency()->getCode();
|
| 185 |
+
$this->_availability = $this->buildAvailability($product);
|
|
|
|
|
|
|
| 186 |
$this->_categories = $this->buildCategories($product);
|
| 187 |
|
| 188 |
// Optional properties.
|
| 204 |
}
|
| 205 |
}
|
| 206 |
|
| 207 |
+
/**
|
| 208 |
+
* Builds the availability for the product.
|
| 209 |
+
*
|
| 210 |
+
* @param Mage_Catalog_Model_Product $product the product model.
|
| 211 |
+
*
|
| 212 |
+
* @return string
|
| 213 |
+
*/
|
| 214 |
+
protected function buildAvailability(Mage_Catalog_Model_Product $product)
|
| 215 |
+
{
|
| 216 |
+
$availability = self::PRODUCT_OUT_OF_STOCK;
|
| 217 |
+
if(!$product->isVisibleInSiteVisibility()) {
|
| 218 |
+
$availability = self::PRODUCT_INVISIBLE;
|
| 219 |
+
} elseif ($product->isAvailable()) {
|
| 220 |
+
$availability = self::PRODUCT_IN_STOCK;
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
return $availability;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
|
| 227 |
/**
|
| 228 |
* Builds the "tag1" tags.
|
| 229 |
*
|
| 349 |
$data[] = $categoryString;
|
| 350 |
}
|
| 351 |
}
|
| 352 |
+
|
| 353 |
+
return array_unique($data);
|
| 354 |
}
|
| 355 |
|
| 356 |
/**
|
app/code/community/Nosto/Tagging/Model/Observer.php
CHANGED
|
@@ -96,9 +96,6 @@ class Nosto_Tagging_Model_Observer
|
|
| 96 |
if (is_null($product)) {
|
| 97 |
continue;
|
| 98 |
}
|
| 99 |
-
if (!$product->isVisibleInSiteVisibility()) {
|
| 100 |
-
continue;
|
| 101 |
-
}
|
| 102 |
|
| 103 |
/** @var Nosto_Tagging_Model_Meta_Product $model */
|
| 104 |
$model = Mage::getModel('nosto_tagging/meta_product');
|
| 96 |
if (is_null($product)) {
|
| 97 |
continue;
|
| 98 |
}
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
/** @var Nosto_Tagging_Model_Meta_Product $model */
|
| 101 |
$model = Mage::getModel('nosto_tagging/meta_product');
|
app/code/community/Nosto/Tagging/Model/Service/Order.php
CHANGED
|
@@ -99,7 +99,7 @@ class Nosto_Tagging_Model_Service_Order
|
|
| 99 |
foreach ($order->getPurchasedItems() as $item) {
|
| 100 |
$data['purchased_items'][] = array(
|
| 101 |
'product_id' => $item->getProductId(),
|
| 102 |
-
'quantity' =>
|
| 103 |
'name' => $item->getName(),
|
| 104 |
'unit_price' => Nosto::helper('price')->format($item->getUnitPrice()),
|
| 105 |
'price_currency_code' => strtoupper($item->getCurrencyCode()),
|
| 99 |
foreach ($order->getPurchasedItems() as $item) {
|
| 100 |
$data['purchased_items'][] = array(
|
| 101 |
'product_id' => $item->getProductId(),
|
| 102 |
+
'quantity' => $item->getQuantity(),
|
| 103 |
'name' => $item->getName(),
|
| 104 |
'unit_price' => Nosto::helper('price')->format($item->getUnitPrice()),
|
| 105 |
'price_currency_code' => strtoupper($item->getCurrencyCode()),
|
app/code/community/Nosto/Tagging/etc/config.xml
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
<config>
|
| 30 |
<modules>
|
| 31 |
<Nosto_Tagging>
|
| 32 |
-
<version>2.6.
|
| 33 |
</Nosto_Tagging>
|
| 34 |
</modules>
|
| 35 |
<global>
|
| 29 |
<config>
|
| 30 |
<modules>
|
| 31 |
<Nosto_Tagging>
|
| 32 |
+
<version>2.6.12</version>
|
| 33 |
</Nosto_Tagging>
|
| 34 |
</modules>
|
| 35 |
<global>
|
app/design/frontend/base/default/layout/nostotagging.xml
CHANGED
|
@@ -274,6 +274,9 @@
|
|
| 274 |
<value>nosto-page-search2</value>
|
| 275 |
</action>
|
| 276 |
</block>
|
|
|
|
|
|
|
|
|
|
| 277 |
</reference>
|
| 278 |
</catalogsearch_result_index>
|
| 279 |
|
| 274 |
<value>nosto-page-search2</value>
|
| 275 |
</action>
|
| 276 |
</block>
|
| 277 |
+
<block type="nosto_tagging/searchterm" name="nosto.page.searchterm1" after="nosto.page.search2"
|
| 278 |
+
template="nostotagging/searchterm.phtml">
|
| 279 |
+
</block>
|
| 280 |
</reference>
|
| 281 |
</catalogsearch_result_index>
|
| 282 |
|
app/design/frontend/base/default/template/nostotagging/cart.phtml
CHANGED
|
@@ -42,8 +42,8 @@ $nostoPriceHelper = Mage::helper('nosto_tagging/price');
|
|
| 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
|
| 46 |
-
<span class="quantity"><?php echo
|
| 47 |
<span class="name"><?php echo $nostoHelper->escapeHtml($this->getProductName($item)); ?></span>
|
| 48 |
<span class="unit_price"><?php echo $nostoPriceHelper->getFormattedPrice($item->getPriceInclTax()); ?></span>
|
| 49 |
<span class="price_currency_code"><?php echo strtoupper($currency); ?></span>
|
| 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>
|
| 46 |
+
<span class="quantity"><?php echo $item->getQty(); ?></span>
|
| 47 |
<span class="name"><?php echo $nostoHelper->escapeHtml($this->getProductName($item)); ?></span>
|
| 48 |
<span class="unit_price"><?php echo $nostoPriceHelper->getFormattedPrice($item->getPriceInclTax()); ?></span>
|
| 49 |
<span class="price_currency_code"><?php echo strtoupper($currency); ?></span>
|
app/design/frontend/base/default/template/nostotagging/order.phtml
CHANGED
|
@@ -63,8 +63,8 @@ $priceHelper = Mage::helper('nosto_tagging/price');
|
|
| 63 |
<div class="purchased_items">
|
| 64 |
<?php foreach ($order->getPurchasedItems() as $item): ?>
|
| 65 |
<div class="line_item">
|
| 66 |
-
<span class="product_id"><?php echo
|
| 67 |
-
<span class="quantity"><?php echo
|
| 68 |
<span class="name"><?php echo $helper->escapeHtml($item->getName()); ?></span>
|
| 69 |
<span class="unit_price"><?php echo $priceHelper->getFormattedPrice($item->getUnitPrice()); ?></span>
|
| 70 |
<span class="price_currency_code"><?php echo strtoupper($item->getCurrencyCode()); ?></span>
|
| 63 |
<div class="purchased_items">
|
| 64 |
<?php foreach ($order->getPurchasedItems() as $item): ?>
|
| 65 |
<div class="line_item">
|
| 66 |
+
<span class="product_id"><?php echo $item->getProductId(); ?></span>
|
| 67 |
+
<span class="quantity"><?php echo $item->getQuantity(); ?></span>
|
| 68 |
<span class="name"><?php echo $helper->escapeHtml($item->getName()); ?></span>
|
| 69 |
<span class="unit_price"><?php echo $priceHelper->getFormattedPrice($item->getUnitPrice()); ?></span>
|
| 70 |
<span class="price_currency_code"><?php echo strtoupper($item->getCurrencyCode()); ?></span>
|
app/design/frontend/base/default/template/nostotagging/searchterm.phtml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 29 |
+
<?php
|
| 30 |
+
/**
|
| 31 |
+
* @var $this Nosto_Tagging_Block_Searchterm
|
| 32 |
+
* @var $helper Nosto_Tagging_Helper_Data
|
| 33 |
+
*/
|
| 34 |
+
$helper = Mage::helper('nosto_tagging');
|
| 35 |
+
?>
|
| 36 |
+
<div class="nosto_search_term" style="display:none"><?php echo $helper->escapeHtml($this->getSearchTerm()); ?></div>
|
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,8 +16,8 @@
|
|
| 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">
|
|
@@ -36,11 +36,12 @@
|
|
| 36 |
<file name="Meta.php" hash="1f761e731214b7572ef139d9e0577ea1"/>
|
| 37 |
<file name="Order.php" hash="32115070d380e654f093da11dd6e4d85"/>
|
| 38 |
<file name="Product.php" hash="ac7b85e6d03d94d03c59416b622b0039"/>
|
|
|
|
| 39 |
</dir>
|
| 40 |
<dir name="Helper">
|
| 41 |
<file name="Account.php" hash="d6870520bdbd4bc9d70eff77704f790a"/>
|
| 42 |
<file name="Customer.php" hash="8faa27321f26ece8ff5ebf12058f546f"/>
|
| 43 |
-
<file name="Data.php" hash="
|
| 44 |
<file name="Date.php" hash="1a108a4ec8169b73411b6c11b86a1d80"/>
|
| 45 |
<file name="Oauth.php" hash="9ecbea9e8411501cabe780e0511a1d05"/>
|
| 46 |
<file name="Price.php" hash="8d3736e7fc03f7064eb351ee323e8f43"/>
|
|
@@ -68,13 +69,13 @@
|
|
| 68 |
<file name="Oauth.php" hash="0863271d8a3db0de93525f0e64308f1c"/>
|
| 69 |
<dir name="Order">
|
| 70 |
<file name="Buyer.php" hash="45ee761ba052ef3372846c22e28921d8"/>
|
| 71 |
-
<file name="Item.php" hash="
|
| 72 |
<file name="Status.php" hash="795b2e53be043aeb0b27bbd500e2c412"/>
|
| 73 |
</dir>
|
| 74 |
-
<file name="Order.php" hash="
|
| 75 |
-
<file name="Product.php" hash="
|
| 76 |
</dir>
|
| 77 |
-
<file name="Observer.php" hash="
|
| 78 |
<file name="Product.php" hash="3630a2a688f013b296d1865e6f32e1d2"/>
|
| 79 |
<dir name="Resource">
|
| 80 |
<dir name="Customer">
|
|
@@ -87,7 +88,7 @@
|
|
| 87 |
<file name="Setup.php" hash="506b08bcb10cbe74e95812c5f646429f"/>
|
| 88 |
</dir>
|
| 89 |
<dir name="Service">
|
| 90 |
-
<file name="Order.php" hash="
|
| 91 |
</dir>
|
| 92 |
<dir name="System">
|
| 93 |
<dir name="Config">
|
|
@@ -107,7 +108,7 @@
|
|
| 107 |
<dir name="etc">
|
| 108 |
<file name="adminhtml.xml" hash="7ea210738a77630f299a14b442f3b8d0"/>
|
| 109 |
<file name="cache.xml" hash="e874fbbf2eb89b325deb1a62afbcfb4d"/>
|
| 110 |
-
<file name="config.xml" hash="
|
| 111 |
<file name="system.xml" hash="7deba6544a09d7af8c07e6b5edc0975a"/>
|
| 112 |
</dir>
|
| 113 |
<dir name="sql">
|
|
@@ -139,12 +140,12 @@
|
|
| 139 |
<dir name="base">
|
| 140 |
<dir name="default">
|
| 141 |
<dir name="layout">
|
| 142 |
-
<file name="nostotagging.xml" hash="
|
| 143 |
</dir>
|
| 144 |
<dir name="template">
|
| 145 |
<dir name="nostotagging">
|
| 146 |
<file name="addtocart.phtml" hash="e8776f59ec4c7c7b6eea2fae9d56e2a4"/>
|
| 147 |
-
<file name="cart.phtml" hash="
|
| 148 |
<dir name="category">
|
| 149 |
<file name="view.phtml" hash="fc09e2770ad6281ec96c8e92accc01f1"/>
|
| 150 |
</dir>
|
|
@@ -153,8 +154,9 @@
|
|
| 153 |
<file name="element.phtml" hash="e1d38981789e632a3607ccf2e171f0cb"/>
|
| 154 |
<file name="embed.phtml" hash="9193ddd1ae373b68c53f8364f511b0a5"/>
|
| 155 |
<file name="meta.phtml" hash="c1b862a4993503fae420fb0eba194b00"/>
|
| 156 |
-
<file name="order.phtml" hash="
|
| 157 |
<file name="product.phtml" hash="9df3ff9f6e363e478d7fd68bd09827b1"/>
|
|
|
|
| 158 |
</dir>
|
| 159 |
</dir>
|
| 160 |
</dir>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Nosto_Tagging</name>
|
| 4 |
+
<version>2.6.12</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>- Restore the type casting to quantity</notes>
|
| 12 |
<authors>
|
| 13 |
<author>
|
| 14 |
<name>Nosto</name>
|
| 16 |
<email>magento@nosto.com</email>
|
| 17 |
</author>
|
| 18 |
</authors>
|
| 19 |
+
<date>2016-04-22</date>
|
| 20 |
+
<time>08:48:05</time>
|
| 21 |
<contents>
|
| 22 |
<target name="magecommunity">
|
| 23 |
<dir name="Nosto">
|
| 36 |
<file name="Meta.php" hash="1f761e731214b7572ef139d9e0577ea1"/>
|
| 37 |
<file name="Order.php" hash="32115070d380e654f093da11dd6e4d85"/>
|
| 38 |
<file name="Product.php" hash="ac7b85e6d03d94d03c59416b622b0039"/>
|
| 39 |
+
<file name="Searchterm.php" hash="884cbca118486d922e73821242d8fc83"/>
|
| 40 |
</dir>
|
| 41 |
<dir name="Helper">
|
| 42 |
<file name="Account.php" hash="d6870520bdbd4bc9d70eff77704f790a"/>
|
| 43 |
<file name="Customer.php" hash="8faa27321f26ece8ff5ebf12058f546f"/>
|
| 44 |
+
<file name="Data.php" hash="11b848036443a431eafbbd155b72e40d"/>
|
| 45 |
<file name="Date.php" hash="1a108a4ec8169b73411b6c11b86a1d80"/>
|
| 46 |
<file name="Oauth.php" hash="9ecbea9e8411501cabe780e0511a1d05"/>
|
| 47 |
<file name="Price.php" hash="8d3736e7fc03f7064eb351ee323e8f43"/>
|
| 69 |
<file name="Oauth.php" hash="0863271d8a3db0de93525f0e64308f1c"/>
|
| 70 |
<dir name="Order">
|
| 71 |
<file name="Buyer.php" hash="45ee761ba052ef3372846c22e28921d8"/>
|
| 72 |
+
<file name="Item.php" hash="d28e1c901b168ad381696dde605551db"/>
|
| 73 |
<file name="Status.php" hash="795b2e53be043aeb0b27bbd500e2c412"/>
|
| 74 |
</dir>
|
| 75 |
+
<file name="Order.php" hash="1a5d115199f87ead195e0b3510ab1439"/>
|
| 76 |
+
<file name="Product.php" hash="77997c199edc6f9c29d29e138b8abff1"/>
|
| 77 |
</dir>
|
| 78 |
+
<file name="Observer.php" hash="ba384c965a2df4044cab0a84bbeacd38"/>
|
| 79 |
<file name="Product.php" hash="3630a2a688f013b296d1865e6f32e1d2"/>
|
| 80 |
<dir name="Resource">
|
| 81 |
<dir name="Customer">
|
| 88 |
<file name="Setup.php" hash="506b08bcb10cbe74e95812c5f646429f"/>
|
| 89 |
</dir>
|
| 90 |
<dir name="Service">
|
| 91 |
+
<file name="Order.php" hash="63670c0cb5d3cc0804e13e90b47afbb8"/>
|
| 92 |
</dir>
|
| 93 |
<dir name="System">
|
| 94 |
<dir name="Config">
|
| 108 |
<dir name="etc">
|
| 109 |
<file name="adminhtml.xml" hash="7ea210738a77630f299a14b442f3b8d0"/>
|
| 110 |
<file name="cache.xml" hash="e874fbbf2eb89b325deb1a62afbcfb4d"/>
|
| 111 |
+
<file name="config.xml" hash="86f27a81f45c3aafb0a079f837b73a99"/>
|
| 112 |
<file name="system.xml" hash="7deba6544a09d7af8c07e6b5edc0975a"/>
|
| 113 |
</dir>
|
| 114 |
<dir name="sql">
|
| 140 |
<dir name="base">
|
| 141 |
<dir name="default">
|
| 142 |
<dir name="layout">
|
| 143 |
+
<file name="nostotagging.xml" hash="7d69705eb6a9cce411671b792ec2b08b"/>
|
| 144 |
</dir>
|
| 145 |
<dir name="template">
|
| 146 |
<dir name="nostotagging">
|
| 147 |
<file name="addtocart.phtml" hash="e8776f59ec4c7c7b6eea2fae9d56e2a4"/>
|
| 148 |
+
<file name="cart.phtml" hash="fe8a33cf63709d05e4be388b0a92addf"/>
|
| 149 |
<dir name="category">
|
| 150 |
<file name="view.phtml" hash="fc09e2770ad6281ec96c8e92accc01f1"/>
|
| 151 |
</dir>
|
| 154 |
<file name="element.phtml" hash="e1d38981789e632a3607ccf2e171f0cb"/>
|
| 155 |
<file name="embed.phtml" hash="9193ddd1ae373b68c53f8364f511b0a5"/>
|
| 156 |
<file name="meta.phtml" hash="c1b862a4993503fae420fb0eba194b00"/>
|
| 157 |
+
<file name="order.phtml" hash="a7940109561b6ec9d74c8a566d24c3f3"/>
|
| 158 |
<file name="product.phtml" hash="9df3ff9f6e363e478d7fd68bd09827b1"/>
|
| 159 |
+
<file name="searchterm.phtml" hash="5a61837f4d4b787e24c6133afd43a507"/>
|
| 160 |
</dir>
|
| 161 |
</dir>
|
| 162 |
</dir>
|
