Version Notes
This is a First Release !!
Download this release
Release Info
Developer | Vsourz Digital |
Extension | Vsourz_Order_Success |
Version | 1.0.1 |
Comparing to | |
See all releases |
Version 1.0.1
- app/code/community/Vsourz/Ordersuccess/Block/Onepage/Success.php +57 -0
- app/code/community/Vsourz/Ordersuccess/Helper/Data.php +3 -0
- app/code/community/Vsourz/Ordersuccess/etc/adminhtml.xml +22 -0
- app/code/community/Vsourz/Ordersuccess/etc/config.xml +50 -0
- app/code/community/Vsourz/Ordersuccess/etc/system.xml +182 -0
- app/design/frontend/base/default/layout/vsourz/ordersuccess.xml +18 -0
- app/design/frontend/base/default/template/vsourz/success.phtml +209 -0
- app/etc/modules/Vsourz_Ordersuccess.xml +29 -0
- package.xml +56 -0
- skin/frontend/base/default/css/order-success.css +373 -0
- skin/frontend/base/default/images/i_print.gif +0 -0
app/code/community/Vsourz/Ordersuccess/Block/Onepage/Success.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-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 Vsourz
|
22 |
+
* @package Vsourz_Ordersuccess
|
23 |
+
* @copyright Vsourz Ltd
|
24 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* One page checkout success page
|
29 |
+
*
|
30 |
+
* @category Vsourz
|
31 |
+
* @package Vsourz_Ordersuccess
|
32 |
+
* @author Aliasgar Bharmal
|
33 |
+
*/
|
34 |
+
class Vsourz_Ordersuccess_Block_Onepage_Success extends Mage_Checkout_Block_Onepage_Success
|
35 |
+
{
|
36 |
+
public function getTopBlock(){
|
37 |
+
$cmsBlockIdAbove=Mage::getStoreConfig('tab1/cms_block_section/cms_block_id_above');
|
38 |
+
if((Mage::getModel('cms/block')->load($cmsBlockIdAbove)->getIsActive())==true) {
|
39 |
+
return $cmsBlockIdAbove;
|
40 |
+
}
|
41 |
+
else
|
42 |
+
{
|
43 |
+
return false;
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
public function getBottomBlock(){
|
48 |
+
$cmsBlockIdBelow=Mage::getStoreConfig('tab1/cms_block_section/cms_block_id_below');
|
49 |
+
if((Mage::getModel('cms/block')->load($cmsBlockIdBelow)->getIsActive())==true) {
|
50 |
+
return $cmsBlockIdBelow;
|
51 |
+
}
|
52 |
+
else
|
53 |
+
{
|
54 |
+
return false;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
}
|
app/code/community/Vsourz/Ordersuccess/Helper/Data.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Vsourz_Ordersuccess_Helper_Data extends Mage_Core_Helper_Abstract{
|
3 |
+
}
|
app/code/community/Vsourz/Ordersuccess/etc/adminhtml.xml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<acl>
|
4 |
+
<resources>
|
5 |
+
<admin>
|
6 |
+
<children>
|
7 |
+
<system>
|
8 |
+
<children>
|
9 |
+
<config>
|
10 |
+
<children>
|
11 |
+
<tab1 translate="title" module="ordersuccess">
|
12 |
+
<title>Order Success Page</title>
|
13 |
+
</tab1>
|
14 |
+
</children>
|
15 |
+
</config>
|
16 |
+
</children>
|
17 |
+
</system>
|
18 |
+
</children>
|
19 |
+
</admin>
|
20 |
+
</resources>
|
21 |
+
</acl>
|
22 |
+
</config>
|
app/code/community/Vsourz/Ordersuccess/etc/config.xml
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Vsourz_Ordersuccess>
|
5 |
+
<version>0.1.0</version>
|
6 |
+
</Vsourz_Ordersuccess>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<layout>
|
10 |
+
<updates>
|
11 |
+
<ordersuccess>
|
12 |
+
<file>vsourz/ordersuccess.xml</file>
|
13 |
+
</ordersuccess>
|
14 |
+
</updates>
|
15 |
+
</layout>
|
16 |
+
</frontend>
|
17 |
+
<global>
|
18 |
+
<blocks>
|
19 |
+
<ordersuccess>
|
20 |
+
<class>Vsourz_Ordersuccess_Block</class>
|
21 |
+
</ordersuccess>
|
22 |
+
<checkout>
|
23 |
+
<rewrite>
|
24 |
+
<onepage_success>Vsourz_Ordersuccess_Block_Onepage_Success</onepage_success>
|
25 |
+
</rewrite>
|
26 |
+
</checkout>
|
27 |
+
</blocks>
|
28 |
+
</global>
|
29 |
+
<default>
|
30 |
+
<tab1>
|
31 |
+
<general>
|
32 |
+
<enable_extension>1</enable_extension>
|
33 |
+
</general>
|
34 |
+
<order_information_system>
|
35 |
+
<display_order_table>1</display_order_table>
|
36 |
+
<display_product_image>1</display_product_image>
|
37 |
+
<display_discount>1</display_discount>
|
38 |
+
<display_shipping_rates>1</display_shipping_rates>
|
39 |
+
<display_tax>1</display_tax>
|
40 |
+
</order_information_system>
|
41 |
+
<cms_block_section>
|
42 |
+
<cms_block_above>0</cms_block_above>
|
43 |
+
<cms_block_below>0</cms_block_below>
|
44 |
+
</cms_block_section>
|
45 |
+
<newsletter_subscription_section>
|
46 |
+
<display_section>1</display_section>
|
47 |
+
</newsletter_subscription_section>
|
48 |
+
</tab1>
|
49 |
+
</default>
|
50 |
+
</config>
|
app/code/community/Vsourz/Ordersuccess/etc/system.xml
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<myconf translate="label">
|
5 |
+
<label>Vsourz Success Page</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</myconf>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<tab1 translate="label" module="adminhtml">
|
11 |
+
<label>Order Success Page</label>
|
12 |
+
<tab>myconf</tab>
|
13 |
+
<sort_order>10</sort_order>
|
14 |
+
<show_in_default>1</show_in_default>
|
15 |
+
<show_in_website>1</show_in_website>
|
16 |
+
<show_in_store>1</show_in_store>
|
17 |
+
<groups>
|
18 |
+
<general translate="label comment">
|
19 |
+
<label>General</label>
|
20 |
+
<sort_order>10</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 |
+
<fields>
|
25 |
+
<enable_extension translate="label comment">
|
26 |
+
<label>Enable Extension</label>
|
27 |
+
<frontend_type>select</frontend_type>
|
28 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
29 |
+
<sort_order>10</sort_order>
|
30 |
+
<show_in_default>1</show_in_default>
|
31 |
+
<show_in_website>1</show_in_website>
|
32 |
+
<show_in_store>1</show_in_store>
|
33 |
+
</enable_extension>
|
34 |
+
</fields>
|
35 |
+
</general>
|
36 |
+
</groups>
|
37 |
+
<groups>
|
38 |
+
<order_information_system translate="label comment">
|
39 |
+
<label>Order Information Section</label>
|
40 |
+
<sort_order>20</sort_order>
|
41 |
+
<show_in_default>1</show_in_default>
|
42 |
+
<show_in_website>1</show_in_website>
|
43 |
+
<show_in_store>1</show_in_store>
|
44 |
+
<fields>
|
45 |
+
<display_order_table translate="label comment">
|
46 |
+
<label>Display Order Table</label>
|
47 |
+
<frontend_type>select</frontend_type>
|
48 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
49 |
+
<sort_order>5</sort_order>
|
50 |
+
<show_in_default>1</show_in_default>
|
51 |
+
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
+
</display_order_table>
|
54 |
+
|
55 |
+
<display_product_image translate="label comment">
|
56 |
+
<label>Display Product Image</label>
|
57 |
+
<frontend_type>select</frontend_type>
|
58 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
59 |
+
<sort_order>10</sort_order>
|
60 |
+
<show_in_default>1</show_in_default>
|
61 |
+
<show_in_website>1</show_in_website>
|
62 |
+
<show_in_store>1</show_in_store>
|
63 |
+
<depends>
|
64 |
+
<display_order_table>1</display_order_table>
|
65 |
+
</depends>
|
66 |
+
</display_product_image>
|
67 |
+
<display_discount translate="label comment">
|
68 |
+
<label>Display Discount</label>
|
69 |
+
<frontend_type>select</frontend_type>
|
70 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
71 |
+
<sort_order>30</sort_order>
|
72 |
+
<show_in_default>1</show_in_default>
|
73 |
+
<show_in_website>1</show_in_website>
|
74 |
+
<show_in_store>1</show_in_store>
|
75 |
+
<depends>
|
76 |
+
<display_order_table>1</display_order_table>
|
77 |
+
</depends>
|
78 |
+
</display_discount>
|
79 |
+
<display_shipping_rates translate="label comment">
|
80 |
+
<label>Display Shipping Rates</label>
|
81 |
+
<frontend_type>select</frontend_type>
|
82 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
83 |
+
<sort_order>40</sort_order>
|
84 |
+
<show_in_default>1</show_in_default>
|
85 |
+
<show_in_website>1</show_in_website>
|
86 |
+
<show_in_store>1</show_in_store>
|
87 |
+
<depends>
|
88 |
+
<display_order_table>1</display_order_table>
|
89 |
+
</depends>
|
90 |
+
</display_shipping_rates>
|
91 |
+
|
92 |
+
<display_tax translate="label comment">
|
93 |
+
<label>Display Tax</label>
|
94 |
+
<frontend_type>select</frontend_type>
|
95 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
96 |
+
<sort_order>50</sort_order>
|
97 |
+
<show_in_default>1</show_in_default>
|
98 |
+
<show_in_website>1</show_in_website>
|
99 |
+
<show_in_store>1</show_in_store>
|
100 |
+
<depends>
|
101 |
+
<display_order_table>1</display_order_table>
|
102 |
+
</depends>
|
103 |
+
</display_tax>
|
104 |
+
</fields>
|
105 |
+
</order_information_system>
|
106 |
+
</groups>
|
107 |
+
<groups>
|
108 |
+
<cms_block_section translate="label comment">
|
109 |
+
<label>CMS Block Section</label>
|
110 |
+
<sort_order>30</sort_order>
|
111 |
+
<show_in_default>1</show_in_default>
|
112 |
+
<show_in_website>1</show_in_website>
|
113 |
+
<show_in_store>1</show_in_store>
|
114 |
+
<fields>
|
115 |
+
<cms_block_above translate="label comment">
|
116 |
+
<label>CMS Block Above Order Information</label>
|
117 |
+
<frontend_type>select</frontend_type>
|
118 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
119 |
+
<sort_order>10</sort_order>
|
120 |
+
<show_in_default>1</show_in_default>
|
121 |
+
<show_in_website>1</show_in_website>
|
122 |
+
<show_in_store>1</show_in_store>
|
123 |
+
</cms_block_above>
|
124 |
+
<cms_block_id_above translate="label comment">
|
125 |
+
<label>CMS Block Id</label>
|
126 |
+
<comment>Enter the CMS block id for displaying block at above the order information section <![CDATA[ <br />]]>e.g "order_success_top_block"</comment>
|
127 |
+
<frontend_type>text</frontend_type>
|
128 |
+
<sort_order>20</sort_order>
|
129 |
+
<show_in_default>1</show_in_default>
|
130 |
+
<show_in_website>1</show_in_website>
|
131 |
+
<show_in_store>1</show_in_store>
|
132 |
+
<depends>
|
133 |
+
<cms_block_above>1</cms_block_above>
|
134 |
+
</depends>
|
135 |
+
</cms_block_id_above>
|
136 |
+
<cms_block_below translate="label comment">
|
137 |
+
<label>CMS Block Below Order Information</label>
|
138 |
+
<frontend_type>select</frontend_type>
|
139 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
140 |
+
<sort_order>30</sort_order>
|
141 |
+
<show_in_default>1</show_in_default>
|
142 |
+
<show_in_website>1</show_in_website>
|
143 |
+
<show_in_store>1</show_in_store>
|
144 |
+
</cms_block_below>
|
145 |
+
<cms_block_id_below translate="label comment">
|
146 |
+
<label>CMS Block Id</label>
|
147 |
+
<comment>Enter the CMS block id for displaying block at below the order information section <![CDATA[ <br />]]> e.g "order_success_bottom_block"</comment>
|
148 |
+
<frontend_type>text</frontend_type>
|
149 |
+
<sort_order>40</sort_order>
|
150 |
+
<show_in_default>1</show_in_default>
|
151 |
+
<show_in_website>1</show_in_website>
|
152 |
+
<show_in_store>1</show_in_store>
|
153 |
+
<depends>
|
154 |
+
<cms_block_below>1</cms_block_below>
|
155 |
+
</depends>
|
156 |
+
</cms_block_id_below>
|
157 |
+
</fields>
|
158 |
+
</cms_block_section>
|
159 |
+
</groups>
|
160 |
+
<groups>
|
161 |
+
<newsletter_subscription_section translate="label comment">
|
162 |
+
<label>Newsletter Subscription Section</label>
|
163 |
+
<sort_order>50</sort_order>
|
164 |
+
<show_in_default>1</show_in_default>
|
165 |
+
<show_in_website>1</show_in_website>
|
166 |
+
<show_in_store>1</show_in_store>
|
167 |
+
<fields>
|
168 |
+
<display_section translate="label comment">
|
169 |
+
<label>Display Newsletter</label>
|
170 |
+
<frontend_type>select</frontend_type>
|
171 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
172 |
+
<sort_order>10</sort_order>
|
173 |
+
<show_in_default>1</show_in_default>
|
174 |
+
<show_in_website>1</show_in_website>
|
175 |
+
<show_in_store>1</show_in_store>
|
176 |
+
</display_section>
|
177 |
+
</fields>
|
178 |
+
</newsletter_subscription_section>
|
179 |
+
</groups>
|
180 |
+
</tab1>
|
181 |
+
</sections>
|
182 |
+
</config>
|
app/design/frontend/base/default/layout/vsourz/ordersuccess.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<checkout_onepage_success translate="label">
|
4 |
+
<label>One Page Checkout Success</label>
|
5 |
+
<reference name="root">
|
6 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
7 |
+
</reference>
|
8 |
+
<reference name="content">
|
9 |
+
<reference name="checkout.success">
|
10 |
+
<action method="setTemplate" ifconfig="tab1/general/enable_extension"><template>vsourz/success.phtml</template></action>
|
11 |
+
</reference>
|
12 |
+
</reference>
|
13 |
+
<reference name="head">
|
14 |
+
<action method="addItem"><type>skin_css</type><name>css/order-success.css</name><params/></action>
|
15 |
+
</reference>
|
16 |
+
|
17 |
+
</checkout_onepage_success>
|
18 |
+
</layout>
|
app/design/frontend/base/default/template/vsourz/success.phtml
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$displayOrderTable=Mage::getStoreConfig('tab1/order_information_system/display_order_table');
|
3 |
+
$displayProductImage=Mage::getStoreConfig('tab1/order_information_system/display_product_image');
|
4 |
+
$displayDiscount=Mage::getStoreConfig('tab1/order_information_system/display_discount');
|
5 |
+
$displayShippingRate=Mage::getStoreConfig('tab1/order_information_system/display_shipping_rates');
|
6 |
+
$displayTax=Mage::getStoreConfig('tab1/order_information_system/display_tax');
|
7 |
+
$displayCmsBlockAbove=Mage::getStoreConfig('tab1/cms_block_section/cms_block_above');
|
8 |
+
$cmsBlockIdAbove=Mage::getStoreConfig('tab1/cms_block_section/cms_block_id_above');
|
9 |
+
$displayCmsBlockBelow=Mage::getStoreConfig('tab1/cms_block_section/cms_block_below');
|
10 |
+
$cmsBlockIdBelow=Mage::getStoreConfig('tab1/cms_block_section/cms_block_id_below');
|
11 |
+
$newsLetter=Mage::getStoreConfig('tab1/newsletter_subscription_section/display_section');
|
12 |
+
?>
|
13 |
+
|
14 |
+
<?php $_coreHelper = $this->helper('core'); ?>
|
15 |
+
<div class="thanks-outer">
|
16 |
+
|
17 |
+
<?php if($this->getTopBlock()!=false) { ?>
|
18 |
+
<?php if($displayCmsBlockAbove==1){ ?>
|
19 |
+
<div class="order-cms-block block1">
|
20 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId($this->getTopBlock())->toHTML(); ?>
|
21 |
+
</div>
|
22 |
+
<?php } } ?>
|
23 |
+
|
24 |
+
<div class="thanks-inner">
|
25 |
+
<div class="page-title thank">
|
26 |
+
<h1><?php echo $this->__('Thank You') ?></h1>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml()?>
|
30 |
+
|
31 |
+
<div class="thkbox">
|
32 |
+
|
33 |
+
<div class="thk-box1">
|
34 |
+
|
35 |
+
<div class="outer-box">
|
36 |
+
<h3><?php echo $this->__('Thank you for your order!') ?></h3>
|
37 |
+
<div class="inner-box">
|
38 |
+
|
39 |
+
<?php if ($this->getOrderId()):?>
|
40 |
+
<?php if ($this->getCanViewOrder()) :?>
|
41 |
+
<?php else :?>
|
42 |
+
<?php endif;?>
|
43 |
+
<p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
|
44 |
+
<?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
|
45 |
+
|
46 |
+
<?php echo $this->getChildHtml() ?>
|
47 |
+
|
48 |
+
<?php endif;?>
|
49 |
+
<?php endif;?>
|
50 |
+
<a class="button btn-continue btn-inline" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB) ?>" title="<?php echo $this->__('Continue Shopping') ?>" ><span><span><?php echo $this->__('Continue Shopping') ?></span></span></a>
|
51 |
+
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
<div class="thk-box2">
|
57 |
+
<div class="outer-box">
|
58 |
+
<h3><?php echo $this->__('Your order summary') ?></h3>
|
59 |
+
<div class="inner-box">
|
60 |
+
<?php if ($this->getOrderId()):?>
|
61 |
+
<?php echo $this->__('<a href="%s" onclick="this.target=\'_blank\'" class="button print-icon" title="Print Details">Print Details</a>', $this->getPrintUrl()) ?>
|
62 |
+
<?php echo $this->getChildHtml() ?>
|
63 |
+
<?php endif;?>
|
64 |
+
<?php //******************************Order Summary *********************** ?>
|
65 |
+
<ul>
|
66 |
+
<?php
|
67 |
+
if($this->getOrderId()):
|
68 |
+
$orderObj = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId());
|
69 |
+
$lastOrder = Mage::getModel('sales/order')->load(Mage::getSingleton('checkout/session')->getLastOrderId());
|
70 |
+
$billingAddress = $lastOrder->getBillingAddress();
|
71 |
+
$shippingAddress = $lastOrder->getShippingAddress();
|
72 |
+
?>
|
73 |
+
<li class="first"><label><?php echo $this->__('Date') ?></label><span class="sep">:</span><span><? echo $orderObj->getCreatedAtStoreDate(); ?></span></li>
|
74 |
+
<li><label><?php echo $this->__('Order Number') ?></label><span class="sep">:</span><span><?php if ($this->getCanViewOrder()) :?>
|
75 |
+
<?php echo $this->__(sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?>
|
76 |
+
<?php else :?>
|
77 |
+
<?php echo $this->__($this->escapeHtml($this->getOrderId())) ?>
|
78 |
+
<?php endif;?>
|
79 |
+
<?php echo $this->getChildHtml() ?></span>
|
80 |
+
</li>
|
81 |
+
<li><label><?php echo $this->__('Order Total') ?></label><span class="sep">:</span><span><?php echo $_coreHelper->formatPrice($orderObj->getGrandTotal(),true) ?></span></li>
|
82 |
+
<li><label><?php echo $this->__('Name') ?></label></label><span class="sep">:</span><span><? $shippingAddress; echo $shippingAddress['firstname']; ?> <?php echo $shippingAddress['lastname'];?></span></li>
|
83 |
+
<li><label><?php echo $this->__('Delivery Address') ?></label></label><span class="sep">:</span><span><?php echo $shippingAddress['street']; ?></span></li>
|
84 |
+
<li><label><?php echo $this->__('Delivery City') ?></label></label><span class="sep">:</span><span><?php echo $shippingAddress['city']; ?></span></li>
|
85 |
+
<li><label><?php echo $this->__('State') ?></label></label><span class="sep">:</span><span><?php echo $shippingAddress['region'];?></span></li>
|
86 |
+
<li><label><?php echo $this->__('Postcode') ?></label></label><span class="sep">:</span><span><?php echo $shippingAddress['postcode'];?></span></li>
|
87 |
+
<li class="last"><label><?php echo $this->__('Country ID') ?></label></label><span class="sep">:</span><span><?php echo $shippingAddress['country_id'];?></span></li>
|
88 |
+
<? endif;?>
|
89 |
+
</ul>
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
<div class="clear"></div>
|
94 |
+
</div>
|
95 |
+
|
96 |
+
<?php
|
97 |
+
//**********************************Order Details***************************
|
98 |
+
if($displayOrderTable==1)
|
99 |
+
{
|
100 |
+
if($this->getOrderId()):
|
101 |
+
$orderItems = $orderObj->getAllVisibleItems();
|
102 |
+
?>
|
103 |
+
<div class="pro-cart-summery">
|
104 |
+
|
105 |
+
<table class="cart-summery-table data-table">
|
106 |
+
|
107 |
+
<thead>
|
108 |
+
<th class="first a-left"><?php echo $this->__('Product Name') ?></th>
|
109 |
+
<th class="a-center"><?php echo $this->__('Quantity') ?></th>
|
110 |
+
<th class="a-center"><?php echo $this->__('SKU') ?></th>
|
111 |
+
<th class="a-center"><?php echo $this->__('Unit Price') ?></th>
|
112 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
113 |
+
</thead>
|
114 |
+
|
115 |
+
<tbody>
|
116 |
+
<? foreach($orderItems as $items)
|
117 |
+
{
|
118 |
+
$_product = Mage::getModel('catalog/product')->load($items->getProductId());
|
119 |
+
$product_small_image_path = Mage::helper('catalog/image')->init($_product, 'small_image')->resize(75);
|
120 |
+
?>
|
121 |
+
<tr>
|
122 |
+
|
123 |
+
<td class="first cart-name a-left">
|
124 |
+
|
125 |
+
<?php if($displayProductImage==1) { ?>
|
126 |
+
<div class="product-image-outer">
|
127 |
+
<span class="product-image-success">
|
128 |
+
<img src="<?php echo $product_small_image_path ?>" align="<? echo $items->getName();?>"/></span>
|
129 |
+
<?php } ?>
|
130 |
+
<h3 class="product-name"><? echo $items->getName();?></h3>
|
131 |
+
</div>
|
132 |
+
</td>
|
133 |
+
|
134 |
+
<td class="pro-qty a-center"><? echo number_format($items->getQtyOrdered(),0); ?></td>
|
135 |
+
|
136 |
+
<td class="sku a-center"><?php echo $this->htmlEscape($_product->getSku()) ?></td>
|
137 |
+
|
138 |
+
<td class="pro-price a-center"><?php echo $_coreHelper->formatPrice($items->getPrice(),true) ?></td>
|
139 |
+
|
140 |
+
<?php $totalprice = ($items->getQtyOrdered())*($items->getPrice());?>
|
141 |
+
|
142 |
+
<td class="total-price a-right"><span class="alt-bg"><?php echo $_coreHelper->formatPrice($totalprice,true) ?></span></td>
|
143 |
+
|
144 |
+
</tr>
|
145 |
+
<?php
|
146 |
+
}
|
147 |
+
?>
|
148 |
+
</tbody>
|
149 |
+
<tfoot>
|
150 |
+
<tr class="subtotal firt">
|
151 |
+
<td class="a-right" colspan="4"><span class="subtotlal-label"><?php echo $this->__('Subtotal') ?></span></td>
|
152 |
+
<td class="a-right"><span class="subtotlal-value"><?php echo $_coreHelper->formatPrice($orderObj->getSubtotal(),true) ?></span></td>
|
153 |
+
</tr>
|
154 |
+
|
155 |
+
<?php// echo '<pre>'; print_r($orderObj); echo '</pre>';?>
|
156 |
+
<?php if($displayDiscount==1) { ?>
|
157 |
+
<?php if($orderObj->getDiscountAmount() != 0)
|
158 |
+
{
|
159 |
+
?>
|
160 |
+
<tr class="discount">
|
161 |
+
<td class="a-right" colspan="4"><?php echo $this->__('Discount').'('.$orderObj->getDiscountDescription().')' ?></td>
|
162 |
+
<td class="last a-right"><span class="subtotlal-value"><?php echo $_coreHelper->formatPrice($orderObj->getDiscountAmount(),true) ?></span></td>
|
163 |
+
</tr>
|
164 |
+
<?php } } ?>
|
165 |
+
|
166 |
+
<?php if($displayShippingRate==1) { ?>
|
167 |
+
<tr class="shipping">
|
168 |
+
<td class="a-right" colspan="4"><?php echo $this->__('Shipping & Handling('.$orderObj->getShippingDescription().')'); ?></td>
|
169 |
+
<td class="last a-right"><span class="subtotlal-value"><?php echo $_coreHelper->formatPrice($orderObj->getShippingInclTax(),true) ?></span></td>
|
170 |
+
</tr>
|
171 |
+
<?php } ?>
|
172 |
+
|
173 |
+
<?php if($displayTax==1) { ?>
|
174 |
+
<?php
|
175 |
+
if($orderObj->getTaxAmount() != 0)
|
176 |
+
{
|
177 |
+
?>
|
178 |
+
<tr class="tax">
|
179 |
+
<td class="a-right" colspan="4"><?php echo $this->__('Tax')?></td>
|
180 |
+
<td class="last a-right"><span class="subtotlal-value"><?php echo $_coreHelper->formatPrice($orderObj->getTaxAmount(),true) ?></span></td>
|
181 |
+
</tr>
|
182 |
+
<?php } } ?>
|
183 |
+
|
184 |
+
|
185 |
+
<tr class="grand_total last">
|
186 |
+
<td class="a-right" colspan="4"><strong><?php echo $this->__('Total') ?></strong></td>
|
187 |
+
<td class="last a-right"><span class="subtotlal-value"><strong><?php echo $_coreHelper->formatPrice($orderObj->getGrandTotal(), true);?></strong></span></td>
|
188 |
+
</tr>
|
189 |
+
|
190 |
+
|
191 |
+
</tfoot>
|
192 |
+
</table>
|
193 |
+
</div>
|
194 |
+
<?php endif; } ?>
|
195 |
+
</div>
|
196 |
+
|
197 |
+
<?php if($this->getBottomBlock()!=false) { ?>
|
198 |
+
<?php if($displayCmsBlockBelow==1) { ?>
|
199 |
+
<div class="order-cms-block block_2">
|
200 |
+
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId($this->getBottomBlock())->toHTML(); ?>
|
201 |
+
</div>
|
202 |
+
<?php } } ?>
|
203 |
+
|
204 |
+
<?php if($newsLetter==1) { ?>
|
205 |
+
<div class="order-newsletter">
|
206 |
+
<?php echo $this->getLayout()->createBlock('newsletter/subscribe')->setTemplate('newsletter/subscribe.phtml')->toHtml(); ?>
|
207 |
+
</div>
|
208 |
+
<?php } ?>
|
209 |
+
</div>
|
app/etc/modules/Vsourz_Ordersuccess.xml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Vsourz
|
17 |
+
* @package Vsourz_Ordersuccess
|
18 |
+
* @copyright Copyright (c) 2014 Vsourz Ltd
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
-->
|
22 |
+
<config>
|
23 |
+
<modules>
|
24 |
+
<Vsourz_Ordersuccess>
|
25 |
+
<active>true</active>
|
26 |
+
<codePool>community</codePool>
|
27 |
+
</Vsourz_Ordersuccess>
|
28 |
+
</modules>
|
29 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Vsourz_Order_Success</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/MIT">Massachusetts Institute of Technology License (MITL)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Turn your boring Order Success Page into Interactive tool with Order details, newsletter subscription and promotional blocks.</summary>
|
10 |
+
<description>Improved Order Success Page will enable you to convert your default Magento Success page into interactive representation tool with Detailed order information. It allows to display promotional offers and custom messages to the user with the static block support. Admin can encourage user to subscribe to newsletter after placing an order from the success page.
|
11 |
+

|
12 |
+
All it takes is simple 5 minutes setup: 
|
13 |
+

|
14 |
+
Step 1: Install extension from Magento Connect
|
15 |
+
Step 2: Goto System >> Configuration >> Vsourz Order Success Page and do required configuration
|
16 |
+

|
17 |
+
You can explore more about it from How To Use? section
|
18 |
+

|
19 |
+
Need Support? Click Here
|
20 |
+

|
21 |
+
Demo Link: http://extensiondemo.vsourz.co/
|
22 |
+

|
23 |
+
Features: 
|
24 |
+

|
25 |
+
Facility to show Detailed Order Information with product information, Tax rates, shipping rates and Discounts
|
26 |
+
Supports Promotional CMS Static Blocks
|
27 |
+
Newsletter subscribtion option available
|
28 |
+
Responsive Layout
|
29 |
+
Fully manageable from Admin
|
30 |
+

|
31 |
+
How To Use?
|
32 |
+

|
33 |
+
Step 1: Goto System >> Configuration >> Vsourz Order Success Page and do below admin setup:
|
34 |
+

|
35 |
+
1) Enable/Disable order success page
|
36 |
+
Goto OrderSuccessPage >> General >> Enable Extension
|
37 |
+

|
38 |
+
2) Display Order Table with product image, discount, shipping rates and tax
|
39 |
+
Goto OrderSuccessPage >> Order In formation Section >> Display Order Table
|
40 |
+

|
41 |
+
3) Displaying CMS block above order success page
|
42 |
+
Goto OrderSuccessPage >> CMS Block Section >> CMS Block Above Order Information
|
43 |
+

|
44 |
+
4) Displaying CMS block below order success page
|
45 |
+
Go To OrderSuccessPage >> CMS Block Section >> CMS Block Below Order Information
|
46 |
+

|
47 |
+
5) Displaying newsletter subscription option
|
48 |
+
Go To OrderSuccessPage >> Newsletter Subscription Section >> Display Newsletter</description>
|
49 |
+
<notes>This is a First Release !!</notes>
|
50 |
+
<authors><author><name>Vsourz Digital</name><user>MAG002979323</user><email>mehul@vsourz.com</email></author></authors>
|
51 |
+
<date>2015-06-05</date>
|
52 |
+
<time>11:35:22</time>
|
53 |
+
<contents><target name="magecommunity"><dir name="Vsourz"><dir name="Ordersuccess"><dir name="Block"><dir name="Onepage"><file name="Success.php" hash="4769a9eaf169d3fb09c83e744e533c59"/></dir></dir><dir name="Helper"><file name="Data.php" hash="ae9a3997f28613251f34ad1e4500a8de"/></dir><dir name="etc"><file name="adminhtml.xml" hash="41036ac58e287fd25c1a7395c22689db"/><file name="config.xml" hash="59506dcff43f667294a3210f36edb8e8"/><file name="system.xml" hash="1514043788608f7cda0de9cce403bbf6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vsourz_Ordersuccess.xml" hash="e2c0af5054d47da0dd98561c86d49f2d"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="vsourz"><file name="ordersuccess.xml" hash="127e77f1d5f0f427d135616b932f1c6b"/></dir></dir><dir name="template"><dir name="vsourz"><file name="success.phtml" hash="663929526a4e6f4d2821603ae74dac2c"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="order-success.css" hash="78f67ce8a3d1cb95ef67659d7acf372b"/></dir><dir name="images"><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/></dir></dir></dir></dir></target></contents>
|
54 |
+
<compatible/>
|
55 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
56 |
+
</package>
|
skin/frontend/base/default/css/order-success.css
ADDED
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*****************************
|
2 |
+
Success page CSS
|
3 |
+
*****************************/
|
4 |
+
.clear{clear:both;}
|
5 |
+
.page-title.thank{margin:0 0 15px 0;}
|
6 |
+
.page-title.thank h1
|
7 |
+
{
|
8 |
+
padding:0px 0px 10px 0px;
|
9 |
+
text-align:left;
|
10 |
+
margin:0;
|
11 |
+
border-bottom:2px solid #e5e5e5;
|
12 |
+
line-height:normal;
|
13 |
+
font-size:16px;
|
14 |
+
text-transform:uppercase;
|
15 |
+
font-weight:bold;
|
16 |
+
}
|
17 |
+
|
18 |
+
.thkbox,
|
19 |
+
.pro-cart-summery
|
20 |
+
{
|
21 |
+
padding:0px;
|
22 |
+
margin:0 0 15px 0;
|
23 |
+
}
|
24 |
+
.thanks-outer{font-size:12px;text-align:left;}
|
25 |
+
.thanks-inner{margin:10px 0;}
|
26 |
+
|
27 |
+
|
28 |
+
.thkbox .thk-box1
|
29 |
+
{
|
30 |
+
float: left;
|
31 |
+
width: 34%;
|
32 |
+
}
|
33 |
+
.thkbox .thk-box2
|
34 |
+
{
|
35 |
+
float: right;
|
36 |
+
width: 65%;
|
37 |
+
position:relative;
|
38 |
+
}
|
39 |
+
|
40 |
+
.thkbox h3
|
41 |
+
{
|
42 |
+
font-size:12px;
|
43 |
+
font-weight:bold;
|
44 |
+
text-transform: uppercase;
|
45 |
+
border:none;
|
46 |
+
margin: 0px;
|
47 |
+
background:#e5e5e5;
|
48 |
+
padding:10px;
|
49 |
+
color:#202020;
|
50 |
+
}
|
51 |
+
.thkbox .outer-box
|
52 |
+
{
|
53 |
+
border:1px solid #e5e5e5;
|
54 |
+
}
|
55 |
+
|
56 |
+
.thkbox .inner-box
|
57 |
+
{
|
58 |
+
line-height: 1.4;
|
59 |
+
margin-bottom:0px;
|
60 |
+
position:relative;
|
61 |
+
min-height:275px;
|
62 |
+
padding:10px;
|
63 |
+
|
64 |
+
}
|
65 |
+
.pro-cart-summery h3.product-name{font-size:14px;}
|
66 |
+
.cart-summery-table.data-table tfoot td{border:none;}
|
67 |
+
|
68 |
+
.thkbox .thk-box1 .inner-box p
|
69 |
+
{
|
70 |
+
margin-bottom: 10px;
|
71 |
+
}
|
72 |
+
.thkbox .thk-box2 a.print-icon
|
73 |
+
{
|
74 |
+
position: absolute;
|
75 |
+
right:10px;
|
76 |
+
top:10px;
|
77 |
+
display:inline-block;
|
78 |
+
font-size:0;
|
79 |
+
background:url(../images/i_print.gif) left top no-repeat;
|
80 |
+
height:16px;
|
81 |
+
width:16px;
|
82 |
+
padding:0;
|
83 |
+
border:none !important;
|
84 |
+
}
|
85 |
+
|
86 |
+
.thkbox .thk-box2 ul li
|
87 |
+
{
|
88 |
+
margin-bottom: 5px;
|
89 |
+
}
|
90 |
+
|
91 |
+
.thkbox .thk-box2 ul li{overflow:hidden;margin:10px 0 0px 0;}
|
92 |
+
.thkbox .thk-box2 ul li.first{margin:0;}
|
93 |
+
|
94 |
+
.thkbox span.sep{float:left;margin:0 !important;}
|
95 |
+
|
96 |
+
.thkbox .thk-box2 ul li label
|
97 |
+
{
|
98 |
+
font-size:12px;
|
99 |
+
display: inline-block;
|
100 |
+
float: left;
|
101 |
+
min-width:125px;
|
102 |
+
text-transform:capitalize;
|
103 |
+
margin:0;
|
104 |
+
}
|
105 |
+
.thkbox .thk-box2 ul li a,
|
106 |
+
.thkbox .thk-box2 ul li span
|
107 |
+
{
|
108 |
+
display: inline-block;
|
109 |
+
margin-left:5px;
|
110 |
+
text-transform:capitalize;
|
111 |
+
vertical-align:middle;
|
112 |
+
line-height:normal;
|
113 |
+
}
|
114 |
+
.thkbox .thk-box2 ul li a,
|
115 |
+
.thkbox .thk-box2 ul li span span{margin:0;}
|
116 |
+
.cart-summery-table
|
117 |
+
{
|
118 |
+
width: 100%;
|
119 |
+
}
|
120 |
+
.cart-summery-table.data-table thead th
|
121 |
+
{
|
122 |
+
background:#e5e5e5;
|
123 |
+
vertical-align:middle;
|
124 |
+
color: #202020;
|
125 |
+
font-size:12px;
|
126 |
+
font-weight:bold;
|
127 |
+
line-height: 1.4;
|
128 |
+
text-transform: uppercase;
|
129 |
+
white-space: nowrap;
|
130 |
+
padding:10px;
|
131 |
+
}
|
132 |
+
.cart-summery-table.data-table thead th,
|
133 |
+
.cart-summery-table.data-table tbody td{border:1px solid #e5e5e5;}
|
134 |
+
|
135 |
+
.cart-summery-table.data-table{border:1px solid #e5e5e5;width:100%;}
|
136 |
+
|
137 |
+
.cart-summery-table.data-table tbody td{border:1px solid #e5e5e5;vertical-align:middle;}
|
138 |
+
|
139 |
+
.product-cart-image .product-image{display:block;max-width:125px;}
|
140 |
+
.product-cart-image .product-image img{display:block;}
|
141 |
+
|
142 |
+
.product-image-success{float:left;display:block;margin-right:10px;}
|
143 |
+
|
144 |
+
.product-image-success img
|
145 |
+
{
|
146 |
+
display:block;
|
147 |
+
border:1px solid #e5e5e5;
|
148 |
+
padding:2px;
|
149 |
+
}
|
150 |
+
.product-image-outer{overflow:hidden;}
|
151 |
+
.cart-summery-table.data-table h3.product-name
|
152 |
+
{
|
153 |
+
font-size:14px;
|
154 |
+
margin:30px 0;
|
155 |
+
text-transform:capitalize;
|
156 |
+
padding:0;
|
157 |
+
line-height:1.4;
|
158 |
+
}
|
159 |
+
|
160 |
+
.inner-box a{display:inline-block;margin:0;float:none;text-decoration:none !important;}
|
161 |
+
|
162 |
+
.cart-summery-table.data-table tfoot tr{background:#e5e5e5;text-transform:capitalize;font-weight:normal;color:#000;}
|
163 |
+
|
164 |
+
.cart-summery-table.data-table tfoot tr.grand_total{background:#c3c3c3;font-size:16px;}
|
165 |
+
|
166 |
+
.cart-summery-table.data-table tfoot tr strong{font-weight:bold;}
|
167 |
+
|
168 |
+
.cart-summery-table.data-table tfoot td{text-align:right;}
|
169 |
+
|
170 |
+
.cart-summery-table.data-table thead th.first,
|
171 |
+
.cart-summery-table.data-table tbody td.first{width:60%;}
|
172 |
+
|
173 |
+
.cart-summery-table.data-table thead th,
|
174 |
+
.cart-summery-table.data-table tbody td{width:10%}
|
175 |
+
|
176 |
+
/*** CMS BLOCK ***/
|
177 |
+
.order-cms-block p{line-height:1.5;margin:0 0 10px 0;}
|
178 |
+
.order-cms-block{margin:10px 0;padding:10px 0;}
|
179 |
+
|
180 |
+
.order-cms-block h3{color:#202020;}
|
181 |
+
|
182 |
+
.order-cms-block.block_2{padding:10px;border:1px solid #e5e5e5;}
|
183 |
+
|
184 |
+
.order-cms-block.block_2 img{width:100%;display:block;}
|
185 |
+
|
186 |
+
/*** NEWSLETTER ***/
|
187 |
+
.order-newsletter
|
188 |
+
{
|
189 |
+
text-align:center;
|
190 |
+
}
|
191 |
+
.order-newsletter .input-box{padding:0;float:left;}
|
192 |
+
|
193 |
+
.order-newsletter .block .actions
|
194 |
+
{
|
195 |
+
display:inline-block;
|
196 |
+
margin:0 0 0 5px;
|
197 |
+
}
|
198 |
+
|
199 |
+
.order-newsletter .block-content .input-text
|
200 |
+
{
|
201 |
+
border:1px solid #e5e5e5;
|
202 |
+
width:300px;
|
203 |
+
max-width:100%;
|
204 |
+
height: 44px;
|
205 |
+
line-height: 20px;
|
206 |
+
padding: 10px;
|
207 |
+
background:#fff;
|
208 |
+
|
209 |
+
-webkit-border-radius: 0px;
|
210 |
+
-ms-border-radius: 0px;
|
211 |
+
border-radius: 0px;
|
212 |
+
color:#2f2f2f;
|
213 |
+
margin:0;
|
214 |
+
|
215 |
+
-webkit-box-shadow:none;
|
216 |
+
-ms-box-shadow:none;
|
217 |
+
box-shadow:none;
|
218 |
+
|
219 |
+
}
|
220 |
+
.order-newsletter .block-content .input-text:focus{outline:none;}
|
221 |
+
|
222 |
+
.order-newsletter .block-content
|
223 |
+
{
|
224 |
+
position:relative;
|
225 |
+
display:inline-block;
|
226 |
+
padding:0;
|
227 |
+
}
|
228 |
+
.order-newsletter .form-subscribe-header{display:none;}
|
229 |
+
|
230 |
+
.order-newsletter .block-content .input-box p.required,
|
231 |
+
.order-newsletter .block-content .input-box .validation-advice
|
232 |
+
{
|
233 |
+
position:absolute;
|
234 |
+
left:0;
|
235 |
+
top:100%;
|
236 |
+
text-align:left;
|
237 |
+
margin:0;
|
238 |
+
font-size:10px;
|
239 |
+
color:#df280a;
|
240 |
+
background:#fff;
|
241 |
+
box-shadow:0 3px 10px rgba(174, 179, 66, 0.5);
|
242 |
+
padding:3px;
|
243 |
+
box-sizing:border-box;
|
244 |
+
width:100%;
|
245 |
+
}
|
246 |
+
.order-newsletter .block-content .button
|
247 |
+
{
|
248 |
+
vertical-align:top;
|
249 |
+
line-height:44px;
|
250 |
+
float:none;
|
251 |
+
padding:0 15px;
|
252 |
+
display:inline-block;
|
253 |
+
font-size:15px;
|
254 |
+
text-align:center;
|
255 |
+
height:auto;
|
256 |
+
box-sizing:border-box;
|
257 |
+
max-height:44px;
|
258 |
+
}
|
259 |
+
|
260 |
+
.order-newsletter .block-content.clearfix{margin:0;padding:0 10px;}
|
261 |
+
.order-newsletter .block
|
262 |
+
{
|
263 |
+
margin:0;
|
264 |
+
border:1px solid #e5e5e5;
|
265 |
+
padding:0 0px 25px 0px;
|
266 |
+
}
|
267 |
+
.order-newsletter .block .block-title
|
268 |
+
{
|
269 |
+
border:none;
|
270 |
+
background:#e5e5e5;
|
271 |
+
color:#202020;
|
272 |
+
margin:0 0 20px 0;
|
273 |
+
padding:10px 0 !important;
|
274 |
+
}
|
275 |
+
.order-newsletter .block label{margin:0 0 10px 0;}
|
276 |
+
.order-newsletter .block .block-title strong
|
277 |
+
{
|
278 |
+
color: #202020;
|
279 |
+
font-size:12px;
|
280 |
+
font-weight:bold;
|
281 |
+
line-height: 1.4;
|
282 |
+
text-transform: uppercase;
|
283 |
+
white-space: nowrap;
|
284 |
+
}
|
285 |
+
|
286 |
+
|
287 |
+
/* Tablet (Portrait)*/
|
288 |
+
@media only screen and (min-width: 768px) and (max-width: 959px)
|
289 |
+
{
|
290 |
+
.thkbox .thk-box1{width:40%;}
|
291 |
+
.thkbox .thk-box2{width:58%;}
|
292 |
+
}
|
293 |
+
|
294 |
+
/* All mobile Devices width < 768px */
|
295 |
+
@media only screen and (max-width: 767px)
|
296 |
+
{
|
297 |
+
|
298 |
+
/**** Thank You Page Css ***/
|
299 |
+
|
300 |
+
.thkbox .thk-box1,
|
301 |
+
.thkbox .thk-box2{float:none;width:100%;padding-bottom:10px;}
|
302 |
+
.thkbox .thk-box1 .inner-box, .thkbox .thk-box2 .inner-box{min-height:125px;}
|
303 |
+
.product-cart-image .product-image{max-width:50px;}
|
304 |
+
.pro-cart-summery h3.product-name{font-size:12px;}
|
305 |
+
|
306 |
+
.cart-summery-table.data-table .product-cart-image{display:block;border:none;}
|
307 |
+
|
308 |
+
.order-newsletter .block-content .input-text{max-width:250px;}
|
309 |
+
|
310 |
+
.cart-summery-table.data-table thead th.first, .cart-summery-table.data-table tbody td.first{width:48%;}
|
311 |
+
.cart-summery-table.data-table thead th, .cart-summery-table.data-table tbody td{width:8%;}
|
312 |
+
|
313 |
+
|
314 |
+
.cart-summery-table.data-table thead th{text-transform:capitalize;}
|
315 |
+
.product-image-success{float:none;margin:0;}
|
316 |
+
.cart-summery-table.data-table h3.product-name{margin:10px 0;}
|
317 |
+
}
|
318 |
+
/* Mobile (Landscape) width of 480px*/
|
319 |
+
@media only screen and (min-width: 480px) and (max-width: 767px)
|
320 |
+
{
|
321 |
+
|
322 |
+
|
323 |
+
}
|
324 |
+
|
325 |
+
/* Mobile (Portrait) width of 320px*/
|
326 |
+
@media only screen and (min-width: 320px) and (max-width: 479px)
|
327 |
+
{
|
328 |
+
|
329 |
+
.thkbox span.sep{display:none !important;}
|
330 |
+
.thkbox .thk-box2 ul li label{display:block;float:none;}
|
331 |
+
|
332 |
+
.thkbox .thk-box2 ul li span{margin:5px 0 0 10px;}
|
333 |
+
|
334 |
+
.product-cart-image .product-image{margin:0 auto;}
|
335 |
+
|
336 |
+
.cart-summery-table.data-table colgroup,
|
337 |
+
.cart-summery-table.data-table thead,
|
338 |
+
.cart-summery-table.data-table td.emptry{display:none;}
|
339 |
+
|
340 |
+
.cart-summery-table.data-table tbody tr{width:100%;}
|
341 |
+
.cart-summery-table.data-table tbody td
|
342 |
+
{
|
343 |
+
box-sizing: border-box;
|
344 |
+
display: block;
|
345 |
+
float: left;
|
346 |
+
text-align: center;
|
347 |
+
width: 100%;
|
348 |
+
border:none;
|
349 |
+
border-top:1px solid #e5e5e5;
|
350 |
+
}
|
351 |
+
|
352 |
+
.cart-summery-table.data-table thead th.first, .cart-summery-table.data-table tbody td.first{width:100%;}
|
353 |
+
.cart-summery-table.data-table tbody td.first {border:none;}
|
354 |
+
|
355 |
+
.cart-summery-table.data-table h3.product-name{margin:10px 0;}
|
356 |
+
.cart-summery-table.data-table tfoot td
|
357 |
+
{
|
358 |
+
width:50%;
|
359 |
+
float:left;
|
360 |
+
display:block;
|
361 |
+
}
|
362 |
+
|
363 |
+
.product-image-success{float:none;margin:10px 0 0 0;text-align:center;}
|
364 |
+
.product-image-success img{display:inline-block;}
|
365 |
+
|
366 |
+
.cart-summery-table.data-table tfoot td{text-align:center;padding:10px;}
|
367 |
+
|
368 |
+
.order-newsletter .block-content .input-text{max-width:160px;}
|
369 |
+
|
370 |
+
|
371 |
+
}
|
372 |
+
|
373 |
+
|
skin/frontend/base/default/images/i_print.gif
ADDED
Binary file
|