Version Notes
Product prices including Tax
Recommendation displaying on category pages
New style to recommendation.
Download this release
Release Info
Developer | nToklo |
Extension | ntoklo_recommendations |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- app/code/community/Ntoklo/Recommendations/Block/Adminhtml/Widget/Color/Helper.php +0 -35
- app/code/community/Ntoklo/Recommendations/Helper/Data.php +54 -61
- app/code/community/Ntoklo/Recommendations/Model/Service.php +9 -13
- app/code/community/Ntoklo/Recommendations/etc/config.xml +1 -1
- app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_horisontal.phtml +4 -4
- app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_vertical.phtml +3 -3
- package.xml +8 -5
- skin/frontend/base/default/css/ntoklo/custom.css +0 -4
- skin/frontend/base/default/css/ntoklo/global.css +1 -4
- skin/frontend/base/default/css/ntoklo/widget.css +312 -319
app/code/community/Ntoklo/Recommendations/Block/Adminhtml/Widget/Color/Helper.php
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* nToklo
|
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 |
-
*
|
12 |
-
* @category Ntoklo
|
13 |
-
* @package Ntoklo_Recommendations
|
14 |
-
* @copyright Copyright (c) 2013 nToklo (http://ntoklo.com)
|
15 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
-
* @author nToklo
|
17 |
-
*/
|
18 |
-
|
19 |
-
class Ntoklo_Recommendations_Block_Adminhtml_Widget_Color_Helper extends Mage_Adminhtml_Block_Widget {
|
20 |
-
|
21 |
-
protected $_element;
|
22 |
-
|
23 |
-
public function prepareElementHtml(Varien_Data_Form_Element_Abstract $element) {
|
24 |
-
|
25 |
-
$this->_element = $element;
|
26 |
-
$this->_elementValueId = "{$element->getId()}";
|
27 |
-
$element->setData('after_element_html', $this->toHtml());
|
28 |
-
//$element->setValue('');
|
29 |
-
return $element;
|
30 |
-
}
|
31 |
-
|
32 |
-
protected function _toHtml() {
|
33 |
-
// return $date->getElementHtml();
|
34 |
-
}
|
35 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Ntoklo/Recommendations/Helper/Data.php
CHANGED
@@ -39,7 +39,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
39 |
/**
|
40 |
* Page types as defined in nToklo API
|
41 |
*/
|
42 |
-
const PAGE_CATEGORY_CONVERSION_FUNNEL = 'conversion_funnel';
|
43 |
const PAGE_CATEGORY_PRODUCT = 'product';
|
44 |
const PAGE_CATEGORY_CONFIRMATION = 'confirmation';
|
45 |
const PAGE_CATEGORY_RATE = 'rate';
|
@@ -69,12 +69,12 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
69 |
private $_activationCode;
|
70 |
|
71 |
private $_usesNewWidgets;
|
72 |
-
|
73 |
/**
|
74 |
* Contains Tracker_id
|
75 |
*/
|
76 |
-
|
77 |
-
private $tracker_id = null;
|
78 |
private $widget_type = null;
|
79 |
|
80 |
/**
|
@@ -122,7 +122,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
122 |
public function getNtokloSecretKey() {
|
123 |
return $this->_getApiSecret() ? $this->_getApiSecret()->{'secret'} : "";
|
124 |
}
|
125 |
-
|
126 |
/**
|
127 |
* @return mixed
|
128 |
*/
|
@@ -247,7 +247,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
247 |
'category' => self::PAGE_CATEGORY_CONVERSION_FUNNEL,
|
248 |
'action' => Mage::helper('ntoklo_recommendations')->getEventType($this->getPageCategory())
|
249 |
));
|
250 |
-
|
251 |
array_push($object, $item);
|
252 |
|
253 |
$tracker_id = Mage::helper('ntoklo_recommendations')->getTrackerId();
|
@@ -257,28 +257,23 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
257 |
array('category' => 'clickthrough_goals',
|
258 |
'action' => 'chart-click',
|
259 |
'tracker_id' => $_GET['nt_chrt'] )));
|
260 |
-
|
261 |
-
|
262 |
}
|
263 |
-
|
264 |
if (!empty($_GET['nt_rec'])) {
|
265 |
array_push($object, new Ntoklo_Recommendations_Model_UniversalVariable(
|
266 |
array('category' => 'clickthrough_goals',
|
267 |
'action' => 'recommendation-click',
|
268 |
'tracker_id' => $_GET['nt_rec'] )));
|
269 |
-
|
270 |
-
|
271 |
}
|
272 |
-
|
273 |
-
|
274 |
-
if(!empty($tracker_id)){
|
275 |
array_push($object, new Ntoklo_Recommendations_Model_UniversalVariable(
|
276 |
array('category' => 'clickthrough_goals',
|
277 |
'action' => $this->widget_type . '-impr',
|
278 |
'tracker_id' => $tracker_id )));
|
279 |
}
|
280 |
-
}
|
281 |
-
|
282 |
|
283 |
return $object;
|
284 |
}
|
@@ -350,7 +345,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
350 |
*/
|
351 |
public function getUvMapPage() {
|
352 |
$object = array();
|
353 |
-
|
354 |
$pageCategory = $this->getPageCategory();
|
355 |
|
356 |
$object = new Ntoklo_Recommendations_Model_UniversalVariable(array(
|
@@ -358,7 +353,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
358 |
));
|
359 |
|
360 |
if ($pageCategory == self::PAGE_CATEGORY_CATEGORY || $pageCategory == self::PAGE_CATEGORY_PRODUCT) {
|
361 |
-
$object->breadcrumb = $this->getCategoryPath();
|
362 |
}
|
363 |
return $object;
|
364 |
}
|
@@ -394,18 +389,13 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
394 |
$query = $this->getCategoryPath();
|
395 |
}
|
396 |
|
397 |
-
$pathCategory = $this->getCategoryPath();
|
398 |
-
|
399 |
-
// print_r($pageCategory);
|
400 |
-
$last = count($pathCategory) - 1;
|
401 |
-
|
402 |
// Build Items part - search context
|
403 |
// If it's a search result page than get the items from Search engine
|
404 |
if (!empty($query)) {
|
405 |
/** @var $listBlock Mage_Catalog_Block_Product_List */
|
406 |
$listBlock = Mage::app()->getLayout()->getBlockSingleton('catalog/product_list');
|
407 |
foreach ($listBlock->getLoadedProductCollection() as $product) {
|
408 |
-
array_push($items, $this->getUvMapProduct($product,
|
409 |
}
|
410 |
|
411 |
}
|
@@ -415,7 +405,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
415 |
$object = new Ntoklo_Recommendations_Model_UniversalVariable();
|
416 |
$object->setProperties(array('query' => $query));
|
417 |
|
418 |
-
for ($i=0; $i<count($items) && $i < 5; $i++) {
|
419 |
//$items = $items[$i];
|
420 |
$object->items[$i] = $items[$i];
|
421 |
}
|
@@ -450,24 +440,27 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
450 |
'url' => $product->getProductUrl(),
|
451 |
'image_url' => $product->getImageUrl(),
|
452 |
'name' => $product->getName(),
|
453 |
-
'unit_price' => (float) $product->getPrice(),
|
454 |
-
'unit_sale_price' => (float) $product->getFinalPrice(),
|
455 |
'currency' => Mage::app()->getStore()->getCurrentCurrencyCode(),
|
456 |
'description' => $product->getShortDescription()
|
457 |
//'stock' => (int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($product)->getQty()
|
458 |
));
|
459 |
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
|
|
|
|
|
|
471 |
}
|
472 |
}
|
473 |
|
@@ -482,7 +475,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
482 |
*/
|
483 |
public function getUvMapBasket() {
|
484 |
|
485 |
-
$cart = Mage::getSingleton('checkout/
|
486 |
if ($this->getPageCategory() == self::PAGE_CATEGORY_CHECKOUT) {
|
487 |
$cart = Mage::getSingleton('checkout/session');
|
488 |
}
|
@@ -495,7 +488,7 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
495 |
'currency' => Mage::app()->getStore()->getCurrentCurrencyCode(),
|
496 |
'subtotal' => (float) $quote->getSubtotal(),
|
497 |
'subtotal_include_tax' => $this->_isTaxIncluded($quote),
|
498 |
-
'tax' => (float)
|
499 |
'shipping_cost' => (float) $quote->getShippingAmount(),
|
500 |
'total' => (float) $quote->getGrandTotal()
|
501 |
));
|
@@ -508,8 +501,9 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
508 |
$object->setProperties(array('shipping_method' => $quote->getShippingMethod()));
|
509 |
}
|
510 |
|
511 |
-
if ($
|
512 |
-
|
|
|
513 |
}
|
514 |
else {
|
515 |
$object->line_items = array();
|
@@ -559,13 +553,13 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
559 |
'total' => (float) $order->getGrandTotal(),
|
560 |
'voucher' => $order->getCouponCode() ? $order->getCouponCode() : "",
|
561 |
'voucher_discount' => (float)(-1 * $order->getDiscountAmount()),
|
562 |
-
'tax' => (float) $order->
|
563 |
'shipping_cost' => (float) $order->getShippingAmount(),
|
564 |
'shipping_method' => $order->getShippingMethod(),
|
565 |
'billing' => $this->_getUvMapAddress($order->getBillingAddress()),
|
566 |
'delivery' => $this->_getUvMapAddress($order->getShippingAddress())
|
567 |
));
|
568 |
-
$object->line_items = $this->_getUvMapLineItems($order->
|
569 |
|
570 |
return $object;
|
571 |
}
|
@@ -602,13 +596,13 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
602 |
* @return string
|
603 |
*/
|
604 |
public function getCategoryPath() {
|
605 |
-
|
606 |
-
$breadcrumbs = Mage::helper('catalog')->getBreadcrumbPath();
|
607 |
-
|
608 |
foreach ($breadcrumbs as $element) {
|
609 |
$label[] = $element['label'];
|
610 |
}
|
611 |
-
|
612 |
return $label;
|
613 |
}
|
614 |
|
@@ -620,24 +614,24 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
620 |
public function getNtokloUserId() {
|
621 |
/** @var Mage_Customer_Model_Customer $customer */
|
622 |
$customer = Mage::helper('customer')->getCustomer();
|
623 |
-
|
624 |
if ($customer->getId()) {
|
625 |
return $customer->getId();
|
626 |
}
|
627 |
-
|
628 |
return false;
|
629 |
}
|
630 |
-
|
631 |
/**
|
632 |
* When guest checkout is turn off get session/vistor id merge with user id
|
633 |
*
|
634 |
* @return string
|
635 |
*/
|
636 |
-
|
637 |
public function getNtokloSessionId(){
|
638 |
/** @var Mage_Log_Model_Visitor $visitor */
|
639 |
$visitor = Mage::getSingleton('log/visitor');
|
640 |
-
|
641 |
if ($visitor->getVisitorId()) {
|
642 |
return $visitor->getVisitorId();
|
643 |
}
|
@@ -652,19 +646,19 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
652 |
public function getExtensionVersion() {
|
653 |
return (string) $modules = Mage::getConfig()->getNode()->modules->Ntoklo_Recommendations->version;
|
654 |
}
|
655 |
-
|
656 |
public function setTrackerId($tracker_id, $widget_type){
|
657 |
$this->tracker_id = $tracker_id;
|
658 |
$this->widget_type = $widget_type;
|
659 |
-
|
660 |
}
|
661 |
-
|
662 |
-
public function getTrackerId(){
|
663 |
-
return $this->tracker_id;
|
664 |
}
|
665 |
-
|
666 |
public function getWidgetType(){
|
667 |
-
|
668 |
if($this->widget_type == 'recommendation'){
|
669 |
return 'nt_rec';
|
670 |
}
|
@@ -672,6 +666,5 @@ class Ntoklo_Recommendations_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
672 |
if($this->widget_type == 'chart'){
|
673 |
return 'nt_chrt';
|
674 |
}
|
675 |
-
|
676 |
}
|
677 |
}
|
39 |
/**
|
40 |
* Page types as defined in nToklo API
|
41 |
*/
|
42 |
+
const PAGE_CATEGORY_CONVERSION_FUNNEL = 'conversion_funnel';
|
43 |
const PAGE_CATEGORY_PRODUCT = 'product';
|
44 |
const PAGE_CATEGORY_CONFIRMATION = 'confirmation';
|
45 |
const PAGE_CATEGORY_RATE = 'rate';
|
69 |
private $_activationCode;
|
70 |
|
71 |
private $_usesNewWidgets;
|
72 |
+
|
73 |
/**
|
74 |
* Contains Tracker_id
|
75 |
*/
|
76 |
+
|
77 |
+
private $tracker_id = null;
|
78 |
private $widget_type = null;
|
79 |
|
80 |
/**
|
122 |
public function getNtokloSecretKey() {
|
123 |
return $this->_getApiSecret() ? $this->_getApiSecret()->{'secret'} : "";
|
124 |
}
|
125 |
+
|
126 |
/**
|
127 |
* @return mixed
|
128 |
*/
|
247 |
'category' => self::PAGE_CATEGORY_CONVERSION_FUNNEL,
|
248 |
'action' => Mage::helper('ntoklo_recommendations')->getEventType($this->getPageCategory())
|
249 |
));
|
250 |
+
|
251 |
array_push($object, $item);
|
252 |
|
253 |
$tracker_id = Mage::helper('ntoklo_recommendations')->getTrackerId();
|
257 |
array('category' => 'clickthrough_goals',
|
258 |
'action' => 'chart-click',
|
259 |
'tracker_id' => $_GET['nt_chrt'] )));
|
|
|
|
|
260 |
}
|
261 |
+
|
262 |
if (!empty($_GET['nt_rec'])) {
|
263 |
array_push($object, new Ntoklo_Recommendations_Model_UniversalVariable(
|
264 |
array('category' => 'clickthrough_goals',
|
265 |
'action' => 'recommendation-click',
|
266 |
'tracker_id' => $_GET['nt_rec'] )));
|
|
|
|
|
267 |
}
|
268 |
+
|
269 |
+
if(!empty($tracker_id)){
|
|
|
270 |
array_push($object, new Ntoklo_Recommendations_Model_UniversalVariable(
|
271 |
array('category' => 'clickthrough_goals',
|
272 |
'action' => $this->widget_type . '-impr',
|
273 |
'tracker_id' => $tracker_id )));
|
274 |
}
|
275 |
+
}
|
276 |
+
|
277 |
|
278 |
return $object;
|
279 |
}
|
345 |
*/
|
346 |
public function getUvMapPage() {
|
347 |
$object = array();
|
348 |
+
|
349 |
$pageCategory = $this->getPageCategory();
|
350 |
|
351 |
$object = new Ntoklo_Recommendations_Model_UniversalVariable(array(
|
353 |
));
|
354 |
|
355 |
if ($pageCategory == self::PAGE_CATEGORY_CATEGORY || $pageCategory == self::PAGE_CATEGORY_PRODUCT) {
|
356 |
+
$object->breadcrumb = $this->getCategoryPath();
|
357 |
}
|
358 |
return $object;
|
359 |
}
|
389 |
$query = $this->getCategoryPath();
|
390 |
}
|
391 |
|
|
|
|
|
|
|
|
|
|
|
392 |
// Build Items part - search context
|
393 |
// If it's a search result page than get the items from Search engine
|
394 |
if (!empty($query)) {
|
395 |
/** @var $listBlock Mage_Catalog_Block_Product_List */
|
396 |
$listBlock = Mage::app()->getLayout()->getBlockSingleton('catalog/product_list');
|
397 |
foreach ($listBlock->getLoadedProductCollection() as $product) {
|
398 |
+
array_push($items, $this->getUvMapProduct($product, strtolower(Mage::registry('current_category')->getName())));
|
399 |
}
|
400 |
|
401 |
}
|
405 |
$object = new Ntoklo_Recommendations_Model_UniversalVariable();
|
406 |
$object->setProperties(array('query' => $query));
|
407 |
|
408 |
+
for ($i=0; $i<count($items) && $i < 5; $i++) {
|
409 |
//$items = $items[$i];
|
410 |
$object->items[$i] = $items[$i];
|
411 |
}
|
440 |
'url' => $product->getProductUrl(),
|
441 |
'image_url' => $product->getImageUrl(),
|
442 |
'name' => $product->getName(),
|
443 |
+
'unit_price' => (float) Mage::helper('tax')->getPrice($product, $product->getPrice()),
|
444 |
+
'unit_sale_price' => (float) Mage::helper('tax')->getPrice($product, $product->getFinalPrice()),
|
445 |
'currency' => Mage::app()->getStore()->getCurrentCurrencyCode(),
|
446 |
'description' => $product->getShortDescription()
|
447 |
//'stock' => (int) Mage::getModel('cataloginventory/stock_item')->loadByProduct($product)->getQty()
|
448 |
));
|
449 |
|
450 |
+
|
451 |
+
if($category){
|
452 |
+
$object->setProperties(array('category' => strtolower($category)));
|
453 |
+
}else{
|
454 |
+
|
455 |
+
$categoryNames = array();
|
456 |
+
if ($categories = $product->getCategoryIds()) {
|
457 |
+
foreach ($categories as $categoryId) {
|
458 |
+
array_push($categoryNames, strtolower(Mage::getModel('catalog/category')->load($categoryId)->getName()));
|
459 |
+
}
|
460 |
+
}
|
461 |
+
|
462 |
+
if (!empty($categoryNames)) {
|
463 |
+
$object->setProperties(array('category' => end($categoryNames)));
|
464 |
}
|
465 |
}
|
466 |
|
475 |
*/
|
476 |
public function getUvMapBasket() {
|
477 |
|
478 |
+
$cart = Mage::getSingleton('checkout/session');
|
479 |
if ($this->getPageCategory() == self::PAGE_CATEGORY_CHECKOUT) {
|
480 |
$cart = Mage::getSingleton('checkout/session');
|
481 |
}
|
488 |
'currency' => Mage::app()->getStore()->getCurrentCurrencyCode(),
|
489 |
'subtotal' => (float) $quote->getSubtotal(),
|
490 |
'subtotal_include_tax' => $this->_isTaxIncluded($quote),
|
491 |
+
'tax' => (float) Mage::helper('checkout')->getQuote()->getShippingAddress()->getData('tax_amount'),
|
492 |
'shipping_cost' => (float) $quote->getShippingAmount(),
|
493 |
'total' => (float) $quote->getGrandTotal()
|
494 |
));
|
501 |
$object->setProperties(array('shipping_method' => $quote->getShippingMethod()));
|
502 |
}
|
503 |
|
504 |
+
if ($cartItems = $quote->getAllVisibleItems()) {
|
505 |
+
|
506 |
+
$object->line_items = $this->_getUvMapLineItems($cartItems);
|
507 |
}
|
508 |
else {
|
509 |
$object->line_items = array();
|
553 |
'total' => (float) $order->getGrandTotal(),
|
554 |
'voucher' => $order->getCouponCode() ? $order->getCouponCode() : "",
|
555 |
'voucher_discount' => (float)(-1 * $order->getDiscountAmount()),
|
556 |
+
'tax' => (float) $order->getTaxAmount(),
|
557 |
'shipping_cost' => (float) $order->getShippingAmount(),
|
558 |
'shipping_method' => $order->getShippingMethod(),
|
559 |
'billing' => $this->_getUvMapAddress($order->getBillingAddress()),
|
560 |
'delivery' => $this->_getUvMapAddress($order->getShippingAddress())
|
561 |
));
|
562 |
+
$object->line_items = $this->_getUvMapLineItems($order->getAllVisibleItems());
|
563 |
|
564 |
return $object;
|
565 |
}
|
596 |
* @return string
|
597 |
*/
|
598 |
public function getCategoryPath() {
|
599 |
+
|
600 |
+
$breadcrumbs = Mage::helper('catalog')->getBreadcrumbPath();
|
601 |
+
|
602 |
foreach ($breadcrumbs as $element) {
|
603 |
$label[] = $element['label'];
|
604 |
}
|
605 |
+
|
606 |
return $label;
|
607 |
}
|
608 |
|
614 |
public function getNtokloUserId() {
|
615 |
/** @var Mage_Customer_Model_Customer $customer */
|
616 |
$customer = Mage::helper('customer')->getCustomer();
|
617 |
+
|
618 |
if ($customer->getId()) {
|
619 |
return $customer->getId();
|
620 |
}
|
621 |
+
|
622 |
return false;
|
623 |
}
|
624 |
+
|
625 |
/**
|
626 |
* When guest checkout is turn off get session/vistor id merge with user id
|
627 |
*
|
628 |
* @return string
|
629 |
*/
|
630 |
+
|
631 |
public function getNtokloSessionId(){
|
632 |
/** @var Mage_Log_Model_Visitor $visitor */
|
633 |
$visitor = Mage::getSingleton('log/visitor');
|
634 |
+
|
635 |
if ($visitor->getVisitorId()) {
|
636 |
return $visitor->getVisitorId();
|
637 |
}
|
646 |
public function getExtensionVersion() {
|
647 |
return (string) $modules = Mage::getConfig()->getNode()->modules->Ntoklo_Recommendations->version;
|
648 |
}
|
649 |
+
|
650 |
public function setTrackerId($tracker_id, $widget_type){
|
651 |
$this->tracker_id = $tracker_id;
|
652 |
$this->widget_type = $widget_type;
|
653 |
+
|
654 |
}
|
655 |
+
|
656 |
+
public function getTrackerId(){
|
657 |
+
return $this->tracker_id;
|
658 |
}
|
659 |
+
|
660 |
public function getWidgetType(){
|
661 |
+
|
662 |
if($this->widget_type == 'recommendation'){
|
663 |
return 'nt_rec';
|
664 |
}
|
666 |
if($this->widget_type == 'chart'){
|
667 |
return 'nt_chrt';
|
668 |
}
|
|
|
669 |
}
|
670 |
}
|
app/code/community/Ntoklo/Recommendations/Model/Service.php
CHANGED
@@ -142,9 +142,9 @@ class Ntoklo_Recommendations_Model_Service extends Mage_Core_Model_Abstract {
|
|
142 |
$response = $this->_apiCall($chart->getData('widget_type'), $this->getServiceParams($chart));
|
143 |
|
144 |
switch ($chart->getData('widget_type')) {
|
145 |
-
case self::CALL_METHOD_CHART:
|
146 |
foreach ($response['items'] as $item) {
|
147 |
-
|
148 |
Mage::helper('ntoklo_recommendations')->setTrackerId($response['tracker_id'], $chart->getData('widget_type'));
|
149 |
if (array_key_exists('product', $item) && array_key_exists('id', $item['product'])) {
|
150 |
$ids[] = $item['product']['id'];
|
@@ -207,21 +207,18 @@ class Ntoklo_Recommendations_Model_Service extends Mage_Core_Model_Abstract {
|
|
207 |
|
208 |
if ($chart->getData('widget_type') == self::CALL_METHOD_RECOMMENDATIONS) {
|
209 |
// Required Params
|
210 |
-
if (
|
|
|
|
|
211 |
$serviceParams['userId'] = $userId;
|
|
|
|
|
|
|
212 |
}
|
|
|
213 |
if ($product = Mage::registry('current_product')) {
|
214 |
$serviceParams['productId'] = $product->getId();
|
215 |
}
|
216 |
-
|
217 |
-
// Optional Params
|
218 |
-
if ($pageCategory) {
|
219 |
-
$serviceParams['pageCategory'] = $pageCategory;
|
220 |
-
}
|
221 |
-
if ($pageCategory == Ntoklo_Recommendations_Helper_Data::PAGE_CATEGORY_CATEGORY ||
|
222 |
-
$pageCategory == Ntoklo_Recommendations_Helper_Data::PAGE_CATEGORY_PRODUCT) {
|
223 |
-
$serviceParams['pageSubcategory'] = Mage::helper('ntoklo_recommendations/data')->getCategoryPath();
|
224 |
-
}
|
225 |
}
|
226 |
else {
|
227 |
// 'date' should be omitted per Paolo's request 15 May 2013
|
@@ -230,7 +227,6 @@ class Ntoklo_Recommendations_Model_Service extends Mage_Core_Model_Abstract {
|
|
230 |
$serviceParams['date'] = mktime(0, 0, 0, date('m', $timestamp), date('d', $timestamp), date('Y', $timestamp)). '000';
|
231 |
}
|
232 |
|
233 |
-
|
234 |
//$serviceParams['action'] = Mage::helper('ntoklo_recommendations/data')->getEventType($pageCategory);
|
235 |
$serviceParams['tw'] = $chart->getData('time_window');
|
236 |
$serviceParams['maxItems'] = (int)$chart->getData('max_products') > 0 ? (int)$chart->getData('max_products') : 10;
|
142 |
$response = $this->_apiCall($chart->getData('widget_type'), $this->getServiceParams($chart));
|
143 |
|
144 |
switch ($chart->getData('widget_type')) {
|
145 |
+
case self::CALL_METHOD_CHART:
|
146 |
foreach ($response['items'] as $item) {
|
147 |
+
|
148 |
Mage::helper('ntoklo_recommendations')->setTrackerId($response['tracker_id'], $chart->getData('widget_type'));
|
149 |
if (array_key_exists('product', $item) && array_key_exists('id', $item['product'])) {
|
150 |
$ids[] = $item['product']['id'];
|
207 |
|
208 |
if ($chart->getData('widget_type') == self::CALL_METHOD_RECOMMENDATIONS) {
|
209 |
// Required Params
|
210 |
+
if (Mage::helper('ntoklo_recommendations')->getNtokloUserId() != false) {
|
211 |
+
|
212 |
+
$userId = Mage::helper('ntoklo_recommendations')->getNtokloUserId();
|
213 |
$serviceParams['userId'] = $userId;
|
214 |
+
}else{
|
215 |
+
$sessionId = Mage::helper('ntoklo_recommendations')->getNtokloSessionId();
|
216 |
+
$serviceParams['userId'] = $sessionId;
|
217 |
}
|
218 |
+
|
219 |
if ($product = Mage::registry('current_product')) {
|
220 |
$serviceParams['productId'] = $product->getId();
|
221 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
}
|
223 |
else {
|
224 |
// 'date' should be omitted per Paolo's request 15 May 2013
|
227 |
$serviceParams['date'] = mktime(0, 0, 0, date('m', $timestamp), date('d', $timestamp), date('Y', $timestamp)). '000';
|
228 |
}
|
229 |
|
|
|
230 |
//$serviceParams['action'] = Mage::helper('ntoklo_recommendations/data')->getEventType($pageCategory);
|
231 |
$serviceParams['tw'] = $chart->getData('time_window');
|
232 |
$serviceParams['maxItems'] = (int)$chart->getData('max_products') > 0 ? (int)$chart->getData('max_products') : 10;
|
app/code/community/Ntoklo/Recommendations/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<Ntoklo_Recommendations>
|
23 |
-
<version>1.1.
|
24 |
</Ntoklo_Recommendations>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<Ntoklo_Recommendations>
|
23 |
+
<version>1.1.2</version>
|
24 |
</Ntoklo_Recommendations>
|
25 |
</modules>
|
26 |
<global>
|
app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_horisontal.phtml
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
*/
|
18 |
?>
|
19 |
|
20 |
-
<?php if (($_products = $this->getItems()) && count($_products)):
|
21 |
$getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
22 |
|
23 |
?>
|
@@ -25,7 +25,7 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
|
25 |
<div class="widget-ntoklo-container clearfix" style="clear:both">
|
26 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
27 |
<div class="nt_wrapper nt_grid nt_orange nt_<?php echo $_columnCount ?>_column">
|
28 |
-
<p class="nt_header"
|
29 |
<div class="nt_widget clearfix">
|
30 |
<?php $i=0; foreach ($_products as $_product):?>
|
31 |
<?php if ($i++%$_columnCount==0): ?>
|
@@ -36,7 +36,7 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
|
36 |
<a href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"></a>
|
37 |
</div>
|
38 |
<span class="nt_product_title"><?php echo $this->htmlEscape($_product->getName()) ?></span>
|
39 |
-
<span style=" color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency($_product->getFinalPrice()); ?></span>
|
40 |
<a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="nt_btn">
|
41 |
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.853px" height="11.229px" viewBox="0 0 10.853 11.229" enable-background="new 0 0 10.853 11.229" xml:space="preserve">
|
42 |
<g>
|
@@ -50,7 +50,7 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
|
50 |
<?php endif ?>
|
51 |
<?php endforeach; ?>
|
52 |
</div>
|
53 |
-
|
54 |
</div>
|
55 |
</div>
|
56 |
<!-- //END nToklo Chart -->
|
17 |
*/
|
18 |
?>
|
19 |
|
20 |
+
<?php if (($_products = $this->getItems()) && count($_products)):
|
21 |
$getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
22 |
|
23 |
?>
|
25 |
<div class="widget-ntoklo-container clearfix" style="clear:both">
|
26 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
27 |
<div class="nt_wrapper nt_grid nt_orange nt_<?php echo $_columnCount ?>_column">
|
28 |
+
<p class="nt_header"><?php echo $this->getHeader() ?></p>
|
29 |
<div class="nt_widget clearfix">
|
30 |
<?php $i=0; foreach ($_products as $_product):?>
|
31 |
<?php if ($i++%$_columnCount==0): ?>
|
36 |
<a href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(100) ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"></a>
|
37 |
</div>
|
38 |
<span class="nt_product_title"><?php echo $this->htmlEscape($_product->getName()) ?></span>
|
39 |
+
<span style=" color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency(Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice())); ?></span>
|
40 |
<a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_product->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="nt_btn">
|
41 |
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="10.853px" height="11.229px" viewBox="0 0 10.853 11.229" enable-background="new 0 0 10.853 11.229" xml:space="preserve">
|
42 |
<g>
|
50 |
<?php endif ?>
|
51 |
<?php endforeach; ?>
|
52 |
</div>
|
53 |
+
|
54 |
</div>
|
55 |
</div>
|
56 |
<!-- //END nToklo Chart -->
|
app/design/frontend/base/default/template/ntoklo/recommendations/widget/chart_vertical.phtml
CHANGED
@@ -23,7 +23,7 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
|
23 |
<!-- nToklo Chart -->
|
24 |
<div class="widget-ntoklo-container clearfix" style="clear:both">
|
25 |
<div class="nt_wrapper nt_column nt_green nt_img_above">
|
26 |
-
<p class="nt_header"
|
27 |
<ul class="nt_widget">
|
28 |
<?php $i=0; foreach ($_products as $_item):?>
|
29 |
<li>
|
@@ -33,14 +33,14 @@ $getTrackerId = Mage::helper('ntoklo_recommendations')->getWidgetType();
|
|
33 |
</div>
|
34 |
<div class="nt_info_wrap">
|
35 |
<span class="nt_product_title"><?php echo $this->htmlEscape($_item->getName()) ?></span>
|
36 |
-
<span style="color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency($_item->getFinalPrice()); ?></span>
|
37 |
<a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion nt_btn"><?php echo $this->__('More details') ?></a>
|
38 |
</div>
|
39 |
</div>
|
40 |
</li>
|
41 |
<?php endforeach ?>
|
42 |
</ul>
|
43 |
-
|
44 |
</div>
|
45 |
</div>
|
46 |
<!-- //END nToklo Chart -->
|
23 |
<!-- nToklo Chart -->
|
24 |
<div class="widget-ntoklo-container clearfix" style="clear:both">
|
25 |
<div class="nt_wrapper nt_column nt_green nt_img_above">
|
26 |
+
<p class="nt_header"><?php echo $this->getHeader() ?></p>
|
27 |
<ul class="nt_widget">
|
28 |
<?php $i=0; foreach ($_products as $_item):?>
|
29 |
<li>
|
33 |
</div>
|
34 |
<div class="nt_info_wrap">
|
35 |
<span class="nt_product_title"><?php echo $this->htmlEscape($_item->getName()) ?></span>
|
36 |
+
<span style="color: <?php echo $this->getWidgetColor() ?>" class="nt_product_price"><?php echo Mage::helper('core')->currency(Mage::helper('tax')->getPrice($_item, $_item->getFinalPrice())); ?></span>
|
37 |
<a style=" background-color: <?php echo $this->getWidgetColor() ?>" href="<?php echo Mage::getUrl($_item->getUrlPath(), array('_query'=>array($getTrackerId => Mage::helper('ntoklo_recommendations')->getTrackerId())))?>" class="ntoklo_conversion nt_btn"><?php echo $this->__('More details') ?></a>
|
38 |
</div>
|
39 |
</div>
|
40 |
</li>
|
41 |
<?php endforeach ?>
|
42 |
</ul>
|
43 |
+
|
44 |
</div>
|
45 |
</div>
|
46 |
<!-- //END nToklo Chart -->
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ntoklo_recommendations</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">open sofetware license</license>
|
7 |
<channel>community</channel>
|
@@ -11,11 +11,14 @@
|
|
11 |
2. Uses the Open Data Alliance Universal Variable - Generats UniversalVariable JSON object and submits it to nToklo for processing to leverage user behaviour.
|
12 |
3. Utilises native widgets to render personalised product recommendations and trending product charts through nToklo API’s.
|
13 |
4. Integrates with your store CMS to account for product categories</description>
|
14 |
-
<notes>
|
|
|
|
|
|
|
15 |
<authors><author><name>nToklo</name><user>nToklo</user><email>fu.hoang@ntoklo.com</email></author></authors>
|
16 |
-
<date>
|
17 |
-
<time>
|
18 |
-
<contents><target name="magecommunity"><dir name="Ntoklo"><dir name="Recommendations"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Registration.php" hash="6454d0327fb5881aba96beaed86005ac"/></dir></dir></dir></dir><dir name="Widget"><dir name="
|
19 |
<compatible/>
|
20 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ntoklo_recommendations</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">open sofetware license</license>
|
7 |
<channel>community</channel>
|
11 |
2. Uses the Open Data Alliance Universal Variable - Generats UniversalVariable JSON object and submits it to nToklo for processing to leverage user behaviour.
|
12 |
3. Utilises native widgets to render personalised product recommendations and trending product charts through nToklo API’s.
|
13 |
4. Integrates with your store CMS to account for product categories</description>
|
14 |
+
<notes>Product prices including Tax
|
15 |
+
Recommendation displaying on category pages
|
16 |
+
New style to recommendation.
|
17 |
+
</notes>
|
18 |
<authors><author><name>nToklo</name><user>nToklo</user><email>fu.hoang@ntoklo.com</email></author></authors>
|
19 |
+
<date>2015-01-15</date>
|
20 |
+
<time>14:17:55</time>
|
21 |
+
<contents><target name="magecommunity"><dir name="Ntoklo"><dir name="Recommendations"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Registration.php" hash="6454d0327fb5881aba96beaed86005ac"/></dir></dir></dir></dir><dir name="Widget"><dir name="Date"><file name="Helper.php" hash="29592c951ce694efb69397141a679226"/></dir><dir name="Type"><file name="Helper.php" hash="af54dfb2a4dd16295484e2f07ba0df6c"/></dir></dir></dir><file name="Chart.php" hash="d361ab19d9781fb12ace06e0b1df1f15"/><file name="UniversalVariable.php" hash="5d152104f7b251062ce9827ad05945cc"/></dir><dir name="Helper"><file name="Data.php" hash="5b46704567e5a7cbede6c6e3bcfd3667"/></dir><dir name="Model"><dir name="Cache"><file name="UniversalVariable.php" hash="761f465d4fda0e3d48541fc67af5c4b1"/></dir><file name="Observer.php" hash="573f0925408a41f8e0b4032d45fbc301"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="c76b856838d10860a74c2ec08d47bc87"/></dir></dir><file name="Service.php" hash="b3069931305471dd87298c7023b6de70"/><file name="UniversalVariable.php" hash="7744caef59b5c3f056f89577c108e0f5"/><dir name="Widget"><file name="Color.php" hash="03dc0047eb5914c18e97b84e244077c3"/><file name="Type.php" hash="f399f8084a0c9c270c92e5fccd74e50f"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="aff0945a94da77aab01ef814d14309d5"/><file name="cache.xml" hash="9be6ef2826f8e880e0c2db016787cacf"/><file name="config.xml" hash="0ffacde14e0eeeaf63b0ceb46cd14e1f"/><file name="system.xml" hash="d90aad78d74273219bbeb6bd3b38e477"/><file name="widget.xml" hash="03208ca9c734ff7b9641e7501197c081"/></dir><dir name="sql"><dir name="ntoklo_setup"><file name="mysql4-install-1.0.7.php" hash="96c7c0734c5290210b09dbb96f5cfa34"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ntoklo_Recommendations.xml" hash="d809f1cc3329034ac5d3ffcc4fe40d4c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="ntoklo_recommendations.xml" hash="b6649abad9f507fdf0e7b48d11d9a594"/></dir><dir name="template"><dir name="ntoklo"><dir name="recommendations"><file name="universal_variable.phtml" hash="a825bae10ea9f4bd603fa233d2681f93"/><dir name="widget"><file name="chart_horisontal.phtml" hash="e3632d4b2bb366e6b9691a9098b8f0d0"/><file name="chart_review_short.phtml" hash="25a789e2e031e33e6e82fcd8fd73aa23"/><file name="chart_vertical.phtml" hash="2844c4746e3e5588770dce1ff2d00180"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="documentation"><file name="readme.html" hash="76a9aa7ea09fbb80af24ce340f498d13"/><dir name="skin"><dir><dir name="img"><file name="cc.png" hash="83f629e3f2c6e94df256a92a0d826079"/><file name="config.png" hash="a0f8540c37bbaa614a6e6818c52b9b1e"/><file name="disablec1.png" hash="3b7a509db5f2228c1187dd169c8a7c34"/><file name="disablec2.png" hash="ce25b484b08735a1890a4871eefd23ef"/><file name="logo.png" hash="5bbc2b3e56f571eb96923185485c3a27"/><file name="widgets_1.png" hash="61c6c6acc64e9bad49e2546d43032767"/><file name="widgets_2.png" hash="a357562e6cb535458c30f8a6c53bd44d"/><file name="widgets_3.png" hash="cc6ec6b496b03e516c29eb8ed63aa7a9"/><file name="widgets_4.png" hash="1feb96648e38c0e95629bf897baeb26b"/></dir></dir><file name="style.css" hash="f544a9e3edc200affa0a9be9af98e878"/></dir></dir><dir name="js"><dir name="ntoklo"><file name="util.js" hash="9cea20bac53b7f7890613e18fd4c5275"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="ntoklo"><file name="global.css" hash="7f19dc85e84f0aadcc46a3bc1d66314a"/><file name="widget.css" hash="7fc7256efc75e136b97b2ec8cb09cfd0"/></dir></dir></dir></dir></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
24 |
</package>
|
skin/frontend/base/default/css/ntoklo/custom.css
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
p{
|
2 |
-
|
3 |
-
color:red;
|
4 |
-
}
|
|
|
|
|
|
|
|
skin/frontend/base/default/css/ntoklo/global.css
CHANGED
@@ -1,4 +1 @@
|
|
1 |
-
.nt_wrapper {
|
2 |
-
font-family: "Source Sans Pro", sans-serif;
|
3 |
-
font-size: .9em;
|
4 |
-
}
|
1 |
+
.nt_wrapper { font-size: .9em; }
|
|
|
|
|
|
skin/frontend/base/default/css/ntoklo/widget.css
CHANGED
@@ -1,335 +1,328 @@
|
|
1 |
.clearfix:after {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
.clearfix {
|
9 |
-
|
10 |
-
|
11 |
* html .clearfix {
|
12 |
-
|
13 |
-
|
14 |
/* Hides from IE-mac \*/
|
15 |
.clearfix {
|
16 |
-
|
17 |
-
|
18 |
.nt_wrapper,
|
19 |
.nt_wrapper *,
|
20 |
.nt_wrapper *:before,
|
21 |
.nt_wrapper *:after {
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
.nt_wrapper {
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
@media screen and (max-width: 768px) {
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
max-height: 100px; }
|
193 |
-
.nt_wrapper.nt_grid .nt_header {
|
194 |
-
padding: .5rem 1rem; }
|
195 |
-
.nt_wrapper.nt_grid.nt_2_column .nt_row .nt_item_wrap {
|
196 |
-
padding: 1em;
|
197 |
-
width: 50%; }
|
198 |
-
.nt_wrapper.nt_grid.nt_3_column .nt_row .nt_item_wrap {
|
199 |
-
padding: 1em;
|
200 |
-
width: 33.3%; } }
|
201 |
@media screen and (max-width: 480px) {
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
.nt_wrapper.nt_grid.nt_2_column .nt_row .nt_item_wrap, .nt_wrapper.nt_grid.nt_3_column .nt_row .nt_item_wrap {
|
211 |
-
margin: 0;
|
212 |
-
padding: 1em;
|
213 |
-
width: 100%; } }
|
214 |
@media screen and (max-width: 320px) {
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
.nt_wrapper.nt_grid.nt_2_column .nt_row .nt_item_wrap, .nt_wrapper.nt_grid.nt_3_column .nt_row .nt_item_wrap {
|
227 |
-
width: 100%; } }
|
228 |
/* color schemes */
|
229 |
.nt_wrapper {
|
230 |
-
|
231 |
-
|
232 |
-
.nt_widget {
|
233 |
-
background: #fff; }
|
234 |
-
|
235 |
.nt_item_info td {
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
background: #7980a3; }
|
1 |
.clearfix:after {
|
2 |
+
content: ".";
|
3 |
+
display: block;
|
4 |
+
height: 0;
|
5 |
+
clear: both;
|
6 |
+
visibility: hidden; }
|
|
|
7 |
.clearfix {
|
8 |
+
display: inline-block; }
|
|
|
9 |
* html .clearfix {
|
10 |
+
height: 1%; }
|
|
|
11 |
/* Hides from IE-mac \*/
|
12 |
.clearfix {
|
13 |
+
display: block; }
|
|
|
14 |
.nt_wrapper,
|
15 |
.nt_wrapper *,
|
16 |
.nt_wrapper *:before,
|
17 |
.nt_wrapper *:after {
|
18 |
+
-moz-box-sizing: border-box;
|
19 |
+
-webkit-box-sizing: border-box;
|
20 |
+
box-sizing: border-box; }
|
|
|
21 |
.nt_wrapper {
|
22 |
+
color: #333;
|
23 |
+
line-height: 1.3;
|
24 |
+
margin-bottom: 1em;
|
25 |
+
margin-top: 2em; }
|
26 |
+
.nt_wrapper .nt_header {
|
27 |
+
font-size: 1.3em;
|
28 |
+
margin: .5em 0; }
|
29 |
+
.nt_wrapper table {
|
30 |
+
line-height: 1;
|
31 |
+
margin: 0; }
|
32 |
+
.nt_wrapper table td {
|
33 |
+
vertical-align: middle; }
|
34 |
+
.nt_wrapper .nt_item_info {
|
35 |
+
border-collapse: separate;
|
36 |
+
border-spacing: 2px; }
|
37 |
+
.nt_wrapper ul {
|
38 |
+
list-style: none;
|
39 |
+
margin: 0;
|
40 |
+
padding: 0; }
|
41 |
+
.nt_wrapper:not(.nt_chart) .nt_widget img,
|
42 |
+
.nt_wrapper:not(.nt_chart) .nt_widget span {
|
43 |
+
display: block; }
|
44 |
+
.nt_wrapper:not(.nt_chart) .nt_widget .nt_img_wrap {
|
45 |
+
border: 1px solid #ddd;
|
46 |
+
margin-bottom: .4em;
|
47 |
+
overflow: hidden; }
|
48 |
+
.nt_wrapper:not(.nt_chart) .nt_widget .nt_img_wrap img {
|
49 |
+
margin: 0 auto; }
|
50 |
+
.nt_wrapper:not(.nt_chart) .nt_widget a.nt_btn {
|
51 |
+
color: #fff;
|
52 |
+
display: inline-block;
|
53 |
+
margin-bottom: 1em;
|
54 |
+
padding: .3em .7em;
|
55 |
+
text-decoration: none;
|
56 |
+
-webkit-border-radius: 0.3em;
|
57 |
+
-moz-border-radius: 0.3em;
|
58 |
+
-ms-border-radius: 0.3em;
|
59 |
+
-o-border-radius: 0.3em;
|
60 |
+
border-radius: 0.3em; }
|
61 |
+
.nt_item_wrap {
|
62 |
+
overflow: hidden; }
|
63 |
+
.nt_product_title {
|
64 |
+
font-size: 1.1em;
|
65 |
+
margin-bottom: .5em; }
|
66 |
+
.nt_product_price {
|
67 |
+
font-size: 1.4em;
|
68 |
+
margin: .3em 0; }
|
69 |
+
.nt_img_right .nt_widget .nt_item_wrap {
|
70 |
+
padding-bottom: 0; }
|
71 |
+
.nt_img_right .nt_widget .nt_item_wrap div.nt_img_wrap {
|
72 |
+
border: 0;
|
73 |
+
float: right;
|
74 |
+
margin-left: 1em; }
|
75 |
+
.nt_img_right .nt_widget .nt_item_wrap .nt_product_title {
|
76 |
+
margin-right: 90px; }
|
77 |
+
.nt_column .nt_product_price,
|
78 |
+
.nt_row .nt_product_price,
|
79 |
+
.nt_grid .nt_product_price {
|
80 |
+
float: left;
|
81 |
+
margin-right: .6em; }
|
82 |
+
.nt_column a.nt_btn,
|
83 |
+
.nt_row a.nt_btn,
|
84 |
+
.nt_grid a.nt_btn {
|
85 |
+
margin-top: .5em; }
|
86 |
+
.nt_column.nt_img_above a.nt_btn {
|
87 |
+
float: right; }
|
88 |
+
.nt_column.nt_img_right li {
|
89 |
+
border-top: 1px solid #ddd; }
|
90 |
+
.nt_column .nt_item_wrap {
|
91 |
+
padding: 1em 0; }
|
92 |
+
.nt_row {
|
93 |
+
width: 100%; }
|
94 |
+
.nt_row.nt_r3 li, .nt_row.nt_r4 li {
|
95 |
+
float: left;
|
96 |
+
width: 33.3%; }
|
97 |
+
.nt_row.nt_r3 li:first-child, .nt_row.nt_r4 li:first-child {
|
98 |
+
padding-right: 0.5em; }
|
99 |
+
.nt_row.nt_r3 li:nth-child(2), .nt_row.nt_r4 li:nth-child(2) {
|
100 |
+
padding: 0 0.5em; }
|
101 |
+
.nt_row.nt_r3 li:last-child, .nt_row.nt_r4 li:last-child {
|
102 |
+
padding-left: 0.5em; }
|
103 |
+
.nt_row.nt_r4 li {
|
104 |
+
width: 25%; }
|
105 |
+
.nt_row.nt_r4 li:nth-child(3) {
|
106 |
+
padding: 0 0.5em; }
|
107 |
+
.nt_grid .nt_row .nt_item_wrap {
|
108 |
+
float: left; }
|
109 |
+
.nt_grid .nt_row .nt_item_wrap:first-child {
|
110 |
+
padding-right: 0.5em; }
|
111 |
+
.nt_grid .nt_row .nt_item_wrap:last-child {
|
112 |
+
padding-left: 0.5em; }
|
113 |
+
.nt_2_column .nt_item_wrap {
|
114 |
+
width: 50%; }
|
115 |
+
.nt_3_column .nt_item_wrap {
|
116 |
+
width: 33.3%; }
|
117 |
+
.nt_3_column .nt_item_wrap:nth-child(2) {
|
118 |
+
padding: 0 0.5em; }
|
119 |
+
.nt_chart table {
|
120 |
+
width: 100%; }
|
121 |
+
.nt_chart table th,
|
122 |
+
.nt_chart table td {
|
123 |
+
border-bottom: 1px solid #ddd;
|
124 |
+
padding: 3px; }
|
125 |
+
.nt_chart table .nt_peak_time_wrapper {
|
126 |
+
padding: 0;
|
127 |
+
text-align: center; }
|
128 |
+
.nt_chart table .nt_peak_time_wrapper .nt_item_info {
|
129 |
+
height: 100%; }
|
130 |
+
.nt_chart table .nt_peak_time_wrapper .nt_item_info td {
|
131 |
+
border-bottom: 0;
|
132 |
+
-webkit-border-radius: 0.2em;
|
133 |
+
-moz-border-radius: 0.2em;
|
134 |
+
-ms-border-radius: 0.2em;
|
135 |
+
-o-border-radius: 0.2em;
|
136 |
+
border-radius: 0.2em; }
|
137 |
+
.nt_chart table th {
|
138 |
+
text-align: left; }
|
139 |
+
.nt_chart table th svg {
|
140 |
+
margin: 0 auto; }
|
141 |
+
.nt_chart table .nt_position {
|
142 |
+
min-width: 25px; }
|
143 |
+
.nt_chart table .nt_table_item {
|
144 |
+
padding: .5em 1em; }
|
145 |
+
.nt_chart table .nt_peak {
|
146 |
+
min-width: 15px; }
|
147 |
+
.nt_chart table .nt_img_wrap {
|
148 |
+
/*padding: 5px 5px 5px 0;*/ }
|
149 |
+
.nt_chart table .nt_img_wrap img {
|
150 |
+
display: block;
|
151 |
+
max-height: 40px; }
|
152 |
+
.nt_chart table .nt_position,
|
153 |
+
.nt_chart table .nt_peak,
|
154 |
+
.nt_chart table .nt_time {
|
155 |
+
text-align: center; }
|
156 |
+
.nt_chart table tfoot td {
|
157 |
+
background: #F8F8F7;
|
158 |
+
border: 0; }
|
159 |
+
.nt_chart table tfoot .nt_item_info td {
|
160 |
+
background: #e7e7e4; }
|
161 |
+
.nt_chart table tfoot .nt_table_item {
|
162 |
+
background: #F8F8F7 url(../img/ntoklo_logo_charts.png) no-repeat 95% center; }
|
163 |
+
.nt_style.nt_wrapper {
|
164 |
+
border: 1px solid #eee;
|
165 |
+
-webkit-border-radius: 3px;
|
166 |
+
-moz-border-radius: 3px;
|
167 |
+
-ms-border-radius: 3px;
|
168 |
+
-o-border-radius: 3px;
|
169 |
+
border-radius: 3px; }
|
170 |
+
.nt_style.nt_wrapper .nt_header {
|
171 |
+
margin: 0;
|
172 |
+
padding: .5em;
|
173 |
+
-webkit-border-top-left-radius: 3px;
|
174 |
+
-moz-border-top-left-radius: 3px;
|
175 |
+
-ms-border-top-left-radius: 3px;
|
176 |
+
-o-border-top-left-radius: 3px;
|
177 |
+
border-top-left-radius: 3px;
|
178 |
+
-webkit-border-top-right-radius: 3px;
|
179 |
+
-moz-border-top-right-radius: 3px;
|
180 |
+
-ms-border-top-right-radius: 3px;
|
181 |
+
-o-border-top-right-radius: 3px;
|
182 |
+
border-top-right-radius: 3px; }
|
183 |
+
.nt_style.nt_product_title {
|
184 |
+
border-bottom: 1px solid #ddd; }
|
185 |
+
.nt_style.nt_row.nt_r3 li, .nt_style.nt_row.nt_r4 li {
|
186 |
+
padding: 0.5em; }
|
187 |
+
.nt_style.nt_grid .nt_item_wrap, .nt_style.nt_column .nt_item_wrap {
|
188 |
+
padding: 1em; }
|
189 |
+
.nt_chart .nt_logo {
|
190 |
+
background: transparent url(../img/ntoklo_logo_charts.png) no-repeat right center; }
|
191 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
192 |
+
.nt_chart .nt_logo {
|
193 |
+
background-image: url(../img/ntoklo_logo_charts_2x.png);
|
194 |
+
background-size: 142px 27px; } }
|
195 |
@media screen and (max-width: 768px) {
|
196 |
+
.nt_wrapper .nt_row li .nt_item_wrap img {
|
197 |
+
max-height: 100px; }
|
198 |
+
.nt_style .nt_header {
|
199 |
+
padding: 0.5rem 1em; }
|
200 |
+
.nt_style .nt_row .nt_header {
|
201 |
+
padding: 0.5em 1rem; }
|
202 |
+
.nt_style.nt_grid.nt_2_column .nt_row .nt_item_wrap {
|
203 |
+
padding: 1em;
|
204 |
+
width: 50%; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
@media screen and (max-width: 480px) {
|
206 |
+
.nt_wrapper.nt_row li {
|
207 |
+
width: 100%; }
|
208 |
+
.nt_wrapper.nt_grid.nt_2_column .nt_row .nt_item_wrap, .nt_wrapper.nt_grid.nt_3_column .nt_row .nt_item_wrap {
|
209 |
+
margin: 0;
|
210 |
+
padding: 1em;
|
211 |
+
width: 100%; }
|
212 |
+
.nt_style .nt_header {
|
213 |
+
padding: 0.5rem 1em; } }
|
|
|
|
|
|
|
|
|
214 |
@media screen and (max-width: 320px) {
|
215 |
+
.nt_wrapper.nt_row li {
|
216 |
+
border-bottom: 1px solid #ddd;
|
217 |
+
width: 100%; }
|
218 |
+
.nt_wrapper.nt_column.nt_img_right .nt_product_price {
|
219 |
+
float: none; }
|
220 |
+
.nt_wrapper.nt_column.nt_img_right a {
|
221 |
+
margin-top: 0; }
|
222 |
+
.nt_wrapper.nt_grid.nt_2_column .nt_row .nt_item_wrap, .nt_wrapper.nt_grid.nt_3_column .nt_row .nt_item_wrap {
|
223 |
+
width: 100%; }
|
224 |
+
.nt_style .nt_header {
|
225 |
+
padding: 0.5rem 1em; } }
|
|
|
|
|
226 |
/* color schemes */
|
227 |
.nt_wrapper {
|
228 |
+
background: transparent; }
|
|
|
|
|
|
|
|
|
229 |
.nt_item_info td {
|
230 |
+
background: #ecece9; }
|
231 |
+
.nt_wrapper.nt_plum:not(.nt_chart) .nt_widget a.nt_btn {
|
232 |
+
background: #AC1873; }
|
233 |
+
.nt_wrapper.nt_plum:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_plum:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
234 |
+
background: #d91e91; }
|
235 |
+
.nt_wrapper.nt_pink:not(.nt_chart) .nt_widget a.nt_btn {
|
236 |
+
background: #CE0E5C; }
|
237 |
+
.nt_wrapper.nt_pink:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_pink:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
238 |
+
background: #f01f74; }
|
239 |
+
.nt_wrapper.nt_orange:not(.nt_chart) .nt_widget a.nt_btn {
|
240 |
+
background: #D15915; }
|
241 |
+
.nt_wrapper.nt_orange:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_orange:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
242 |
+
background: #ea732f; }
|
243 |
+
.nt_wrapper.nt_green:not(.nt_chart) .nt_widget a.nt_btn {
|
244 |
+
background: #4A9834; }
|
245 |
+
.nt_wrapper.nt_green:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_green:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
246 |
+
background: #5dbe41; }
|
247 |
+
.nt_wrapper.nt_blue:not(.nt_chart) .nt_widget a.nt_btn {
|
248 |
+
background: #008999; }
|
249 |
+
.nt_wrapper.nt_blue:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_blue:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
250 |
+
background: #00b7cc; }
|
251 |
+
.nt_wrapper.nt_dark_blue:not(.nt_chart) .nt_widget a.nt_btn {
|
252 |
+
background: #5F668A; }
|
253 |
+
.nt_wrapper.nt_dark_blue:not(.nt_chart) .nt_widget a.nt_btn:hover, .nt_wrapper.nt_dark_blue:not(.nt_chart) .nt_widget a.nt_btn:focus {
|
254 |
+
background: #7980a3; }
|
255 |
+
.nt_style.nt_plum .nt_header, .nt_style.nt_pink .nt_header, .nt_style.nt_orange .nt_header, .nt_style.nt_green .nt_header, .nt_style.nt_blue .nt_header, .nt_style.nt_dark_blue .nt_header {
|
256 |
+
color: #fff; }
|
257 |
+
.nt_style.nt_plum {
|
258 |
+
/*&.nt_chart {
|
259 |
+
th {
|
260 |
+
background: #F6E8F1;
|
261 |
+
}
|
262 |
+
}*/ }
|
263 |
+
.nt_style.nt_plum .nt_header {
|
264 |
+
background-color: #AC1873; }
|
265 |
+
.nt_style.nt_plum a {
|
266 |
+
color: #AC1873; }
|
267 |
+
.nt_style.nt_plum .nt_product_price {
|
268 |
+
color: #7f1255; }
|
269 |
+
.nt_style.nt_pink {
|
270 |
+
/*&.nt_chart {
|
271 |
+
th {
|
272 |
+
background: #FAEAF1;
|
273 |
+
}
|
274 |
+
}*/ }
|
275 |
+
.nt_style.nt_pink .nt_header {
|
276 |
+
background-color: #CE0E5C; }
|
277 |
+
.nt_style.nt_pink a {
|
278 |
+
color: #CE0E5C; }
|
279 |
+
.nt_style.nt_pink .nt_product_price {
|
280 |
+
color: #9e0b47; }
|
281 |
+
.nt_style.nt_orange {
|
282 |
+
/*&.nt_chart {
|
283 |
+
th {
|
284 |
+
background: #fdf0e8;
|
285 |
+
}
|
286 |
+
}*/ }
|
287 |
+
.nt_style.nt_orange .nt_header {
|
288 |
+
background-color: #D15915; }
|
289 |
+
.nt_style.nt_orange a {
|
290 |
+
color: #D15915; }
|
291 |
+
.nt_style.nt_orange .nt_product_price {
|
292 |
+
color: #a34510; }
|
293 |
+
.nt_style.nt_green {
|
294 |
+
/*&.nt_chart {
|
295 |
+
th {
|
296 |
+
background: #dff2d9;
|
297 |
+
}
|
298 |
+
}*/ }
|
299 |
+
.nt_style.nt_green .nt_header {
|
300 |
+
background-color: #4A9834; }
|
301 |
+
.nt_style.nt_green a {
|
302 |
+
color: #4A9834; }
|
303 |
+
.nt_style.nt_green .nt_product_price {
|
304 |
+
color: #387227; }
|
305 |
+
.nt_style.nt_blue {
|
306 |
+
/*&.nt_chart {
|
307 |
+
th {
|
308 |
+
background: #E5F2F3;
|
309 |
+
}
|
310 |
+
}*/ }
|
311 |
+
.nt_style.nt_blue .nt_header {
|
312 |
+
background-color: #008999; }
|
313 |
+
.nt_style.nt_blue a {
|
314 |
+
color: #008999; }
|
315 |
+
.nt_style.nt_blue .nt_product_price {
|
316 |
+
color: #005b66; }
|
317 |
+
.nt_style.nt_dark_blue {
|
318 |
+
/*&.nt_chart {
|
319 |
+
th {
|
320 |
+
background: #E5F2F3;
|
321 |
+
}
|
322 |
+
}*/ }
|
323 |
+
.nt_style.nt_dark_blue .nt_header {
|
324 |
+
background-color: #5F668A; }
|
325 |
+
.nt_style.nt_dark_blue a {
|
326 |
+
color: #5F668A; }
|
327 |
+
.nt_style.nt_dark_blue .nt_product_price {
|
328 |
+
color: #4a506c; }
|
|