Shopalizes_Purchase_Sharing_Widget - Version 1.1.2

Version Notes

Add Store Id in Magento configuration and provide store id setting from Shapalize

Download this release

Release Info

Developer Aditya Kothadiya
Extension Shopalizes_Purchase_Sharing_Widget
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/community/Shopalize/Purchasesharingwidget/Helper/Data.php CHANGED
@@ -41,10 +41,11 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
41
  num_items = '".$_count."';
42
  for(var cnt = 0; cnt < num_items; cnt++) { order_details.items[cnt] = {'id':'', 'title':'', 'current_price':'', 'list_price':'', 'url':'', 'image_url':''};}
43
 
44
- // Provide Merchant account, Order, and Product Details\n";
45
 
46
  $_output.="\n\torder_details['is_debug'] = true;";
47
  $_output.="\n\torder_details['merchant_id'] = '".$this->getConfig('merchant_id', 'settings')."';";
 
48
  $_output.="\n\torder_details['widget_width'] = '".$this->getConfig('widget_width', 'settings')."px';";
49
  $_output.="\n\torder_details['customer_email'] = '".$this->escapeHtml($order->getCustomerEmail())."';";
50
  $_output.="\n\torder_details['order_number'] = '".$order_id."';";
41
  num_items = '".$_count."';
42
  for(var cnt = 0; cnt < num_items; cnt++) { order_details.items[cnt] = {'id':'', 'title':'', 'current_price':'', 'list_price':'', 'url':'', 'image_url':''};}
43
 
44
+ // Provide Merchant account, Order, and Product Details\n";
45
 
46
  $_output.="\n\torder_details['is_debug'] = true;";
47
  $_output.="\n\torder_details['merchant_id'] = '".$this->getConfig('merchant_id', 'settings')."';";
48
+ $_output.="\n\torder_details['store_id'] = '".$this->getConfig('store_id', 'settings')."';";
49
  $_output.="\n\torder_details['widget_width'] = '".$this->getConfig('widget_width', 'settings')."px';";
50
  $_output.="\n\torder_details['customer_email'] = '".$this->escapeHtml($order->getCustomerEmail())."';";
51
  $_output.="\n\torder_details['order_number'] = '".$order_id."';";
app/code/community/Shopalize/Purchasesharingwidget/etc/system.xml CHANGED
@@ -83,6 +83,14 @@
83
  <show_in_store>1</show_in_store>
84
  <comment><![CDATA[Get Shopalize Merchant ID by signing up at <a target="_blank" href="http://www.shopalize.com">www.shopalize.com</a>. Look for Account ID value on Settings or Integration Guide page.]]></comment>
85
  </merchant_id>
 
 
 
 
 
 
 
 
86
  <widget_width translate="label">
87
  <label>Plugin Width</label>
88
  <frontend_type>text</frontend_type>
83
  <show_in_store>1</show_in_store>
84
  <comment><![CDATA[Get Shopalize Merchant ID by signing up at <a target="_blank" href="http://www.shopalize.com">www.shopalize.com</a>. Look for Account ID value on Settings or Integration Guide page.]]></comment>
85
  </merchant_id>
86
+ <store_id translate="label">
87
+ <label>Store Id</label>
88
+ <frontend_type>text</frontend_type>
89
+ <sort_order>21</sort_order><show_in_default>1</show_in_default>
90
+ <show_in_website>1</show_in_website>
91
+ <show_in_store>1</show_in_store>
92
+ <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>
93
+ </store_id>
94
  <widget_width translate="label">
95
  <label>Plugin Width</label>
96
  <frontend_type>text</frontend_type>
package.xml CHANGED
@@ -1,21 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalizes_Purchase_Sharing_Widget</name>
4
- <version>1.1.1</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.&#xD;
11
- &#xD;
12
- 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>
13
- <notes>Solved a compatibility problem with older versions of FireCheckout&#xD;
14
- Adjusted the Thumbnail Image size that is being sent to the Shopalize platform</notes>
15
- <authors><author><name>Aditya Kothadiya</name><user>auto-converted</user><email>aditya@shopalize.com</email></author></authors>
16
- <date>2012-05-08</date>
17
- <time>22:00:43</time>
18
- <contents><target name="magecommunity"><dir name="Shopalize"><dir name="Purchasesharingwidget"><dir name="Block"><dir name="System"><dir name="Config"><dir name="Info"><file name="About.php" hash="4cd569d89ef211946be266ba39a9cdd0"/></dir><file name="Info.php" hash="7631831242ab43ae4727bc5fe96a6ddb"/></dir></dir><file name="Purchasesharingwidget.php" hash="345cd1a160a857e4cec48d400bb91c1c"/><file name="Success.php" hash="92428ca11a72510a62952e8515e38d7f"/></dir><dir name="Helper"><file name="Data.php" hash="a01ac0e3b5dcb25a04ae00f3cdd2b6d0"/><file name="Event.php" hash="2d0abe92ee6e32e23007165a9a17542a"/></dir><dir name="controllers"><file name="IndexController.php" hash="a82c545d242ee4fc9a40de34c103b1db"/></dir><dir name="etc"><file name="adminhtml.xml" hash="86bdb512b92ee4b236d6e611953cad6d"/><file name="config.xml" hash="98b33b5109f2977acbc1b403c3f7c71a"/><file name="system.xml" hash="5ba12d973ba2e2d366507c675b0d7dc9"/></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"/></dir><dir name="template"><dir name="purchasesharingwidget"><file name="success.phtml" hash="c8c9d7cc98322536216ea9b03744b0b7"/><file name="widget.phtml" hash="610125320c31cf7960077555a0acbeef"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharingwidget.xml" hash="374670608fd7b7012a90aeec163220f9"/></dir></target></contents>
19
  <compatible/>
20
- <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalizes_Purchase_Sharing_Widget</name>
4
+ <version>1.1.2</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 &amp; relax or focus on other tasks at your hand, and let Shopalize drive social traffic and sales to your store. Seriously, it's the easiest and most powerful marketing solution out there.</description>
11
+ <notes>Add Store Id in Magento configuration and provide store id setting from Shapalize</notes>
12
+ <authors><author><name>Aditya Kothadiya</name><user>shopalize</user><email>aditya@shopalize.com</email></author></authors>
13
+ <date>2012-07-26</date>
14
+ <time>12:56:02</time>
15
+ <contents><target name="magecommunity"><dir name="Shopalize"><dir name="Purchasesharingwidget"><dir name="Block"><file name="Purchasesharingwidget.php" hash="345cd1a160a857e4cec48d400bb91c1c"/><file name="Success.php" hash="92428ca11a72510a62952e8515e38d7f"/><dir name="System"><dir name="Config"><dir name="Info"><file name="About.php" hash="4cd569d89ef211946be266ba39a9cdd0"/></dir><file name="Info.php" hash="7631831242ab43ae4727bc5fe96a6ddb"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="97d88800c4e23bc627ab5c9218142b4a"/><file name="Event.php" hash="2d0abe92ee6e32e23007165a9a17542a"/></dir><dir name="controllers"><file name="IndexController.php" hash="a82c545d242ee4fc9a40de34c103b1db"/></dir><dir name="etc"><file name="adminhtml.xml" hash="86bdb512b92ee4b236d6e611953cad6d"/><file name="config.xml" hash="98b33b5109f2977acbc1b403c3f7c71a"/><file name="system.xml" hash="83b7a00fde3561667697ba5c2d9ba4bf"/></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"/></dir><dir name="template"><dir name="purchasesharingwidget"><file name="success.phtml" hash="c8c9d7cc98322536216ea9b03744b0b7"/><file name="widget.phtml" hash="610125320c31cf7960077555a0acbeef"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharingwidget.xml" hash="374670608fd7b7012a90aeec163220f9"/></dir></target></contents>
 
 
 
16
  <compatible/>
17
+ <dependencies><required><php><min>5.1.0</min><max>100.0.0</max></php></required></dependencies>
18
  </package>