productsocialshare - Version 1.0.0

Version Notes

“Backend Product Social Share“ let Admin to share the products on popular social networks such as Facebook, Twitter ,Google Plus and Pinterest.

Download this release

Release Info

Developer Cartin24
Extension productsocialshare
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Cartin24/ProductShare/Block/Adminhtml/Share/Grid/Renderer/Image.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_Block_Adminhtml_Share_Grid_Renderer_Image extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
12
+ {
13
+ public function render(Varien_Object $row)
14
+ {
15
+ return $this->_getValue($row);
16
+ }
17
+ protected function _getValue(Varien_Object $row)
18
+ {
19
+ $out='';
20
+ $val = $row->getData($this->getColumn()->getIndex());
21
+ $val = str_replace("no_selection", "", $val);
22
+ if($val){
23
+ $url = Mage::getBaseUrl('media') . 'catalog/product' . $val;
24
+ $out = "<img src=". $url ." width='60px'/>";
25
+ }
26
+ return $out;
27
+ }
28
+ }
app/code/community/Cartin24/ProductShare/Block/Share/Grid.php ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_Block_Share_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
+ {
13
+ public function __construct()
14
+ {
15
+ parent::__construct();
16
+ $this->setId('ProductGrid');
17
+ $this->_parentTemplate = $this->getTemplate();
18
+ $this->setSaveParametersInSession(true);
19
+ $this->setDefaultSort('updated_at');
20
+ }
21
+
22
+ protected function _getStore()
23
+ {
24
+ $storeId = $this->getRequest()->getParam('store');
25
+ return Mage::app()->getStore($storeId);
26
+ }
27
+
28
+ protected function _prepareCollection()
29
+ {
30
+
31
+ $storeId = $this->getRequest()->getParam('store');
32
+ $websiteId = Mage::getModel('core/store')->load($storeId)->getWebsiteId();
33
+
34
+ $store = mage::getModel('core/store')->load($storeId); //$this->_getStore();
35
+
36
+ $collection = Mage::getModel('catalog/product')->getCollection()
37
+ ->addAttributeToSelect('*');
38
+
39
+
40
+ if ($store->getId()) {
41
+ $collection->addStoreFilter($store);
42
+ $collection->joinAttribute('custom_name', 'catalog_product/name', 'entity_id', null, 'inner', $storeId);
43
+ }
44
+
45
+ $visibility = array(
46
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
47
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
48
+ );
49
+ $collection->addAttributeToFilter('visibility', $visibility);
50
+ $this->setCollection($collection);
51
+
52
+ parent::_prepareCollection();
53
+ $this->getCollection()->addWebsiteNamesToResult();
54
+
55
+ return $this;
56
+ }
57
+
58
+ protected function _addColumnFilterToCollection($column)
59
+ {
60
+ if ($this->getCollection()) {
61
+ if ($column->getId() == 'websites') {
62
+ $this->getCollection()->joinField('websites',
63
+ 'catalog/product_website',
64
+ 'website_id',
65
+ 'product_id=entity_id',
66
+ null,
67
+ 'left');
68
+ }
69
+ }
70
+ return parent::_addColumnFilterToCollection($column);
71
+ }
72
+
73
+ protected function _prepareColumns()
74
+ {
75
+
76
+ $this->addColumn('entity_id',
77
+ array(
78
+ 'header'=> Mage::helper('catalog')->__('ID'),
79
+ 'width' => '50px',
80
+ 'type' => 'number',
81
+ 'index' => 'entity_id',
82
+ ));
83
+
84
+ $this->addColumn('name',
85
+ array(
86
+ 'header'=> Mage::helper('catalog')->__('Name'),
87
+ 'index' => 'name',
88
+ 'filter' => 'productshare/widget_grid_column_filter_search'
89
+ ));
90
+ $this->addColumn('image',
91
+ array(
92
+ 'header'=> Mage::helper('catalog')->__('Image'),
93
+ 'index' => 'image',
94
+ 'width' => '70',
95
+ 'renderer' => 'Cartin24_ProductShare_Block_Adminhtml_Share_Grid_Renderer_Image',
96
+ ));
97
+
98
+ $this->addColumn('sku',
99
+ array(
100
+ 'header'=> Mage::helper('catalog')->__('SKU'),
101
+ 'width' => '80px',
102
+ 'index' => 'sku',
103
+ ));
104
+
105
+ $this->addColumn('type',
106
+ array(
107
+ 'header'=> Mage::helper('catalog')->__('Type'),
108
+ 'width' => '70px',
109
+ 'index' => 'type_id',
110
+ 'type' => 'options',
111
+ 'options' => Mage::getModel('catalog/product_type')->getOptionArray(),
112
+ ));
113
+
114
+ $this->addColumn('status',
115
+ array(
116
+ 'header'=> Mage::helper('catalog')->__('Status'),
117
+ 'width' => '70px',
118
+ 'index' => 'status',
119
+ 'type' => 'options',
120
+ 'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
121
+ ));
122
+
123
+ $this->addColumn('updated_at',
124
+ array(
125
+ 'header'=> Mage::helper('catalog')->__('Updated At'),
126
+ 'index' => 'updated_at',
127
+ ));
128
+
129
+ $this->addColumn('action', array(
130
+ 'header' => Mage::helper('sales')->__('Share'),
131
+ 'renderer' => 'Cartin24_ProductShare_Block_Widget_Grid_Column_Renderer_ProductShare',
132
+ 'index' => 'content',
133
+ 'filter' => false,
134
+ 'align' => 'center'
135
+ ));
136
+
137
+ return parent::_prepareColumns();
138
+ }
139
+
140
+ public function getGridParentHtml() {
141
+ $templateName = Mage::getDesign()->getTemplateFilename($this->_parentTemplate, array('_relative' => true));
142
+ return $this->fetchView($templateName);
143
+ }
144
+ }
app/code/community/Cartin24/ProductShare/Block/Widget/Grid/Column/Filter/Search.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_Block_Widget_Grid_Column_Filter_Search extends Mage_Adminhtml_Block_Widget_Grid_Column_Filter_Text
12
+ {
13
+
14
+ public function getCondition()
15
+ {
16
+ if ($this->getValue()) {
17
+ $value = $this->getValue();
18
+ $value = str_replace(' ', '%', $value);
19
+ $value = str_replace('-', '%', $value);
20
+ return array('like' => '%'.$value.'%');
21
+ }
22
+ }
23
+ }
app/code/community/Cartin24/ProductShare/Block/Widget/Grid/Column/Renderer/ProductShare.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_Block_Widget_Grid_Column_Renderer_ProductShare extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
12
+
13
+ public function render(Varien_Object $row) {
14
+ //collect information
15
+ $product = $row;
16
+ $facebook="";
17
+ $twitter="";
18
+ $googleplus="";
19
+ $pinterest="";
20
+
21
+ $productName = $this->cleanTxt($row->getname());
22
+ $productId = $row->getId();
23
+
24
+ $productData = Mage::getModel("catalog/product")->load($productId);
25
+
26
+ $storeId = $this->getRequest()->getParam('store');
27
+ if ( $storeId > 0 ) {
28
+ $productUrl = Mage::getModel('core/store')->load($storeId)->getUrl($productData->getUrlPath());
29
+ }
30
+ else {
31
+ $storeId = 1;
32
+ $productUrl = Mage::getModel('core/store')->load($storeId)->getUrl($productData->getUrlPath());
33
+ }
34
+
35
+ $productImage = $this->_getValue($row);
36
+
37
+
38
+ $skinUrl = $this->getSkinUrl('images/productshare/');
39
+
40
+ $facebook_icon = '<img src="' . $this->getSkinUrl('images/productshare/facebook.png') . '">';
41
+ $twitter_icon = '<img src="' . $this->getSkinUrl('images/productshare/twitter.png') . '">';
42
+ $googleplus_icon = '<img src="' . $this->getSkinUrl('images/productshare/google_plus.png') . '">';
43
+ $pinterest_icon = '<img src="' . $this->getSkinUrl('images/productshare/pinterest.png') . '">';
44
+
45
+ // Facebook
46
+ if( Mage::getStoreConfig('productshare/productsharegroup/enablefacebook')==1)
47
+ $facebook = '<a href="javascript:popWin(\'https://www.facebook.com/sharer/sharer.php?u='.urlencode($productUrl).'&t='.urlencode($productName).'\', \'facebook\', \'width=640,height=480,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes\');" title="'.$this->__('Share on Facebook').'">'.$facebook_icon.'</a>&nbsp;';
48
+
49
+ // Twitter
50
+ if( Mage::getStoreConfig('productshare/productsharegroup/enabletwitter')==1)
51
+ $twitter = '<a href="javascript:popWin(\'http://twitter.com/home/?status='.urlencode($productName . ' (' . $productUrl . ')').'\', \'twitter\', \'width=640,height=480,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes\');" title="'.$this->__('Tweet').'">'.$twitter_icon.'</a>&nbsp;';
52
+
53
+ // Google+
54
+ if( Mage::getStoreConfig('productshare/productsharegroup/enablegoogleplus')==1)
55
+ $googleplus = '<a href="javascript:popWin(\'https://plus.google.com/share?url='.urlencode($productUrl).'\', \'google\', \'width=640,height=480,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes\');" title="'.$this->__('Share on Google Plus').'">'.$googleplus_icon.'</a>&nbsp;';
56
+
57
+ // Pinterest
58
+ if( Mage::getStoreConfig('productshare/productsharegroup/enablepinterest')==1)
59
+ $pinterest = '<a href="javascript:popWin(\'https://pinterest.com/pin/create/button/?url='.urlencode($productUrl).'&media='.urlencode($productImage).'&description='.urlencode($productName).'\', \'pinterest\', \'width=640,height=480,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes\');" title="'.$this->__('Pin it').'">'.$pinterest_icon.'</a>';
60
+
61
+
62
+ $retour = $facebook.$twitter.$googleplus.$pinterest;
63
+
64
+ return $retour;
65
+ }
66
+
67
+ public function cleanTxt($txt) {
68
+ return addslashes(str_replace('"', ' ', $txt));
69
+ }
70
+
71
+ protected function _getValue(Varien_Object $row)
72
+ {
73
+ $val = $row->getData('image');
74
+ $val = str_replace("no_selection", "", $val);
75
+ $url = Mage::getBaseUrl('media') . 'catalog/product' . $val;
76
+ return $url;
77
+ }
78
+
79
+ }
app/code/community/Cartin24/ProductShare/Helper/Data.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_Helper_Data extends Mage_Core_Helper_Abstract
12
+ {
13
+ public function getStoreId()
14
+ {
15
+ return Mage::getSingleton('admin/session')->getUser()->getstore_id();
16
+ }
17
+
18
+
19
+ public function getStore()
20
+ {
21
+ return mage::getModel('core/store')->load($this->getStoreId());
22
+ }
23
+
24
+ public function getWebsiteId()
25
+ {
26
+ return $this->getStore()->getWebsiteId();
27
+ }
28
+
29
+ }
app/code/community/Cartin24/ProductShare/controllers/ShareController.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+
4
+ /**
5
+ * Cartin24
6
+ * @package Cartin24_ProductShare
7
+ * @copyright Copyright (c) 2015-2016 Cartin24. (http://www.cartin24.com)
8
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
9
+ */
10
+
11
+ class Cartin24_ProductShare_ShareController extends Mage_Adminhtml_Controller_action
12
+ {
13
+ public function gridAction()
14
+ {
15
+ $this->loadLayout();
16
+ $this->renderLayout();
17
+ }
18
+
19
+ }
app/code/community/Cartin24/ProductShare/etc/adminhtml.xml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <productshare translate="title" module="productshare">
12
+ <title>Product Share</title>
13
+ <sort_order>0</sort_order>
14
+ </productshare>
15
+ </children>
16
+ </config>
17
+ </children>
18
+ </system>
19
+ </children>
20
+ </admin>
21
+ </resources>
22
+ </acl>
23
+ </config>
app/code/community/Cartin24/ProductShare/etc/config.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Cartin24_ProductShare>
5
+ <version>1.0.0</version>
6
+ </Cartin24_ProductShare>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <productshare>
11
+ <class>Cartin24_ProductShare_Block</class>
12
+ </productshare>
13
+ </blocks>
14
+ <helpers>
15
+ <productshare>
16
+ <class>Cartin24_ProductShare_Helper</class>
17
+ </productshare>
18
+ </helpers>
19
+ </global>
20
+ <adminhtml>
21
+ <menu>
22
+ <promo>
23
+ <children>
24
+ <productshare translate="title" module="productshare">
25
+ <title>Product Share</title>
26
+ <sort_order>20</sort_order>
27
+ <action>productshare/share/grid</action>
28
+ </productshare>
29
+ </children>
30
+ </promo>
31
+ </menu>
32
+ <acl>
33
+ <resources>
34
+ <all>
35
+ <title>Allow Everything</title>
36
+ </all>
37
+ <admin>
38
+ <children>
39
+ <promo>
40
+ <children>
41
+ <productshare translate="title" module="productshare">
42
+ <title>Product Share</title>
43
+ </productshare>
44
+ </children>
45
+ </promo>
46
+ </children>
47
+ </admin>
48
+ </resources>
49
+ </acl>
50
+ <layout>
51
+ <updates>
52
+ <productshare>
53
+ <file>productshare.xml</file>
54
+ </productshare>
55
+ </updates>
56
+ </layout>
57
+ </adminhtml>
58
+ <admin>
59
+ <routers>
60
+ <productshare>
61
+ <use>admin</use>
62
+ <args>
63
+ <module>Cartin24_ProductShare</module>
64
+ <frontName>productshare</frontName>
65
+ </args>
66
+ </productshare>
67
+ </routers>
68
+ </admin>
69
+ </config>
app/code/community/Cartin24/ProductShare/etc/system.xml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <cartin24_extensions translate="label" module="productshare">
5
+ <label>Cartin24</label>
6
+ <sort_order>288</sort_order>
7
+ </cartin24_extensions>
8
+ </tabs>
9
+ <sections>
10
+ <productshare translate="label" module="productshare">
11
+ <label>Product Share</label>
12
+ <tab>cartin24_extensions</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>0</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <productsharegroup translate="label">
20
+ <label>Product Share Setting</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enablefacebook translate="label">
28
+ <label>Enable Facebook Sharing</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <sort_order>0</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </enablefacebook>
36
+ <enabletwitter translate="label">
37
+ <label>Enable Twitter Sharing</label>
38
+ <frontend_type>select</frontend_type>
39
+ <source_model>adminhtml/system_config_source_yesno</source_model>
40
+ <sort_order>1</sort_order>
41
+ <show_in_default>1</show_in_default>
42
+ <show_in_website>1</show_in_website>
43
+ <show_in_store>1</show_in_store>
44
+ </enabletwitter>
45
+ <enablegoogleplus translate="label">
46
+ <label>Enable Google Plus Sharing</label>
47
+ <frontend_type>select</frontend_type>
48
+ <source_model>adminhtml/system_config_source_yesno</source_model>
49
+ <sort_order>2</sort_order>
50
+ <show_in_default>1</show_in_default>
51
+ <show_in_website>1</show_in_website>
52
+ <show_in_store>1</show_in_store>
53
+ </enablegoogleplus>
54
+ <enablepinterest translate="label">
55
+ <label>Enable Printerest Sharing</label>
56
+ <frontend_type>select</frontend_type>
57
+ <source_model>adminhtml/system_config_source_yesno</source_model>
58
+ <sort_order>3</sort_order>
59
+ <show_in_default>1</show_in_default>
60
+ <show_in_website>1</show_in_website>
61
+ <show_in_store>1</show_in_store>
62
+ </enablepinterest>
63
+ </fields>
64
+ </productsharegroup>
65
+ </groups>
66
+ </productshare>
67
+ </sections>
68
+ </config>
app/design/adminhtml/default/default/layout/productshare.xml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <productshare_share_grid>
4
+ <reference name="content">
5
+ <block type="productshare/share_grid" name="productgrid" template="productshare/share/grid.phtml">
6
+ <block type="adminhtml/store_switcher" name="store_switcher" as="store_switcher">
7
+ <action method="setUseConfirm"><params>0</params></action>
8
+ </block>
9
+ </block>
10
+ </reference>
11
+ </productshare_share_grid>
12
+ </layout>
app/design/adminhtml/default/default/template/productshare/share/grid.phtml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="content-header">
2
+ <table cellspacing="0" class="grid-header">
3
+ <tr>
4
+ <td><h3><?php echo $this->__('Product Share'); ?></h3></td>
5
+ </tr>
6
+ </table>
7
+ </div>
8
+
9
+ <script type="text/javascript">
10
+
11
+ var closeModaleWindow = '<?php echo $this->__('Close') ?>';
12
+
13
+ </script>
14
+ <?php if( !Mage::app()->isSingleStoreMode() ): ?>
15
+ <?php echo $this->getChildHtml('store_switcher');?>
16
+ <?php endif;?>
17
+ <?php echo $this->getGridParentHtml() ?>
app/etc/modules/Cartin24_ProductShare.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Cartin24_ProductShare>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Cartin24_ProductShare>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>productsocialshare</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>Academic Free License</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Let Admin to share the products on popular social networks such as Facebook, Twitter ,Google Plus and Pinterest.</summary>
10
+ <description>&#x201C;Backend Product Social Share&#x201C; let Admin to share the products on popular social networks such as Facebook, Twitter ,Google Plus and Pinterest.</description>
11
+ <notes>&#x201C;Backend Product Social Share&#x201C; let Admin to share the products on popular social networks such as Facebook, Twitter ,Google Plus and Pinterest.</notes>
12
+ <authors><author><name>Cartin24</name><user>Cartin24</user><email>developer@cartin24.com</email></author></authors>
13
+ <date>2015-03-31</date>
14
+ <time>12:38:40</time>
15
+ <contents><target name="magecommunity"><dir name="Cartin24"><dir name="ProductShare"><dir name="Block"><dir name="Adminhtml"><dir name="Share"><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="b55077fb61e6025897188e0a381bab14"/></dir></dir></dir></dir><dir name="Share"><file name="Grid.php" hash="899d596d1ff8ecbc33086c448723f04e"/></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Search.php" hash="973e2fe3ae2ba4853760b8b6bc129af5"/></dir><dir name="Renderer"><file name="ProductShare.php" hash="0a588b847f57f428ae8be4cd5be073fc"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c4e1052cb3c1390def3924687251e527"/></dir><dir name="controllers"><file name="ShareController.php" hash="af1b2dcb8def550c174de6d89ff800ab"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d22fec093ef89647e6cb58dec456ed1c"/><file name="config.xml" hash="7a2b82b235524bd630cb909c5241217b"/><file name="system.xml" hash="f6e6e6267a05350c54b1ed204fdc24fc"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Cartin24_ProductShare.xml" hash="64c3bcc42aeccbf730838ce0e1e94f4e"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="productshare.xml" hash="ac69821026b16fe10d128cdcc422d754"/></dir><dir name="template"><dir name="productshare"><dir name="share"><file name="grid.phtml" hash="fdf8dd1b69ae2301b0a6fb60b1ba296a"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="productshare"><file name="facebook.png" hash="326914f7921f06557a613986baa3f12f"/><file name="google_plus.png" hash="4d3f7a16155319d29f671da142d03c1c"/><file name="pinterest.png" hash="c1a6ad21ac6d23b3a0d5ecfd110830c4"/><file name="twitter.png" hash="292d563707f1f013d38129805a62768c"/></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>
skin/adminhtml/default/default/images/productshare/facebook.png ADDED
Binary file
skin/adminhtml/default/default/images/productshare/google_plus.png ADDED
Binary file
skin/adminhtml/default/default/images/productshare/pinterest.png ADDED
Binary file
skin/adminhtml/default/default/images/productshare/twitter.png ADDED
Binary file