Version Notes
Shopalize Purchase Sharing Widget 1.0.1
fixed minor bugs
Download this release
Release Info
Developer | Magento Core Team |
Extension | Shopalize_Purchase_Sharing_Widget |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Shopalize/Purchasesharingwidget/Helper/Data.php
CHANGED
@@ -29,6 +29,8 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
|
|
29 |
|
30 |
if($_count>0)
|
31 |
{
|
|
|
|
|
32 |
$_output='<!-- Shopalize Integration BEGIN -->';
|
33 |
$_output.="\n".'<div id="shopalize-purchase-sharing-wrapper"></div>';
|
34 |
$_output.="\n".'<script type="text/javascript">';
|
@@ -48,7 +50,7 @@ class Shopalize_Purchasesharingwidget_Helper_Data extends Mage_Core_Helper_Abstr
|
|
48 |
$_output.="\n\tPurchaseOrder['order_number'] = '".$order_id."'";
|
49 |
$_output.="\n\tPurchaseOrder['order_total'] = '".$this->escapeHtml($order->getGrandTotal())."'";
|
50 |
$_output.="\n\tPurchaseOrder['order_currency'] = '".$this->escapeHtml($order->getOrderCurrencyCode())."'";
|
51 |
-
$_output.="\n\tPurchaseOrder['order_date'] = '".$
|
52 |
$_output.="\n";
|
53 |
|
54 |
/*get ordered items*/
|
29 |
|
30 |
if($_count>0)
|
31 |
{
|
32 |
+
$orderDate=explode(" ",$order->getCreatedAt());
|
33 |
+
$orderDate1=explode("-",$orderDate[0]);
|
34 |
$_output='<!-- Shopalize Integration BEGIN -->';
|
35 |
$_output.="\n".'<div id="shopalize-purchase-sharing-wrapper"></div>';
|
36 |
$_output.="\n".'<script type="text/javascript">';
|
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*/
|
package.xml
CHANGED
@@ -1,18 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Shopalize_Purchase_Sharing_Widget</name>
|
4 |
-
<version>1.0.
|
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
|
11 |
-
<notes>Shopalize Purchase Sharing Widget 1.0
|
|
|
|
|
12 |
<authors><author><name>Ashwini Dinker</name><user>auto-converted</user><email>dinkeronline@gmail.com</email></author></authors>
|
13 |
-
<date>2011-11-
|
14 |
-
<time>
|
15 |
-
<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="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
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 
|
12 |
+

|
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>
|