Version Notes
First Preview Release
Download this release
Release Info
Developer | Mobiweb |
Extension | Mobiweb |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/community/Mobiweb/OrderShare/Block/Multishipping/Ordershare.php +51 -0
- app/code/community/Mobiweb/OrderShare/Block/Ordershare.php +51 -0
- app/code/community/Mobiweb/OrderShare/Helper/Data.php +5 -0
- app/code/community/Mobiweb/OrderShare/Model/Share.php +5 -0
- app/code/community/Mobiweb/OrderShare/etc/config.xml +92 -0
- app/code/community/Mobiweb/OrderShare/etc/system.xml +90 -0
- app/design/frontend/rwd/default/layout/mobiweb/ordershare.xml +21 -0
- app/design/frontend/rwd/default/template/mobiweb/ordershare/multishipping/ordershare.phtml +116 -0
- app/design/frontend/rwd/default/template/mobiweb/ordershare/ordershare.phtml +114 -0
- app/etc/modules/Mobiweb_OrderShare.xml +10 -0
- app/locale/en_US/mobiweb_Ordershare.csv +2 -0
- package.xml +18 -0
- skin/frontend/rwd/default/mobiweb/ordershare/css/ordershare.css +88 -0
app/code/community/Mobiweb/OrderShare/Block/Multishipping/Ordershare.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mobiweb_OrderShare_Block_Multishipping_Ordershare extends Mage_Checkout_Block_Multishipping_Success {
|
3 |
+
public function getOrder() {
|
4 |
+
return Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
|
5 |
+
}
|
6 |
+
|
7 |
+
public function getOrderedProduct($ordered_product) {
|
8 |
+
return Mage::getModel('catalog/product')->load($ordered_product->getProductId());
|
9 |
+
}
|
10 |
+
|
11 |
+
public function getTwitterUser() {
|
12 |
+
return trim(Mage::getStoreConfig('ordershare/twitter/username'));
|
13 |
+
}
|
14 |
+
|
15 |
+
public function getTwitterUrl($_twitter_text, $_product) {
|
16 |
+
$_twitter_user = $this->getTwitterUser();
|
17 |
+
$_twitter_url = "http://twitter.com/share?text=" . urlencode ( $_twitter_text ) . "&url=" . $_product->getProductUrl();
|
18 |
+
if ($_twitter_user != "") {
|
19 |
+
$_twitter_url .= "&via=" . $_twitter_user;
|
20 |
+
}
|
21 |
+
|
22 |
+
return $_twitter_url;
|
23 |
+
}
|
24 |
+
|
25 |
+
public function getFacebookUrl($_product) {
|
26 |
+
return "http://facebook.com/sharer.php?u=" . rawurlencode($_product->getProductUrl()) . '&t=' . rawurlencode(Mage::getStoreConfig('general/store_information/name') . ' | ' . $_product->getName());
|
27 |
+
}
|
28 |
+
|
29 |
+
public function getLinkedinUrl($_linkedin_text, $_product){
|
30 |
+
return "http://www.linkedin.com/cws/share?text=" . urlencode ( $_linkedin_text ) . "&url=" . rawurlencode($_product->getProductUrl()) . '&t=' . rawurlencode(Mage::getStoreConfig('general/store_information/name') . ' | ' . $_product->getName());
|
31 |
+
}
|
32 |
+
public function getGoogleUrl($_product){
|
33 |
+
return "https://plus.google.com/share?url=".rawurlencode($_product->getProductUrl())."&hl=en".'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name').' | '.$_product->getName());
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
public function getPinUrl($_product){
|
38 |
+
return "https://pinterest.com/pin/create/button/?source_url=".rawurlencode($_product->getProductUrl())."&media=".$_product->getImageUrl()."&description=".rawurlencode($_product->getName()).'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name') .' | '. $_product->getName());
|
39 |
+
}
|
40 |
+
public function getStumbleUrl($_product){
|
41 |
+
return "http://www.stumbleupon.com/badge/?url=".rawurlencode($_product->getProductUrl()).'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name') .' | '. $_product->getName());
|
42 |
+
}
|
43 |
+
|
44 |
+
public function getStoreName() {
|
45 |
+
return Mage::getStoreConfig('general/store_information/name');
|
46 |
+
}
|
47 |
+
|
48 |
+
public function getColumnCount() {
|
49 |
+
return Mage::getStoreConfig('ordershare/design/columncount');
|
50 |
+
}
|
51 |
+
}
|
app/code/community/Mobiweb/OrderShare/Block/Ordershare.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mobiweb_OrderShare_Block_Ordershare extends Mage_Checkout_Block_Onepage_Success {
|
3 |
+
public function getOrder() {
|
4 |
+
return Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
|
5 |
+
}
|
6 |
+
|
7 |
+
public function getOrderedProduct($ordered_product) {
|
8 |
+
return Mage::getModel('catalog/product')->load($ordered_product->getProductId());
|
9 |
+
}
|
10 |
+
|
11 |
+
public function getTwitterUser() {
|
12 |
+
return trim(Mage::getStoreConfig('ordershare/twitter/username'));
|
13 |
+
}
|
14 |
+
|
15 |
+
public function getTwitterUrl($_twitter_text, $_product) {
|
16 |
+
$_twitter_user = $this->getTwitterUser();
|
17 |
+
$_twitter_url = "http://twitter.com/share?text=" . urlencode ( $_twitter_text ) . "&url=" . $_product->getProductUrl();
|
18 |
+
if ($_twitter_user != "") {
|
19 |
+
$_twitter_url .= "&via=" . $_twitter_user;
|
20 |
+
}
|
21 |
+
|
22 |
+
return $_twitter_url;
|
23 |
+
}
|
24 |
+
|
25 |
+
public function getFacebookUrl($_product) {
|
26 |
+
return "http://facebook.com/sharer.php?u=" . rawurlencode($_product->getProductUrl()) . '&t=' . rawurlencode(Mage::getStoreConfig('general/store_information/name') . ' | ' . $_product->getName());
|
27 |
+
}
|
28 |
+
|
29 |
+
public function getLinkedinUrl($_linkedin_text, $_product){
|
30 |
+
return "http://www.linkedin.com/cws/share?text=" . urlencode ( $_linkedin_text ) . "&url=" . rawurlencode($_product->getProductUrl()) . '&t=' . rawurlencode(Mage::getStoreConfig('general/store_information/name') . ' | ' . $_product->getName());
|
31 |
+
}
|
32 |
+
public function getGoogleUrl($_product){
|
33 |
+
return "https://plus.google.com/share?url=".rawurlencode($_product->getProductUrl())."&hl=en".'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name').' | '.$_product->getName());
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
public function getPinUrl($_product){
|
38 |
+
return "https://pinterest.com/pin/create/button/?source_url=".rawurlencode($_product->getProductUrl())."&media=".$_product->getImageUrl()."&description=".rawurlencode($_product->getName()).'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name') .' | '. $_product->getName());
|
39 |
+
}
|
40 |
+
public function getStumbleUrl($_product){
|
41 |
+
return "http://www.stumbleupon.com/badge/?url=".rawurlencode($_product->getProductUrl()).'&t='.rawurlencode(Mage::getStoreConfig('general/store_information/name') .' | '. $_product->getName());
|
42 |
+
}
|
43 |
+
|
44 |
+
public function getStoreName() {
|
45 |
+
return Mage::getStoreConfig('general/store_information/name');
|
46 |
+
}
|
47 |
+
|
48 |
+
public function getColumnCount() {
|
49 |
+
return Mage::getStoreConfig('ordershare/design/columncount');
|
50 |
+
}
|
51 |
+
}
|
app/code/community/Mobiweb/OrderShare/Helper/Data.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mobiweb_OrderShare_Helper_Data extends Mage_Core_Helper_Abstract {
|
4 |
+
|
5 |
+
}
|
app/code/community/Mobiweb/OrderShare/Model/Share.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Mobiweb_OrderShare_Model_Share
|
3 |
+
{
|
4 |
+
|
5 |
+
}
|
app/code/community/Mobiweb/OrderShare/etc/config.xml
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" ?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Mobiweb_OrderShare>
|
5 |
+
<version>1.1.4</version>
|
6 |
+
</Mobiweb_OrderShare>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<global>
|
10 |
+
<models>
|
11 |
+
<ordershare>
|
12 |
+
<class>Mobiweb_OrderShare_Model</class>
|
13 |
+
</ordershare>
|
14 |
+
</models>
|
15 |
+
<blocks>
|
16 |
+
<ordershare>
|
17 |
+
<class>Mobiweb_OrderShare_Block</class>
|
18 |
+
</ordershare>
|
19 |
+
</blocks>
|
20 |
+
<helpers>
|
21 |
+
<ordershare>
|
22 |
+
<class>Mobiweb_OrderShare_Helper</class>
|
23 |
+
</ordershare>
|
24 |
+
</helpers>
|
25 |
+
|
26 |
+
</global>
|
27 |
+
|
28 |
+
<frontend>
|
29 |
+
<layout>
|
30 |
+
<updates>
|
31 |
+
<ordershare>
|
32 |
+
<file>mobiweb/ordershare.xml</file>
|
33 |
+
</ordershare>
|
34 |
+
</updates>
|
35 |
+
</layout>
|
36 |
+
<translate>
|
37 |
+
<modules>
|
38 |
+
<Mobiweb_OrderShare>
|
39 |
+
<files>
|
40 |
+
<default>Mobiweb_Ordershare.csv</default>
|
41 |
+
</files>
|
42 |
+
</Mobiweb_OrderShare>
|
43 |
+
</modules>
|
44 |
+
</translate>
|
45 |
+
</frontend>
|
46 |
+
|
47 |
+
<admin>
|
48 |
+
<routers>
|
49 |
+
<ordershare>
|
50 |
+
<use>admin</use>
|
51 |
+
<args>
|
52 |
+
<module>Mobiweb_OrderShare</module>
|
53 |
+
<frontName>ordershare</frontName>
|
54 |
+
</args>
|
55 |
+
</ordershare>
|
56 |
+
</routers>
|
57 |
+
</admin>
|
58 |
+
|
59 |
+
<adminhtml>
|
60 |
+
<acl>
|
61 |
+
<all>
|
62 |
+
<title>Allow Everything</title>
|
63 |
+
</all>
|
64 |
+
<resources>
|
65 |
+
<admin>
|
66 |
+
<children>
|
67 |
+
<system>
|
68 |
+
<children>
|
69 |
+
<config>
|
70 |
+
<children>
|
71 |
+
<ordershare translate="title" module="ordershare">
|
72 |
+
<title>Order Share</title>
|
73 |
+
</ordershare>
|
74 |
+
</children>
|
75 |
+
</config>
|
76 |
+
</children>
|
77 |
+
</system>
|
78 |
+
</children>
|
79 |
+
</admin>
|
80 |
+
</resources>
|
81 |
+
</acl>
|
82 |
+
</adminhtml>
|
83 |
+
|
84 |
+
<default>
|
85 |
+
<ordershare>
|
86 |
+
<design>
|
87 |
+
<columncount>4</columncount>
|
88 |
+
</design>
|
89 |
+
</ordershare>
|
90 |
+
</default>
|
91 |
+
|
92 |
+
</config>
|
app/code/community/Mobiweb/OrderShare/etc/system.xml
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<sections>
|
4 |
+
<ordershare translate="label" module="ordershare">
|
5 |
+
<label>Mobiweb Order Share</label>
|
6 |
+
<tab>sales</tab>
|
7 |
+
<frontend_type>text</frontend_type>
|
8 |
+
<sort_order>2000</sort_order>
|
9 |
+
<show_in_default>1</show_in_default>
|
10 |
+
<show_in_website>1</show_in_website>
|
11 |
+
<show_in_store>1</show_in_store>
|
12 |
+
<groups>
|
13 |
+
<design translate="label">
|
14 |
+
<label>Order Share configuration</label>
|
15 |
+
<frontend_type>text</frontend_type>
|
16 |
+
<sort_order>20</sort_order>
|
17 |
+
<show_in_default>1</show_in_default>
|
18 |
+
<show_in_website>1</show_in_website>
|
19 |
+
<show_in_store>1</show_in_store>
|
20 |
+
<fields>
|
21 |
+
<enabled translate="label">
|
22 |
+
<label>Enabled</label>
|
23 |
+
<frontend_type>select</frontend_type>
|
24 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
25 |
+
<sort_order>1</sort_order>
|
26 |
+
<show_in_default>1</show_in_default>
|
27 |
+
<show_in_website>1</show_in_website>
|
28 |
+
<show_in_store>1</show_in_store>
|
29 |
+
</enabled>
|
30 |
+
<twitter translate="label">
|
31 |
+
<label>Share on Twitter</label>
|
32 |
+
<frontend_type>select</frontend_type>
|
33 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
34 |
+
<sort_order>2</sort_order>
|
35 |
+
<show_in_default>1</show_in_default>
|
36 |
+
<show_in_website>1</show_in_website>
|
37 |
+
<show_in_store>1</show_in_store>
|
38 |
+
</twitter>
|
39 |
+
<facebook translate="label">
|
40 |
+
<label>Share on Facebook</label>
|
41 |
+
<frontend_type>select</frontend_type>
|
42 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
43 |
+
<sort_order>3</sort_order>
|
44 |
+
<show_in_default>1</show_in_default>
|
45 |
+
<show_in_website>1</show_in_website>
|
46 |
+
<show_in_store>1</show_in_store>
|
47 |
+
</facebook>
|
48 |
+
<linkedin translate="label">
|
49 |
+
<label>Share on Linkedin</label>
|
50 |
+
<frontend_type>select</frontend_type>
|
51 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
52 |
+
<sort_order>4</sort_order>
|
53 |
+
<show_in_default>1</show_in_default>
|
54 |
+
<show_in_website>1</show_in_website>
|
55 |
+
<show_in_store>1</show_in_store>
|
56 |
+
</linkedin>
|
57 |
+
<googleplus translate="label">
|
58 |
+
<label>Share on Google Plus</label>
|
59 |
+
<frontend_type>select</frontend_type>
|
60 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
61 |
+
<sort_order>5</sort_order>
|
62 |
+
<show_in_default>1</show_in_default>
|
63 |
+
<show_in_website>1</show_in_website>
|
64 |
+
<show_in_store>1</show_in_store>
|
65 |
+
</googleplus>
|
66 |
+
<pinterest translate="label">
|
67 |
+
<label>Share on Pinterest</label>
|
68 |
+
<frontend_type>select</frontend_type>
|
69 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
70 |
+
<sort_order>6</sort_order>
|
71 |
+
<show_in_default>1</show_in_default>
|
72 |
+
<show_in_website>1</show_in_website>
|
73 |
+
<show_in_store>1</show_in_store>
|
74 |
+
</pinterest>
|
75 |
+
<stumbleupon translate="label">
|
76 |
+
<label>Share on Stumbleupon</label>
|
77 |
+
<frontend_type>select</frontend_type>
|
78 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
79 |
+
<sort_order>7</sort_order>
|
80 |
+
<show_in_default>1</show_in_default>
|
81 |
+
<show_in_website>1</show_in_website>
|
82 |
+
<show_in_store>1</show_in_store>
|
83 |
+
</stumbleupon>
|
84 |
+
</fields>
|
85 |
+
</design>
|
86 |
+
|
87 |
+
</groups>
|
88 |
+
</ordershare>
|
89 |
+
</sections>
|
90 |
+
</config>
|
app/design/frontend/rwd/default/layout/mobiweb/ordershare.xml
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<checkout_onepage_success>
|
4 |
+
<remove name="checkout.success" />
|
5 |
+
<reference name="head">
|
6 |
+
<action method="addCss"><stylesheet>mobiweb/ordershare/css/ordershare.css</stylesheet></action>
|
7 |
+
</reference>
|
8 |
+
<reference name="content">
|
9 |
+
<block type="ordershare/ordershare" name="mobiweb.ordershare" template="mobiweb/ordershare/ordershare.phtml"/>
|
10 |
+
</reference>
|
11 |
+
</checkout_onepage_success>
|
12 |
+
<checkout_multishipping_success>
|
13 |
+
<remove name="checkout_success" />
|
14 |
+
<reference name="head">
|
15 |
+
<action method="addCss"><stylesheet>mobiweb/ordershare/css/ordershare.css</stylesheet></action>
|
16 |
+
</reference>
|
17 |
+
<reference name="content">
|
18 |
+
<block type="ordershare/multishipping_ordershare" name="checkout_ordershare_success" template="mobiweb/ordershare/multishipping/ordershare.phtml" />
|
19 |
+
</reference>
|
20 |
+
</checkout_multishipping_success>
|
21 |
+
</layout>
|
app/design/frontend/rwd/default/template/mobiweb/ordershare/multishipping/ordershare.phtml
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="fb-root"></div>
|
2 |
+
<script>(function(d, s, id) {
|
3 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
4 |
+
if (d.getElementById(id)) return;
|
5 |
+
js = d.createElement(s); js.id = id;
|
6 |
+
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=446177488757452";
|
7 |
+
fjs.parentNode.insertBefore(js, fjs);
|
8 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
9 |
+
|
10 |
+
<div class="page-title">
|
11 |
+
<h1><?php echo $this->__('Order Success') ?></h1>
|
12 |
+
</div>
|
13 |
+
<p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
|
14 |
+
<p><?php echo $this->__('We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.') ?></p>
|
15 |
+
<?php if($_orderIds = $this->getOrderIds()): ?>
|
16 |
+
<p>
|
17 |
+
<?php $flag = false ?>
|
18 |
+
<?php echo $this->__('Your order number is ') ?>
|
19 |
+
<?php foreach ($_orderIds as $orderId=>$incrementId): ?>
|
20 |
+
<?php if ($flag): ?>
|
21 |
+
<?php echo ', ' ?>
|
22 |
+
<?php endif; ?>
|
23 |
+
<?php $flag = true ?>
|
24 |
+
<a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
|
25 |
+
<?php endforeach; ?>
|
26 |
+
</p>
|
27 |
+
<?php endif; ?>
|
28 |
+
<?php echo $this->getChildHtml() ?>
|
29 |
+
|
30 |
+
|
31 |
+
<?php
|
32 |
+
if (Mage::getStoreConfig('ordershare/design/enabled')) {?>
|
33 |
+
|
34 |
+
<?php if (isset($_orderIds)):?>
|
35 |
+
<div class="ordershare">
|
36 |
+
<h2><?php echo $this->__('Why not share your purchase to twitter or facebook?') ?></h2>
|
37 |
+
<?php foreach ($_orderIds as $orderId=>$incrementId): ?>
|
38 |
+
<?php $order = Mage::getModel('sales/order')->loadByIncrementId($incrementId); ?>
|
39 |
+
|
40 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
41 |
+
<?php $_products = $order->getAllVisibleItems() ?>
|
42 |
+
<?php $_collectionSize = count($_products) ?>
|
43 |
+
|
44 |
+
<?php $i = 0; foreach ( $order->getAllItems() as $item ) : ?>
|
45 |
+
<?php $_product = Mage::getModel('catalog/product')->load($item->getProductId()); ?>
|
46 |
+
<?php
|
47 |
+
if (!$_product->isVisibleInSiteVisibility()) {
|
48 |
+
continue;
|
49 |
+
}
|
50 |
+
?>
|
51 |
+
|
52 |
+
<?php if ($i++%$_columnCount==0): ?>
|
53 |
+
<ul class="products-grid">
|
54 |
+
<?php endif ?>
|
55 |
+
|
56 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
57 |
+
<?php $_twitter_text = $this->__("I just bought a %s from %s", $_product->getName(), $this->getStoreName()); ?>
|
58 |
+
<?php $_pin_text = $this->__("I just bought a %s from %s", $_product->getName(), $this->getStoreName()); ?>
|
59 |
+
<?php $_twitter_user = $this->getTwitterUser(); ?>
|
60 |
+
|
61 |
+
|
62 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
63 |
+
<?php if ($_product->getImage()) :?>
|
64 |
+
<div class="product-image">
|
65 |
+
<?php $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'small_image')->resize(135).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
|
66 |
+
echo $_helper->productAttribute($_product, $_img, 'image'); ?>
|
67 |
+
</div>
|
68 |
+
<?php endif; ?>
|
69 |
+
|
70 |
+
<h2 class="product-name"><?php echo $_product->getName() ?></h2>
|
71 |
+
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
|
72 |
+
<?php $_twitter_url = $this->getTwitterUrl($_twitter_text, $_product) ?>
|
73 |
+
<?php $_facebook_url = $this->getFacebookUrl($_product) ?>
|
74 |
+
<?php $_linkedin_url = $this->getLinkedinUrl($_linkedin_text, $_product) ?>
|
75 |
+
<?php $_google_url = $this->getGoogleUrl($_product) ?>
|
76 |
+
<?php $_stumble_url = $this->getStumbleUrl($_product) ?>
|
77 |
+
|
78 |
+
<ul>
|
79 |
+
<?php if (Mage::getStoreConfig('ordershare/design/twitter')) {?>
|
80 |
+
<li class="twitter"><a target="_blank" href="<?php echo $_twitter_url; ?>">t</a></li>
|
81 |
+
<?php } ?>
|
82 |
+
<?php if (Mage::getStoreConfig('ordershare/design/facebook')) {?>
|
83 |
+
<li class="facebook"><a target="_blank" href="<?php echo $_facebook_url; ?>">f</a></li>
|
84 |
+
<?php } ?>
|
85 |
+
<?php if (Mage::getStoreConfig('ordershare/design/linkedin')) {?>
|
86 |
+
<li class="linkedin-sharing"><a target="_blank" href="<?php echo $_linkedin_url; ?>">in</a></li>
|
87 |
+
<?php } ?>
|
88 |
+
<?php if (Mage::getStoreConfig('ordershare/design/googleplus')) {?>
|
89 |
+
<li class="google"><a target="_blank" href="<?php echo $_google_url; ?>">g+</a></li>
|
90 |
+
<?php } ?>
|
91 |
+
<?php if (Mage::getStoreConfig('ordershare/design/pinterest')) {?>
|
92 |
+
<li class="pintrest"><a target="_blank" href="<?php echo $_pin_url; ?>"> p</a></li>
|
93 |
+
<?php } ?>
|
94 |
+
<?php if (Mage::getStoreConfig('ordershare/design/stumbleupon')) {?>
|
95 |
+
<li class="stumble"><a target="_blank" href="<?php echo $_stumble_url; ?>">Stumbleupon</a></li>
|
96 |
+
<?php } ?>
|
97 |
+
|
98 |
+
</ul>
|
99 |
+
|
100 |
+
|
101 |
+
</li>
|
102 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
103 |
+
</ul>
|
104 |
+
<?php endif ?>
|
105 |
+
|
106 |
+
|
107 |
+
<?php endforeach; ?>
|
108 |
+
<?php endforeach; ?>
|
109 |
+
</div>
|
110 |
+
<?php endif; ?>
|
111 |
+
|
112 |
+
|
113 |
+
<div class="buttons-set">
|
114 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
115 |
+
</div>
|
116 |
+
<?php }?>
|
app/design/frontend/rwd/default/template/mobiweb/ordershare/ordershare.phtml
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="fb-root"></div>
|
2 |
+
<script>(function(d, s, id) {
|
3 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
4 |
+
if (d.getElementById(id)) return;
|
5 |
+
js = d.createElement(s); js.id = id;
|
6 |
+
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
|
7 |
+
fjs.parentNode.insertBefore(js, fjs);
|
8 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
9 |
+
|
10 |
+
<div class="page-title">
|
11 |
+
<h1><?php echo $this->__('Your order has been received') ?></h1>
|
12 |
+
</div>
|
13 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
14 |
+
<p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
|
15 |
+
|
16 |
+
<?php if ($this->getOrderId()):?>
|
17 |
+
<?php if ($this->getCanViewOrder()) :?>
|
18 |
+
<p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
|
19 |
+
<?php else :?>
|
20 |
+
<p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?>.</p>
|
21 |
+
<?php endif;?>
|
22 |
+
<p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
|
23 |
+
<?php if ($this->getViewOrder() && $this->getCanPrintOrder()) :?>
|
24 |
+
<p>
|
25 |
+
<?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
|
26 |
+
<?php echo $this->getChildHtml() ?>
|
27 |
+
</p>
|
28 |
+
<?php endif;?>
|
29 |
+
<?php endif;?>
|
30 |
+
|
31 |
+
<?php if ($this->getAgreementRefId()): ?>
|
32 |
+
<p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
|
33 |
+
<?php endif;?>
|
34 |
+
|
35 |
+
<?php if ($profiles = $this->getRecurringProfiles()):?>
|
36 |
+
<p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
|
37 |
+
<ul>
|
38 |
+
<?php foreach($profiles as $profile):?>
|
39 |
+
<?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')));?>
|
40 |
+
<li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
|
41 |
+
<?php endforeach;?>
|
42 |
+
</ul>
|
43 |
+
<?php endif;?>
|
44 |
+
|
45 |
+
<?php
|
46 |
+
if (Mage::getStoreConfig('ordershare/design/enabled')) {?>
|
47 |
+
|
48 |
+
|
49 |
+
<?php if ($this->getOrderId()):?>
|
50 |
+
<div class="ordershare">
|
51 |
+
<h2><?php echo $this->__('Why not share your purchase to twitter, facebook or Linkedin?') ?></h2>
|
52 |
+
<?php $order = $this->getOrder(); ?>
|
53 |
+
|
54 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
55 |
+
<?php $_products = $order->getAllVisibleItems() ?>
|
56 |
+
<?php $_collectionSize = count($_products) ?>
|
57 |
+
<ul class="products-grid">
|
58 |
+
<?php $i=0; foreach ( $_products as $item ) : ?>
|
59 |
+
<?php $_product = $this->getOrderedProduct($item)?>
|
60 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
61 |
+
<?php $_twitter_text = $this->__("I just bought a %s from %s", $_product->getName(), $this->getStoreName()); ?>
|
62 |
+
<?php $_linkedin_text = $this->__("I just bought a %s from %s", $_product->getName(), $this->getStoreName()); ?>
|
63 |
+
<?php $_twitter_user = $this->getTwitterUser(); ?>
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
<li class="item">
|
68 |
+
<?php if ($_product->getImage()) :?>
|
69 |
+
<div class="product-image">
|
70 |
+
<?php $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'small_image')->resize(135).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
|
71 |
+
echo $_helper->productAttribute($_product, $_img, 'image'); ?>
|
72 |
+
</div>
|
73 |
+
<?php endif; ?>
|
74 |
+
<h2 class="product-name"><?php echo $_product->getName() ?></h2>
|
75 |
+
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
|
76 |
+
<?php $_twitter_url = $this->getTwitterUrl($_twitter_text, $_product) ?>
|
77 |
+
<?php $_facebook_url = $this->getFacebookUrl($_product) ?>
|
78 |
+
<?php $_linkedin_url = $this->getLinkedinUrl($_linkedin_text, $_product) ?>
|
79 |
+
<?php $_google_url = $this->getGoogleUrl($_product) ?>
|
80 |
+
<?php $_pin_url = $this->getPinUrl($_product) ?>
|
81 |
+
<?php $_stumble_url = $this->getStumbleUrl($_product) ?>
|
82 |
+
|
83 |
+
<ul>
|
84 |
+
<?php if (Mage::getStoreConfig('ordershare/design/twitter')) {?>
|
85 |
+
<li class="twitter"><a target="_blank" title="twitter" href="<?php echo $_twitter_url; ?>">t</a></li>
|
86 |
+
<?php } ?>
|
87 |
+
<?php if (Mage::getStoreConfig('ordershare/design/facebook')) {?>
|
88 |
+
<li class="facebook"><a target="_blank" title="facebook" href="<?php echo $_facebook_url; ?>">f</a></li>
|
89 |
+
<?php } ?>
|
90 |
+
<?php if (Mage::getStoreConfig('ordershare/design/linkedin')) {?>
|
91 |
+
<li class="linkedin-sharing"><a target="_blank" title="Linkedin" href="<?php echo $_linkedin_url; ?>">in</a></li>
|
92 |
+
<?php } ?>
|
93 |
+
<?php if (Mage::getStoreConfig('ordershare/design/googleplus')) {?>
|
94 |
+
<li class="google"><a target="_blank" title="googleplus" href="<?php echo $_google_url; ?>">g+</a></li>
|
95 |
+
<?php } ?>
|
96 |
+
<?php if (Mage::getStoreConfig('ordershare/design/pinterest')) {?>
|
97 |
+
<li class="pintrest"><a target="_blank" title="pintrest" href="<?php echo $_pin_url; ?>">p</a></li>
|
98 |
+
<?php } ?>
|
99 |
+
<?php if (Mage::getStoreConfig('ordershare/design/stumbleupon')) {?>
|
100 |
+
<li class="stumble"><a target="_blank" title="stumble upon" href="<?php echo $_stumble_url; ?>">Su</a></li>
|
101 |
+
<?php } ?>
|
102 |
+
|
103 |
+
</ul>
|
104 |
+
</li>
|
105 |
+
|
106 |
+
|
107 |
+
<?php endforeach; ?>
|
108 |
+
</ul>
|
109 |
+
</div>
|
110 |
+
<?php endif; ?>
|
111 |
+
<div class="buttons-set">
|
112 |
+
<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>
|
113 |
+
</div>
|
114 |
+
<?php }?>
|
app/etc/modules/Mobiweb_OrderShare.xml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" ?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Mobiweb_OrderShare>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</Mobiweb_OrderShare>
|
8 |
+
</modules>
|
9 |
+
</config>
|
10 |
+
|
app/locale/en_US/mobiweb_Ordershare.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
"I just bought a %s from %s","I just bought a %s from %s"
|
2 |
+
"Why not share your purchase to twitter or facebook?","Why not share your purchase to twitter or facebook?"
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Mobiweb</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Mobiweb Order Share Extension allows you to share your products from Magento order success page to your Social Accounts.</summary>
|
10 |
+
<description>Mobiweb Order Share Extension allows you to share your products from Magento order success page to your Social Accounts. This module shows the social share options like Facebook, twitter, Linkedin, Google Plus, Pintrest and Stumbleupon. The extension provide a very easy way to share the products to your friends or also on professional network along with product image, link and description. This extension is easy to install and also support old and latest Magento versions.</description>
|
11 |
+
<notes>First Preview Release</notes>
|
12 |
+
<authors><author><name>Mobiweb</name><user>Ravi</user><email>info@mobiwebtech.com</email></author></authors>
|
13 |
+
<date>2016-08-05</date>
|
14 |
+
<time>10:03:10</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Mobiweb"><dir name="OrderShare"><dir name="Block"><dir name="Multishipping"><file name="Ordershare.php" hash="93e6ed66e9a6d5eb9cabdee575c10205"/></dir><file name="Ordershare.php" hash="1c9c795129923e1402ce4d25a2904a8c"/></dir><dir name="Helper"><file name="Data.php" hash="a773be4cb1f91456842f7bbaf639007b"/></dir><dir name="Model"><file name="Share.php" hash="677d38c3fbd752c56e39b2c27ffc0215"/></dir><dir name="etc"><file name="config.xml" hash="5a37d8aec1d27ea7c25c7507a8ed459c"/><file name="system.xml" hash="8655c0417f4e42ef74b3376830104842"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="mobiweb"><dir name="ordershare"><dir name="multishipping"><file name="ordershare.phtml" hash="bce8cba86a8ff05dcfc31f65fedc3135"/></dir><file name="ordershare.phtml" hash="0d4016d2023afb41715a5373c2427221"/></dir></dir></dir><dir name="layout"><dir name="mobiweb"><file name="ordershare.xml" hash="ba07554101bfb94d366af204eba6c45b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mobiweb_OrderShare.xml" hash="b9d19e5472e44b71faeda9c50e7f900b"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="mobiweb_Ordershare.csv" hash="16d344a47fd34dd45a565610a92174a9"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="mobiweb"><dir name="ordershare"><dir name="css"><file name="ordershare.css" hash="c495dba5f277d723189e2461a4b44c68"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><package><name>Mobiweb</name><channel>community</channel><min>5.0.0</min><max>6.0.0</max></package></required></dependencies>
|
18 |
+
</package>
|
skin/frontend/rwd/default/mobiweb/ordershare/css/ordershare.css
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.ordershare h2 {
|
2 |
+
margin:10px 0 20px;
|
3 |
+
}
|
4 |
+
|
5 |
+
.ordershare .item ul li {
|
6 |
+
float:left;
|
7 |
+
width:30px;
|
8 |
+
height:30px;
|
9 |
+
margin:0 10px 0 0;
|
10 |
+
}
|
11 |
+
|
12 |
+
.ordershare .item ul li a {
|
13 |
+
display:block;
|
14 |
+
width:30px;
|
15 |
+
height:30px;
|
16 |
+
overflow:hidden;
|
17 |
+
line-height:28px;
|
18 |
+
text-decoration:none;
|
19 |
+
font-size: 22px;
|
20 |
+
box-shadow: 0 0 2px #000;
|
21 |
+
font-weight: bold;
|
22 |
+
text-shadow:0 -1px 0 rgba(0,0,0,0.5);
|
23 |
+
-moz-border-radius:5px;
|
24 |
+
-webkit-border-radius:5px;
|
25 |
+
border-radius:5px;
|
26 |
+
text-transform:lowercase;
|
27 |
+
color: #fff;
|
28 |
+
}
|
29 |
+
|
30 |
+
.ordershare .item ul li a:hover,
|
31 |
+
.ordershare .item ul li a:focus,
|
32 |
+
.ordershare .item ul li a:active {
|
33 |
+
opacity:0.8;
|
34 |
+
border-color:#000;
|
35 |
+
}
|
36 |
+
|
37 |
+
.ordershare .item div.share {
|
38 |
+
padding:10px;
|
39 |
+
}
|
40 |
+
|
41 |
+
.ordershare .item div.facebook,
|
42 |
+
.ordershare .item div.twitter, .ordershare .item div.linkedin {
|
43 |
+
float:left;
|
44 |
+
}
|
45 |
+
|
46 |
+
.ordershare .item div.facebook {
|
47 |
+
margin-left:10px;
|
48 |
+
}
|
49 |
+
|
50 |
+
.ordershare .item ul li.facebook a {
|
51 |
+
color:#fff;
|
52 |
+
background:#3c5a98;
|
53 |
+
line-height: 30px;
|
54 |
+
}
|
55 |
+
.ordershare .item ul li.linkedin-sharing a {
|
56 |
+
position:relative;
|
57 |
+
background:#3c5a98;
|
58 |
+
}
|
59 |
+
.ordershare .item ul li.google a {
|
60 |
+
background:#DC4937;
|
61 |
+
line-height: 24px;
|
62 |
+
}
|
63 |
+
|
64 |
+
.ordershare .item ul li.pintrest a {
|
65 |
+
line-height: 24px;
|
66 |
+
background:#CB2027;
|
67 |
+
}
|
68 |
+
|
69 |
+
.ordershare .item ul li.stumble a {
|
70 |
+
background:#EB4924;
|
71 |
+
}
|
72 |
+
.ordershare .item ul li.twitter a {
|
73 |
+
position:relative;
|
74 |
+
color:#76DDF8;
|
75 |
+
background:#daf6f7;
|
76 |
+
text-shadow: 2px 2px 1px #fff, -2px -2px 1px #fff, 2px -2px 1px #fff, -2px 2px 1px #fff;
|
77 |
+
background:-webkit-gradient(linear, left top, left bottom, from(#dbf7f8), to(#88e1e6));
|
78 |
+
background:-moz-linear-gradient(top, #dbf7f8, #88e1e6);
|
79 |
+
background:linear-gradient(top, #dbf7f8, #88e1e6);
|
80 |
+
}
|
81 |
+
|
82 |
+
.ordershare li.item{
|
83 |
+
height: 347px!important;
|
84 |
+
width: 22%!important;
|
85 |
+
float: left;
|
86 |
+
margin-top: 10px;
|
87 |
+
margin-left: 85px;
|
88 |
+
}
|