Shopalize_Purchase_Sharing_Widget - Version 1.0.2

Version Notes

Shopalize Purchase Sharing Widget 1.0.2
fixed minor bugs

Download this release

Release Info

Developer Magento Core Team
Extension Shopalize_Purchase_Sharing_Widget
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/community/Shopalize/Purchasesharingwidget/Helper/Data.php CHANGED
@@ -44,13 +44,13 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
44
  // Provide Merchant account, Order, and Product Details\n";
45
 
46
  $_output.="\n\tPurchaseOrder['is_debug'] = true;";
47
- $_output.="\n\tPurchaseOrder['merchant_id'] = '".$this->getConfig('merchant_id', 'settings')."'";
48
- $_output.="\n\tPurchaseOrder['widget_width'] = '".$this->getConfig('widget_width', 'settings')."px'";
49
- $_output.="\n\tPurchaseOrder['customer_email'] = '".$this->escapeHtml($order->getCustomerEmail())."'";
50
- $_output.="\n\tPurchaseOrder['order_number'] = '".$order_id."'";
51
- $_output.="\n\tPurchaseOrder['order_total'] = '".$this->escapeHtml($order->getGrandTotal())."'";
52
- $_output.="\n\tPurchaseOrder['order_currency'] = '".$this->escapeHtml($order->getOrderCurrencyCode())."'";
53
- $_output.="\n\tPurchaseOrder['order_date'] = '".$orderDate1[1]."-".$orderDate1[2]."-".$orderDate1[0]."'";
54
  $_output.="\n";
55
 
56
  /*get ordered items*/
@@ -69,12 +69,12 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
69
  else:
70
  $price=$_product->getPrice(); $special_price=$_item->getPrice();
71
  endif;
72
- $_output.="\n\tPurchaseOrder['items'][".$k."]['id'] = '".$_item->getSku()."'";
73
- $_output.="\n\tPurchaseOrder['items'][".$k."]['title'] = '".$_item->getName()."'";
74
- $_output.="\n\tPurchaseOrder['items'][".$k."]['current_price'] = '".$special_price."'";
75
- $_output.="\n\tPurchaseOrder['items'][".$k."]['list_price'] = '".$price."'";
76
- $_output.="\n\tPurchaseOrder['items'][".$k."]['url'] = '".$_product->getProductUrl()."'";
77
- $_output.="\n\tPurchaseOrder['items'][".$k."]['image_url'] = '".$_img."'";
78
 
79
  $k++; endforeach;
80
 
44
  // Provide Merchant account, Order, and Product Details\n";
45
 
46
  $_output.="\n\tPurchaseOrder['is_debug'] = true;";
47
+ $_output.="\n\tPurchaseOrder['merchant_id'] = '".$this->getConfig('merchant_id', 'settings')."';";
48
+ $_output.="\n\tPurchaseOrder['widget_width'] = '".$this->getConfig('widget_width', 'settings')."px';";
49
+ $_output.="\n\tPurchaseOrder['customer_email'] = '".$this->escapeHtml($order->getCustomerEmail())."';";
50
+ $_output.="\n\tPurchaseOrder['order_number'] = '".$order_id."';";
51
+ $_output.="\n\tPurchaseOrder['order_total'] = '".$this->escapeHtml($order->getGrandTotal())."';";
52
+ $_output.="\n\tPurchaseOrder['order_currency'] = '".$this->escapeHtml($order->getOrderCurrencyCode())."';";
53
+ $_output.="\n\tPurchaseOrder['order_date'] = '".$orderDate1[1]."-".$orderDate1[2]."-".$orderDate1[0]."';";
54
  $_output.="\n";
55
 
56
  /*get ordered items*/
69
  else:
70
  $price=$_product->getPrice(); $special_price=$_item->getPrice();
71
  endif;
72
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['id'] = '".$_item->getSku()."';";
73
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['title'] = '".$_item->getName()."';";
74
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['current_price'] = '".$special_price."';";
75
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['list_price'] = '".$price."';";
76
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['url'] = '".$_product->getProductUrl()."';";
77
+ $_output.="\n\tPurchaseOrder['items'][".$k."]['image_url'] = '".$_img."';";
78
 
79
  $k++; endforeach;
80
 
package.xml CHANGED
@@ -1,20 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalize_Purchase_Sharing_Widget</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The extension Integrates Shopalize Social Purchase Sharing Widget with magento shop.</summary>
10
  <description>Shopalize's Purchase Sharing Widget appears on the Order Confirmation page i.e. after checkout is complete and enables your customers to share their Purchases or specific Promotional Offers with their friends on existing social media platforms. It provides deep integration with growing social platforms like Facebook and Twitter for maximum reach, more engagement, and seamless experience. You can completely customize the look and feel, messaging of the Widget to match your store's needs.</description>
11
- <notes>Shopalize Purchase Sharing Widget 1.0.1 &#xD;
12
- &#xD;
13
  fixed minor bugs</notes>
14
  <authors><author><name>Ashwini Dinker</name><user>auto-converted</user><email>dinkeronline@gmail.com</email></author></authors>
15
- <date>2011-11-19</date>
16
- <time>10:38:22</time>
17
- <contents><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharingwidget.xml" hash="374670608fd7b7012a90aeec163220f9"/></dir></target><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="d882c623f4e0b70cf79ed83d84e99284"/></dir><file name="Info.php" hash="4b9c009189fd3eb7d581f05407028ad1"/></dir></dir><file name="Purchasesharingwidget.php" hash="345cd1a160a857e4cec48d400bb91c1c"/><file name="Success.php" hash="92428ca11a72510a62952e8515e38d7f"/></dir><dir name="Helper"><file name="Data.php" hash="0950b8bb32971939fe022aa2ff8f485c"/></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="d3ac38b495665181cf775e9a0912cba8"/><file name="system.xml" hash="9b77a0f5af215cff5be944c99b343387"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="purchasesharingwidget"><file name="success.phtml" hash="45bca1908ae08864823137728df2f35e"/></dir></dir><dir name="layout"><file name="purchasesharingwidget.xml" hash="c9628990b3dbfceeb9bffb33dccf7824"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Shopalize_Purchase_Sharing_Widget</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>The extension Integrates Shopalize Social Purchase Sharing Widget with magento shop.</summary>
10
  <description>Shopalize's Purchase Sharing Widget appears on the Order Confirmation page i.e. after checkout is complete and enables your customers to share their Purchases or specific Promotional Offers with their friends on existing social media platforms. It provides deep integration with growing social platforms like Facebook and Twitter for maximum reach, more engagement, and seamless experience. You can completely customize the look and feel, messaging of the Widget to match your store's needs.</description>
11
+ <notes>Shopalize Purchase Sharing Widget 1.0.2&#xD;
 
12
  fixed minor bugs</notes>
13
  <authors><author><name>Ashwini Dinker</name><user>auto-converted</user><email>dinkeronline@gmail.com</email></author></authors>
14
+ <date>2011-11-26</date>
15
+ <time>12:31:54</time>
16
+ <contents><target name="mageetc"><dir name="modules"><file name="Shopalize_Purchasesharingwidget.xml" hash="374670608fd7b7012a90aeec163220f9"/></dir></target><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="d882c623f4e0b70cf79ed83d84e99284"/></dir><file name="Info.php" hash="4b9c009189fd3eb7d581f05407028ad1"/></dir></dir><file name="Purchasesharingwidget.php" hash="345cd1a160a857e4cec48d400bb91c1c"/><file name="Success.php" hash="92428ca11a72510a62952e8515e38d7f"/></dir><dir name="Helper"><file name="Data.php" hash="16eae602a556feae9889b65ef15b3000"/></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="d3ac38b495665181cf775e9a0912cba8"/><file name="system.xml" hash="9b77a0f5af215cff5be944c99b343387"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="purchasesharingwidget"><file name="success.phtml" hash="45bca1908ae08864823137728df2f35e"/></dir></dir><dir name="layout"><file name="purchasesharingwidget.xml" hash="c9628990b3dbfceeb9bffb33dccf7824"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>