Version Notes
Version 1.0.2
* Minor bug fixes
Build Date: 2016-04-24
Download this release
Release Info
| Developer | Numerno |
| Extension | Numerno_Visilabs |
| Version | 1.0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.1 to 1.0.2
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/{BasketCEP.php → Abstract.php} +20 -25
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Cart.php +6 -87
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Customer.php +5 -86
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Order.php +5 -86
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Product.php +6 -87
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/CountOut.php +2 -4
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/CustomerAttributes.php +7 -5
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/OrderAttributes.php +2 -4
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/QuoteAttributes.php +2 -4
- app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/VisibleProductAttributes.php +2 -4
- app/code/local/Numerno/Visilabs/Block/Global.php +5 -4
- app/code/local/Numerno/Visilabs/Block/Tagging.php +11 -3
- app/code/local/Numerno/Visilabs/Helper/Data.php +8 -4
- app/code/local/Numerno/Visilabs/Model/Observer.php +1 -3
- app/code/local/Numerno/Visilabs/Model/System/Config/Backend/Attributes.php +3 -5
- app/code/local/Numerno/Visilabs/Model/System/Config/Backend/Cache.php +2 -4
- app/code/local/Numerno/Visilabs/Model/System/Config/Source/Attribute.php +1 -4
- app/code/local/Numerno/Visilabs/Model/System/Config/Source/Cid.php +1 -4
- app/code/local/Numerno/Visilabs/etc/adminhtml.xml +24 -28
- app/code/local/Numerno/Visilabs/etc/config.xml +25 -29
- app/code/local/Numerno/Visilabs/etc/system.xml +24 -28
- app/design/frontend/base/default/layout/visilabs.xml +24 -28
- app/design/frontend/base/default/template/visilabs/global.phtml +2 -3
- app/design/frontend/base/default/template/visilabs/tagging.phtml +1 -3
- app/etc/modules/Numerno_Visilabs.xml +24 -28
- package.xml +8 -8
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/{BasketCEP.php → Abstract.php}
RENAMED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,18 +21,18 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Visilabs
|
| 35 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 36 |
*/
|
| 37 |
-
class
|
| 38 |
extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
|
| 39 |
{
|
| 40 |
/**
|
|
@@ -43,40 +41,37 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_BasketCEP
|
|
| 43 |
protected $_attributeRenderer;
|
| 44 |
|
| 45 |
/**
|
| 46 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
*/
|
| 48 |
-
|
| 49 |
|
| 50 |
/**
|
| 51 |
* Retrieve attribute renderer
|
| 52 |
*/
|
| 53 |
protected function _getAttributeRenderer()
|
| 54 |
{
|
| 55 |
-
if (!$this->_attributeRenderer) {
|
| 56 |
-
$this->_attributeRenderer = $this->getLayout()->createBlock(
|
| 57 |
-
'visilabs/adminhtml_system_config_form_field_renderer_quoteAttributes', '',
|
| 58 |
-
array('is_render_to_js_template' => true)
|
| 59 |
-
);
|
| 60 |
-
$this->_attributeRenderer->setClass('attribute_select');
|
| 61 |
-
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 62 |
-
}
|
| 63 |
return $this->_attributeRenderer;
|
| 64 |
}
|
| 65 |
|
| 66 |
/**
|
| 67 |
-
* Retrieve
|
| 68 |
*/
|
| 69 |
-
protected function
|
| 70 |
{
|
| 71 |
-
if (!$this->
|
| 72 |
-
$this->
|
| 73 |
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 74 |
array('is_render_to_js_template' => true)
|
| 75 |
);
|
| 76 |
-
$this->
|
| 77 |
-
$this->
|
| 78 |
}
|
| 79 |
-
return $this->
|
| 80 |
}
|
| 81 |
|
| 82 |
/**
|
|
@@ -86,10 +81,10 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_BasketCEP
|
|
| 86 |
{
|
| 87 |
$this->addColumn('param', array(
|
| 88 |
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 89 |
-
'renderer' => $this->
|
| 90 |
));
|
| 91 |
$this->addColumn('attribute', array(
|
| 92 |
-
'label' => Mage::helper('visilabs')->__(
|
| 93 |
'renderer' => $this->_getAttributeRenderer()
|
| 94 |
));
|
| 95 |
|
|
@@ -109,7 +104,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_BasketCEP
|
|
| 109 |
'selected="selected"'
|
| 110 |
);
|
| 111 |
$row->setData(
|
| 112 |
-
'option_extra_attr_' . $this->
|
| 113 |
'selected="selected"'
|
| 114 |
);
|
| 115 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Abstract Class for Attributes Form Field
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Visilabs
|
| 33 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 34 |
*/
|
| 35 |
+
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Abstract
|
| 36 |
extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
|
| 37 |
{
|
| 38 |
/**
|
| 41 |
protected $_attributeRenderer;
|
| 42 |
|
| 43 |
/**
|
| 44 |
+
* Custom Event Parameters renderer cache
|
| 45 |
+
*/
|
| 46 |
+
protected $_cepRenderer;
|
| 47 |
+
|
| 48 |
+
/**
|
| 49 |
+
* Attribute column name
|
| 50 |
*/
|
| 51 |
+
public $_columnName = 'Attribute';
|
| 52 |
|
| 53 |
/**
|
| 54 |
* Retrieve attribute renderer
|
| 55 |
*/
|
| 56 |
protected function _getAttributeRenderer()
|
| 57 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
return $this->_attributeRenderer;
|
| 59 |
}
|
| 60 |
|
| 61 |
/**
|
| 62 |
+
* Retrieve custom event parametera renderer
|
| 63 |
*/
|
| 64 |
+
protected function _getCepRenderer()
|
| 65 |
{
|
| 66 |
+
if (!$this->_cepRenderer) {
|
| 67 |
+
$this->_cepRenderer = $this->getLayout()->createBlock(
|
| 68 |
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 69 |
array('is_render_to_js_template' => true)
|
| 70 |
);
|
| 71 |
+
$this->_cepRenderer->setClass('attribute_select');
|
| 72 |
+
$this->_cepRenderer->setExtraParams('style="width:100px"');
|
| 73 |
}
|
| 74 |
+
return $this->_cepRenderer;
|
| 75 |
}
|
| 76 |
|
| 77 |
/**
|
| 81 |
{
|
| 82 |
$this->addColumn('param', array(
|
| 83 |
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 84 |
+
'renderer' => $this->_getCepRenderer()
|
| 85 |
));
|
| 86 |
$this->addColumn('attribute', array(
|
| 87 |
+
'label' => Mage::helper('visilabs')->__($this->_columnName),
|
| 88 |
'renderer' => $this->_getAttributeRenderer()
|
| 89 |
));
|
| 90 |
|
| 104 |
'selected="selected"'
|
| 105 |
);
|
| 106 |
$row->setData(
|
| 107 |
+
'option_extra_attr_' . $this->_getCepRenderer()->calcOptionHash($row->getData('param')),
|
| 108 |
'selected="selected"'
|
| 109 |
);
|
| 110 |
}
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Cart.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,29 +21,24 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Visilabs
|
| 35 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Cart
|
| 38 |
-
extends
|
| 39 |
{
|
| 40 |
/**
|
| 41 |
-
* Attribute
|
| 42 |
-
*/
|
| 43 |
-
protected $_attributeRenderer;
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Parameter no renderer cache
|
| 47 |
*/
|
| 48 |
-
|
| 49 |
|
| 50 |
/**
|
| 51 |
* Retrieve attribute renderer
|
|
@@ -60,81 +53,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Cart
|
|
| 60 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 61 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 62 |
}
|
| 63 |
-
return $this->_attributeRenderer;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/**
|
| 67 |
-
* Retrieve attribute renderer
|
| 68 |
-
*/
|
| 69 |
-
protected function _getNoRenderer()
|
| 70 |
-
{
|
| 71 |
-
if (!$this->_noRenderer) {
|
| 72 |
-
$this->_noRenderer = $this->getLayout()->createBlock(
|
| 73 |
-
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 74 |
-
array('is_render_to_js_template' => true)
|
| 75 |
-
);
|
| 76 |
-
$this->_noRenderer->setClass('attribute_select');
|
| 77 |
-
$this->_noRenderer->setExtraParams('style="width:100px"');
|
| 78 |
-
}
|
| 79 |
-
return $this->_noRenderer;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
/**
|
| 83 |
-
* Prepare to render
|
| 84 |
-
*/
|
| 85 |
-
protected function _prepareToRender()
|
| 86 |
-
{
|
| 87 |
-
$this->addColumn('param', array(
|
| 88 |
-
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 89 |
-
'renderer' => $this->_getNoRenderer()
|
| 90 |
-
));
|
| 91 |
-
$this->addColumn('attribute', array(
|
| 92 |
-
'label' => Mage::helper('visilabs')->__('Cart Attribute'),
|
| 93 |
-
'renderer' => $this->_getAttributeRenderer()
|
| 94 |
-
));
|
| 95 |
-
|
| 96 |
-
$this->_addAfter = false;
|
| 97 |
-
$this->_addButtonLabel = Mage::helper('visilabs')->__('Add Parameter');
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/**
|
| 101 |
-
* Prepare existing row data object
|
| 102 |
-
*
|
| 103 |
-
* @param Varien_Object
|
| 104 |
-
*/
|
| 105 |
-
protected function _prepareArrayRow(Varien_Object $row)
|
| 106 |
-
{
|
| 107 |
-
$row->setData(
|
| 108 |
-
'option_extra_attr_' . $this->_getAttributeRenderer()->calcOptionHash($row->getData('attribute')),
|
| 109 |
-
'selected="selected"'
|
| 110 |
-
);
|
| 111 |
-
$row->setData(
|
| 112 |
-
'option_extra_attr_' . $this->_getNoRenderer()->calcOptionHash($row->getData('param')),
|
| 113 |
-
'selected="selected"'
|
| 114 |
-
);
|
| 115 |
-
}
|
| 116 |
-
|
| 117 |
-
/**
|
| 118 |
-
* Render cell template
|
| 119 |
-
*
|
| 120 |
-
* @param string
|
| 121 |
-
*/
|
| 122 |
-
protected function _renderCellTemplate($columnName)
|
| 123 |
-
{
|
| 124 |
-
if (empty($this->_columns[$columnName])) {
|
| 125 |
-
throw new Exception(Mage::helper('adminhtml')->__('Wrong column name specified.'));
|
| 126 |
-
}
|
| 127 |
-
$column = $this->_columns[$columnName];
|
| 128 |
-
$inputName = $this->getElement()->getName() . '[#{_id}][' . $columnName . ']';
|
| 129 |
-
|
| 130 |
-
if ($column['renderer']) {
|
| 131 |
-
return $column['renderer']->setInputName($inputName)->setColumnName($columnName)->setColumn($column)
|
| 132 |
-
->toHtml();
|
| 133 |
-
}
|
| 134 |
|
| 135 |
-
return
|
| 136 |
-
($column['size'] ? 'size="' . $column['size'] . '"' : '') . ' class="' .
|
| 137 |
-
(isset($column['class']) ? $column['class'] : 'input-text') . '"'.
|
| 138 |
-
(isset($column['style']) ? ' style="'.$column['style'] . '"' : '') . '/>';
|
| 139 |
}
|
| 140 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Cart Attributes Form Field
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Visilabs
|
| 33 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Cart
|
| 36 |
+
extends Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Abstract
|
| 37 |
{
|
| 38 |
/**
|
| 39 |
+
* Attribute column name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
*/
|
| 41 |
+
public $_columnName = 'Cart Attribute';
|
| 42 |
|
| 43 |
/**
|
| 44 |
* Retrieve attribute renderer
|
| 53 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 54 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
return parent::_getAttributeRenderer();
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
}
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Customer.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -35,17 +33,12 @@
|
|
| 35 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Customer
|
| 38 |
-
extends
|
| 39 |
{
|
| 40 |
/**
|
| 41 |
-
* Attribute
|
| 42 |
-
*/
|
| 43 |
-
protected $_attributeRenderer;
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Parameter no renderer cache
|
| 47 |
*/
|
| 48 |
-
|
| 49 |
|
| 50 |
/**
|
| 51 |
* Retrieve attribute renderer
|
|
@@ -60,81 +53,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Customer
|
|
| 60 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 61 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 62 |
}
|
| 63 |
-
return $this->_attributeRenderer;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/**
|
| 67 |
-
* Retrieve attribute renderer
|
| 68 |
-
*/
|
| 69 |
-
protected function _getNoRenderer()
|
| 70 |
-
{
|
| 71 |
-
if (!$this->_noRenderer) {
|
| 72 |
-
$this->_noRenderer = $this->getLayout()->createBlock(
|
| 73 |
-
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 74 |
-
array('is_render_to_js_template' => true)
|
| 75 |
-
);
|
| 76 |
-
$this->_noRenderer->setClass('attribute_select');
|
| 77 |
-
$this->_noRenderer->setExtraParams('style="width:100px"');
|
| 78 |
-
}
|
| 79 |
-
return $this->_noRenderer;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
/**
|
| 83 |
-
* Prepare to render
|
| 84 |
-
*/
|
| 85 |
-
protected function _prepareToRender()
|
| 86 |
-
{
|
| 87 |
-
$this->addColumn('param', array(
|
| 88 |
-
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 89 |
-
'renderer' => $this->_getNoRenderer()
|
| 90 |
-
));
|
| 91 |
-
$this->addColumn('attribute', array(
|
| 92 |
-
'label' => Mage::helper('visilabs')->__('Customer Attribute'),
|
| 93 |
-
'renderer' => $this->_getAttributeRenderer()
|
| 94 |
-
));
|
| 95 |
-
|
| 96 |
-
$this->_addAfter = false;
|
| 97 |
-
$this->_addButtonLabel = Mage::helper('visilabs')->__('Add Parameter');
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/**
|
| 101 |
-
* Prepare existing row data object
|
| 102 |
-
*
|
| 103 |
-
* @param Varien_Object
|
| 104 |
-
*/
|
| 105 |
-
protected function _prepareArrayRow(Varien_Object $row)
|
| 106 |
-
{
|
| 107 |
-
$row->setData(
|
| 108 |
-
'option_extra_attr_' . $this->_getAttributeRenderer()->calcOptionHash($row->getData('attribute')),
|
| 109 |
-
'selected="selected"'
|
| 110 |
-
);
|
| 111 |
-
$row->setData(
|
| 112 |
-
'option_extra_attr_' . $this->_getNoRenderer()->calcOptionHash($row->getData('param')),
|
| 113 |
-
'selected="selected"'
|
| 114 |
-
);
|
| 115 |
-
}
|
| 116 |
-
|
| 117 |
-
/**
|
| 118 |
-
* Render cell template
|
| 119 |
-
*
|
| 120 |
-
* @param string
|
| 121 |
-
*/
|
| 122 |
-
protected function _renderCellTemplate($columnName)
|
| 123 |
-
{
|
| 124 |
-
if (empty($this->_columns[$columnName])) {
|
| 125 |
-
throw new Exception(Mage::helper('adminhtml')->__('Wrong column name specified.'));
|
| 126 |
-
}
|
| 127 |
-
$column = $this->_columns[$columnName];
|
| 128 |
-
$inputName = $this->getElement()->getName() . '[#{_id}][' . $columnName . ']';
|
| 129 |
-
|
| 130 |
-
if ($column['renderer']) {
|
| 131 |
-
return $column['renderer']->setInputName($inputName)->setColumnName($columnName)->setColumn($column)
|
| 132 |
-
->toHtml();
|
| 133 |
-
}
|
| 134 |
|
| 135 |
-
return
|
| 136 |
-
($column['size'] ? 'size="' . $column['size'] . '"' : '') . ' class="' .
|
| 137 |
-
(isset($column['class']) ? $column['class'] : 'input-text') . '"'.
|
| 138 |
-
(isset($column['style']) ? ' style="'.$column['style'] . '"' : '') . '/>';
|
| 139 |
}
|
| 140 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 33 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Customer
|
| 36 |
+
extends Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Abstract
|
| 37 |
{
|
| 38 |
/**
|
| 39 |
+
* Attribute column name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
*/
|
| 41 |
+
public $_columnName = 'Customer Attribute';
|
| 42 |
|
| 43 |
/**
|
| 44 |
* Retrieve attribute renderer
|
| 53 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 54 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
return parent::_getAttributeRenderer();
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
}
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Order.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -35,17 +33,12 @@
|
|
| 35 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Order
|
| 38 |
-
extends
|
| 39 |
{
|
| 40 |
/**
|
| 41 |
-
* Attribute
|
| 42 |
-
*/
|
| 43 |
-
protected $_attributeRenderer;
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Parameter no renderer cache
|
| 47 |
*/
|
| 48 |
-
|
| 49 |
|
| 50 |
/**
|
| 51 |
* Retrieve attribute renderer
|
|
@@ -60,81 +53,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Order
|
|
| 60 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 61 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 62 |
}
|
| 63 |
-
return $this->_attributeRenderer;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/**
|
| 67 |
-
* Retrieve attribute renderer
|
| 68 |
-
*/
|
| 69 |
-
protected function _getNoRenderer()
|
| 70 |
-
{
|
| 71 |
-
if (!$this->_noRenderer) {
|
| 72 |
-
$this->_noRenderer = $this->getLayout()->createBlock(
|
| 73 |
-
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 74 |
-
array('is_render_to_js_template' => true)
|
| 75 |
-
);
|
| 76 |
-
$this->_noRenderer->setClass('attribute_select');
|
| 77 |
-
$this->_noRenderer->setExtraParams('style="width:100px"');
|
| 78 |
-
}
|
| 79 |
-
return $this->_noRenderer;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
/**
|
| 83 |
-
* Prepare to render
|
| 84 |
-
*/
|
| 85 |
-
protected function _prepareToRender()
|
| 86 |
-
{
|
| 87 |
-
$this->addColumn('param', array(
|
| 88 |
-
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 89 |
-
'renderer' => $this->_getNoRenderer()
|
| 90 |
-
));
|
| 91 |
-
$this->addColumn('attribute', array(
|
| 92 |
-
'label' => Mage::helper('visilabs')->__('Order Attribute'),
|
| 93 |
-
'renderer' => $this->_getAttributeRenderer()
|
| 94 |
-
));
|
| 95 |
-
|
| 96 |
-
$this->_addAfter = false;
|
| 97 |
-
$this->_addButtonLabel = Mage::helper('visilabs')->__('Add Parameter');
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/**
|
| 101 |
-
* Prepare existing row data object
|
| 102 |
-
*
|
| 103 |
-
* @param Varien_Object
|
| 104 |
-
*/
|
| 105 |
-
protected function _prepareArrayRow(Varien_Object $row)
|
| 106 |
-
{
|
| 107 |
-
$row->setData(
|
| 108 |
-
'option_extra_attr_' . $this->_getAttributeRenderer()->calcOptionHash($row->getData('attribute')),
|
| 109 |
-
'selected="selected"'
|
| 110 |
-
);
|
| 111 |
-
$row->setData(
|
| 112 |
-
'option_extra_attr_' . $this->_getNoRenderer()->calcOptionHash($row->getData('param')),
|
| 113 |
-
'selected="selected"'
|
| 114 |
-
);
|
| 115 |
-
}
|
| 116 |
-
|
| 117 |
-
/**
|
| 118 |
-
* Render cell template
|
| 119 |
-
*
|
| 120 |
-
* @param string
|
| 121 |
-
*/
|
| 122 |
-
protected function _renderCellTemplate($columnName)
|
| 123 |
-
{
|
| 124 |
-
if (empty($this->_columns[$columnName])) {
|
| 125 |
-
throw new Exception(Mage::helper('adminhtml')->__('Wrong column name specified.'));
|
| 126 |
-
}
|
| 127 |
-
$column = $this->_columns[$columnName];
|
| 128 |
-
$inputName = $this->getElement()->getName() . '[#{_id}][' . $columnName . ']';
|
| 129 |
-
|
| 130 |
-
if ($column['renderer']) {
|
| 131 |
-
return $column['renderer']->setInputName($inputName)->setColumnName($columnName)->setColumn($column)
|
| 132 |
-
->toHtml();
|
| 133 |
-
}
|
| 134 |
|
| 135 |
-
return
|
| 136 |
-
($column['size'] ? 'size="' . $column['size'] . '"' : '') . ' class="' .
|
| 137 |
-
(isset($column['class']) ? $column['class'] : 'input-text') . '"'.
|
| 138 |
-
(isset($column['style']) ? ' style="'.$column['style'] . '"' : '') . '/>';
|
| 139 |
}
|
| 140 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 33 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Order
|
| 36 |
+
extends Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Abstract
|
| 37 |
{
|
| 38 |
/**
|
| 39 |
+
* Attribute column name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
*/
|
| 41 |
+
public $_columnName = 'Order Attribute';
|
| 42 |
|
| 43 |
/**
|
| 44 |
* Retrieve attribute renderer
|
| 53 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 54 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
return parent::_getAttributeRenderer();
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
}
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Product.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,29 +21,24 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Visilabs
|
| 35 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Product
|
| 38 |
-
extends
|
| 39 |
{
|
| 40 |
/**
|
| 41 |
-
* Attribute
|
| 42 |
-
*/
|
| 43 |
-
protected $_attributeRenderer;
|
| 44 |
-
|
| 45 |
-
/**
|
| 46 |
-
* Parameter no renderer cache
|
| 47 |
*/
|
| 48 |
-
|
| 49 |
|
| 50 |
/**
|
| 51 |
* Retrieve attribute renderer
|
|
@@ -60,81 +53,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Product
|
|
| 60 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 61 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 62 |
}
|
| 63 |
-
return $this->_attributeRenderer;
|
| 64 |
-
}
|
| 65 |
-
|
| 66 |
-
/**
|
| 67 |
-
* Retrieve attribute renderer
|
| 68 |
-
*/
|
| 69 |
-
protected function _getNoRenderer()
|
| 70 |
-
{
|
| 71 |
-
if (!$this->_noRenderer) {
|
| 72 |
-
$this->_noRenderer = $this->getLayout()->createBlock(
|
| 73 |
-
'visilabs/adminhtml_system_config_form_field_renderer_countOut', '',
|
| 74 |
-
array('is_render_to_js_template' => true)
|
| 75 |
-
);
|
| 76 |
-
$this->_noRenderer->setClass('attribute_select');
|
| 77 |
-
$this->_noRenderer->setExtraParams('style="width:100px"');
|
| 78 |
-
}
|
| 79 |
-
return $this->_noRenderer;
|
| 80 |
-
}
|
| 81 |
-
|
| 82 |
-
/**
|
| 83 |
-
* Prepare to render
|
| 84 |
-
*/
|
| 85 |
-
protected function _prepareToRender()
|
| 86 |
-
{
|
| 87 |
-
$this->addColumn('param', array(
|
| 88 |
-
'label' => Mage::helper('visilabs')->__('Parameter'),
|
| 89 |
-
'renderer' => $this->_getNoRenderer()
|
| 90 |
-
));
|
| 91 |
-
$this->addColumn('attribute', array(
|
| 92 |
-
'label' => Mage::helper('visilabs')->__('Product Attribute'),
|
| 93 |
-
'renderer' => $this->_getAttributeRenderer()
|
| 94 |
-
));
|
| 95 |
-
|
| 96 |
-
$this->_addAfter = false;
|
| 97 |
-
$this->_addButtonLabel = Mage::helper('visilabs')->__('Add Parameter');
|
| 98 |
-
}
|
| 99 |
-
|
| 100 |
-
/**
|
| 101 |
-
* Prepare existing row data object
|
| 102 |
-
*
|
| 103 |
-
* @param Varien_Object
|
| 104 |
-
*/
|
| 105 |
-
protected function _prepareArrayRow(Varien_Object $row)
|
| 106 |
-
{
|
| 107 |
-
$row->setData(
|
| 108 |
-
'option_extra_attr_' . $this->_getAttributeRenderer()->calcOptionHash($row->getData('attribute')),
|
| 109 |
-
'selected="selected"'
|
| 110 |
-
);
|
| 111 |
-
$row->setData(
|
| 112 |
-
'option_extra_attr_' . $this->_getNoRenderer()->calcOptionHash($row->getData('param')),
|
| 113 |
-
'selected="selected"'
|
| 114 |
-
);
|
| 115 |
-
}
|
| 116 |
-
|
| 117 |
-
/**
|
| 118 |
-
* Render cell template
|
| 119 |
-
*
|
| 120 |
-
* @param string
|
| 121 |
-
*/
|
| 122 |
-
protected function _renderCellTemplate($columnName)
|
| 123 |
-
{
|
| 124 |
-
if (empty($this->_columns[$columnName])) {
|
| 125 |
-
throw new Exception(Mage::helper('adminhtml')->__('Wrong column name specified.'));
|
| 126 |
-
}
|
| 127 |
-
$column = $this->_columns[$columnName];
|
| 128 |
-
$inputName = $this->getElement()->getName() . '[#{_id}][' . $columnName . ']';
|
| 129 |
-
|
| 130 |
-
if ($column['renderer']) {
|
| 131 |
-
return $column['renderer']->setInputName($inputName)->setColumnName($columnName)->setColumn($column)
|
| 132 |
-
->toHtml();
|
| 133 |
-
}
|
| 134 |
|
| 135 |
-
return
|
| 136 |
-
($column['size'] ? 'size="' . $column['size'] . '"' : '') . ' class="' .
|
| 137 |
-
(isset($column['class']) ? $column['class'] : 'input-text') . '"'.
|
| 138 |
-
(isset($column['style']) ? ' style="'.$column['style'] . '"' : '') . '/>';
|
| 139 |
}
|
| 140 |
}
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Product Attributes Form Field
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Visilabs
|
| 33 |
* @author Numerno Bilisim Hiz. Tic. Ltd. Sti. <info@numerno.com>
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Product
|
| 36 |
+
extends Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Abstract
|
| 37 |
{
|
| 38 |
/**
|
| 39 |
+
* Attribute column name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
*/
|
| 41 |
+
public $_columnName = 'Product Attribute';
|
| 42 |
|
| 43 |
/**
|
| 44 |
* Retrieve attribute renderer
|
| 53 |
$this->_attributeRenderer->setClass('attribute_select');
|
| 54 |
$this->_attributeRenderer->setExtraParams('style="width:200px"');
|
| 55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
|
| 57 |
+
return parent::_getAttributeRenderer();
|
|
|
|
|
|
|
|
|
|
| 58 |
}
|
| 59 |
}
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/CountOut.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Euromsg
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Custom Event Parameters (OM.cep1-10) Form Field Renderer
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Euromsg
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/CustomerAttributes.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
* Customer
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Euromsg
|
|
@@ -55,6 +53,10 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Renderer_Custome
|
|
| 55 |
{
|
| 56 |
if (is_null($this->_attributes)) {
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
$this->_attributes = array(
|
| 59 |
'entity_id' => Mage::helper('visilabs')->__('Customer ID (entity_id)'),
|
| 60 |
'_group' => Mage::helper('visilabs')->__('Group Name')
|
|
@@ -65,7 +67,7 @@ class Numerno_Visilabs_Block_Adminhtml_System_Config_Form_Field_Renderer_Custome
|
|
| 65 |
->setEntityTypeFilter(Mage::getSingleton('eav/config')->getEntityType('customer'))
|
| 66 |
->addFieldToFilter(
|
| 67 |
'attribute_code',
|
| 68 |
-
array('nin' =>
|
| 69 |
);
|
| 70 |
|
| 71 |
foreach ($attributes as $attribute) {
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Customer Attributes Form Field Renderer
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Euromsg
|
| 53 |
{
|
| 54 |
if (is_null($this->_attributes)) {
|
| 55 |
|
| 56 |
+
$disabledAttributes = array('password_hash', 'default_billing', 'default_shipping', 'confirmation',
|
| 57 |
+
'rp_token', 'rp_token_created_at', 'disable_auto_group_change', 'reward_update_notification',
|
| 58 |
+
'reward_warning_notification', 'dob', 'email', 'firstname', 'lastname', 'gender');
|
| 59 |
+
|
| 60 |
$this->_attributes = array(
|
| 61 |
'entity_id' => Mage::helper('visilabs')->__('Customer ID (entity_id)'),
|
| 62 |
'_group' => Mage::helper('visilabs')->__('Group Name')
|
| 67 |
->setEntityTypeFilter(Mage::getSingleton('eav/config')->getEntityType('customer'))
|
| 68 |
->addFieldToFilter(
|
| 69 |
'attribute_code',
|
| 70 |
+
array('nin' => $disabledAttributes)
|
| 71 |
);
|
| 72 |
|
| 73 |
foreach ($attributes as $attribute) {
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/OrderAttributes.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
* Order
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Euromsg
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Order Attributes Form Field Renderer
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Euromsg
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/QuoteAttributes.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
* Quote
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Euromsg
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Quote Attributes Form Field Renderer
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Euromsg
|
app/code/local/Numerno/Visilabs/Block/Adminhtml/System/Config/Form/Field/Renderer/VisibleProductAttributes.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Euromsg
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Product Attributes Form Field Renderer
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Euromsg
|
app/code/local/Numerno/Visilabs/Block/Global.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -36,10 +34,13 @@
|
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Global extends Mage_Core_Block_Template
|
| 38 |
{
|
|
|
|
|
|
|
|
|
|
| 39 |
const VISILABS_URL = 'vsh.visilabs.net';
|
| 40 |
|
| 41 |
/**
|
| 42 |
-
* Visilabs Site
|
| 43 |
*
|
| 44 |
* @return string
|
| 45 |
*/
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Global extends Mage_Core_Block_Template
|
| 36 |
{
|
| 37 |
+
/**
|
| 38 |
+
* Visilabs Static Host URL
|
| 39 |
+
*/
|
| 40 |
const VISILABS_URL = 'vsh.visilabs.net';
|
| 41 |
|
| 42 |
/**
|
| 43 |
+
* Visilabs Site Id
|
| 44 |
*
|
| 45 |
* @return string
|
| 46 |
*/
|
app/code/local/Numerno/Visilabs/Block/Tagging.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -36,6 +34,11 @@
|
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Block_Tagging extends Mage_Core_Block_Template
|
| 38 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
public function getParams()
|
| 40 |
{
|
| 41 |
$session = Mage::getSingleton('core/session', array("name" => "frontend"));
|
|
@@ -62,6 +65,11 @@ class Numerno_Visilabs_Block_Tagging extends Mage_Core_Block_Template
|
|
| 62 |
|
| 63 |
}
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
public function canSuggestActions()
|
| 66 |
{
|
| 67 |
return Mage::getStoreConfigFlag("visilabs/general/use_suggest");
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Block_Tagging extends Mage_Core_Block_Template
|
| 36 |
{
|
| 37 |
+
/**
|
| 38 |
+
* Get current Visilabs parameters from customer session
|
| 39 |
+
*
|
| 40 |
+
* @return string
|
| 41 |
+
*/
|
| 42 |
public function getParams()
|
| 43 |
{
|
| 44 |
$session = Mage::getSingleton('core/session', array("name" => "frontend"));
|
| 65 |
|
| 66 |
}
|
| 67 |
|
| 68 |
+
/**
|
| 69 |
+
* Check if action suggestion enabled
|
| 70 |
+
*
|
| 71 |
+
* @return bool
|
| 72 |
+
*/
|
| 73 |
public function canSuggestActions()
|
| 74 |
{
|
| 75 |
return Mage::getStoreConfigFlag("visilabs/general/use_suggest");
|
app/code/local/Numerno/Visilabs/Helper/Data.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,12 +21,12 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
* Helper
|
| 32 |
*
|
| 33 |
* @category Numerno
|
| 34 |
* @package Numerno_Visilabs
|
|
@@ -36,6 +34,12 @@
|
|
| 36 |
*/
|
| 37 |
class Numerno_Visilabs_Helper_Data extends Mage_Core_Helper_Abstract
|
| 38 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
public function isTaggingEnabled($event = null)
|
| 40 |
{
|
| 41 |
if (!$this->isModuleOutputEnabled()) {
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 28 |
/**
|
| 29 |
+
* Visilabs Helper
|
| 30 |
*
|
| 31 |
* @category Numerno
|
| 32 |
* @package Numerno_Visilabs
|
| 34 |
*/
|
| 35 |
class Numerno_Visilabs_Helper_Data extends Mage_Core_Helper_Abstract
|
| 36 |
{
|
| 37 |
+
/**
|
| 38 |
+
* Check if tagging enabled in store config
|
| 39 |
+
*
|
| 40 |
+
* @param string $event
|
| 41 |
+
* @return bool
|
| 42 |
+
*/
|
| 43 |
public function isTaggingEnabled($event = null)
|
| 44 |
{
|
| 45 |
if (!$this->isModuleOutputEnabled()) {
|
app/code/local/Numerno/Visilabs/Model/Observer.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
app/code/local/Numerno/Visilabs/Model/System/Config/Backend/Attributes.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -38,9 +36,9 @@ class Numerno_Visilabs_Model_System_Config_Backend_Attributes
|
|
| 38 |
extends Mage_Adminhtml_Model_System_Config_Backend_Serialized_Array
|
| 39 |
{
|
| 40 |
/**
|
| 41 |
-
*
|
| 42 |
*
|
| 43 |
-
* @return
|
| 44 |
*/
|
| 45 |
protected function _afterSave()
|
| 46 |
{
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 36 |
extends Mage_Adminhtml_Model_System_Config_Backend_Serialized_Array
|
| 37 |
{
|
| 38 |
/**
|
| 39 |
+
* Clean Visilabs cache after config save
|
| 40 |
*
|
| 41 |
+
* @return $this
|
| 42 |
*/
|
| 43 |
protected function _afterSave()
|
| 44 |
{
|
app/code/local/Numerno/Visilabs/Model/System/Config/Backend/Cache.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -37,7 +35,7 @@
|
|
| 37 |
class Numerno_Visilabs_Model_System_Config_Backend_Cache extends Mage_Core_Model_Config_Data
|
| 38 |
{
|
| 39 |
/**
|
| 40 |
-
*
|
| 41 |
*
|
| 42 |
* @return Mage_Core_Model_Config_Data
|
| 43 |
*/
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 35 |
class Numerno_Visilabs_Model_System_Config_Backend_Cache extends Mage_Core_Model_Config_Data
|
| 36 |
{
|
| 37 |
/**
|
| 38 |
+
* Clean Visilabs cache after config save
|
| 39 |
*
|
| 40 |
* @return Mage_Core_Model_Config_Data
|
| 41 |
*/
|
app/code/local/Numerno/Visilabs/Model/System/Config/Source/Attribute.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -53,7 +51,6 @@ class Numerno_Visilabs_Model_System_Config_Source_Attribute
|
|
| 53 |
$result[$attribute->getAttributeCode()] = $label . '(' . $attribute->getAttributeCode() . ')';
|
| 54 |
}
|
| 55 |
}
|
| 56 |
-
|
| 57 |
return $result;
|
| 58 |
}
|
| 59 |
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 51 |
$result[$attribute->getAttributeCode()] = $label . '(' . $attribute->getAttributeCode() . ')';
|
| 52 |
}
|
| 53 |
}
|
|
|
|
| 54 |
return $result;
|
| 55 |
}
|
| 56 |
|
app/code/local/Numerno/Visilabs/Model/System/Config/Source/Cid.php
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -47,7 +45,6 @@ class Numerno_Visilabs_Model_System_Config_Source_Cid
|
|
| 47 |
'entity_id' => Mage::helper('visilabs')->__('Customer Id'),
|
| 48 |
'email' => Mage::helper('visilabs')->__('Customer Email')
|
| 49 |
);
|
| 50 |
-
|
| 51 |
return $options;
|
| 52 |
}
|
| 53 |
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 45 |
'entity_id' => Mage::helper('visilabs')->__('Customer Id'),
|
| 46 |
'email' => Mage::helper('visilabs')->__('Customer Email')
|
| 47 |
);
|
|
|
|
| 48 |
return $options;
|
| 49 |
}
|
| 50 |
|
app/code/local/Numerno/Visilabs/etc/adminhtml.xml
CHANGED
|
@@ -1,33 +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 |
-
* @copyright Copyright (c) 2015 Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 28 |
-
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 29 |
-
*/
|
| 30 |
-
-->
|
| 31 |
<config>
|
| 32 |
<acl>
|
| 33 |
<resources>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
~ NOTICE OF LICENSE
|
| 4 |
+
~
|
| 5 |
+
~ This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 6 |
+
~ License (OSL 3.0). The Visilabs Magento Extension License is available at this URL:
|
| 7 |
+
~ http://numerno.com/licenses/visilabs-ce.txt The Open Software License is available at this URL:
|
| 8 |
+
~ http://opensource.org/licenses/osl-3.0.php
|
| 9 |
+
~
|
| 10 |
+
~ DISCLAIMER
|
| 11 |
+
~
|
| 12 |
+
~ By adding to, editing, or in any way modifying this code, Numerno is not held liable for any inconsistencies or
|
| 13 |
+
~ abnormalities in the behaviour of this code. By adding to, editing, or in any way modifying this code, the Licensee
|
| 14 |
+
~ terminates any agreement of support offered by Numerno, outlined in the provided Visilabs Magento Extension License.
|
| 15 |
+
~ Upon discovery of modified code in the process of support, the Licensee is still held accountable for any and all
|
| 16 |
+
~ billable time Numerno spent during the support process. Numerno does not guarantee compatibility with any other
|
| 17 |
+
~ Magento extension. Numerno is not responsbile for any inconsistencies or abnormalities in the behaviour of this
|
| 18 |
+
~ code if caused by other Magento extension.
|
| 19 |
+
~ If you did not receive a copy of the license, please send an email to info@numerno.com or call +90-212-223-5093,
|
| 20 |
+
~ so we can send you a copy immediately.
|
| 21 |
+
~
|
| 22 |
+
~ @category [Numerno]
|
| 23 |
+
~ @package [Numerno_Visilabs]
|
| 24 |
+
~ @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
+
~ @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<config>
|
| 28 |
<acl>
|
| 29 |
<resources>
|
app/code/local/Numerno/Visilabs/etc/config.xml
CHANGED
|
@@ -1,37 +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 |
-
* @copyright Copyright (c) 2015 Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 28 |
-
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 29 |
-
*/
|
| 30 |
-
-->
|
| 31 |
<config>
|
| 32 |
<modules>
|
| 33 |
<Numerno_Visilabs>
|
| 34 |
-
<version>1.0.
|
| 35 |
</Numerno_Visilabs>
|
| 36 |
</modules>
|
| 37 |
<global>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
~ NOTICE OF LICENSE
|
| 4 |
+
~
|
| 5 |
+
~ This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 6 |
+
~ License (OSL 3.0). The Visilabs Magento Extension License is available at this URL:
|
| 7 |
+
~ http://numerno.com/licenses/visilabs-ce.txt The Open Software License is available at this URL:
|
| 8 |
+
~ http://opensource.org/licenses/osl-3.0.php
|
| 9 |
+
~
|
| 10 |
+
~ DISCLAIMER
|
| 11 |
+
~
|
| 12 |
+
~ By adding to, editing, or in any way modifying this code, Numerno is not held liable for any inconsistencies or
|
| 13 |
+
~ abnormalities in the behaviour of this code. By adding to, editing, or in any way modifying this code, the Licensee
|
| 14 |
+
~ terminates any agreement of support offered by Numerno, outlined in the provided Visilabs Magento Extension License.
|
| 15 |
+
~ Upon discovery of modified code in the process of support, the Licensee is still held accountable for any and all
|
| 16 |
+
~ billable time Numerno spent during the support process. Numerno does not guarantee compatibility with any other
|
| 17 |
+
~ Magento extension. Numerno is not responsbile for any inconsistencies or abnormalities in the behaviour of this
|
| 18 |
+
~ code if caused by other Magento extension.
|
| 19 |
+
~ If you did not receive a copy of the license, please send an email to info@numerno.com or call +90-212-223-5093,
|
| 20 |
+
~ so we can send you a copy immediately.
|
| 21 |
+
~
|
| 22 |
+
~ @category [Numerno]
|
| 23 |
+
~ @package [Numerno_Visilabs]
|
| 24 |
+
~ @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
+
~ @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<config>
|
| 28 |
<modules>
|
| 29 |
<Numerno_Visilabs>
|
| 30 |
+
<version>1.0.2</version>
|
| 31 |
</Numerno_Visilabs>
|
| 32 |
</modules>
|
| 33 |
<global>
|
app/code/local/Numerno/Visilabs/etc/system.xml
CHANGED
|
@@ -1,33 +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 |
-
* @copyright Copyright (c) 2015 Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 28 |
-
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 29 |
-
*/
|
| 30 |
-
-->
|
| 31 |
<config>
|
| 32 |
<tabs>
|
| 33 |
<visilabs translate="label" module="visilabs">
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
~ NOTICE OF LICENSE
|
| 4 |
+
~
|
| 5 |
+
~ This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 6 |
+
~ License (OSL 3.0). The Visilabs Magento Extension License is available at this URL:
|
| 7 |
+
~ http://numerno.com/licenses/visilabs-ce.txt The Open Software License is available at this URL:
|
| 8 |
+
~ http://opensource.org/licenses/osl-3.0.php
|
| 9 |
+
~
|
| 10 |
+
~ DISCLAIMER
|
| 11 |
+
~
|
| 12 |
+
~ By adding to, editing, or in any way modifying this code, Numerno is not held liable for any inconsistencies or
|
| 13 |
+
~ abnormalities in the behaviour of this code. By adding to, editing, or in any way modifying this code, the Licensee
|
| 14 |
+
~ terminates any agreement of support offered by Numerno, outlined in the provided Visilabs Magento Extension License.
|
| 15 |
+
~ Upon discovery of modified code in the process of support, the Licensee is still held accountable for any and all
|
| 16 |
+
~ billable time Numerno spent during the support process. Numerno does not guarantee compatibility with any other
|
| 17 |
+
~ Magento extension. Numerno is not responsbile for any inconsistencies or abnormalities in the behaviour of this
|
| 18 |
+
~ code if caused by other Magento extension.
|
| 19 |
+
~ If you did not receive a copy of the license, please send an email to info@numerno.com or call +90-212-223-5093,
|
| 20 |
+
~ so we can send you a copy immediately.
|
| 21 |
+
~
|
| 22 |
+
~ @category [Numerno]
|
| 23 |
+
~ @package [Numerno_Visilabs]
|
| 24 |
+
~ @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
+
~ @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<config>
|
| 28 |
<tabs>
|
| 29 |
<visilabs translate="label" module="visilabs">
|
app/design/frontend/base/default/layout/visilabs.xml
CHANGED
|
@@ -1,33 +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 |
-
* @copyright Copyright (c) 2015 Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 28 |
-
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 29 |
-
*/
|
| 30 |
-
-->
|
| 31 |
<layout version="1.0.0">
|
| 32 |
<default>
|
| 33 |
<reference name="head" before="-">
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
~ NOTICE OF LICENSE
|
| 4 |
+
~
|
| 5 |
+
~ This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 6 |
+
~ License (OSL 3.0). The Visilabs Magento Extension License is available at this URL:
|
| 7 |
+
~ http://numerno.com/licenses/visilabs-ce.txt The Open Software License is available at this URL:
|
| 8 |
+
~ http://opensource.org/licenses/osl-3.0.php
|
| 9 |
+
~
|
| 10 |
+
~ DISCLAIMER
|
| 11 |
+
~
|
| 12 |
+
~ By adding to, editing, or in any way modifying this code, Numerno is not held liable for any inconsistencies or
|
| 13 |
+
~ abnormalities in the behaviour of this code. By adding to, editing, or in any way modifying this code, the Licensee
|
| 14 |
+
~ terminates any agreement of support offered by Numerno, outlined in the provided Visilabs Magento Extension License.
|
| 15 |
+
~ Upon discovery of modified code in the process of support, the Licensee is still held accountable for any and all
|
| 16 |
+
~ billable time Numerno spent during the support process. Numerno does not guarantee compatibility with any other
|
| 17 |
+
~ Magento extension. Numerno is not responsbile for any inconsistencies or abnormalities in the behaviour of this
|
| 18 |
+
~ code if caused by other Magento extension.
|
| 19 |
+
~ If you did not receive a copy of the license, please send an email to info@numerno.com or call +90-212-223-5093,
|
| 20 |
+
~ so we can send you a copy immediately.
|
| 21 |
+
~
|
| 22 |
+
~ @category [Numerno]
|
| 23 |
+
~ @package [Numerno_Visilabs]
|
| 24 |
+
~ @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
+
~ @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<layout version="1.0.0">
|
| 28 |
<default>
|
| 29 |
<reference name="head" before="-">
|
app/design/frontend/base/default/template/visilabs/global.phtml
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
|
@@ -44,3 +42,4 @@
|
|
| 44 |
document.getElementsByTagName("head")[0].appendChild(s);
|
| 45 |
//]]>
|
| 46 |
</script>
|
|
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
| 42 |
document.getElementsByTagName("head")[0].appendChild(s);
|
| 43 |
//]]>
|
| 44 |
</script>
|
| 45 |
+
<!-- Visilabs Global Script -->
|
app/design/frontend/base/default/template/visilabs/tagging.phtml
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
* Numerno - Visilabs Magento Extension
|
| 4 |
-
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
|
@@ -23,7 +21,7 @@
|
|
| 23 |
*
|
| 24 |
* @category [Numerno]
|
| 25 |
* @package [Numerno_Visilabs]
|
| 26 |
-
* @copyright Copyright (c)
|
| 27 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 28 |
*/
|
| 29 |
|
| 1 |
<?php
|
| 2 |
/**
|
|
|
|
|
|
|
| 3 |
* NOTICE OF LICENSE
|
| 4 |
*
|
| 5 |
* This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 21 |
*
|
| 22 |
* @category [Numerno]
|
| 23 |
* @package [Numerno_Visilabs]
|
| 24 |
+
* @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
*/
|
| 27 |
|
app/etc/modules/Numerno_Visilabs.xml
CHANGED
|
@@ -1,33 +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 |
-
* @copyright Copyright (c) 2015 Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 28 |
-
* @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 29 |
-
*/
|
| 30 |
-
-->
|
| 31 |
<config>
|
| 32 |
<modules>
|
| 33 |
<Numerno_Visilabs>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<!--
|
| 3 |
+
~ NOTICE OF LICENSE
|
| 4 |
+
~
|
| 5 |
+
~ This source file is subject to the NUMERNO VISILABS MAGENTO EXTENSION License, which extends the Open Software
|
| 6 |
+
~ License (OSL 3.0). The Visilabs Magento Extension License is available at this URL:
|
| 7 |
+
~ http://numerno.com/licenses/visilabs-ce.txt The Open Software License is available at this URL:
|
| 8 |
+
~ http://opensource.org/licenses/osl-3.0.php
|
| 9 |
+
~
|
| 10 |
+
~ DISCLAIMER
|
| 11 |
+
~
|
| 12 |
+
~ By adding to, editing, or in any way modifying this code, Numerno is not held liable for any inconsistencies or
|
| 13 |
+
~ abnormalities in the behaviour of this code. By adding to, editing, or in any way modifying this code, the Licensee
|
| 14 |
+
~ terminates any agreement of support offered by Numerno, outlined in the provided Visilabs Magento Extension License.
|
| 15 |
+
~ Upon discovery of modified code in the process of support, the Licensee is still held accountable for any and all
|
| 16 |
+
~ billable time Numerno spent during the support process. Numerno does not guarantee compatibility with any other
|
| 17 |
+
~ Magento extension. Numerno is not responsbile for any inconsistencies or abnormalities in the behaviour of this
|
| 18 |
+
~ code if caused by other Magento extension.
|
| 19 |
+
~ If you did not receive a copy of the license, please send an email to info@numerno.com or call +90-212-223-5093,
|
| 20 |
+
~ so we can send you a copy immediately.
|
| 21 |
+
~
|
| 22 |
+
~ @category [Numerno]
|
| 23 |
+
~ @package [Numerno_Visilabs]
|
| 24 |
+
~ @copyright Copyright (c) 2016. Numerno Bilisim Hiz. Tic. Ltd. Sti. (http://numerno.com/)
|
| 25 |
+
~ @license http://numerno.com/licenses/visilabs-ce.txt Numerno Visilabs Magento Extension License
|
| 26 |
+
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
<config>
|
| 28 |
<modules>
|
| 29 |
<Numerno_Visilabs>
|
package.xml
CHANGED
|
@@ -1,21 +1,21 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Numerno_Visilabs</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://numerno.com/licenses/visilabs-ce.txt">NUMERNO VISILABS MAGENTO EXTENSION</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Tagging Module for Visilabs omni-channel automation platform.</summary>
|
| 10 |
<description>This extension allows you to easily tag your Magento pages according to Visilabs platform requirements.</description>
|
| 11 |
-
<notes>Version 1.0.
|
| 12 |
-
*
|
| 13 |

|
| 14 |
-
Build Date: 2016-04-
|
| 15 |
<authors><author><name>Numerno</name><user>muhammedv</user><email>muhammedv@gmail.com</email></author></authors>
|
| 16 |
-
<date>2016-04-
|
| 17 |
-
<time>
|
| 18 |
-
<contents><target name="magelocal"><dir><dir name="Numerno"><dir name="Visilabs"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="
|
| 19 |
<compatible/>
|
| 20 |
-
<dependencies><required><php><min>5.3.0</min><max>6.
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Numerno_Visilabs</name>
|
| 4 |
+
<version>1.0.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://numerno.com/licenses/visilabs-ce.txt">NUMERNO VISILABS MAGENTO EXTENSION</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Tagging Module for Visilabs omni-channel automation platform.</summary>
|
| 10 |
<description>This extension allows you to easily tag your Magento pages according to Visilabs platform requirements.</description>
|
| 11 |
+
<notes>Version 1.0.2
|
| 12 |
+
* Minor bug fixes
|
| 13 |

|
| 14 |
+
Build Date: 2016-04-24</notes>
|
| 15 |
<authors><author><name>Numerno</name><user>muhammedv</user><email>muhammedv@gmail.com</email></author></authors>
|
| 16 |
+
<date>2016-04-24</date>
|
| 17 |
+
<time>14:11:51</time>
|
| 18 |
+
<contents><target name="magelocal"><dir><dir name="Numerno"><dir name="Visilabs"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Abstract.php" hash="7d38a214e18fa61a7424505e63a491ba"/><file name="Cart.php" hash="86e680ca6fd079796b6dafff36042b05"/><file name="Customer.php" hash="e3c647c805193e1ec1fc5104c0f0f385"/><file name="Order.php" hash="b051507447625b8f4acd90f01d9665a9"/><file name="Product.php" hash="e6c0f72c9914d22a620d5cbf43d82378"/><dir name="Renderer"><file name="CountOut.php" hash="dd4d9ab819f61ad445eee37c52127066"/><file name="CustomerAttributes.php" hash="5cc7511e322399bbaa6a364edd5d6634"/><file name="OrderAttributes.php" hash="b7f0fd0ef9e1c0cd6d0bda4c43f43ba8"/><file name="QuoteAttributes.php" hash="4e586d0656ad69ad31e2b9b219c7c5cf"/><file name="VisibleProductAttributes.php" hash="d40b362a9c5c24110547c908098a5633"/></dir></dir></dir></dir></dir></dir><file name="Global.php" hash="f14b6b7618e210058e85a9c7dbda98df"/><file name="Tagging.php" hash="41aba7b554ce1ffd67948d66924cc788"/></dir><dir name="Helper"><file name="Data.php" hash="16e7e4d7787e991aa273904bca128c2f"/></dir><dir name="Model"><file name="Observer.php" hash="7967158c7d8303c2ea54e9fe68bf060b"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="1f7990c0e906361939912e0a66a737c6"/><file name="Cache.php" hash="d53e3cfe521e95d645613b6aa86386dd"/></dir><dir name="Source"><file name="Attribute.php" hash="ab2c9cdd374d6f998c4ee241d5641aad"/><file name="Cid.php" hash="c883be222f69aa4f822c5e02b822313d"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="28c42dcb2015f7178c75a819b9dd035d"/><file name="config.xml" hash="dd31cdc9e9ec42a0176d73cb338f0973"/><file name="system.xml" hash="3e02c233d17b5db9b777230906855413"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Numerno_Visilabs.xml" hash="806e382e578e4d70e25d5111bb16b1ca"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="visilabs.xml" hash="57d620fd2d5c7845de1ed6ebf67069b6"/></dir><dir name="template"><dir name="visilabs"><file name="global.phtml" hash="f3afa853aec006e600377d4402f17d94"/><file name="tagging.phtml" hash="838fd4c3cc6bb8ecde05a737f17a20bf"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="visilabs"><file name="visilabs_logo.png" hash="8710ce7d462e1772c7fefc3804a7786c"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="tr_TR"><file name="Numerno_Visilabs.csv" hash="d7f049a08eb3b358d97151491d39838d"/></dir><dir name="en_US"><file name="Numerno_Visilabs.csv" hash="f466beb4c19c8d4788f994086ca3ce42"/></dir></dir></target></contents>
|
| 19 |
<compatible/>
|
| 20 |
+
<dependencies><required><php><min>5.3.0</min><max>6.9.9</max></php></required></dependencies>
|
| 21 |
</package>
|
