Version Notes
TurnTo Admin Extension
2.0 Adds support for Single Sign On
2.1 Re-wrote catalog feed generator
2.1.6 - Better catalog support in catalog feed generator.
2.2.0 - Support for sku average rating feed
2.2.2 - Minor bug fix
2.2.7 - Support for Magento Security Patch (SUPEE-6788)
Download this release
Release Info
| Developer | TurnTo Networks |
| Extension | socialcommerce_suite_by_turnto |
| Version | 2.2.7 |
| Comparing to | |
| See all releases | |
Code changes from version 2.2.5 to 2.2.7
- app/code/community/Turnto/Admin/Block/Adminhtml/System/Config/Feed.php +0 -1
- app/code/community/Turnto/Admin/Helper/Data.php +0 -1
- app/code/community/Turnto/Admin/controllers/{VersionController.php → Adminhtml/IndexController.php} +1 -1
- app/code/community/Turnto/Admin/controllers/{AdminControllers → Adminhtml}/TurntoController.php +5 -1
- app/code/community/Turnto/Admin/controllers/IndexController.php +30 -10
- app/code/community/Turnto/Admin/etc/adminhtml.xml +47 -0
- app/code/community/Turnto/Admin/etc/config.xml +25 -31
- app/code/community/Turnto/Admin/etc/system.xml +6 -7
- app/design/adminhtml/default/default/template/turnto/product_ratings_feed_tab.phtml +3 -5
- package.xml +5 -5
app/code/community/Turnto/Admin/Block/Adminhtml/System/Config/Feed.php
CHANGED
|
@@ -11,7 +11,6 @@ class Turnto_Admin_Block_Adminhtml_System_Config_Feed
|
|
| 11 |
|
| 12 |
public function __construct()
|
| 13 |
{
|
| 14 |
-
|
| 15 |
parent::__construct();
|
| 16 |
$this->setTemplate('turnto/adminhtml/system/config/feed.phtml');
|
| 17 |
// don't load the process the entire feed on config page load.
|
| 11 |
|
| 12 |
public function __construct()
|
| 13 |
{
|
|
|
|
| 14 |
parent::__construct();
|
| 15 |
$this->setTemplate('turnto/adminhtml/system/config/feed.phtml');
|
| 16 |
// don't load the process the entire feed on config page load.
|
app/code/community/Turnto/Admin/Helper/Data.php
CHANGED
|
@@ -40,7 +40,6 @@ class Turnto_Admin_Helper_Data extends Mage_Core_Helper_Data
|
|
| 40 |
return null;
|
| 41 |
|
| 42 |
$feed_url = rtrim($url, '/') . '/' . $site_key . '/' . $site_auth . '/turnto-skuaveragerating.xml';
|
| 43 |
-
//var_dump($feed_url);
|
| 44 |
|
| 45 |
return $feed_url;
|
| 46 |
}
|
| 40 |
return null;
|
| 41 |
|
| 42 |
$feed_url = rtrim($url, '/') . '/' . $site_key . '/' . $site_auth . '/turnto-skuaveragerating.xml';
|
|
|
|
| 43 |
|
| 44 |
return $feed_url;
|
| 45 |
}
|
app/code/community/Turnto/Admin/controllers/{VersionController.php → Adminhtml/IndexController.php}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
-
class
|
| 3 |
public function indexAction() {
|
| 4 |
echo Mage::getConfig()->getNode()->modules->Turnto_Admin->version;
|
| 5 |
}
|
| 1 |
<?php
|
| 2 |
+
class Turnto_Admin_Adminhtml_IndexController extends Mage_Core_Controller_Front_Action {
|
| 3 |
public function indexAction() {
|
| 4 |
echo Mage::getConfig()->getNode()->modules->Turnto_Admin->version;
|
| 5 |
}
|
app/code/community/Turnto/Admin/controllers/{AdminControllers → Adminhtml}/TurntoController.php
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
-
class
|
| 4 |
{
|
| 5 |
public function indexAction()
|
| 6 |
{
|
|
@@ -55,6 +55,10 @@ class Turnto_Admin_AdminControllers_TurntoController extends Mage_Adminhtml_Cont
|
|
| 55 |
|
| 56 |
$scope = $post['scope'];
|
| 57 |
$handle = fopen($path . 'histfeed.csv', 'w');
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
fwrite($handle, "ORDERID\tORDERDATE\tEMAIL\tITEMTITLE\tITEMURL\tITEMLINEID\tZIP\tFIRSTNAME\tLASTNAME\tSKU\tPRICE\tITEMIMAGEURL");
|
| 60 |
fwrite($handle, "\n");
|
| 1 |
<?php
|
| 2 |
|
| 3 |
+
class Turnto_Admin_Adminhtml_TurntoController extends Mage_Adminhtml_Controller_Action
|
| 4 |
{
|
| 5 |
public function indexAction()
|
| 6 |
{
|
| 55 |
|
| 56 |
$scope = $post['scope'];
|
| 57 |
$handle = fopen($path . 'histfeed.csv', 'w');
|
| 58 |
+
|
| 59 |
+
if (!$handle) {
|
| 60 |
+
Mage::throwException($this->__('Could not create historical feed file in directory ' . $path));
|
| 61 |
+
}
|
| 62 |
|
| 63 |
fwrite($handle, "ORDERID\tORDERDATE\tEMAIL\tITEMTITLE\tITEMURL\tITEMLINEID\tZIP\tFIRSTNAME\tLASTNAME\tSKU\tPRICE\tITEMIMAGEURL");
|
| 64 |
fwrite($handle, "\n");
|
app/code/community/Turnto/Admin/controllers/IndexController.php
CHANGED
|
@@ -9,24 +9,28 @@ class Turnto_Admin_IndexController extends Mage_Core_Controller_Front_Action
|
|
| 9 |
$resource = Mage::getSingleton('core/resource');
|
| 10 |
$readConnection = $resource->getConnection('core_read');
|
| 11 |
$params = $this->getRequest()->getParams();
|
| 12 |
-
|
| 13 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
$baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
| 15 |
$baseMediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product';
|
| 16 |
-
|
| 17 |
-
$storeId = 1;
|
| 18 |
-
}
|
| 19 |
$baseUrl = Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
| 20 |
$baseMediaUrl = Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product';
|
| 21 |
|
| 22 |
-
if (!isset($websiteId)) {
|
| 23 |
-
$websiteId = 1;
|
| 24 |
-
}
|
| 25 |
|
| 26 |
echo "SKU\tIMAGEURL\tTITLE\tPRICE\tCURRENCY\tACTIVE\tITEMURL\tCATEGORY\tKEYWORDS\tREPLACEMENTSKU\tINSTOCK\tVIRTUALPARENTCODE\tCATEGORYPATHJSON\tISCATEGORY";
|
| 27 |
echo "\n";
|
| 28 |
|
| 29 |
-
$pageSize =
|
| 30 |
$ids = Mage::getModel('catalog/product')
|
| 31 |
->getCollection()
|
| 32 |
->addStoreFilter($storeId)
|
|
@@ -47,8 +51,20 @@ class Turnto_Admin_IndexController extends Mage_Core_Controller_Front_Action
|
|
| 47 |
$parents = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
| 48 |
if (isset($parents[0])) {
|
| 49 |
// skip products with a parent
|
| 50 |
-
|
| 51 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
//SKU
|
| 53 |
echo $product->getSku();
|
| 54 |
echo "\t";
|
|
@@ -151,6 +167,10 @@ class Turnto_Admin_IndexController extends Mage_Core_Controller_Front_Action
|
|
| 151 |
|
| 152 |
|
| 153 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
}
|
| 155 |
|
| 156 |
|
| 9 |
$resource = Mage::getSingleton('core/resource');
|
| 10 |
$readConnection = $resource->getConnection('core_read');
|
| 11 |
$params = $this->getRequest()->getParams();
|
| 12 |
+
|
| 13 |
+
$storeId = 1;
|
| 14 |
+
if (isset($params['storeId'])) {
|
| 15 |
+
$storeId = $params['storeId'];
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
$websiteId = 1;
|
| 19 |
+
if (isset($params['websiteId'])) {
|
| 20 |
+
$websiteId = $params['websiteId'];
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
$baseUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
| 24 |
$baseMediaUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product';
|
| 25 |
+
|
|
|
|
|
|
|
| 26 |
$baseUrl = Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
| 27 |
$baseMediaUrl = Mage::app()->getStore($storeId)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product';
|
| 28 |
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
echo "SKU\tIMAGEURL\tTITLE\tPRICE\tCURRENCY\tACTIVE\tITEMURL\tCATEGORY\tKEYWORDS\tREPLACEMENTSKU\tINSTOCK\tVIRTUALPARENTCODE\tCATEGORYPATHJSON\tISCATEGORY";
|
| 31 |
echo "\n";
|
| 32 |
|
| 33 |
+
$pageSize = 100;
|
| 34 |
$ids = Mage::getModel('catalog/product')
|
| 35 |
->getCollection()
|
| 36 |
->addStoreFilter($storeId)
|
| 51 |
$parents = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
| 52 |
if (isset($parents[0])) {
|
| 53 |
// skip products with a parent
|
| 54 |
+
continue;
|
| 55 |
}
|
| 56 |
+
|
| 57 |
+
// $selectionCollection = $product->getTypeInstance(true)->getSelectionsCollection(
|
| 58 |
+
// $product->getTypeInstance(true)->getOptionsIds($product), $product
|
| 59 |
+
// );
|
| 60 |
+
//
|
| 61 |
+
// $bundledItems = array();
|
| 62 |
+
// foreach($selectionCollection as $option)
|
| 63 |
+
// {
|
| 64 |
+
// $bundledItems[] = $option->getSku();
|
| 65 |
+
// }
|
| 66 |
+
// print_r($bundledItems);
|
| 67 |
+
|
| 68 |
//SKU
|
| 69 |
echo $product->getSku();
|
| 70 |
echo "\t";
|
| 167 |
|
| 168 |
|
| 169 |
}
|
| 170 |
+
|
| 171 |
+
public function versionAction() {
|
| 172 |
+
echo Mage::getConfig()->getNode()->modules->Turnto_Admin->version;
|
| 173 |
+
}
|
| 174 |
}
|
| 175 |
|
| 176 |
|
app/code/community/Turnto/Admin/etc/adminhtml.xml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<config>
|
| 2 |
+
<!--<menu>-->
|
| 3 |
+
<!--<turntoadminmenu translate="title" module="adminhelper1">-->
|
| 4 |
+
<!--<title>TurnTo</title>-->
|
| 5 |
+
<!--<sort_order>200</sort_order>-->
|
| 6 |
+
<!--<children>-->
|
| 7 |
+
<!--<item1>-->
|
| 8 |
+
<!--<title>Integration</title>-->
|
| 9 |
+
<!--<action>adminhtml/turnto</action>-->
|
| 10 |
+
<!--<sort_order>1</sort_order>-->
|
| 11 |
+
<!--</item1>-->
|
| 12 |
+
<!--<item2>-->
|
| 13 |
+
<!--<title>Moderation</title>-->
|
| 14 |
+
<!--<action>adminhtml/turnto/redirect</action>-->
|
| 15 |
+
<!--<sort_order>2</sort_order>-->
|
| 16 |
+
<!--</item2>-->
|
| 17 |
+
<!--<item3>-->
|
| 18 |
+
<!--<title>Reporting</title>-->
|
| 19 |
+
<!--<action>adminhtml/turnto/redirect</action>-->
|
| 20 |
+
<!--<sort_order>3</sort_order>-->
|
| 21 |
+
<!--</item3>-->
|
| 22 |
+
<!--</children>-->
|
| 23 |
+
<!--</turntoadminmenu>-->
|
| 24 |
+
<!--</menu>-->
|
| 25 |
+
<!--<acl>-->
|
| 26 |
+
<!--<resources>-->
|
| 27 |
+
<!--<all>-->
|
| 28 |
+
<!--<title>Allow Everything</title>-->
|
| 29 |
+
<!--</all>-->
|
| 30 |
+
<!--<admin>-->
|
| 31 |
+
<!--<children>-->
|
| 32 |
+
<!--<system>-->
|
| 33 |
+
<!--<children>-->
|
| 34 |
+
<!--<config>-->
|
| 35 |
+
<!--<children>-->
|
| 36 |
+
<!--<turnto_admin>-->
|
| 37 |
+
<!--<title>Turnto Products Ratings</title>-->
|
| 38 |
+
<!--</turnto_admin>-->
|
| 39 |
+
<!--</children>-->
|
| 40 |
+
<!--</config>-->
|
| 41 |
+
<!--</children>-->
|
| 42 |
+
<!--</system>-->
|
| 43 |
+
<!--</children>-->
|
| 44 |
+
<!--</admin>-->
|
| 45 |
+
<!--</resources>-->
|
| 46 |
+
<!--</acl>-->
|
| 47 |
+
</config>
|
app/code/community/Turnto/Admin/etc/config.xml
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<adminhelper1>
|
| 23 |
<class>Turnto_Admin_Helper</class>
|
| 24 |
</adminhelper1>
|
| 25 |
-
</helpers>
|
| 26 |
<models>
|
| 27 |
<catalog>
|
| 28 |
<rewrite>
|
|
@@ -60,11 +60,11 @@
|
|
| 60 |
<frontName>turntocatalogfeed</frontName>
|
| 61 |
</args>
|
| 62 |
</turntocatfeed>
|
| 63 |
-
|
| 64 |
<use>standard</use>
|
| 65 |
<args>
|
| 66 |
-
<module>
|
| 67 |
-
<frontName>
|
| 68 |
</args>
|
| 69 |
</turntoversion>
|
| 70 |
</routers>
|
|
@@ -72,48 +72,42 @@
|
|
| 72 |
|
| 73 |
<admin>
|
| 74 |
<routers>
|
| 75 |
-
<
|
| 76 |
-
<use>admin</use>
|
| 77 |
<args>
|
| 78 |
-
<module>Turnto_Admin_AdminControllers</module>
|
| 79 |
-
<frontName>adminturnto</frontName>
|
| 80 |
-
|
| 81 |
<modules>
|
| 82 |
-
<
|
| 83 |
</modules>
|
| 84 |
</args>
|
| 85 |
-
</
|
| 86 |
</routers>
|
| 87 |
</admin>
|
| 88 |
-
|
| 89 |
<adminhtml>
|
| 90 |
<menu>
|
| 91 |
-
|
| 92 |
<title>TurnTo</title>
|
| 93 |
<sort_order>200</sort_order>
|
| 94 |
<children>
|
| 95 |
-
|
| 96 |
-
It actualy refers to one of the declared helpers -->
|
| 97 |
-
<item1 translate="title" module="adminhelper1">
|
| 98 |
<title>Integration</title>
|
| 99 |
-
<action>
|
| 100 |
-
<sort_order>1</sort_order>
|
| 101 |
</item1>
|
| 102 |
-
<item2
|
| 103 |
<title>Moderation</title>
|
| 104 |
-
<action>
|
| 105 |
-
<sort_order>2</sort_order>
|
| 106 |
</item2>
|
| 107 |
-
<item3
|
| 108 |
<title>Reporting</title>
|
| 109 |
-
<action>
|
| 110 |
-
<sort_order>3</sort_order>
|
| 111 |
-
</item3>
|
| 112 |
-
|
| 113 |
-
|
| 114 |
</menu>
|
| 115 |
-
|
| 116 |
-
|
| 117 |
<all>
|
| 118 |
<title>Allow Everything</title>
|
| 119 |
</all>
|
|
@@ -129,12 +123,12 @@
|
|
| 129 |
</children>
|
| 130 |
</config>
|
| 131 |
</children>
|
| 132 |
-
</system>
|
| 133 |
</children>
|
| 134 |
</admin>
|
| 135 |
</resources>
|
| 136 |
</acl>
|
| 137 |
-
</adminhtml>
|
| 138 |
<default>
|
| 139 |
<turnto_admin>
|
| 140 |
<feedconfig>
|
| 22 |
<adminhelper1>
|
| 23 |
<class>Turnto_Admin_Helper</class>
|
| 24 |
</adminhelper1>
|
| 25 |
+
</helpers>
|
| 26 |
<models>
|
| 27 |
<catalog>
|
| 28 |
<rewrite>
|
| 60 |
<frontName>turntocatalogfeed</frontName>
|
| 61 |
</args>
|
| 62 |
</turntocatfeed>
|
| 63 |
+
<turntoversion>
|
| 64 |
<use>standard</use>
|
| 65 |
<args>
|
| 66 |
+
<module>Turnto_Admin_Adminhtml</module>
|
| 67 |
+
<frontName>version</frontName>
|
| 68 |
</args>
|
| 69 |
</turntoversion>
|
| 70 |
</routers>
|
| 72 |
|
| 73 |
<admin>
|
| 74 |
<routers>
|
| 75 |
+
<adminhtml>
|
|
|
|
| 76 |
<args>
|
|
|
|
|
|
|
|
|
|
| 77 |
<modules>
|
| 78 |
+
<turntorouter after="Mage_Adminhtml">Turnto_Admin_Adminhtml</turntorouter>
|
| 79 |
</modules>
|
| 80 |
</args>
|
| 81 |
+
</adminhtml>
|
| 82 |
</routers>
|
| 83 |
</admin>
|
| 84 |
+
|
| 85 |
<adminhtml>
|
| 86 |
<menu>
|
| 87 |
+
<turntoadminmenu translate="title" module="adminhelper1">
|
| 88 |
<title>TurnTo</title>
|
| 89 |
<sort_order>200</sort_order>
|
| 90 |
<children>
|
| 91 |
+
<item1>
|
|
|
|
|
|
|
| 92 |
<title>Integration</title>
|
| 93 |
+
<action>adminhtml/turnto</action>
|
| 94 |
+
<sort_order>1</sort_order>
|
| 95 |
</item1>
|
| 96 |
+
<item2>
|
| 97 |
<title>Moderation</title>
|
| 98 |
+
<action>adminhtml/turnto/redirect</action>
|
| 99 |
+
<sort_order>2</sort_order>
|
| 100 |
</item2>
|
| 101 |
+
<item3>
|
| 102 |
<title>Reporting</title>
|
| 103 |
+
<action>adminhtml/turnto/redirect</action>
|
| 104 |
+
<sort_order>3</sort_order>
|
| 105 |
+
</item3>
|
| 106 |
+
</children>
|
| 107 |
+
</turntoadminmenu>
|
| 108 |
</menu>
|
| 109 |
+
<acl>
|
| 110 |
+
<resources>
|
| 111 |
<all>
|
| 112 |
<title>Allow Everything</title>
|
| 113 |
</all>
|
| 123 |
</children>
|
| 124 |
</config>
|
| 125 |
</children>
|
| 126 |
+
</system>
|
| 127 |
</children>
|
| 128 |
</admin>
|
| 129 |
</resources>
|
| 130 |
</acl>
|
| 131 |
+
</adminhtml>
|
| 132 |
<default>
|
| 133 |
<turnto_admin>
|
| 134 |
<feedconfig>
|
app/code/community/Turnto/Admin/etc/system.xml
CHANGED
|
@@ -37,8 +37,7 @@
|
|
| 37 |
<show_in_default>1</show_in_default>
|
| 38 |
<show_in_website>1</show_in_website>
|
| 39 |
<show_in_store>1</show_in_store>
|
| 40 |
-
|
| 41 |
-
</feed_activation>
|
| 42 |
<url translate="label">
|
| 43 |
<label>Products Ratings Feed url*</label>
|
| 44 |
<frontend_type>text</frontend_type>
|
|
@@ -47,7 +46,7 @@
|
|
| 47 |
<show_in_website>1</show_in_website>
|
| 48 |
<show_in_store>1</show_in_store>
|
| 49 |
<validate>required-entry</validate>
|
| 50 |
-
</url>
|
| 51 |
<site_key translate="label">
|
| 52 |
<label>Site Key*</label>
|
| 53 |
<frontend_type>text</frontend_type>
|
|
@@ -56,7 +55,7 @@
|
|
| 56 |
<show_in_website>1</show_in_website>
|
| 57 |
<show_in_store>1</show_in_store>
|
| 58 |
<validate>required-entry</validate>
|
| 59 |
-
</site_key>
|
| 60 |
<site_auth translate="label">
|
| 61 |
<label>Authorization Key*</label>
|
| 62 |
<frontend_type>text</frontend_type>
|
|
@@ -65,7 +64,7 @@
|
|
| 65 |
<show_in_website>1</show_in_website>
|
| 66 |
<show_in_store>1</show_in_store>
|
| 67 |
<validate>required-entry</validate>
|
| 68 |
-
</site_auth>
|
| 69 |
<!--
|
| 70 |
<enabled translate="label">
|
| 71 |
<label>Show Turnto Products Ratings</label>
|
|
@@ -76,11 +75,11 @@
|
|
| 76 |
<show_in_website>1</show_in_website>
|
| 77 |
<show_in_store>1</show_in_store>
|
| 78 |
<comment>When set to Yes, Turnto products ratings will be shown.</comment>
|
| 79 |
-
</enabled>
|
| 80 |
-->
|
| 81 |
</fields>
|
| 82 |
</feedconfig>
|
| 83 |
-
|
| 84 |
</groups>
|
| 85 |
|
| 86 |
</turnto_admin>
|
| 37 |
<show_in_default>1</show_in_default>
|
| 38 |
<show_in_website>1</show_in_website>
|
| 39 |
<show_in_store>1</show_in_store>
|
| 40 |
+
</feed_activation>
|
|
|
|
| 41 |
<url translate="label">
|
| 42 |
<label>Products Ratings Feed url*</label>
|
| 43 |
<frontend_type>text</frontend_type>
|
| 46 |
<show_in_website>1</show_in_website>
|
| 47 |
<show_in_store>1</show_in_store>
|
| 48 |
<validate>required-entry</validate>
|
| 49 |
+
</url>
|
| 50 |
<site_key translate="label">
|
| 51 |
<label>Site Key*</label>
|
| 52 |
<frontend_type>text</frontend_type>
|
| 55 |
<show_in_website>1</show_in_website>
|
| 56 |
<show_in_store>1</show_in_store>
|
| 57 |
<validate>required-entry</validate>
|
| 58 |
+
</site_key>
|
| 59 |
<site_auth translate="label">
|
| 60 |
<label>Authorization Key*</label>
|
| 61 |
<frontend_type>text</frontend_type>
|
| 64 |
<show_in_website>1</show_in_website>
|
| 65 |
<show_in_store>1</show_in_store>
|
| 66 |
<validate>required-entry</validate>
|
| 67 |
+
</site_auth>
|
| 68 |
<!--
|
| 69 |
<enabled translate="label">
|
| 70 |
<label>Show Turnto Products Ratings</label>
|
| 75 |
<show_in_website>1</show_in_website>
|
| 76 |
<show_in_store>1</show_in_store>
|
| 77 |
<comment>When set to Yes, Turnto products ratings will be shown.</comment>
|
| 78 |
+
</enabled>
|
| 79 |
-->
|
| 80 |
</fields>
|
| 81 |
</feedconfig>
|
| 82 |
+
|
| 83 |
</groups>
|
| 84 |
|
| 85 |
</turnto_admin>
|
app/design/adminhtml/default/default/template/turnto/product_ratings_feed_tab.phtml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<p style="margin-top:10px;width:600px">
|
| 3 |
|
| 4 |
|
| 5 |
-
|
| 6 |
<br>
|
| 7 |
<br>
|
| 8 |
|
|
@@ -37,13 +37,11 @@ Instructions here for the Product Ratings (to change this text, update file: app
|
|
| 37 |
<form id="ratings_feed_form" name="ratings_feed_form" method="post" action="<?php echo $this->getBaseUrl().'admin/system_config/edit/section/turnto_admin/' ?>">
|
| 38 |
<input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
|
| 39 |
<h4 style="margin-top:20px">Feed Configuration</h4>
|
| 40 |
-
<
|
| 41 |
-
<!--<a href="<?php //echo $this->getBaseUrl().'admin/system_config/edit/section/turnto_admin/ ?>" alt="Products Ratings Feed Configuration">here</a>-->
|
| 42 |
-
<input id="submit" name="submit" value="Configure" type="submit" /></td>
|
| 43 |
</form>
|
| 44 |
|
| 45 |
<?php endif; ?>
|
| 46 |
|
| 47 |
|
| 48 |
<br /><br />
|
| 49 |
-
|
| 2 |
<p style="margin-top:10px;width:600px">
|
| 3 |
|
| 4 |
|
| 5 |
+
This TurnTo Magento Extension can automate the process of retrieving the SKU average rating feed. Click on the configure link below to set it up.
|
| 6 |
<br>
|
| 7 |
<br>
|
| 8 |
|
| 37 |
<form id="ratings_feed_form" name="ratings_feed_form" method="post" action="<?php echo $this->getBaseUrl().'admin/system_config/edit/section/turnto_admin/' ?>">
|
| 38 |
<input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
|
| 39 |
<h4 style="margin-top:20px">Feed Configuration</h4>
|
| 40 |
+
<span>Feed is not active. </span> <input id="submit" name="submit" value="Configure" type="submit" />
|
|
|
|
|
|
|
| 41 |
</form>
|
| 42 |
|
| 43 |
<?php endif; ?>
|
| 44 |
|
| 45 |
|
| 46 |
<br /><br />
|
| 47 |
+
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>socialcommerce_suite_by_turnto</name>
|
| 4 |
-
<version>2.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.turntonetworks.com/terms-of-use">TurnTo Networks</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -15,11 +15,11 @@
|
|
| 15 |
2.1.6 - Better catalog support in catalog feed generator.
|
| 16 |
2.2.0 - Support for sku average rating feed
|
| 17 |
2.2.2 - Minor bug fix
|
| 18 |
-
2.2.
|
| 19 |
<authors><author><name>TurnTo</name><user>TurnTo</user><email>contact@turnto.com</email></author></authors>
|
| 20 |
-
<date>2015-
|
| 21 |
-
<time>
|
| 22 |
-
<contents><target name="magecommunity"><dir name="Turnto"><dir name="Admin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Feed.php" hash="
|
| 23 |
<compatible/>
|
| 24 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 25 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>socialcommerce_suite_by_turnto</name>
|
| 4 |
+
<version>2.2.7</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.turntonetworks.com/terms-of-use">TurnTo Networks</license>
|
| 7 |
<channel>community</channel>
|
| 15 |
2.1.6 - Better catalog support in catalog feed generator.
|
| 16 |
2.2.0 - Support for sku average rating feed
|
| 17 |
2.2.2 - Minor bug fix
|
| 18 |
+
2.2.7 - Support for Magento Security Patch (SUPEE-6788) </notes>
|
| 19 |
<authors><author><name>TurnTo</name><user>TurnTo</user><email>contact@turnto.com</email></author></authors>
|
| 20 |
+
<date>2015-11-04</date>
|
| 21 |
+
<time>19:52:51</time>
|
| 22 |
+
<contents><target name="magecommunity"><dir name="Turnto"><dir name="Admin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Feed.php" hash="1a587c82705d5aa3a12f3f76c7b4baab"/></dir></dir></dir><file name="CatalogFeed.php" hash="f974cfdc687bf5edb3fdccb879547200"/><file name="HistoricalFeed.php" hash="a4d2b29c6d8bb2ed59aa884e02abc23b"/><file name="Overview.php" hash="51c8ed09153f1dc3b3d02aa0ab83f195"/><file name="RatingsFeed.php" hash="264cf15842c2738f1b77bce6ff9b9f0a"/><dir name="Review"><file name="Helper.php" hash="2ecc1a9252af9d40666b4f3a6603b522"/></dir><file name="ShowTabsAdminBlock.php" hash="403c3a8f95c65e361471b28fae25d2e3"/></dir><dir name="Helper"><file name="Data.php" hash="ba93cfd8b9159171aff2512b0c0f1d37"/></dir><dir name="Model"><dir name="Catalog"><file name="Product.php" hash="5325442b4449b7eb75547f50698400a6"/></dir><file name="Observer.php" hash="50d0a3ff030e0a20cd080003891aa167"/><file name="Rating.php" hash="2f3d43beb74018b394d7bf6ba1098e5c"/><dir name="Resource"><dir name="Rating"><file name="Collection.php" hash="2f0709f0f5f3bde0725c2db266f16e7d"/></dir><file name="Rating.php" hash="0a7f9415ba76c6e121e0f3281479a4df"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="d78518e5502f5c19ff02892e2fa9fe78"/><file name="TurntoController.php" hash="b9eb45193240f6f43bf6e261349fc7f3"/></dir><file name="IndexController.php" hash="9e46d123ef3832d361cc4b4546a3e183"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2583ebaabc3e8844fe27e70d1b519f3a"/><file name="config.xml" hash="0c963d5151361dd89c2b4914826f9f5f"/><file name="system.xml" hash="40c7079a0f5a368f0acf0df4195035c8"/></dir><dir name="sql"><dir name="turnto_admin_setup"><file name="mysql4-install-2.2.0.php" hash="747fc729ae7587b41c3f3cce62aba82b"/></dir></dir></dir><dir name="Login"><dir name="Block"><file name="Login.php" hash="a51bc0ee76d20a9f4cb32bb21420ecd9"/><file name="Reg.php" hash="4eece8d78391b6578b0ba5e2c764dba5"/></dir><dir name="Helper"><file name="Data.php" hash="e87f15957335101d5ae643befcc06817"/></dir><dir name="controllers"><file name="IndexController.php" hash="087867555ca6d8174fb1301f3b558720"/></dir><dir name="etc"><file name="config.xml" hash="2fcebddc4b687752f16860a3dd092d47"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Turnto_Admin.xml" hash="0932b63ab068e1e8b12ff7b997ae83ee"/><file name="Turnto_Login.xml" hash="734c463c75970bd14ac7d7a90fa2de11"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="turnto"><dir name="adminhtml"><dir name="system"><dir name="config"><file name="feed.phtml" hash="c4b453ab154a34408bc34021630653bf"/></dir></dir></dir><file name="catalog_feed_tab.phtml" hash="c7623db3227221f10a32de69322bead9"/><file name="historical_feed_tab.phtml" hash="510bee39f490fe289e28e796ba0d43f2"/><file name="overview.phtml" hash="4cc20b32c3b0cd36cd349f0be44e4615"/><file name="product_ratings_feed_tab.phtml" hash="3733a056ab45f0af0b6a93ea30e257e0"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="turnto"><dir name="login"><file name="login.phtml" hash="7ec602a8ca09180f324229a77ea3e2db"/><file name="login_form.phtml" hash="a176124e54fc105d09e8a219114d9cfe"/><file name="reg.phtml" hash="7ec602a8ca09180f324229a77ea3e2db"/><file name="reg_form.phtml" hash="8d513aa7b9b582f748f5a484f2e81568"/></dir></dir></dir><dir name="layout"><file name="turnto_login.xml" hash="e9c1993c14add5a7be5c4079547d3609"/></dir></dir></dir></dir></target></contents>
|
| 23 |
<compatible/>
|
| 24 |
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
|
| 25 |
</package>
|
