Shopalizes_Purchase_Sharing_Widget - Version 1.1.5

Version Notes

Make basic tracking code separate and load it before end of body task

Download this release

Release Info

Developer Magento Core Team
Extension Shopalizes_Purchase_Sharing_Widget
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

Files changed (30) hide show
  1. app/code/community/Shopalize/Basic/Block/Sa.php +0 -41
  2. app/code/community/Shopalize/Basic/Block/System/Config/Info.php +0 -30
  3. app/code/community/Shopalize/Basic/Block/System/Config/Info/About.php +0 -32
  4. app/code/community/Shopalize/Basic/Helper/Data.php +0 -9
  5. app/code/community/Shopalize/Basic/etc/adminhtml.xml +0 -25
  6. app/code/community/Shopalize/Basic/etc/config.xml +0 -62
  7. app/code/community/Shopalize/Purchasesharing/Block/Success.php +40 -0
  8. app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Block/System/Config/Info.php +2 -2
  9. app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Block/System/Config/Info/About.php +2 -2
  10. app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Helper/Data.php +5 -5
  11. app/code/community/Shopalize/Purchasesharing/Helper/Event.php +33 -0
  12. app/code/community/Shopalize/Purchasesharing/controllers/IndexController.php +13 -0
  13. app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/etc/adminhtml.xml +4 -5
  14. app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/etc/config.xml +23 -21
  15. app/code/community/Shopalize/{Basic → Purchasesharing}/etc/system.xml +19 -11
  16. app/code/community/Shopalize/Purchasesharingwidget/Block/Purchasesharingwidget.php +0 -13
  17. app/code/community/Shopalize/Purchasesharingwidget/Block/Success.php +0 -13
  18. app/code/community/Shopalize/Purchasesharingwidget/Helper/Event.php +0 -50
  19. app/code/community/Shopalize/Purchasesharingwidget/controllers/IndexController.php +0 -13
  20. app/code/community/Shopalize/Purchasesharingwidget/etc/system.xml +0 -73
  21. app/design/frontend/default/default/layout/purchasesharingwidget.xml +0 -3
  22. app/design/frontend/default/default/layout/sbasic.xml +0 -25
  23. app/design/frontend/default/default/layout/shopalizepurchasesharing.xml +8 -0
  24. app/design/frontend/default/default/template/purchasesharingwidget/success.phtml +0 -74
  25. app/design/frontend/default/default/template/purchasesharingwidget/widget.phtml +0 -1
  26. app/design/frontend/default/default/template/{basic/sa.phtml → shopalizepurchasesharing/basic_integration.phtml} +0 -0
  27. app/design/frontend/default/default/template/shopalizepurchasesharing/purchase_integration.phtml +4 -0
  28. app/etc/modules/Shopalize_Basic.xml +0 -9
  29. app/etc/modules/{Shopalize_Purchasesharingwidget.xml → Shopalize_Purchasesharing.xml} +2 -2
  30. package.xml +5 -5
app/code/community/Shopalize/Basic/Block/Sa.php DELETED
@@ -1,41 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab<www.bytestechnolab.com>
4
- * @author Bytes Technolab<info@bytestechnolab.com>
5
- */
6
-
7
- class Shopalize_Basic_Block_Sa extends Mage_Core_Block_Template
8
- {
9
- /**
10
- * Product Shopalized Merchant Id
11
- */
12
- public function getShopalizeMerchantId(){
13
- return $this->getConfig('merchant_id', 'settings');
14
- }
15
-
16
- /**
17
- * Product Shopalized Store Id
18
- */
19
- public function getShopalizeStoreId(){
20
- return $this->getConfig('store_id', 'settings');
21
- }
22
-
23
- /**
24
- * Shopalized Product Sharing Enabled
25
- */
26
- public function isEnabled(){
27
- return $this->getConfig('active', 'settings');
28
- }
29
-
30
- /**
31
- * Get Config of Product Sharing Extension
32
- */
33
- public function getConfig($field, $group = 'settings', $default = null){
34
- $value = Mage::getStoreConfig('sbasic/'.$group.'/'.$field);
35
- if(!isset($value) or trim($value) == ''){
36
- return $default;
37
- }else{
38
- return $value;
39
- }
40
- }
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Basic/Block/System/Config/Info.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab<www.bytestechnolab.com>
4
- * @author Bytes Technolab<info@bytestechnolab.com>
5
- */
6
- class Shopalize_Basic_Block_System_Config_Info
7
- extends Mage_Adminhtml_Block_Abstract
8
- implements Varien_Data_Form_Element_Renderer_Interface{
9
-
10
- /**
11
- * Render fieldset html
12
- *
13
- * @param Varien_Data_Form_Element_Abstract $element
14
- * @return string
15
- */
16
- public function render(Varien_Data_Form_Element_Abstract $element)
17
- {
18
- $html = '<div style="background:url(\'http://www.shopalize.com/images/shopalize_icon.png\') no-repeat scroll 15px center #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 200px;">
19
- <h4>About Shopalize</h4>
20
- <p>Shopalize provides a comprehensive Social Commerce platform for online retailers to help increase social sharing and customer referrals from Social Media to their eCommerce stores.<br />Shopalize&acute;s Post Purchase Sharing Plugin appears on your store&acute;s order confirmation page i.e. after checkout is complete. After every purchase is complete, shoppers are prompted and rewarded for sharing their purchase or your store with their friends on Facebook or Twitter. Shopalize also provide an A/B Testing platform to experiment with various campaigns and social analytics suite to measure ROI and track influential customers.<br />
21
- <h4>Contact Us</h4>
22
- Website: <a href="http://www.shopalize.com" target="_blank">www.shopalize.com</a><br />
23
- Email: <a href="mailto:help@shopalize.com">help@shopalize.com</a><br />
24
- Skype: adikot<br />
25
- </p>
26
- </div>';
27
-
28
- return $html;
29
- }
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Basic/Block/System/Config/Info/About.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab<www.bytestechnolab.com>
4
- * @author Bytes Technolab<info@bytestechnolab.com>
5
- */
6
-
7
- class Shopalize_Basic_Block_System_Config_Info_About
8
- extends Mage_Adminhtml_Block_Abstract
9
- implements Varien_Data_Form_Element_Renderer_Interface{
10
-
11
- /**
12
- * Render fieldset html
13
- *
14
- * @param Varien_Data_Form_Element_Abstract $element
15
- * @return string
16
- */
17
- public function render(Varien_Data_Form_Element_Abstract $element)
18
- {
19
- $html = '<div style="background:url(\'http://www.shopalize.com/images/shopalize_icon.png\') no-repeat scroll 15px center #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 200px;">
20
- <h4>About Shopalize\'s Basic Plugin</h4>
21
- <p>
22
- Shopalize\'s Basic Plugin appears tracking code on your store\'s all pages before end of body tag. <br />
23
- <h4>Contact Us</h4>
24
- Website: <a href="http://www.shopalize.com" target="_blank">www.shopalize.com</a><br />
25
- Email: <a href="mailto:help@shopalize.com">help@shopalize.com</a><br />
26
- Skype: adikot<br/>
27
- </p>
28
- </div>';
29
-
30
- return $html;
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Basic/Helper/Data.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab<www.bytestechnolab.com>
4
- * @author Bytes Technolab<info@bytestechnolab.com>
5
- */
6
- class Shopalize_Basic_Helper_Data extends Mage_Core_Helper_Abstract
7
- {
8
-
9
- }
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Basic/etc/adminhtml.xml DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <acl>
4
- <resources>
5
- <all>
6
- <title>Allow Everything</title>
7
- </all>
8
- <admin>
9
- <children>
10
- <system>
11
- <children>
12
- <config>
13
- <children>
14
- <sbasic>
15
- <title>Shopalize Basic Plugin Settings</title>
16
- </sbasic>
17
- </children>
18
- </config>
19
- </children>
20
- </system>
21
- </children>
22
- </admin>
23
- </resources>
24
- </acl>
25
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Basic/etc/config.xml DELETED
@@ -1,62 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @website http://www.shopalize.com
5
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
6
- */
7
- -->
8
- <config>
9
- <modules>
10
- <Shopalize_Basic>
11
- <version>0.0.1</version>
12
- </Shopalize_Basic>
13
- </modules>
14
- <global>
15
- <helpers>
16
- <sbasic>
17
- <class>Shopalize_Basic_Helper</class>
18
- </sbasic>
19
- </helpers>
20
- <blocks>
21
- <sbasic>
22
- <class>Shopalize_Basic_Block</class>
23
- </sbasic>
24
- </blocks>
25
- </global>
26
- <frontend>
27
- <layout>
28
- <updates>
29
- <sbasic>
30
- <file>sbasic.xml</file>
31
- </sbasic>
32
- </updates>
33
- </layout>
34
- </frontend>
35
- <adminhtml>
36
- <acl>
37
- <resources>
38
- <all>
39
- <title>Allow Everything</title>
40
- </all>
41
- <admin>
42
- <children>
43
- <system>
44
- <children>
45
- <config>
46
- <children>
47
- <shopalizeinfo>
48
- <title>Shopalize</title>
49
- </shopalizeinfo>
50
- <sbasic>
51
- <title>Basic Setting</title>
52
- </sbasic>
53
- </children>
54
- </config>
55
- </children>
56
- </system>
57
- </children>
58
- </admin>
59
- </resources>
60
- </acl>
61
- </adminhtml>
62
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Purchasesharing/Block/Success.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @company Bytes Technolab <www.bytestechnolab.com>
4
+ * @author Bytes Technolab <info@bytestechnolab.com>
5
+ *
6
+ * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_Block_Success
8
+ */
9
+
10
+ class Shopalize_Purchasesharing_Block_Success extends Mage_Checkout_Block_Success
11
+ {
12
+ /**
13
+ * Shopalized Product Sharing Enabled
14
+ */
15
+ public function isEnabled(){
16
+ return Mage::getStoreConfig('purchasesharing/settings/active');
17
+ }
18
+
19
+ /**
20
+ * Product Shopalized Merchant Id
21
+ */
22
+ public function getShopalizeMerchantId(){
23
+ if(Mage::getStoreConfig('purchasesharing/settings/active')){
24
+ return Mage::getStoreConfig('purchasesharing/settings/merchant_id');
25
+ }else{
26
+ return Mage::getStoreConfig('productsharing/settings/merchant_id');
27
+ }
28
+ }
29
+
30
+ /**
31
+ * Product Shopalized Store Id
32
+ */
33
+ public function getShopalizeStoreId(){
34
+ if(Mage::getStoreConfig('purchasesharing/settings/active')){
35
+ return Mage::getStoreConfig('purchasesharing/settings/store_id');
36
+ }else{
37
+ return Mage::getStoreConfig('productsharing/settings/store_id');
38
+ }
39
+ }
40
+ }
app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Block/System/Config/Info.php RENAMED
@@ -4,9 +4,9 @@
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_Block_System_Config_Info
8
  */
9
- class Shopalize_Purchasesharingwidget_Block_System_Config_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_Block_System_Config_Info
8
  */
9
+ class Shopalize_Purchasesharing_Block_System_Config_Info
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Block/System/Config/Info/About.php RENAMED
@@ -4,9 +4,9 @@
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_Block_Purchasesharingwidget
8
  */
9
- class Shopalize_Purchasesharingwidget_Block_System_Config_Info_About
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_Block_Purchasesharingwidget
8
  */
9
+ class Shopalize_Purchasesharing_Block_System_Config_Info_About
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
12
  {
app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/Helper/Data.php RENAMED
@@ -4,12 +4,12 @@
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_Helper_Data
8
  */
9
- class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstract{
10
 
11
  const PRODUCT_IMAGE_SIZE = 256;
12
-
13
  public function getWidget($order_id) {
14
 
15
  if($order_id){
@@ -19,7 +19,7 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
19
  $_count = count($_items);
20
 
21
  if($_count > 0){
22
-
23
  $orderDate = explode(" ",$order->getCreatedAt());
24
  $orderDate1 = explode("-",$orderDate[0]);
25
  $_output='<!-- Shopalize Integration BEGIN -->';
@@ -248,7 +248,7 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
248
 
249
  $k++;
250
  endforeach;
251
-
252
  /*get ordered items*/
253
  $_output.='</table>';
254
  }
4
  * @author Bytes Technolab<info@bytestechnolab.com>
5
  *
6
  * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_Helper_Data
8
  */
9
+ class Shopalize_Purchasesharing_Helper_Data extends Mage_Core_Helper_Abstract{
10
 
11
  const PRODUCT_IMAGE_SIZE = 256;
12
+
13
  public function getWidget($order_id) {
14
 
15
  if($order_id){
19
  $_count = count($_items);
20
 
21
  if($_count > 0){
22
+
23
  $orderDate = explode(" ",$order->getCreatedAt());
24
  $orderDate1 = explode("-",$orderDate[0]);
25
  $_output='<!-- Shopalize Integration BEGIN -->';
248
 
249
  $k++;
250
  endforeach;
251
+
252
  /*get ordered items*/
253
  $_output.='</table>';
254
  }
app/code/community/Shopalize/Purchasesharing/Helper/Event.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @company Bytes Technolab<www.bytestechnolab.com>
4
+ * @author Bytes Technolab<info@bytestechnolab.com>
5
+ *
6
+ * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_Helper_Event
8
+ */
9
+
10
+ class Shopalize_Purchasesharing_Helper_Event extends Mage_Core_Helper_Abstract {
11
+
12
+
13
+ public function core_block_abstract_to_html_before_checkout_success($p_oObserver) {
14
+
15
+ /* @var $l_oBlock Mage_Core_Block_Abstract */
16
+ $l_oBlock = $p_oObserver->getBlock();
17
+
18
+ if ('checkout.success' === $l_oBlock->getNameInLayout()) {
19
+ if (Mage::getStoreConfig('purchasesharing/settings/active')) {
20
+
21
+ $l_oChild = $l_oBlock->getLayout()->createBlock(
22
+ 'core/template',
23
+ 'purchasesharing.success',
24
+ array(
25
+ 'template' => 'shopalizepurchasesharing/purchase_integration.phtml'
26
+ )
27
+ );
28
+
29
+ $l_oBlock->append($l_oChild);
30
+ }
31
+ }
32
+ }
33
+ }
app/code/community/Shopalize/Purchasesharing/controllers/IndexController.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @company Bytes Technolab <www.bytestechnolab.com>
4
+ * @author Bytes Technolab <info@bytestechnolab.com>
5
+ *
6
+ * @category Shopalize
7
+ * @package Shopalize_Purchasesharing_IndexController
8
+ */
9
+
10
+ class Shopalize_Purchasesharing_IndexController extends Mage_Core_Controller_Front_Action
11
+ {
12
+
13
+ }
app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/etc/adminhtml.xml RENAMED
@@ -5,7 +5,7 @@
5
  * @author Bytes Technolab <info@bytestechnolab.com>
6
  *
7
  * @category Shopalize
8
- * @package Shopalize_Purchasesharingwidget
9
  */
10
  -->
11
  <config>
@@ -17,10 +17,9 @@
17
  <children>
18
  <config>
19
  <children>
20
- <purchasesharingwidget translate="title" module="purchasesharingwidget">
21
- <title>Shpalize Purchase Sharing Widget</title>
22
-
23
- </purchasesharingwidget>
24
  </children>
25
  </config>
26
  </children>
5
  * @author Bytes Technolab <info@bytestechnolab.com>
6
  *
7
  * @category Shopalize
8
+ * @package Shopalize_Purchasesharing
9
  */
10
  -->
11
  <config>
17
  <children>
18
  <config>
19
  <children>
20
+ <purchasesharing translate="title" module="purchasesharing">
21
+ <title>Shpalize Purchase Sharing</title>
22
+ </purchasesharing>
 
23
  </children>
24
  </config>
25
  </children>
app/code/community/Shopalize/{Purchasesharingwidget → Purchasesharing}/etc/config.xml RENAMED
@@ -7,43 +7,45 @@
7
  -->
8
  <config>
9
  <modules>
10
- <Shopalize_Purchasesharingwidget>
11
  <version>1.1.1</version>
12
- </Shopalize_Purchasesharingwidget>
13
  </modules>
14
  <global>
15
  <helpers>
16
- <purchasesharingwidget>
17
- <class>Shopalize_Purchasesharingwidget_Helper</class>
18
- </purchasesharingwidget>
19
  </helpers>
20
-
21
  <blocks>
22
- <purchasesharingwidget>
23
- <class>Shopalize_Purchasesharingwidget_Block</class>
24
- </purchasesharingwidget>
25
  <checkout>
26
  <rewrite>
27
- <success>Shopalize_Purchasesharingwidget_Block_Success</success>
28
  </rewrite>
29
  </checkout>
30
  </blocks>
31
-
32
-
33
  </global>
34
  <frontend>
35
-
36
  <events>
37
  <core_block_abstract_to_html_before>
38
  <observers>
39
- <purchasesharingwidget_core_block_abstract_to_html_before>
40
- <class>Shopalize_Purchasesharingwidget_Helper_Event</class>
41
  <method>core_block_abstract_to_html_before_checkout_success</method>
42
- </purchasesharingwidget_core_block_abstract_to_html_before>
43
  </observers>
44
  </core_block_abstract_to_html_before>
45
  </events>
46
-
 
 
 
 
 
 
47
  </frontend>
48
  <adminhtml>
49
  <acl>
@@ -57,9 +59,9 @@
57
  <shopalizeinfo>
58
  <title>Shopalize</title>
59
  </shopalizeinfo>
60
- <purchasesharingwidget>
61
  <title>Post Purchase Sharing Plugin</title>
62
- </purchasesharingwidget>
63
  </children>
64
  </config>
65
  </children>
@@ -70,11 +72,11 @@
70
  </acl>
71
  </adminhtml>
72
  <default>
73
- <purchasesharingwidget>
74
  <settings>
75
  <active>0</active>
76
  <widget_width>400</widget_width>
77
  </settings>
78
- </purchasesharingwidget>
79
  </default>
80
  </config>
7
  -->
8
  <config>
9
  <modules>
10
+ <Shopalize_Purchasesharing>
11
  <version>1.1.1</version>
12
+ </Shopalize_Purchasesharing>
13
  </modules>
14
  <global>
15
  <helpers>
16
+ <purchasesharing>
17
+ <class>Shopalize_Purchasesharing_Helper</class>
18
+ </purchasesharing>
19
  </helpers>
 
20
  <blocks>
21
+ <purchasesharing>
22
+ <class>Shopalize_Purchasesharing_Block</class>
23
+ </purchasesharing>
24
  <checkout>
25
  <rewrite>
26
+ <success>Shopalize_Purchasesharing_Block_Success</success>
27
  </rewrite>
28
  </checkout>
29
  </blocks>
 
 
30
  </global>
31
  <frontend>
 
32
  <events>
33
  <core_block_abstract_to_html_before>
34
  <observers>
35
+ <purchasesharing_core_block_abstract_to_html_before>
36
+ <class>Shopalize_Purchasesharing_Helper_Event</class>
37
  <method>core_block_abstract_to_html_before_checkout_success</method>
38
+ </purchasesharing_core_block_abstract_to_html_before>
39
  </observers>
40
  </core_block_abstract_to_html_before>
41
  </events>
42
+ <layout>
43
+ <updates>
44
+ <purchasesharing>
45
+ <file>shopalizepurchasesharing.xml</file>
46
+ </purchasesharing>
47
+ </updates>
48
+ </layout>
49
  </frontend>
50
  <adminhtml>
51
  <acl>
59
  <shopalizeinfo>
60
  <title>Shopalize</title>
61
  </shopalizeinfo>
62
+ <purchasesharing>
63
  <title>Post Purchase Sharing Plugin</title>
64
+ </purchasesharing>
65
  </children>
66
  </config>
67
  </children>
72
  </acl>
73
  </adminhtml>
74
  <default>
75
+ <purchasesharing>
76
  <settings>
77
  <active>0</active>
78
  <widget_width>400</widget_width>
79
  </settings>
80
+ </purchasesharing>
81
  </default>
82
  </config>
app/code/community/Shopalize/{Basic → Purchasesharing}/etc/system.xml RENAMED
@@ -1,23 +1,23 @@
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
- * @website http://www.bytestechnolab.com
5
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
6
  */
7
  -->
8
  <config>
9
  <tabs>
10
- <shopalizeall translate="label" module="sbasic">
11
  <label>Shopalize Extensions</label>
12
  <sort_order>400</sort_order>
13
  </shopalizeall>
14
  </tabs>
15
  <sections>
16
- <sbasic module="sbasic">
17
- <label>Basic</label>
18
  <tab>shopalizeall</tab>
19
  <frontend_type>text</frontend_type>
20
- <sort_order>100</sort_order>
21
  <show_in_default>1</show_in_default>
22
  <show_in_website>1</show_in_website>
23
  <show_in_store>1</show_in_store>
@@ -30,16 +30,16 @@
30
  <show_in_website>1</show_in_website>
31
  <show_in_store>1</show_in_store>
32
  <fields>
33
- <sbasic_info translate="label">
34
- <frontend_model>sbasic/system_config_info_about</frontend_model>
35
  <sort_order>10</sort_order>
36
  <show_in_default>1</show_in_default>
37
  <show_in_website>1</show_in_website>
38
  <show_in_store>1</show_in_store>
39
- </sbasic_info>
40
  </fields>
41
  </info>
42
- <settings translate="label">
43
  <label>Plugin Settings</label>
44
  <frontend_type>text</frontend_type>
45
  <sort_order>11</sort_order>
@@ -55,7 +55,7 @@
55
  <show_in_default>1</show_in_default>
56
  <show_in_website>1</show_in_website>
57
  <show_in_store>1</show_in_store>
58
- </active>
59
  <merchant_id translate="label">
60
  <label>Merchant Id</label>
61
  <frontend_type>text</frontend_type>
@@ -72,9 +72,17 @@
72
  <show_in_store>1</show_in_store>
73
  <comment><![CDATA[Get Shopalize Store ID by signing up at <a target="_blank" href="http://www.shopalize.com">www.shopalize.com</a>. Look for Store ID value on Settings or Integration Guide page.]]></comment>
74
  </store_id>
 
 
 
 
 
 
 
 
75
  </fields>
76
  </settings>
77
  </groups>
78
- </sbasic>
79
  </sections>
80
  </config>
1
  <?xml version="1.0"?>
2
  <!--
3
  /**
4
+ * @website http://www.shopalize.com
5
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
6
  */
7
  -->
8
  <config>
9
  <tabs>
10
+ <shopalizeall translate="label" module="purchasesharing">
11
  <label>Shopalize Extensions</label>
12
  <sort_order>400</sort_order>
13
  </shopalizeall>
14
  </tabs>
15
  <sections>
16
+ <purchasesharing module="purchasesharing">
17
+ <label>Post Purchase Sharing</label>
18
  <tab>shopalizeall</tab>
19
  <frontend_type>text</frontend_type>
20
+ <sort_order>400</sort_order>
21
  <show_in_default>1</show_in_default>
22
  <show_in_website>1</show_in_website>
23
  <show_in_store>1</show_in_store>
30
  <show_in_website>1</show_in_website>
31
  <show_in_store>1</show_in_store>
32
  <fields>
33
+ <purchasesharing_info translate="label">
34
+ <frontend_model>purchasesharing/system_config_info_about</frontend_model>
35
  <sort_order>10</sort_order>
36
  <show_in_default>1</show_in_default>
37
  <show_in_website>1</show_in_website>
38
  <show_in_store>1</show_in_store>
39
+ </purchasesharing_info>
40
  </fields>
41
  </info>
42
+ <settings translate="label">
43
  <label>Plugin Settings</label>
44
  <frontend_type>text</frontend_type>
45
  <sort_order>11</sort_order>
55
  <show_in_default>1</show_in_default>
56
  <show_in_website>1</show_in_website>
57
  <show_in_store>1</show_in_store>
58
+ </active>
59
  <merchant_id translate="label">
60
  <label>Merchant Id</label>
61
  <frontend_type>text</frontend_type>
72
  <show_in_store>1</show_in_store>
73
  <comment><![CDATA[Get Shopalize Store ID by signing up at <a target="_blank" href="http://www.shopalize.com">www.shopalize.com</a>. Look for Store ID value on Settings or Integration Guide page.]]></comment>
74
  </store_id>
75
+ <widget_width translate="label">
76
+ <label>Plugin Width</label>
77
+ <frontend_type>text</frontend_type>
78
+ <sort_order>30</sort_order><show_in_default>1</show_in_default>
79
+ <show_in_website>1</show_in_website>
80
+ <show_in_store>1</show_in_store>
81
+ <comment><![CDATA[Size in px Example: 400]]></comment>
82
+ </widget_width>
83
  </fields>
84
  </settings>
85
  </groups>
86
+ </purchasesharing>
87
  </sections>
88
  </config>
app/code/community/Shopalize/Purchasesharingwidget/Block/Purchasesharingwidget.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab <www.bytestechnolab.com>
4
- * @author Bytes Technolab <info@bytestechnolab.com>
5
- *
6
- * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_Block_Purchasesharingwidget
8
- */
9
-
10
- class Shopalize_Purchasesharingwidget_Block_Purchasesharingwidget extends Mage_Core_Block_Template
11
- {
12
-
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Purchasesharingwidget/Block/Success.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab <www.bytestechnolab.com>
4
- * @author Bytes Technolab <info@bytestechnolab.com>
5
- *
6
- * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_Block_Success
8
- */
9
-
10
- class Shopalize_Purchasesharingwidget_Block_Success extends Mage_Checkout_Block_Success
11
- {
12
-
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Purchasesharingwidget/Helper/Event.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * @company Bytes Technolab<www.bytestechnolab.com>
5
- * @author Bytes Technolab<info@bytestechnolab.com>
6
- *
7
- * @category Shopalize
8
- * @package Shopalize_Purchasesharingwidget_Helper_Event
9
- */
10
-
11
- class Shopalize_Purchasesharingwidget_Helper_Event extends Mage_Core_Helper_Abstract {
12
-
13
- public function core_block_abstract_to_html_after_checkout_success($p_oObserver) {
14
-
15
- /* @var $l_oBlock Mage_Core_Block_Abstract */
16
- $l_oBlock = $p_oObserver->getBlock();
17
-
18
- if ('checkout.success' === $l_oBlock->getNameInLayout()) {
19
-
20
- $l_oTransport = $p_oObserver->getTransport();
21
- $_widget = Mage::helper('purchasesharingwidget');
22
-
23
- $l_sHtml = $l_oTransport->getHtml();
24
- $l_sHtml = $l_sHtml. '<div style="clear: both;"></div>'. $_widget->getWidget($l_oBlock->getOrderId());
25
- $l_oTransport->setHtml($l_sHtml);
26
- }
27
- }
28
-
29
- public function core_block_abstract_to_html_before_checkout_success($p_oObserver) {
30
-
31
- /* @var $l_oBlock Mage_Core_Block_Abstract */
32
- $l_oBlock = $p_oObserver->getBlock();
33
-
34
- if ('checkout.success' === $l_oBlock->getNameInLayout()) {
35
-
36
- if (Mage::getStoreConfig('purchasesharingwidget/settings/active')) {
37
-
38
- $l_oChild = $l_oBlock->getLayout()->createBlock(
39
- 'core/template',
40
- 'purchasesharingwidget.success',
41
- array(
42
- 'template' => 'purchasesharingwidget/widget.phtml'
43
- )
44
- );
45
-
46
- $l_oBlock->append($l_oChild);
47
- }
48
- }
49
- }
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Purchasesharingwidget/controllers/IndexController.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- /**
3
- * @company Bytes Technolab <www.bytestechnolab.com>
4
- * @author Bytes Technolab <info@bytestechnolab.com>
5
- *
6
- * @category Shopalize
7
- * @package Shopalize_Purchasesharingwidget_IndexController
8
- */
9
-
10
- class Shopalize_Purchasesharingwidget_IndexController extends Mage_Core_Controller_Front_Action
11
- {
12
-
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Shopalize/Purchasesharingwidget/etc/system.xml DELETED
@@ -1,73 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * @website http://www.shopalize.com
5
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
6
- */
7
- -->
8
- <config>
9
- <tabs>
10
- <shopalizeall translate="label" module="purchasesharingwidget">
11
- <label>Shopalize Extensions</label>
12
- <sort_order>400</sort_order>
13
- </shopalizeall>
14
- </tabs>
15
- <sections>
16
- <purchasesharingwidget module="purchasesharingwidget">
17
- <label>Post Purchase Sharing</label>
18
- <tab>shopalizeall</tab>
19
- <frontend_type>text</frontend_type>
20
- <sort_order>400</sort_order>
21
- <show_in_default>1</show_in_default>
22
- <show_in_website>1</show_in_website>
23
- <show_in_store>1</show_in_store>
24
- <groups>
25
- <info>
26
- <label>About Extension</label>
27
- <frontend_type>text</frontend_type>
28
- <sort_order>10</sort_order>
29
- <show_in_default>1</show_in_default>
30
- <show_in_website>1</show_in_website>
31
- <show_in_store>1</show_in_store>
32
- <fields>
33
- <purchasesharingwidget_info translate="label">
34
- <frontend_model>purchasesharingwidget/system_config_info_about</frontend_model>
35
- <sort_order>10</sort_order>
36
- <show_in_default>1</show_in_default>
37
- <show_in_website>1</show_in_website>
38
- <show_in_store>1</show_in_store>
39
- </purchasesharingwidget_info>
40
-
41
- </fields>
42
- </info>
43
- <settings translate="label">
44
- <label>Plugin Settings</label>
45
- <frontend_type>text</frontend_type>
46
- <sort_order>11</sort_order>
47
- <show_in_default>1</show_in_default>
48
- <show_in_website>1</show_in_website>
49
- <show_in_store>1</show_in_store>
50
- <fields>
51
- <active translate="label">
52
- <label>Enabled</label>
53
- <frontend_type>select</frontend_type>
54
- <source_model>adminhtml/system_config_source_yesno</source_model>
55
- <sort_order>10</sort_order>
56
- <show_in_default>1</show_in_default>
57
- <show_in_website>1</show_in_website>
58
- <show_in_store>1</show_in_store>
59
- </active>
60
- <widget_width translate="label">
61
- <label>Plugin Width</label>
62
- <frontend_type>text</frontend_type>
63
- <sort_order>30</sort_order><show_in_default>1</show_in_default>
64
- <show_in_website>1</show_in_website>
65
- <show_in_store>1</show_in_store>
66
- <comment><![CDATA[Size in px Example: 400]]></comment>
67
- </widget_width>
68
- </fields>
69
- </settings>
70
- </groups>
71
- </purchasesharingwidget>
72
- </sections>
73
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/layout/purchasesharingwidget.xml DELETED
@@ -1,3 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <layout version="0.1.0">
3
- </layout>
 
 
 
app/design/frontend/default/default/layout/sbasic.xml DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" ?>
2
- <!--
3
- /**
4
- * MagPleasure Co.
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the EULA
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://www.magpleasure.com/LICENSE.txt
12
- *
13
- * @category Shopalize
14
- * @package Shopalize_Baisc
15
- * @copyright Copyright (c) 2012 Magpleasure Co. (http://www.magpleasure.com)
16
- * @license http://www.magpleasure.com/LICENSE.txt
17
- */
18
- -->
19
- <layout version="0.1.0">
20
- <default>
21
- <reference name="before_body_end">
22
- <block type="sbasic/sa" name="shopalize_analytics" as="shopalize_analytics" template="basic/sa.phtml" />
23
- </reference>
24
- </default>
25
- </layout>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/layout/shopalizepurchasesharing.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="before_body_end">
5
+ <block type="purchasesharing/success" name="shopalize_purchase_tracking" as="shopalize_purchase_tracking" template="shopalizepurchasesharing/basic_integration.phtml" />
6
+ </reference>
7
+ </default>
8
+ </layout>
app/design/frontend/default/default/template/purchasesharingwidget/success.phtml DELETED
@@ -1,74 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Academic Free License (AFL 3.0)
8
- * that is bundled with this package in the file LICENSE_AFL.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/afl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category design
22
- * @package base_default
23
- * @copyright Copyright (c) 2010 Oceanwebsoft Pvt Ltd. (http://www.oceanwebsoft.com)
24
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
- */
26
- ?>
27
-
28
- <div class="page-title">
29
- <h1><?php echo $this->__('Your order has been received') ?></h1>
30
- </div>
31
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
- <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
33
-
34
- <?php if ($this->getOrderId()):?>
35
-
36
- <?php if ($this->getCanViewOrder()) :?>
37
- <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
38
- <?php else :?>
39
- <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
40
- <?php endif;?>
41
- <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
42
-
43
-
44
- <!--Shopalize Custom Code starts-->
45
-
46
- <?php $_widget=Mage::helper('purchasesharingwidget'); //echo $_widget->getWidget($this->getOrderId()); ?>
47
-
48
- <!--Shopalize Custom Code ends-->
49
-
50
- <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
51
- <p>
52
- <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
53
- <?php echo $this->getChildHtml() ?>
54
- </p>
55
- <?php endif;?>
56
- <?php endif;?>
57
-
58
- <?php if ($this->getAgreementRefId()): ?>
59
- <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
60
- <?php endif;?>
61
-
62
- <?php if ($profiles = $this->getRecurringProfiles()):?>
63
- <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
64
- <ul class="disc">
65
- <?php foreach($profiles as $profile):?>
66
- <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
67
- <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
68
- <?php endforeach;?>
69
- </ul>
70
- <?php endif;?>
71
-
72
- <div class="buttons-set">
73
- <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
74
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/default/default/template/purchasesharingwidget/widget.phtml DELETED
@@ -1 +0,0 @@
1
- <?php $_widget=Mage::helper('purchasesharingwidget'); echo $_widget->getWidget($this->getParentBlock()->getOrderId()); ?>
 
app/design/frontend/default/default/template/{basic/sa.phtml → shopalizepurchasesharing/basic_integration.phtml} RENAMED
File without changes
app/design/frontend/default/default/template/shopalizepurchasesharing/purchase_integration.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ $_widget=Mage::helper('purchasesharing');
3
+ echo $_widget->getWidget($this->getParentBlock()->getOrderId());
4
+ ?>
app/etc/modules/Shopalize_Basic.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <Shopalize_Basic>
5
- <active>true</active>
6
- <codePool>community</codePool>
7
- </Shopalize_Basic>
8
- </modules>
9
- </config>
 
 
 
 
 
 
 
 
 
app/etc/modules/{Shopalize_Purchasesharingwidget.xml → Shopalize_Purchasesharing.xml} RENAMED
@@ -1,12 +1,12 @@
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
- <Shopalize_Purchasesharingwidget>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends>
8
  <Mage_Checkout />
9
  </depends>
10
- </Shopalize_Purchasesharingwidget>
11
  </modules>
12
  </config>
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
+ <Shopalize_Purchasesharing>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends>
8
  <Mage_Checkout />
9
  </depends>
10
+ </Shopalize_Purchasesharing>
11
  </modules>
12
  </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalizes_Purchase_Sharing_Widget</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Shopalize helps Online Retailers to increase social sharing and customer referrals from Social Media.</summary>
10
  <description>Shopalize's Post Purchase Sharing Plugin appears on your store's order confirmation page i.e. after checkout is complete. After every purchase is complete, shoppers are prompted and rewarded for sharing their purchase or your store with their friends on Facebook or Twitter. Shopalize also provide an A/B Testing platform to experiment with various campaigns and social analytics suite to measure ROI and track influential customers. Once you integrate Shopalize's plugin to your storefront and kick start few campaigns, then you don't need any involvement maintaining these campaigns. Just sit back</description>
11
- <notes>Make basic tracking code common and load it before end of body task</notes>
12
  <authors><author><name>Aditya Kothadiya</name><user>auto-converted</user><email>aditya@shopalize.com</email></author></authors>
13
- <date>2012-08-17</date>
14
- <time>18:05:45</time>
15
- <contents><target name="magecommunity"><dir name="Shopalize"><dir name="Basic"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Info"><file name="About.php" hash="267e9a0169ef0958f073fa30fa7c6689"/></dir><file name="Info.php" hash="b020b2d243600b723196fc74e2484b03"/></dir></dir><file name="Sa.php" hash="fbbfd05235399229e9fc1f6b46a79aa3"/></dir><dir name="Helper"><file name="Data.php" hash="63d1fc27e1a6260268ad85d5900ea777"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1e64b73ef0d8242e56cf3f2a0ae216dd"/><file name="config.xml" hash="c81d803948546fc0c1caeb499e86e56e"/><file name="system.xml" hash="a50307711f3bbe91fd79c36da2562b13"/></dir></dir><dir name="Purchasesharingwidget"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Info"><file name="About.php" hash="c446c21e63964dcd05dbcb5a54bba6d1"/></dir><file name="Info.php" hash="51af518de186fb563e05e8465b1e0dc2"/></dir></dir><file name="Purchasesharingwidget.php" hash="334dd425aedec3a94cb91309fdf7e4a1"/><file name="Success.php" hash="942499eb64cbd78c4484031735beff75"/></dir><dir name="Helper"><file name="Data.php" hash="68223edf1aba6ebe244df3cc22531e53"/><file name="Event.php" hash="1bbf170aec4797e892062fee8be2049f"/></dir><dir name="controllers"><file name="IndexController.php" hash="d06cd2d5fe876c987b752766ae6dc03c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1b3ee670d21002e5f64646118b532d9d"/><file name="config.xml" hash="5c19fd104f07ff13a214b2ecf4bbeb83"/><file name="system.xml" hash="bb98d038fcb387e444b74f391a289d4b"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="purchasesharingwidget.xml" hash="3854556688b7e27a8e7eda0cdf2b6610"/><file name="sbasic.xml" hash="7c857358e62756443964e038bf2fbb98"/></dir><dir name="template"><dir name="purchasesharingwidget"><file name="success.phtml" hash="c8c9d7cc98322536216ea9b03744b0b7"/><file name="widget.phtml" hash="610125320c31cf7960077555a0acbeef"/></dir><dir name="basic"><file name="sa.phtml" hash="5cf89471ad2ef9b386585a709bf86d3e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharingwidget.xml" hash="374670608fd7b7012a90aeec163220f9"/><file name="Shopalize_Basic.xml" hash="46ffdbf1ea16cf1ca03cac825ff736c4"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalizes_Purchase_Sharing_Widget</name>
4
+ <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Shopalize helps Online Retailers to increase social sharing and customer referrals from Social Media.</summary>
10
  <description>Shopalize's Post Purchase Sharing Plugin appears on your store's order confirmation page i.e. after checkout is complete. After every purchase is complete, shoppers are prompted and rewarded for sharing their purchase or your store with their friends on Facebook or Twitter. Shopalize also provide an A/B Testing platform to experiment with various campaigns and social analytics suite to measure ROI and track influential customers. Once you integrate Shopalize's plugin to your storefront and kick start few campaigns, then you don't need any involvement maintaining these campaigns. Just sit back</description>
11
+ <notes>Make basic tracking code separate and load it before end of body task</notes>
12
  <authors><author><name>Aditya Kothadiya</name><user>auto-converted</user><email>aditya@shopalize.com</email></author></authors>
13
+ <date>2012-08-20</date>
14
+ <time>20:01:30</time>
15
+ <contents><target name="magecommunity"><dir name="Shopalize"><dir name="Purchasesharing"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Info"><file name="About.php" hash="e91ca06ff51e185ed65356e617132cad"/></dir><file name="Info.php" hash="988eee568f62409fc28d9d6e02afb55a"/></dir></dir><file name="Success.php" hash="f38a7b649ed58f4c947f6599d7174609"/></dir><dir name="Helper"><file name="Data.php" hash="1b889ec3159f11e6927c9cb8b6cb761b"/><file name="Event.php" hash="8c2791b583f6393756a889278a29da0e"/></dir><dir name="controllers"><file name="IndexController.php" hash="823fa27af1e085fa49406192b83401cb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="9939e2a4c2a8d89d952d8a4e2764fec8"/><file name="config.xml" hash="85911ce0b14cbc0d98cb3d7dc2683e1c"/><file name="system.xml" hash="d1d9eaefff35e4b426bb7bb10bb56012"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="shopalizepurchasesharing.xml" hash="44725eda273b3779956670f0728b6289"/></dir><dir name="template"><dir name="shopalizepurchasesharing"><file name="basic_integration.phtml" hash="5cf89471ad2ef9b386585a709bf86d3e"/><file name="purchase_integration.phtml" hash="9c74f7fc7b4708207b1dd534a44b9b51"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharing.xml" hash="3bd5d06ea4b65aecee757be25be639bb"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>