Version Notes
1.9.0.0
Download this release
Release Info
Developer | Magento Core Team |
Extension | Interface_Frontend_Rwd_Default |
Version | 1.9.0.0 |
Comparing to | |
See all releases |
Version 1.9.0.0
- app/design/frontend/rwd/default/etc/theme.xml +30 -0
- app/design/frontend/rwd/default/etc/widget.xml +166 -0
- app/design/frontend/rwd/default/layout/bundle.xml +383 -0
- app/design/frontend/rwd/default/layout/captcha.xml +4 -0
- app/design/frontend/rwd/default/layout/catalog.xml +447 -0
- app/design/frontend/rwd/default/layout/catalog_msrp.xml +109 -0
- app/design/frontend/rwd/default/layout/catalogsearch.xml +148 -0
- app/design/frontend/rwd/default/layout/checkout.xml +542 -0
- app/design/frontend/rwd/default/layout/cms.xml +108 -0
- app/design/frontend/rwd/default/layout/contacts.xml +43 -0
- app/design/frontend/rwd/default/layout/customer.xml +301 -0
- app/design/frontend/rwd/default/layout/directory.xml +43 -0
- app/design/frontend/rwd/default/layout/downloadable.xml +232 -0
- app/design/frontend/rwd/default/layout/newsletter.xml +67 -0
- app/design/frontend/rwd/default/layout/oauth.xml +137 -0
- app/design/frontend/rwd/default/layout/page.xml +241 -0
- app/design/frontend/rwd/default/layout/paypal.xml +205 -0
- app/design/frontend/rwd/default/layout/persistent.xml +63 -0
- app/design/frontend/rwd/default/layout/poll.xml +4 -0
- app/design/frontend/rwd/default/layout/review.xml +146 -0
- app/design/frontend/rwd/default/layout/rss.xml +100 -0
- app/design/frontend/rwd/default/layout/sales.xml +526 -0
- app/design/frontend/rwd/default/layout/tag.xml +4 -0
- app/design/frontend/rwd/default/layout/wishlist.xml +146 -0
- app/design/frontend/rwd/default/locale/en_US/translate.csv +20 -0
- app/design/frontend/rwd/default/template/authorizenet/directpost/form.phtml +135 -0
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml +41 -0
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml +39 -0
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml +64 -0
- app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml +380 -0
- app/design/frontend/rwd/default/template/catalog/layer/filter.phtml +55 -0
- app/design/frontend/rwd/default/template/catalog/layer/state.phtml +73 -0
- app/design/frontend/rwd/default/template/catalog/layer/view.phtml +59 -0
- app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml +64 -0
- app/design/frontend/rwd/default/template/catalog/navigation/left.phtml +63 -0
- app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml +172 -0
- app/design/frontend/rwd/default/template/catalog/product/compare/sidebar.phtml +60 -0
- app/design/frontend/rwd/default/template/catalog/product/list.phtml +186 -0
- app/design/frontend/rwd/default/template/catalog/product/list/related.phtml +94 -0
- app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml +99 -0
- app/design/frontend/rwd/default/template/catalog/product/list/upsell.phtml +59 -0
- app/design/frontend/rwd/default/template/catalog/product/new.phtml +64 -0
- app/design/frontend/rwd/default/template/catalog/product/view.phtml +191 -0
- app/design/frontend/rwd/default/template/catalog/product/view/addto.phtml +43 -0
- app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml +42 -0
- app/design/frontend/rwd/default/template/catalog/product/view/media.phtml +88 -0
- app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml +50 -0
- app/design/frontend/rwd/default/template/catalog/product/view/type/availability/default.phtml +39 -0
- app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml +41 -0
- app/design/frontend/rwd/default/template/catalog/product/view/type/default.phtml +30 -0
- app/design/frontend/rwd/default/template/catalog/product/view/type/grouped.phtml +90 -0
- app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml +67 -0
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml +58 -0
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml +48 -0
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
- app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_grid.phtml +68 -0
- app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml +65 -0
- app/design/frontend/rwd/default/template/cataloginventory/stockqty/composite.phtml +66 -0
- app/design/frontend/rwd/default/template/catalogsearch/advanced/form.phtml +96 -0
- app/design/frontend/rwd/default/template/catalogsearch/form.mini.phtml +45 -0
- app/design/frontend/rwd/default/template/catalogsearch/result.phtml +56 -0
- app/design/frontend/rwd/default/template/centinel/authentication/start.phtml +40 -0
- app/design/frontend/rwd/default/template/checkout/cart.phtml +177 -0
- app/design/frontend/rwd/default/template/checkout/cart/coupon.phtml +60 -0
- app/design/frontend/rwd/default/template/checkout/cart/crosssell.phtml +61 -0
- app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml +43 -0
- app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml +330 -0
- app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml +50 -0
- app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml +189 -0
- app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml +108 -0
- app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml +70 -0
- app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml +70 -0
- app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml +150 -0
- app/design/frontend/rwd/default/template/checkout/cart/sidebar.phtml +80 -0
- app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml +145 -0
- app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml +118 -0
- app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml +48 -0
- app/design/frontend/rwd/default/template/checkout/onepage.phtml +61 -0
- app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml +76 -0
- app/design/frontend/rwd/default/template/checkout/onepage/progress.phtml +59 -0
- app/design/frontend/rwd/default/template/checkout/onepage/review/info.phtml +84 -0
- app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml +240 -0
- app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml +157 -0
- app/design/frontend/rwd/default/template/contacts/form.phtml +73 -0
- app/design/frontend/rwd/default/template/customer/account/dashboard.phtml +45 -0
- app/design/frontend/rwd/default/template/customer/account/dashboard/address.phtml +56 -0
- app/design/frontend/rwd/default/template/customer/account/navigation.phtml +46 -0
- app/design/frontend/rwd/default/template/customer/address/edit.phtml +166 -0
- app/design/frontend/rwd/default/template/customer/form/address.phtml +144 -0
- app/design/frontend/rwd/default/template/customer/form/changepassword.phtml +67 -0
- app/design/frontend/rwd/default/template/customer/form/confirmation.phtml +54 -0
- app/design/frontend/rwd/default/template/customer/form/edit.phtml +117 -0
- app/design/frontend/rwd/default/template/customer/form/forgotpassword.phtml +55 -0
- app/design/frontend/rwd/default/template/customer/form/mini.login.phtml +40 -0
- app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml +59 -0
- app/design/frontend/rwd/default/template/directory/currency.phtml +45 -0
- app/design/frontend/rwd/default/template/downloadable/catalog/product/type.phtml +48 -0
- app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml +344 -0
- app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml +246 -0
- app/design/frontend/rwd/default/template/downloadable/customer/products/list.phtml +74 -0
- app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml +360 -0
- app/design/frontend/rwd/default/template/newsletter/subscribe.phtml +49 -0
- app/design/frontend/rwd/default/template/oauth/authorize/form/login-simple.phtml +75 -0
- app/design/frontend/rwd/default/template/page/1column.phtml +68 -0
- app/design/frontend/rwd/default/template/page/2columns-left.phtml +72 -0
- app/design/frontend/rwd/default/template/page/2columns-right.phtml +68 -0
- app/design/frontend/rwd/default/template/page/3columns.phtml +75 -0
- app/design/frontend/rwd/default/template/page/empty.phtml +53 -0
- app/design/frontend/rwd/default/template/page/html/footer.phtml +32 -0
- app/design/frontend/rwd/default/template/page/html/header.phtml +114 -0
- app/design/frontend/rwd/default/template/page/html/pager.phtml +130 -0
- app/design/frontend/rwd/default/template/page/html/topmenu.phtml +42 -0
- app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml +82 -0
- app/design/frontend/rwd/default/template/page/popup.phtml +52 -0
- app/design/frontend/rwd/default/template/page/print.phtml +59 -0
- app/design/frontend/rwd/default/template/page/template/links.phtml +48 -0
- app/design/frontend/rwd/default/template/payment/form/cc.phtml +139 -0
- app/design/frontend/rwd/default/template/payment/form/ccsave.phtml +136 -0
- app/design/frontend/rwd/default/template/payment/info/default.phtml +43 -0
- app/design/frontend/rwd/default/template/paypal/bml.phtml +49 -0
- app/design/frontend/rwd/default/template/paypal/express/minicart/shortcut.phtml +73 -0
- app/design/frontend/rwd/default/template/paypal/express/product/shortcut.phtml +69 -0
- app/design/frontend/rwd/default/template/paypal/express/review.phtml +177 -0
- app/design/frontend/rwd/default/template/paypal/express/review/address.phtml +191 -0
- app/design/frontend/rwd/default/template/paypal/express/review/details.phtml +64 -0
- app/design/frontend/rwd/default/template/paypal/express/review/shipping/method.phtml +53 -0
- app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml +228 -0
- app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml +157 -0
- app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml +104 -0
- app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml +188 -0
- app/design/frontend/rwd/default/template/persistent/remember_me.phtml +41 -0
- app/design/frontend/rwd/default/template/persistent/remember_me_tooltip.phtml +62 -0
- app/design/frontend/rwd/default/template/reports/product_viewed.phtml +53 -0
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml +57 -0
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml +47 -0
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml +46 -0
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml +67 -0
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml +64 -0
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_default_list.phtml +62 -0
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_images_list.phtml +52 -0
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_names_list.phtml +51 -0
- app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_grid.phtml +70 -0
- app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_list.phtml +69 -0
- app/design/frontend/rwd/default/template/review/customer/view.phtml +75 -0
- app/design/frontend/rwd/default/template/review/form.phtml +165 -0
- app/design/frontend/rwd/default/template/review/product/view/list.phtml +85 -0
- app/design/frontend/rwd/default/template/review/view.phtml +76 -0
- app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml +65 -0
- app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml +331 -0
- app/design/frontend/rwd/default/template/sales/order/history.phtml +77 -0
- app/design/frontend/rwd/default/template/sales/order/items.phtml +69 -0
- app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml +323 -0
- app/design/frontend/rwd/default/template/sales/order/recent.phtml +75 -0
- app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml +89 -0
- app/design/frontend/rwd/default/template/sales/widget/guest/form.phtml +105 -0
- app/design/frontend/rwd/default/template/sendfriend/send.phtml +143 -0
- app/design/frontend/rwd/default/template/wishlist/button/update.phtml +30 -0
- app/design/frontend/rwd/default/template/wishlist/item/column/cart.phtml +58 -0
- app/design/frontend/rwd/default/template/wishlist/item/column/info.phtml +53 -0
- app/design/frontend/rwd/default/template/wishlist/item/column/price.phtml +37 -0
- app/design/frontend/rwd/default/template/wishlist/item/column/quantity.phtml +41 -0
- app/design/frontend/rwd/default/template/wishlist/item/list.phtml +69 -0
- app/design/frontend/rwd/default/template/wishlist/shared.phtml +85 -0
- app/design/frontend/rwd/default/template/wishlist/sidebar.phtml +61 -0
- app/design/frontend/rwd/default/template/wishlist/view.phtml +92 -0
- package.xml +18 -0
- skin/frontend/rwd/default/css/madisonisland-ie8.css +176 -0
- skin/frontend/rwd/default/css/madisonisland.css +350 -0
- skin/frontend/rwd/default/css/scaffold-forms.css +103 -0
- skin/frontend/rwd/default/css/styles-ie8.css +1705 -0
app/design/frontend/rwd/default/etc/theme.xml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<theme>
|
29 |
+
<parent />
|
30 |
+
</theme>
|
app/design/frontend/rwd/default/etc/widget.xml
ADDED
@@ -0,0 +1,166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<widgets>
|
29 |
+
<new_products>
|
30 |
+
<parameters>
|
31 |
+
<template>
|
32 |
+
<values>
|
33 |
+
<list_default translate="label">
|
34 |
+
<value>catalog/product/widget/new/column/new_default_list.phtml</value>
|
35 |
+
<label>New Products Images and Names Template</label>
|
36 |
+
</list_default>
|
37 |
+
<list_names translate="label">
|
38 |
+
<value>catalog/product/widget/new/column/new_names_list.phtml</value>
|
39 |
+
<label>New Products Names Only Template</label>
|
40 |
+
</list_names>
|
41 |
+
<list_images translate="label">
|
42 |
+
<value>catalog/product/widget/new/column/new_images_list.phtml</value>
|
43 |
+
<label>New Products Images Only Template</label>
|
44 |
+
</list_images>
|
45 |
+
</values>
|
46 |
+
</template>
|
47 |
+
</parameters>
|
48 |
+
<supported_blocks>
|
49 |
+
<left_column>
|
50 |
+
<block_name>left</block_name>
|
51 |
+
<template>
|
52 |
+
<default>list_default</default>
|
53 |
+
<names_only>list_names</names_only>
|
54 |
+
<images_only>list_images</images_only>
|
55 |
+
</template>
|
56 |
+
</left_column>
|
57 |
+
<main_content>
|
58 |
+
<block_name>content</block_name>
|
59 |
+
<template>
|
60 |
+
<grid>default</grid>
|
61 |
+
<list>list</list>
|
62 |
+
</template>
|
63 |
+
</main_content>
|
64 |
+
<right_column>
|
65 |
+
<block_name>right</block_name>
|
66 |
+
<template>
|
67 |
+
<default>list_default</default>
|
68 |
+
<names_only>list_names</names_only>
|
69 |
+
<images_only>list_images</images_only>
|
70 |
+
</template>
|
71 |
+
</right_column>
|
72 |
+
</supported_blocks>
|
73 |
+
</new_products>
|
74 |
+
|
75 |
+
<recently_viewed>
|
76 |
+
<parameters>
|
77 |
+
<template>
|
78 |
+
<values>
|
79 |
+
<list_default translate="label">
|
80 |
+
<value>reports/widget/viewed/column/viewed_default_list.phtml</value>
|
81 |
+
<label>Viewed Products Images and Names Template</label>
|
82 |
+
</list_default>
|
83 |
+
<list_names translate="label">
|
84 |
+
<value>reports/widget/viewed/column/viewed_names_list.phtml</value>
|
85 |
+
<label>Viewed Products Names Only Template</label>
|
86 |
+
</list_names>
|
87 |
+
<list_images translate="label">
|
88 |
+
<value>reports/widget/viewed/column/viewed_images_list.phtml</value>
|
89 |
+
<label>Viewed Products Images Only Template</label>
|
90 |
+
</list_images>
|
91 |
+
</values>
|
92 |
+
</template>
|
93 |
+
</parameters>
|
94 |
+
<supported_blocks>
|
95 |
+
<left_column>
|
96 |
+
<block_name>left</block_name>
|
97 |
+
<template>
|
98 |
+
<default>list_default</default>
|
99 |
+
<names_only>list_names</names_only>
|
100 |
+
<images_only>list_images</images_only>
|
101 |
+
</template>
|
102 |
+
</left_column>
|
103 |
+
<main_content>
|
104 |
+
<block_name>content</block_name>
|
105 |
+
<template>
|
106 |
+
<grid>default</grid>
|
107 |
+
<list>list</list>
|
108 |
+
</template>
|
109 |
+
</main_content>
|
110 |
+
<right_column>
|
111 |
+
<block_name>right</block_name>
|
112 |
+
<template>
|
113 |
+
<default>list_default</default>
|
114 |
+
<names_only>list_names</names_only>
|
115 |
+
<images_only>list_images</images_only>
|
116 |
+
</template>
|
117 |
+
</right_column>
|
118 |
+
</supported_blocks>
|
119 |
+
</recently_viewed>
|
120 |
+
|
121 |
+
<recently_compared>
|
122 |
+
<parameters>
|
123 |
+
<template>
|
124 |
+
<values>
|
125 |
+
<list_default translate="label">
|
126 |
+
<value>reports/widget/compared/column/compared_default_list.phtml</value>
|
127 |
+
<label>Compared Products Images and Names Template</label>
|
128 |
+
</list_default>
|
129 |
+
<list_names translate="label">
|
130 |
+
<value>reports/widget/compared/column/compared_names_list.phtml</value>
|
131 |
+
<label>Compared Product Names Only Template</label>
|
132 |
+
</list_names>
|
133 |
+
<list_images translate="label">
|
134 |
+
<value>reports/widget/compared/column/compared_images_list.phtml</value>
|
135 |
+
<label>Compared Product Images Only Template</label>
|
136 |
+
</list_images>
|
137 |
+
</values>
|
138 |
+
</template>
|
139 |
+
</parameters>
|
140 |
+
<supported_blocks>
|
141 |
+
<left_column>
|
142 |
+
<block_name>left</block_name>
|
143 |
+
<template>
|
144 |
+
<default>list_default</default>
|
145 |
+
<names_only>list_names</names_only>
|
146 |
+
<images_only>list_images</images_only>
|
147 |
+
</template>
|
148 |
+
</left_column>
|
149 |
+
<main_content>
|
150 |
+
<block_name>content</block_name>
|
151 |
+
<template>
|
152 |
+
<grid>default</grid>
|
153 |
+
<list>list</list>
|
154 |
+
</template>
|
155 |
+
</main_content>
|
156 |
+
<right_column>
|
157 |
+
<block_name>right</block_name>
|
158 |
+
<template>
|
159 |
+
<default>list_default</default>
|
160 |
+
<names_only>list_names</names_only>
|
161 |
+
<images_only>list_images</images_only>
|
162 |
+
</template>
|
163 |
+
</right_column>
|
164 |
+
</supported_blocks>
|
165 |
+
</recently_compared>
|
166 |
+
</widgets>
|
app/design/frontend/rwd/default/layout/bundle.xml
ADDED
@@ -0,0 +1,383 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Adding custom product price block
|
33 |
+
-->
|
34 |
+
|
35 |
+
<catalog_category_default>
|
36 |
+
<reference name="product_list">
|
37 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
38 |
+
</reference>
|
39 |
+
</catalog_category_default>
|
40 |
+
|
41 |
+
<catalog_category_view>
|
42 |
+
<reference name="product_list">
|
43 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
44 |
+
</reference>
|
45 |
+
</catalog_category_view>
|
46 |
+
|
47 |
+
<catalog_category_layered>
|
48 |
+
<reference name="product_list">
|
49 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
50 |
+
</reference>
|
51 |
+
</catalog_category_layered>
|
52 |
+
|
53 |
+
<catalog_product_compare_index>
|
54 |
+
<reference name="catalog.compare.list">
|
55 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
56 |
+
</reference>
|
57 |
+
</catalog_product_compare_index>
|
58 |
+
|
59 |
+
<catalogsearch_result_index>
|
60 |
+
<reference name="search_result_list">
|
61 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
62 |
+
</reference>
|
63 |
+
</catalogsearch_result_index>
|
64 |
+
|
65 |
+
<catalogsearch_advanced_result>
|
66 |
+
<reference name="search_result_list">
|
67 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
68 |
+
</reference>
|
69 |
+
</catalogsearch_advanced_result>
|
70 |
+
|
71 |
+
<tag_product_list>
|
72 |
+
<reference name="search_result_list">
|
73 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
74 |
+
</reference>
|
75 |
+
</tag_product_list>
|
76 |
+
|
77 |
+
<tag_customer_view>
|
78 |
+
<reference name="customer_view">
|
79 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
80 |
+
</reference>
|
81 |
+
</tag_customer_view>
|
82 |
+
|
83 |
+
<default>
|
84 |
+
<reference name="minicart_head">
|
85 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/minicart/default.phtml</template></action>
|
86 |
+
</reference>
|
87 |
+
<reference name="cart_sidebar">
|
88 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
89 |
+
</reference>
|
90 |
+
<reference name="wishlist_sidebar">
|
91 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
92 |
+
</reference>
|
93 |
+
<reference name="catalog_product_price_template">
|
94 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
95 |
+
</reference>
|
96 |
+
</default>
|
97 |
+
|
98 |
+
<catalog_product_view>
|
99 |
+
<reference name="catalog.product.related">
|
100 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
101 |
+
</reference>
|
102 |
+
</catalog_product_view>
|
103 |
+
|
104 |
+
<!--
|
105 |
+
Partof block for simple products
|
106 |
+
-->
|
107 |
+
|
108 |
+
<PRODUCT_TYPE_simple>
|
109 |
+
<!--
|
110 |
+
<reference name="product.info.additional">
|
111 |
+
|
112 |
+
<block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
|
113 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
114 |
+
</block>
|
115 |
+
-->
|
116 |
+
<reference name="product.info.upsell">
|
117 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
118 |
+
<action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
|
119 |
+
</reference>
|
120 |
+
</PRODUCT_TYPE_simple>
|
121 |
+
|
122 |
+
<!--
|
123 |
+
Shopping cart item renderer (sidebar)
|
124 |
+
-->
|
125 |
+
|
126 |
+
<customer_account>
|
127 |
+
<reference name="cart_sidebar">
|
128 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
129 |
+
</reference>
|
130 |
+
</customer_account>
|
131 |
+
|
132 |
+
<!--
|
133 |
+
Shopping cart item renderer
|
134 |
+
-->
|
135 |
+
|
136 |
+
<checkout_cart_index>
|
137 |
+
<reference name="checkout.cart">
|
138 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
139 |
+
</reference>
|
140 |
+
<reference name="checkout.cart.crosssell">
|
141 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
142 |
+
</reference>
|
143 |
+
</checkout_cart_index>
|
144 |
+
|
145 |
+
<!--
|
146 |
+
Onepage Checkout Review Page
|
147 |
+
-->
|
148 |
+
|
149 |
+
<checkout_onepage_review>
|
150 |
+
<reference name="root">
|
151 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
152 |
+
</reference>
|
153 |
+
</checkout_onepage_review>
|
154 |
+
|
155 |
+
<checkout_multishipping_addresses>
|
156 |
+
<reference name="checkout_addresses">
|
157 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
158 |
+
</reference>
|
159 |
+
</checkout_multishipping_addresses>
|
160 |
+
|
161 |
+
<checkout_multishipping_shipping>
|
162 |
+
<reference name="checkout_shipping">
|
163 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
164 |
+
</reference>
|
165 |
+
<reference name="checkout_billing_items">
|
166 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
167 |
+
</reference>
|
168 |
+
</checkout_multishipping_shipping>
|
169 |
+
|
170 |
+
<checkout_multishipping_overview>
|
171 |
+
<reference name="checkout_overview">
|
172 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
173 |
+
</reference>
|
174 |
+
</checkout_multishipping_overview>
|
175 |
+
|
176 |
+
<paypal_express_review>
|
177 |
+
<reference name="paypal.express.review.details">
|
178 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
179 |
+
</reference>
|
180 |
+
</paypal_express_review>
|
181 |
+
<paypal_express_review_details>
|
182 |
+
<reference name="root">
|
183 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
184 |
+
</reference>
|
185 |
+
</paypal_express_review_details>
|
186 |
+
|
187 |
+
<paypaluk_express_review>
|
188 |
+
<reference name="paypal.express.review.details">
|
189 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
190 |
+
</reference>
|
191 |
+
</paypaluk_express_review>
|
192 |
+
<paypaluk_express_review_details>
|
193 |
+
<reference name="root">
|
194 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
195 |
+
</reference>
|
196 |
+
</paypaluk_express_review_details>
|
197 |
+
|
198 |
+
<!--
|
199 |
+
Additional block for bundle product type
|
200 |
+
-->
|
201 |
+
|
202 |
+
<PRODUCT_TYPE_bundle translate="label" module="bundle">
|
203 |
+
<label>Catalog Product View (Bundle)</label>
|
204 |
+
<reference name="head">
|
205 |
+
<action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
|
206 |
+
</reference>
|
207 |
+
<reference name="product.info">
|
208 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
209 |
+
<block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml">
|
210 |
+
<action method="setMAPTemplate"><tmpl>catalog/product/price_msrp_item.phtml</tmpl></action>
|
211 |
+
</block>
|
212 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml"/>
|
213 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.availability" as="product_type_availability" template="bundle/catalog/product/view/type/bundle/availability.phtml" />
|
214 |
+
</reference>
|
215 |
+
<reference name="product.info.options.wrapper">
|
216 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle.options" as="type_bundle_options" template="bundle/catalog/product/view/type/bundle/options.phtml">
|
217 |
+
<action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
|
218 |
+
<action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
|
219 |
+
<action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
|
220 |
+
<action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
|
221 |
+
</block>
|
222 |
+
<action method="insert"><block>product.info.bundle.options</block></action>
|
223 |
+
</reference>
|
224 |
+
<reference name="product.info.options.wrapper.bottom">
|
225 |
+
<remove name="product.tierprices" />
|
226 |
+
<block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
|
227 |
+
<block type="cataloginventory/qtyincrements" name="product.info.qtyincrements" before="-" template="cataloginventory/qtyincrements.phtml"/>
|
228 |
+
</reference>
|
229 |
+
<reference name="product.clone_prices">
|
230 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
|
231 |
+
</reference>
|
232 |
+
</PRODUCT_TYPE_bundle>
|
233 |
+
|
234 |
+
<sales_order_view>
|
235 |
+
<reference name="order_items">
|
236 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
237 |
+
</reference>
|
238 |
+
</sales_order_view>
|
239 |
+
|
240 |
+
<sales_order_invoice>
|
241 |
+
<reference name="invoice_items">
|
242 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
243 |
+
</reference>
|
244 |
+
</sales_order_invoice>
|
245 |
+
|
246 |
+
<sales_order_shipment>
|
247 |
+
<reference name="shipment_items">
|
248 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
249 |
+
</reference>
|
250 |
+
</sales_order_shipment>
|
251 |
+
|
252 |
+
<sales_order_creditmemo>
|
253 |
+
<reference name="creditmemo_items">
|
254 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
255 |
+
</reference>
|
256 |
+
</sales_order_creditmemo>
|
257 |
+
|
258 |
+
<!--
|
259 |
+
Print pages
|
260 |
+
-->
|
261 |
+
|
262 |
+
<sales_order_print>
|
263 |
+
<reference name="sales.order.print">
|
264 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
265 |
+
</reference>
|
266 |
+
</sales_order_print>
|
267 |
+
|
268 |
+
<sales_order_printinvoice>
|
269 |
+
<reference name="sales.order.print.invoice">
|
270 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
271 |
+
</reference>
|
272 |
+
</sales_order_printinvoice>
|
273 |
+
|
274 |
+
<sales_order_printshipment>
|
275 |
+
<reference name="sales.order.print.shipment">
|
276 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
277 |
+
</reference>
|
278 |
+
</sales_order_printshipment>
|
279 |
+
|
280 |
+
<sales_order_printcreditmemo>
|
281 |
+
<reference name="sales.order.print.creditmemo">
|
282 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
283 |
+
</reference>
|
284 |
+
</sales_order_printcreditmemo>
|
285 |
+
|
286 |
+
<!--
|
287 |
+
For guests
|
288 |
+
-->
|
289 |
+
<sales_guest_view>
|
290 |
+
<reference name="order_items">
|
291 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
292 |
+
</reference>
|
293 |
+
</sales_guest_view>
|
294 |
+
|
295 |
+
<sales_guest_invoice>
|
296 |
+
<reference name="invoice_items">
|
297 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
298 |
+
</reference>
|
299 |
+
</sales_guest_invoice>
|
300 |
+
|
301 |
+
<sales_guest_shipment>
|
302 |
+
<reference name="shipment_items">
|
303 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
304 |
+
</reference>
|
305 |
+
</sales_guest_shipment>
|
306 |
+
|
307 |
+
<sales_guest_creditmemo>
|
308 |
+
<reference name="creditmemo_items">
|
309 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
310 |
+
</reference>
|
311 |
+
</sales_guest_creditmemo>
|
312 |
+
|
313 |
+
<sales_guest_print>
|
314 |
+
<reference name="sales.order.print">
|
315 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
316 |
+
</reference>
|
317 |
+
</sales_guest_print>
|
318 |
+
|
319 |
+
<sales_guest_printinvoice>
|
320 |
+
<reference name="sales.order.print.invoice">
|
321 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
322 |
+
</reference>
|
323 |
+
</sales_guest_printinvoice>
|
324 |
+
|
325 |
+
<sales_guest_printshipment>
|
326 |
+
<reference name="sales.order.print.shipment">
|
327 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
328 |
+
</reference>
|
329 |
+
</sales_guest_printshipment>
|
330 |
+
|
331 |
+
<sales_guest_printcreditmemo>
|
332 |
+
<reference name="sales.order.print.creditmemo">
|
333 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
334 |
+
</reference>
|
335 |
+
</sales_guest_printcreditmemo>
|
336 |
+
|
337 |
+
<!--
|
338 |
+
Emails
|
339 |
+
-->
|
340 |
+
<sales_email_order_items>
|
341 |
+
<reference name="items">
|
342 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
|
343 |
+
</reference>
|
344 |
+
</sales_email_order_items>
|
345 |
+
|
346 |
+
<sales_email_order_invoice_items>
|
347 |
+
<reference name="items">
|
348 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
|
349 |
+
</reference>
|
350 |
+
</sales_email_order_invoice_items>
|
351 |
+
|
352 |
+
|
353 |
+
<sales_email_order_shipment_items>
|
354 |
+
<reference name="items">
|
355 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
|
356 |
+
</reference>
|
357 |
+
</sales_email_order_shipment_items>
|
358 |
+
|
359 |
+
<sales_email_order_creditmemo_items>
|
360 |
+
<reference name="items">
|
361 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
|
362 |
+
</reference>
|
363 |
+
</sales_email_order_creditmemo_items>
|
364 |
+
|
365 |
+
<!--
|
366 |
+
RSS
|
367 |
+
-->
|
368 |
+
<rss_catalog_category>
|
369 |
+
<reference name="rss.catalog.category">
|
370 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
371 |
+
</reference>
|
372 |
+
</rss_catalog_category>
|
373 |
+
<rss_catalog_new>
|
374 |
+
<reference name="rss.catalog.new">
|
375 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
376 |
+
</reference>
|
377 |
+
</rss_catalog_new>
|
378 |
+
<rss_catalog_tag>
|
379 |
+
<reference name="rss.catalog.tag">
|
380 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
381 |
+
</reference>
|
382 |
+
</rss_catalog_tag>
|
383 |
+
</layout>
|
app/design/frontend/rwd/default/layout/captcha.xml
ADDED
@@ -0,0 +1,4 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<!-- Remove all captcha functionality from theme layout -->
|
4 |
+
</layout>
|
app/design/frontend/rwd/default/layout/catalog.xml
ADDED
@@ -0,0 +1,447 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
Supported layout update handles (action):
|
29 |
+
- catalog_product_gallery
|
30 |
+
- catalog_product_compare_index
|
31 |
+
|
32 |
+
Supported layout update handles (special):
|
33 |
+
- default
|
34 |
+
- catalog_category_default
|
35 |
+
- catalog_category_layered
|
36 |
+
- catalog_product_view
|
37 |
+
|
38 |
+
-->
|
39 |
+
<layout version="0.1.0">
|
40 |
+
|
41 |
+
<!--
|
42 |
+
Default layout, loads most of the pages
|
43 |
+
-->
|
44 |
+
|
45 |
+
<default>
|
46 |
+
|
47 |
+
<!-- Mage_Catalog -->
|
48 |
+
<reference name="left">
|
49 |
+
<!--<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">-->
|
50 |
+
<!--<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>-->
|
51 |
+
<!--<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>-->
|
52 |
+
<!--<action method="setLinkUrl"><url>checkout/cart</url></action>-->
|
53 |
+
<!--</block>-->
|
54 |
+
</reference>
|
55 |
+
<reference name="right">
|
56 |
+
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
57 |
+
<!--<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">-->
|
58 |
+
<!--<action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>-->
|
59 |
+
<!--<action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>-->
|
60 |
+
<!--</block>-->
|
61 |
+
</reference>
|
62 |
+
<reference name="footer_links">
|
63 |
+
<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
|
64 |
+
</reference>
|
65 |
+
<block type="catalog/product_price_template" name="catalog_product_price_template" />
|
66 |
+
</default>
|
67 |
+
|
68 |
+
|
69 |
+
<!--
|
70 |
+
Category default layout
|
71 |
+
-->
|
72 |
+
|
73 |
+
<catalog_category_default translate="label">
|
74 |
+
<label>Catalog Category (Non-Anchor)</label>
|
75 |
+
<reference name="left_first">
|
76 |
+
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml">
|
77 |
+
<block type="core/text_list" name="catalog.leftnav.state.renderers" as="state_renderers" />
|
78 |
+
</block>
|
79 |
+
</reference>
|
80 |
+
<reference name="content">
|
81 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
82 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
83 |
+
<block type="core/text_list" name="product_list.name.after" as="name.after" />
|
84 |
+
<block type="core/text_list" name="product_list.after" as="after" />
|
85 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
86 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
87 |
+
<!-- The following code shows how to set your own pager increments -->
|
88 |
+
<!--
|
89 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
90 |
+
<action method="setDefaultGridPerPage"><limit>9</limit></action>
|
91 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
92 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
93 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
94 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
95 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
96 |
+
-->
|
97 |
+
</block>
|
98 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
99 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
100 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
101 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
102 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
103 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
104 |
+
<!-- Since the addColumnCountLayoutDepend does not work, we are manually setting the max columns -->
|
105 |
+
<action method="setColumnCount"><count>4</count></action>
|
106 |
+
</block>
|
107 |
+
</block>
|
108 |
+
</reference>
|
109 |
+
</catalog_category_default>
|
110 |
+
|
111 |
+
<!--
|
112 |
+
Category layered navigation layout
|
113 |
+
-->
|
114 |
+
|
115 |
+
<catalog_category_layered translate="label">
|
116 |
+
<label>Catalog Category (Anchor)</label>
|
117 |
+
<reference name="left_first">
|
118 |
+
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml">
|
119 |
+
<block type="core/text_list" name="catalog.leftnav.state.renderers" as="state_renderers" />
|
120 |
+
</block>
|
121 |
+
</reference>
|
122 |
+
<reference name="content">
|
123 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
124 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
125 |
+
<block type="core/text_list" name="product_list.name.after" as="name.after" />
|
126 |
+
<block type="core/text_list" name="product_list.after" as="after" />
|
127 |
+
<!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
|
128 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
129 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
130 |
+
<!-- The following code shows how to set your own pager increments -->
|
131 |
+
<!--
|
132 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
133 |
+
<action method="setDefaultGridPerPage"><limit>3</limit></action>
|
134 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
135 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
136 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
137 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
138 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
139 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
|
140 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
|
141 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
|
142 |
+
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
143 |
+
-->
|
144 |
+
</block>
|
145 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
146 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
147 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
148 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
149 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
150 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
151 |
+
<!-- Since the addColumnCountLayoutDepend does not work, we are manually setting the max columns -->
|
152 |
+
<action method="setColumnCount"><count>4</count></action>
|
153 |
+
</block>
|
154 |
+
</block>
|
155 |
+
</reference>
|
156 |
+
</catalog_category_layered>
|
157 |
+
|
158 |
+
<!--
|
159 |
+
Compare products page
|
160 |
+
-->
|
161 |
+
|
162 |
+
<catalog_product_compare_index translate="label">
|
163 |
+
<label>Catalog Product Compare List</label>
|
164 |
+
<!-- Mage_Catalog -->
|
165 |
+
<reference name="root">
|
166 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
167 |
+
</reference>
|
168 |
+
<reference name="head">
|
169 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
170 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
171 |
+
<action method="unsetChild"><name>head.viewport</name></action>
|
172 |
+
</reference>
|
173 |
+
<reference name="content">
|
174 |
+
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
|
175 |
+
</reference>
|
176 |
+
</catalog_product_compare_index>
|
177 |
+
|
178 |
+
<customer_account_index>
|
179 |
+
<reference name="right">
|
180 |
+
<action method="unsetChild"><name>catalog.compare.sidebar</name></action>
|
181 |
+
</reference>
|
182 |
+
</customer_account_index>
|
183 |
+
|
184 |
+
<!--
|
185 |
+
Product view
|
186 |
+
-->
|
187 |
+
|
188 |
+
<catalog_product_view translate="label">
|
189 |
+
<label>Catalog Product View (Any)</label>
|
190 |
+
<!-- Mage_Catalog -->
|
191 |
+
<reference name="root">
|
192 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
193 |
+
</reference>
|
194 |
+
<reference name="head">
|
195 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
196 |
+
<action method="addJs"><script>varien/configurable.js</script></action>
|
197 |
+
<action method="addItem"><type>skin_js</type><script>js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js</script></action>
|
198 |
+
|
199 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
200 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
201 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
202 |
+
</reference>
|
203 |
+
<reference name="content">
|
204 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
205 |
+
<!--
|
206 |
+
<action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
|
207 |
+
<action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
|
208 |
+
<action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
|
209 |
+
-->
|
210 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
|
211 |
+
<block type="core/text_list" name="product.info.media.after" as="after" />
|
212 |
+
</block>
|
213 |
+
<block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
|
214 |
+
<label>Alert Urls</label>
|
215 |
+
</block>
|
216 |
+
|
217 |
+
<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
|
218 |
+
|
219 |
+
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
|
220 |
+
<action method="setColumnCount"><columns>6</columns></action>
|
221 |
+
<action method="setItemLimit"><type>upsell</type><limit>6</limit></action>
|
222 |
+
</block>
|
223 |
+
|
224 |
+
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
|
225 |
+
<block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
|
226 |
+
<action method="addToParentGroup"><group>detailed_info</group></action>
|
227 |
+
<action method="setTitle" translate="value"><value>Description</value></action>
|
228 |
+
</block>
|
229 |
+
<block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
|
230 |
+
<action method="addToParentGroup"><group>detailed_info</group></action>
|
231 |
+
<action method="setTitle" translate="value"><value>Additional Information</value></action>
|
232 |
+
</block>
|
233 |
+
<block type="catalog/product_list_related" name="catalog.product.related" as="related_products" template="catalog/product/list/related.phtml" />
|
234 |
+
|
235 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
236 |
+
<block type="catalog/product_view" name="product.info.sharing" as="sharing" template="catalog/product/view/sharing.phtml"/>
|
237 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
238 |
+
|
239 |
+
<block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
|
240 |
+
<label>Product View Extra Hint</label>
|
241 |
+
</block>
|
242 |
+
|
243 |
+
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
244 |
+
<label>Info Column Options Wrapper</label>
|
245 |
+
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
246 |
+
<block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
|
247 |
+
<action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
|
248 |
+
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
|
249 |
+
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
|
250 |
+
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
|
251 |
+
</block>
|
252 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
253 |
+
</block>
|
254 |
+
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
|
255 |
+
<label>Bottom Block Options Wrapper</label>
|
256 |
+
<action method="insert"><block>product.tierprices</block></action>
|
257 |
+
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
258 |
+
<action method="append"><block>product.info.addtocart</block></action>
|
259 |
+
<action method="append"><block>product.info.addto</block></action>
|
260 |
+
<action method="append"><block>product.info.sharing</block></action>
|
261 |
+
</block>
|
262 |
+
|
263 |
+
<block type="core/template_facade" name="product.info.container1" as="container1">
|
264 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
|
265 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
266 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
267 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
268 |
+
</block>
|
269 |
+
<block type="core/template_facade" name="product.info.container2" as="container2">
|
270 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
|
271 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
272 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
273 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
274 |
+
</block>
|
275 |
+
<action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
276 |
+
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
277 |
+
</block>
|
278 |
+
</reference>
|
279 |
+
<reference name="right">
|
280 |
+
|
281 |
+
</reference>
|
282 |
+
</catalog_product_view>
|
283 |
+
|
284 |
+
<!--
|
285 |
+
Additional block dependant on product type
|
286 |
+
-->
|
287 |
+
<PRODUCT_TYPE_simple translate="label" module="catalog">
|
288 |
+
<label>Catalog Product View (Simple)</label>
|
289 |
+
<reference name="product.info">
|
290 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
291 |
+
<block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
|
292 |
+
<label>Product Extra Info</label>
|
293 |
+
</block>
|
294 |
+
</block>
|
295 |
+
<block type="catalog/product_view_type_simple" name="product.info.availability" as="product_type_availability" template="catalog/product/view/type/availability/default.phtml" />
|
296 |
+
</reference>
|
297 |
+
</PRODUCT_TYPE_simple>
|
298 |
+
<PRODUCT_TYPE_configurable translate="label" module="catalog">
|
299 |
+
<label>Catalog Product View (Configurable)</label>
|
300 |
+
<reference name="product.info">
|
301 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
302 |
+
<block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
|
303 |
+
<label>Product Extra Info</label>
|
304 |
+
</block>
|
305 |
+
</block>
|
306 |
+
<block type="catalog/product_view_type_configurable" name="product.info.availability" as="product_type_availability" template="catalog/product/view/type/availability/default.phtml" />
|
307 |
+
</reference>
|
308 |
+
<reference name="product.info.options.wrapper">
|
309 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml">
|
310 |
+
<block type="core/text_list" name="product.info.options.configurable.renderers" as="attr_renderers" />
|
311 |
+
<block type="core/text_list" name="product.info.options.configurable.after" as="after" />
|
312 |
+
</block>
|
313 |
+
</reference>
|
314 |
+
</PRODUCT_TYPE_configurable>
|
315 |
+
<PRODUCT_TYPE_grouped translate="label" module="catalog">
|
316 |
+
<label>Catalog Product View (Grouped)</label>
|
317 |
+
<reference name="product.info">
|
318 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
|
319 |
+
<block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
|
320 |
+
<label>Product Extra Info</label>
|
321 |
+
</block>
|
322 |
+
</block>
|
323 |
+
<block type="catalog/product_view_type_grouped" name="product.info.availability" as="product_type_availability" template="catalog/product/view/type/availability/grouped.phtml" />
|
324 |
+
</reference>
|
325 |
+
</PRODUCT_TYPE_grouped>
|
326 |
+
<PRODUCT_TYPE_virtual translate="label" module="catalog">
|
327 |
+
<label>Catalog Product View (Virtual)</label>
|
328 |
+
<reference name="product.info">
|
329 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
|
330 |
+
<block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
|
331 |
+
<label>Product Extra Info</label>
|
332 |
+
</block>
|
333 |
+
</block>
|
334 |
+
<block type="catalog/product_view_type_virtual" name="product.info.availability" as="product_type_availability" template="catalog/product/view/type/availability/default.phtml" />
|
335 |
+
</reference>
|
336 |
+
</PRODUCT_TYPE_virtual>
|
337 |
+
|
338 |
+
|
339 |
+
|
340 |
+
<!--
|
341 |
+
Product send to friend
|
342 |
+
-->
|
343 |
+
|
344 |
+
<catalog_product_send translate="label">
|
345 |
+
<label>Catalog Product Email to a Friend</label>
|
346 |
+
<!-- Mage_Catalog -->
|
347 |
+
<reference name="root">
|
348 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
349 |
+
</reference>
|
350 |
+
<reference name="head">
|
351 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
352 |
+
</reference>
|
353 |
+
<reference name="content">
|
354 |
+
<block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
|
355 |
+
</block>
|
356 |
+
</reference>
|
357 |
+
</catalog_product_send>
|
358 |
+
|
359 |
+
<!--
|
360 |
+
Product additional images gallery popup
|
361 |
+
-->
|
362 |
+
|
363 |
+
<catalog_product_gallery translate="label">
|
364 |
+
<label>Catalog Product Image Gallery Popup</label>
|
365 |
+
<!-- Mage_Catalog -->
|
366 |
+
<reference name="root">
|
367 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
368 |
+
</reference>
|
369 |
+
<reference name="content">
|
370 |
+
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
371 |
+
</reference>
|
372 |
+
</catalog_product_gallery>
|
373 |
+
|
374 |
+
<!--
|
375 |
+
SEO Site Map
|
376 |
+
-->
|
377 |
+
|
378 |
+
<catalog_seo_sitemap translate="label">
|
379 |
+
<label>Catalog Seo Sitemap (Common)</label>
|
380 |
+
<remove name="right"/>
|
381 |
+
<remove name="left"/>
|
382 |
+
|
383 |
+
<reference name="root">
|
384 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
385 |
+
</reference>
|
386 |
+
<reference name="content">
|
387 |
+
<block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
|
388 |
+
<block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
|
389 |
+
<block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
390 |
+
<block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
391 |
+
</block>
|
392 |
+
</reference>
|
393 |
+
</catalog_seo_sitemap>
|
394 |
+
|
395 |
+
<catalog_seo_sitemap_category translate="label">
|
396 |
+
<label>Catalog Seo Sitemap (Category List)</label>
|
397 |
+
<reference name="head">
|
398 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
399 |
+
</reference>
|
400 |
+
<update handle="catalog_seo_sitemap" />
|
401 |
+
<reference name="seo.sitemap.container">
|
402 |
+
<action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
|
403 |
+
<block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
404 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
405 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
406 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
|
407 |
+
</block>
|
408 |
+
</reference>
|
409 |
+
<reference name="seo.sitemap.links">
|
410 |
+
<action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
|
411 |
+
</reference>
|
412 |
+
</catalog_seo_sitemap_category>
|
413 |
+
|
414 |
+
<catalog_seo_sitemap_category_tree translate="label">
|
415 |
+
<label>Catalog Seo Sitemap (Category Tree)</label>
|
416 |
+
<reference name="seo.sitemap.container">
|
417 |
+
<remove name="seo.sitemap.pager.top" />
|
418 |
+
<remove name="seo.sitemap.pager.bottom" />
|
419 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
420 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
421 |
+
<remove name="seo.sitemap.sitemap" />
|
422 |
+
<block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
|
423 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
|
424 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
|
425 |
+
</block>
|
426 |
+
</reference>
|
427 |
+
</catalog_seo_sitemap_category_tree>
|
428 |
+
|
429 |
+
<catalog_seo_sitemap_product translate="label">
|
430 |
+
<label>Catalog Seo Sitemap (Product List)</label>
|
431 |
+
<reference name="head">
|
432 |
+
<action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
|
433 |
+
</reference>
|
434 |
+
<update handle="catalog_seo_sitemap" />
|
435 |
+
<reference name="seo.sitemap.container">
|
436 |
+
<action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
|
437 |
+
<block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
438 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
439 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
440 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
|
441 |
+
</block>
|
442 |
+
</reference>
|
443 |
+
<reference name="seo.sitemap.links">
|
444 |
+
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
445 |
+
</reference>
|
446 |
+
</catalog_seo_sitemap_product>
|
447 |
+
</layout>
|
app/design/frontend/rwd/default/layout/catalog_msrp.xml
ADDED
@@ -0,0 +1,109 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<!--
|
31 |
+
Default layout, loads most of the pages
|
32 |
+
-->
|
33 |
+
<catalog_category_default>
|
34 |
+
<update handle="MAP_popup" />
|
35 |
+
</catalog_category_default>
|
36 |
+
<catalog_category_layered>
|
37 |
+
<update handle="MAP_popup" />
|
38 |
+
</catalog_category_layered>
|
39 |
+
<catalog_product_compare_index>
|
40 |
+
<update handle="MAP_popup" />
|
41 |
+
</catalog_product_compare_index>
|
42 |
+
<catalog_product_view>
|
43 |
+
<update handle="MAP_popup" />
|
44 |
+
<update handle="MAP_price_msrp_item" />
|
45 |
+
</catalog_product_view>
|
46 |
+
<checkout_cart_index>
|
47 |
+
<update handle="MAP_popup" />
|
48 |
+
</checkout_cart_index>
|
49 |
+
<checkout_onepage_success>
|
50 |
+
<update handle="MAP_popup" />
|
51 |
+
</checkout_onepage_success>
|
52 |
+
<checkout_onepage_failure>
|
53 |
+
<update handle="MAP_popup" />
|
54 |
+
</checkout_onepage_failure>
|
55 |
+
<wishlist_index_index>
|
56 |
+
<update handle="MAP_popup" />
|
57 |
+
<update handle="MAP_price_msrp_wishlist_item" />
|
58 |
+
</wishlist_index_index>
|
59 |
+
<wishlist_shared_index>
|
60 |
+
<update handle="MAP_popup" />
|
61 |
+
<update handle="MAP_price_msrp_wishlist_item" />
|
62 |
+
</wishlist_shared_index>
|
63 |
+
<review_product_list>
|
64 |
+
<update handle="MAP_popup" />
|
65 |
+
<update handle="MAP_price_msrp_item" />
|
66 |
+
</review_product_list>
|
67 |
+
<catalogsearch_result_index>
|
68 |
+
<update handle="MAP_popup" />
|
69 |
+
</catalogsearch_result_index>
|
70 |
+
<catalogsearch_advanced_result>
|
71 |
+
<update handle="MAP_popup" />
|
72 |
+
</catalogsearch_advanced_result>
|
73 |
+
<tag_product_list>
|
74 |
+
<update handle="MAP_popup" />
|
75 |
+
</tag_product_list>
|
76 |
+
<tag_customer_view>
|
77 |
+
<update handle="MAP_popup" />
|
78 |
+
</tag_customer_view>
|
79 |
+
|
80 |
+
<MAP_popup>
|
81 |
+
<reference name="head">
|
82 |
+
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp.js</name></action>
|
83 |
+
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp_rwd.js</name></action>
|
84 |
+
</reference>
|
85 |
+
<reference name="content">
|
86 |
+
<block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
|
87 |
+
</reference>
|
88 |
+
</MAP_popup>
|
89 |
+
<MAP_price_msrp_item>
|
90 |
+
<reference name="catalog_product_price_template">
|
91 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
92 |
+
</reference>
|
93 |
+
<reference name="product.clone_prices">
|
94 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
95 |
+
</reference>
|
96 |
+
</MAP_price_msrp_item>
|
97 |
+
<MAP_price_msrp_wishlist_item>
|
98 |
+
<reference name="catalog_product_price_template">
|
99 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_item.phtml</template></action>
|
100 |
+
</reference>
|
101 |
+
</MAP_price_msrp_wishlist_item>
|
102 |
+
<default>
|
103 |
+
<reference name="catalog_product_price_template">
|
104 |
+
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp.phtml</template></action>
|
105 |
+
<action method="addPriceBlockType"><type>msrp_item</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
106 |
+
<action method="addPriceBlockType"><type>msrp_noform</type><block>catalog/product_price</block><template>catalog/product/price_msrp_noform.phtml</template></action>
|
107 |
+
</reference>
|
108 |
+
</default>
|
109 |
+
</layout>
|
app/design/frontend/rwd/default/layout/catalogsearch.xml
ADDED
@@ -0,0 +1,148 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<default>
|
32 |
+
<reference name="header">
|
33 |
+
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
|
34 |
+
</reference>
|
35 |
+
<reference name="footer_links">
|
36 |
+
<action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms">
|
37 |
+
<label>Search Terms</label>
|
38 |
+
<url helper="catalogsearch/getSearchTermUrl" />
|
39 |
+
<title>Search Terms</title>
|
40 |
+
</action>
|
41 |
+
<action method="addLink" translate="label title" module="catalogsearch">
|
42 |
+
<label>Advanced Search</label>
|
43 |
+
<url helper="catalogsearch/getAdvancedSearchUrl" />
|
44 |
+
<title>Advanced Search</title>
|
45 |
+
</action>
|
46 |
+
</reference>
|
47 |
+
</default>
|
48 |
+
|
49 |
+
<catalogsearch_result_index translate="label">
|
50 |
+
<label>Quick Search Form</label>
|
51 |
+
<reference name="root">
|
52 |
+
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
53 |
+
</reference>
|
54 |
+
<reference name="left_first">
|
55 |
+
<block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml">
|
56 |
+
<block type="core/text_list" name="catalog.leftnav.state.renderers" as="state_renderers" />
|
57 |
+
</block>
|
58 |
+
</reference>
|
59 |
+
<reference name="content">
|
60 |
+
<block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
|
61 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
62 |
+
<block type="core/text_list" name="product_list.name.after" as="name.after" />
|
63 |
+
<block type="core/text_list" name="product_list.after" as="after" />
|
64 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
65 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
66 |
+
</block>
|
67 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
68 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
69 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
70 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
71 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
72 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
73 |
+
</block>
|
74 |
+
<action method="setListOrders"/>
|
75 |
+
<action method="setListModes"/>
|
76 |
+
<action method="setListCollection"/>
|
77 |
+
</block>
|
78 |
+
</reference>
|
79 |
+
</catalogsearch_result_index>
|
80 |
+
|
81 |
+
<catalogsearch_advanced_index translate="label">
|
82 |
+
<label>Advanced Search Form</label>
|
83 |
+
<!-- Mage_Catalogsearch -->
|
84 |
+
<reference name="root">
|
85 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
86 |
+
</reference>
|
87 |
+
<reference name="head">
|
88 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action>
|
89 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
90 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
91 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
92 |
+
</reference>
|
93 |
+
<reference name="content">
|
94 |
+
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
|
95 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
96 |
+
</reference>
|
97 |
+
</catalogsearch_advanced_index>
|
98 |
+
|
99 |
+
<!--
|
100 |
+
Advanced search results
|
101 |
+
-->
|
102 |
+
|
103 |
+
<catalogsearch_advanced_result translate="label">
|
104 |
+
<label>Advanced Search Result</label>
|
105 |
+
<update handle="page_two_columns_right" />
|
106 |
+
<!-- Mage_Catalogsearch -->
|
107 |
+
<reference name="root">
|
108 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
109 |
+
</reference>
|
110 |
+
<reference name="content">
|
111 |
+
<block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
|
112 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
113 |
+
<block type="core/text_list" name="product_list.name.after" as="name.after" />
|
114 |
+
<block type="core/text_list" name="product_list.after" as="after" />
|
115 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
116 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
117 |
+
</block>
|
118 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
119 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
120 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
121 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
122 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
123 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
124 |
+
</block>
|
125 |
+
<action method="setListOrders"/>
|
126 |
+
<action method="setListModes"/>
|
127 |
+
<action method="setListCollection"/>
|
128 |
+
</block>
|
129 |
+
</reference>
|
130 |
+
</catalogsearch_advanced_result>
|
131 |
+
|
132 |
+
<catalogsearch_term_popular translate="label">
|
133 |
+
<label>Popular Search Terms</label>
|
134 |
+
<remove name="right"/>
|
135 |
+
<remove name="left"/>
|
136 |
+
|
137 |
+
<reference name="head">
|
138 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Search Terms</title></action>
|
139 |
+
</reference>
|
140 |
+
<reference name="root">
|
141 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
142 |
+
</reference>
|
143 |
+
<reference name="content">
|
144 |
+
<block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
|
145 |
+
</reference>
|
146 |
+
</catalogsearch_term_popular>
|
147 |
+
|
148 |
+
</layout>
|
app/design/frontend/rwd/default/layout/checkout.xml
ADDED
@@ -0,0 +1,542 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Checkout -->
|
38 |
+
<reference name="top.links">
|
39 |
+
<block type="checkout/links" name="checkout_cart_link">
|
40 |
+
<action method="addCartLink"></action>
|
41 |
+
<action method="addCheckoutLink"></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
|
45 |
+
<reference name="header">
|
46 |
+
<block type="checkout/cart_minicart" name="minicart_head" template="checkout/cart/minicart.phtml" before="-">
|
47 |
+
<block type="checkout/cart_sidebar" name="minicart_content" template="checkout/cart/minicart/items.phtml">
|
48 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/default.phtml</template></action>
|
49 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/minicart/default.phtml</template></action>
|
50 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/minicart/default.phtml</template></action>
|
51 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/minicart/default.phtml</template></action>
|
52 |
+
|
53 |
+
<block type="core/text_list" name="cart_sidebar.cart_promotion" as="cart_promotion" translate="label" module="checkout">
|
54 |
+
<label>Mini-cart promotion block</label>
|
55 |
+
</block>
|
56 |
+
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
|
57 |
+
<label>Shopping Cart Sidebar Extra Actions</label>
|
58 |
+
</block>
|
59 |
+
</block>
|
60 |
+
</block>
|
61 |
+
</reference>
|
62 |
+
|
63 |
+
<reference name="right">
|
64 |
+
<!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">-->
|
65 |
+
<!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
66 |
+
<!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
67 |
+
<!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
68 |
+
<!--<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">-->
|
69 |
+
<!--<label>Shopping Cart Sidebar Extra Actions</label>-->
|
70 |
+
<!--</block>-->
|
71 |
+
<!--</block>-->
|
72 |
+
</reference>
|
73 |
+
</default>
|
74 |
+
|
75 |
+
<checkout_cart_index translate="label">
|
76 |
+
<label>Shopping Cart</label>
|
77 |
+
<remove name="right"/>
|
78 |
+
<remove name="left"/>
|
79 |
+
<!-- Mage_Checkout -->
|
80 |
+
<reference name="root">
|
81 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
82 |
+
</reference>
|
83 |
+
<reference name="content">
|
84 |
+
<block type="checkout/cart" name="checkout.cart">
|
85 |
+
<action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
|
86 |
+
<action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
|
87 |
+
<action method="chooseTemplate"/>
|
88 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
89 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
|
90 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
|
91 |
+
|
92 |
+
<block type="core/text_list" name="checkout.cart.empty.widget" as="checkout_cart_empty_widget" translate="label">
|
93 |
+
<label>Empty Shopping Cart Content Before</label>
|
94 |
+
</block>
|
95 |
+
|
96 |
+
<block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
|
97 |
+
<label>Payment Methods Before Checkout Button</label>
|
98 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage.top" template="checkout/onepage/link.phtml" after="-" />
|
99 |
+
</block>
|
100 |
+
|
101 |
+
<block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
|
102 |
+
<label>Shopping Cart Items Before</label>
|
103 |
+
</block>
|
104 |
+
|
105 |
+
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
106 |
+
<label>Payment Methods After Checkout Button</label>
|
107 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage.bottom" template="checkout/onepage/link.phtml"/>
|
108 |
+
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
|
109 |
+
</block>
|
110 |
+
|
111 |
+
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
|
112 |
+
<block type="core/text_list" name="checkout.cart.extra" translate="label">
|
113 |
+
<label>Checkout Forms Extra</label>
|
114 |
+
</block>
|
115 |
+
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
|
116 |
+
<block type="core/text_list" name="checkout.cart.widget" as="checkout_cart_widget" translate="label">
|
117 |
+
<label>Shopping Cart Items After</label>
|
118 |
+
</block>
|
119 |
+
<block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
|
120 |
+
|
121 |
+
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
|
122 |
+
</block>
|
123 |
+
</reference>
|
124 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
125 |
+
<label>Additional Product Info</label>
|
126 |
+
</block>
|
127 |
+
</checkout_cart_index>
|
128 |
+
|
129 |
+
<checkout_cart_configure translate="label">
|
130 |
+
<label>Configure Cart Item</label>
|
131 |
+
<update handle="catalog_product_view"/>
|
132 |
+
<reference name="product.info">
|
133 |
+
<block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
|
134 |
+
</reference>
|
135 |
+
</checkout_cart_configure>
|
136 |
+
|
137 |
+
<!--
|
138 |
+
Multi address shipping checkout main layout,
|
139 |
+
will be rendered on all checkout pages
|
140 |
+
-->
|
141 |
+
|
142 |
+
<checkout_multishipping translate="label">
|
143 |
+
<label>Multishipping Checkout</label>
|
144 |
+
<!-- Mage_Checkout -->
|
145 |
+
<remove name="right"/>
|
146 |
+
<remove name="left"/>
|
147 |
+
|
148 |
+
<reference name="root">
|
149 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
150 |
+
</reference>
|
151 |
+
<reference name="content">
|
152 |
+
<block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
|
153 |
+
</reference>
|
154 |
+
</checkout_multishipping>
|
155 |
+
|
156 |
+
<checkout_multishipping_login>
|
157 |
+
<update handle="customer_account_login"/>
|
158 |
+
</checkout_multishipping_login>
|
159 |
+
|
160 |
+
<checkout_multishipping_register>
|
161 |
+
<update handle="customer_account_create"/>
|
162 |
+
</checkout_multishipping_register>
|
163 |
+
|
164 |
+
<!--
|
165 |
+
Multi address shipping checkout selection of address per item page
|
166 |
+
-->
|
167 |
+
|
168 |
+
<checkout_multishipping_address_select translate="label">
|
169 |
+
<label>Multishipping Checkout Shipping Address Selection</label>
|
170 |
+
<update handle="checkout_multishipping"/>
|
171 |
+
<!-- Mage_Checkout -->
|
172 |
+
<reference name="content">
|
173 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
174 |
+
</reference>
|
175 |
+
</checkout_multishipping_address_select>
|
176 |
+
|
177 |
+
<checkout_multishipping_address_selectbilling translate="label">
|
178 |
+
<label>Multishipping Checkout Billing Address Selection</label>
|
179 |
+
<update handle="checkout_multishipping"/>
|
180 |
+
<!-- Mage_Checkout -->
|
181 |
+
<reference name="content">
|
182 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
183 |
+
</reference>
|
184 |
+
</checkout_multishipping_address_selectbilling>
|
185 |
+
|
186 |
+
|
187 |
+
<checkout_multishipping_address_newshipping translate="label">
|
188 |
+
<label>Multishipping Checkout Shipping Address Creation</label>
|
189 |
+
<update handle="checkout_multishipping"/>
|
190 |
+
<update handle="checkout_multishipping_customer_address"/>
|
191 |
+
</checkout_multishipping_address_newshipping>
|
192 |
+
|
193 |
+
<checkout_multishipping_address_newbilling translate="label">
|
194 |
+
<label>Multishipping Checkout Billing Address Creation</label>
|
195 |
+
<update handle="checkout_multishipping"/>
|
196 |
+
<update handle="checkout_multishipping_customer_address"/>
|
197 |
+
</checkout_multishipping_address_newbilling>
|
198 |
+
|
199 |
+
<checkout_multishipping_address_editshipping translate="label">
|
200 |
+
<label>Multishipping Checkout Shipping Address Edit Form</label>
|
201 |
+
<update handle="checkout_multishipping"/>
|
202 |
+
<update handle="checkout_multishipping_customer_address"/>
|
203 |
+
</checkout_multishipping_address_editshipping>
|
204 |
+
|
205 |
+
<checkout_multishipping_address_editaddress>
|
206 |
+
<update handle="checkout_multishipping"/>
|
207 |
+
<update handle="checkout_multishipping_customer_address"/>
|
208 |
+
</checkout_multishipping_address_editaddress>
|
209 |
+
|
210 |
+
<checkout_multishipping_address_editbilling translate="label">
|
211 |
+
<label>Multishipping Checkout Billing Address Edit Form</label>
|
212 |
+
<update handle="checkout_multishipping"/>
|
213 |
+
<update handle="checkout_multishipping_customer_address"/>
|
214 |
+
</checkout_multishipping_address_editbilling>
|
215 |
+
|
216 |
+
<checkout_multishipping_customer_address translate="label">
|
217 |
+
<label>Multishipping Checkout Customer Address Edit Form</label>
|
218 |
+
<reference name="content">
|
219 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
220 |
+
</reference>
|
221 |
+
</checkout_multishipping_customer_address>
|
222 |
+
|
223 |
+
<!--
|
224 |
+
Multi address shipping checkout address page
|
225 |
+
-->
|
226 |
+
|
227 |
+
<checkout_multishipping_addresses translate="label">
|
228 |
+
<label>Multishipping Checkout Address (Any) Form</label>
|
229 |
+
<update handle="checkout_multishipping"/>
|
230 |
+
<!-- Mage_Checkout -->
|
231 |
+
<reference name="content">
|
232 |
+
<block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
|
233 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
234 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
235 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
236 |
+
</block>
|
237 |
+
</reference>
|
238 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
239 |
+
<label>Additional Product Info</label>
|
240 |
+
</block>
|
241 |
+
</checkout_multishipping_addresses>
|
242 |
+
|
243 |
+
<!--
|
244 |
+
Multi address shipping checkout shipping information
|
245 |
+
-->
|
246 |
+
|
247 |
+
<checkout_multishipping_shipping translate="label">
|
248 |
+
<label>Multishipping Checkout Shipping Information Step</label>
|
249 |
+
<update handle="checkout_multishipping"/>
|
250 |
+
<!-- Mage_Checkout -->
|
251 |
+
<reference name="content">
|
252 |
+
<block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
|
253 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
254 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
255 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
256 |
+
|
257 |
+
<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
258 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
259 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
260 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
261 |
+
</block>
|
262 |
+
</block>
|
263 |
+
</reference>
|
264 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
265 |
+
<label>Additional Product Info</label>
|
266 |
+
</block>
|
267 |
+
</checkout_multishipping_shipping>
|
268 |
+
|
269 |
+
<!--
|
270 |
+
Multi address shipping checkout billing information
|
271 |
+
-->
|
272 |
+
|
273 |
+
<checkout_multishipping_billing translate="label">
|
274 |
+
<label>Multishipping Checkout Billing Information Step</label>
|
275 |
+
<update handle="checkout_multishipping"/>
|
276 |
+
<!-- Mage_Checkout -->
|
277 |
+
<reference name="content">
|
278 |
+
<block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
|
279 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
280 |
+
<block type="core/text_list" name="payment_methods_before" translate="label">
|
281 |
+
<label>Payment Methods Before</label>
|
282 |
+
</block>
|
283 |
+
<block type="core/text_list" name="payment_methods_after" translate="label">
|
284 |
+
<label>Payment Methods After</label>
|
285 |
+
</block>
|
286 |
+
|
287 |
+
<!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
288 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
289 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
290 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
291 |
+
</block>-->
|
292 |
+
|
293 |
+
</block>
|
294 |
+
</reference>
|
295 |
+
</checkout_multishipping_billing>
|
296 |
+
|
297 |
+
<!--
|
298 |
+
Multi address shipping checkout overview
|
299 |
+
-->
|
300 |
+
|
301 |
+
<checkout_multishipping_overview translate="label">
|
302 |
+
<label>Multishipping Checkout Overview</label>
|
303 |
+
<update handle="checkout_multishipping"/>
|
304 |
+
<!-- Mage_Checkout -->
|
305 |
+
<reference name="content">
|
306 |
+
<block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
|
307 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
308 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
309 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
310 |
+
<action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
311 |
+
<action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
312 |
+
<block type="checkout/multishipping_payment_info" name="payment_info">
|
313 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
314 |
+
</block>
|
315 |
+
<block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
|
316 |
+
<block type="checkout/cart_totals" name="totals" />
|
317 |
+
<block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
|
318 |
+
<label>Overview Items After</label>
|
319 |
+
</block>
|
320 |
+
</block>
|
321 |
+
</reference>
|
322 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
323 |
+
<label>Additional Product Info</label>
|
324 |
+
</block>
|
325 |
+
</checkout_multishipping_overview>
|
326 |
+
|
327 |
+
<!--
|
328 |
+
Multi address shipping checkout success
|
329 |
+
-->
|
330 |
+
|
331 |
+
<checkout_multishipping_success translate="label">
|
332 |
+
<label>Multishipping Checkout Success</label>
|
333 |
+
<update handle="checkout_multishipping"/>
|
334 |
+
<!-- Mage_Checkout -->
|
335 |
+
<reference name="content">
|
336 |
+
<block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
|
337 |
+
</reference>
|
338 |
+
</checkout_multishipping_success>
|
339 |
+
|
340 |
+
<!--
|
341 |
+
One page checkout main layout
|
342 |
+
-->
|
343 |
+
|
344 |
+
<checkout_onepage_index translate="label">
|
345 |
+
<label>One Page Checkout</label>
|
346 |
+
<!-- Mage_Checkout -->
|
347 |
+
<remove name="left"/>
|
348 |
+
|
349 |
+
<reference name="root">
|
350 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
351 |
+
</reference>
|
352 |
+
<reference name="right">
|
353 |
+
<action method="unsetChildren"></action>
|
354 |
+
<block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
|
355 |
+
<label>Checkout Progress Wrapper</label>
|
356 |
+
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
|
357 |
+
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml">
|
358 |
+
<block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
|
359 |
+
<block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
|
360 |
+
<block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
|
361 |
+
<block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
|
362 |
+
</block>
|
363 |
+
</block>
|
364 |
+
</reference>
|
365 |
+
<reference name="content">
|
366 |
+
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
367 |
+
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
368 |
+
<block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
|
369 |
+
<label>Login/Registration Before</label>
|
370 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
371 |
+
</block>
|
372 |
+
</block>
|
373 |
+
<block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
|
374 |
+
<block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
|
375 |
+
<block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
|
376 |
+
<block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
|
377 |
+
<block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
|
378 |
+
</block>
|
379 |
+
<block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
|
380 |
+
<block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/info.phtml">
|
381 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
382 |
+
</block>
|
383 |
+
<block type="core/template" name="checkout.onepage.payment.additional" as="additional" />
|
384 |
+
<block type="core/template" name="checkout.onepage.payment.methods_additional" as="methods_additional" />
|
385 |
+
</block>
|
386 |
+
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
|
387 |
+
</block>
|
388 |
+
</reference>
|
389 |
+
</checkout_onepage_index>
|
390 |
+
|
391 |
+
<!--
|
392 |
+
One page checkout progress block
|
393 |
+
-->
|
394 |
+
|
395 |
+
<checkout_onepage_progress>
|
396 |
+
<!-- Mage_Checkout -->
|
397 |
+
<remove name="right"/>
|
398 |
+
<remove name="left"/>
|
399 |
+
|
400 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
|
401 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
402 |
+
<block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
|
403 |
+
<block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
|
404 |
+
<block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
|
405 |
+
<block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
|
406 |
+
</block>
|
407 |
+
</checkout_onepage_progress>
|
408 |
+
|
409 |
+
<!-- Individual blocks for Progress steps begins -->
|
410 |
+
<checkout_onepage_progress_billing>
|
411 |
+
<!-- Mage_Checkout -->
|
412 |
+
<remove name="right"/>
|
413 |
+
<remove name="left"/>
|
414 |
+
|
415 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml">
|
416 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
417 |
+
</block>
|
418 |
+
</checkout_onepage_progress_billing>
|
419 |
+
|
420 |
+
|
421 |
+
<checkout_onepage_progress_shipping>
|
422 |
+
<!-- Mage_Checkout -->
|
423 |
+
<remove name="right"/>
|
424 |
+
<remove name="left"/>
|
425 |
+
|
426 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml">
|
427 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
428 |
+
</block>
|
429 |
+
</checkout_onepage_progress_shipping>
|
430 |
+
|
431 |
+
|
432 |
+
<checkout_onepage_progress_shipping_method>
|
433 |
+
<!-- Mage_Checkout -->
|
434 |
+
<remove name="right"/>
|
435 |
+
<remove name="left"/>
|
436 |
+
|
437 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml">
|
438 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
439 |
+
</block>
|
440 |
+
</checkout_onepage_progress_shipping_method>
|
441 |
+
|
442 |
+
<checkout_onepage_progress_payment>
|
443 |
+
<!-- Mage_Checkout -->
|
444 |
+
<remove name="right"/>
|
445 |
+
<remove name="left"/>
|
446 |
+
|
447 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml">
|
448 |
+
<block type="checkout/onepage_payment_info" name="payment_info">
|
449 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
450 |
+
</block>
|
451 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
452 |
+
</block>
|
453 |
+
</checkout_onepage_progress_payment>
|
454 |
+
|
455 |
+
<!-- end individual progress blocks -->
|
456 |
+
|
457 |
+
<!--
|
458 |
+
One page checkout payment methods block
|
459 |
+
-->
|
460 |
+
<checkout_onepage_paymentmethod>
|
461 |
+
<remove name="right"/>
|
462 |
+
<remove name="left"/>
|
463 |
+
|
464 |
+
<block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
|
465 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
466 |
+
<block type="core/template" name="checkout.onepage.payment.methods.scripts" as="scripts" />
|
467 |
+
<block type="core/template" name="checkout.onepage.payment.methods.additional" as="additional" />
|
468 |
+
</block>
|
469 |
+
</checkout_onepage_paymentmethod>
|
470 |
+
|
471 |
+
|
472 |
+
<!--
|
473 |
+
One page checkout shipping methods block
|
474 |
+
-->
|
475 |
+
|
476 |
+
<checkout_onepage_shippingmethod>
|
477 |
+
<!-- Mage_Checkout -->
|
478 |
+
<remove name="right"/>
|
479 |
+
<remove name="left"/>
|
480 |
+
|
481 |
+
<block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
|
482 |
+
</checkout_onepage_shippingmethod>
|
483 |
+
|
484 |
+
<checkout_onepage_additional>
|
485 |
+
<!-- Mage_Checkout -->
|
486 |
+
<remove name="right"/>
|
487 |
+
<remove name="left"/>
|
488 |
+
|
489 |
+
<block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
|
490 |
+
<action method="setDontDisplayContainer"><param>1</param></action>
|
491 |
+
</block>
|
492 |
+
</checkout_onepage_additional>
|
493 |
+
|
494 |
+
<!--
|
495 |
+
One page checkout order review block
|
496 |
+
-->
|
497 |
+
|
498 |
+
<checkout_onepage_review translate="label">
|
499 |
+
<label>One Page Checkout Overview</label>
|
500 |
+
<!-- Mage_Checkout -->
|
501 |
+
<remove name="right"/>
|
502 |
+
<remove name="left"/>
|
503 |
+
|
504 |
+
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
|
505 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
506 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
507 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
508 |
+
<block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
509 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
|
510 |
+
<label>Items Before</label>
|
511 |
+
</block>
|
512 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
|
513 |
+
<label>Items After</label>
|
514 |
+
</block>
|
515 |
+
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
516 |
+
<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
|
517 |
+
</block>
|
518 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
519 |
+
<label>Additional Product Info</label>
|
520 |
+
</block>
|
521 |
+
</checkout_onepage_review>
|
522 |
+
|
523 |
+
<checkout_onepage_success translate="label">
|
524 |
+
<label>One Page Checkout Success</label>
|
525 |
+
<reference name="root">
|
526 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
527 |
+
</reference>
|
528 |
+
<reference name="content">
|
529 |
+
<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
|
530 |
+
</reference>
|
531 |
+
</checkout_onepage_success>
|
532 |
+
<checkout_onepage_failure translate="label">
|
533 |
+
<label>One Page Checkout Failure</label>
|
534 |
+
<reference name="root">
|
535 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
536 |
+
</reference>
|
537 |
+
<reference name="content">
|
538 |
+
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
539 |
+
</reference>
|
540 |
+
</checkout_onepage_failure>
|
541 |
+
|
542 |
+
</layout>
|
app/design/frontend/rwd/default/layout/cms.xml
ADDED
@@ -0,0 +1,108 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
|
33 |
+
<default>
|
34 |
+
<reference name="footer">
|
35 |
+
<block type="cms/block" name="cms_footer_links" before="footer_links">
|
36 |
+
<!--
|
37 |
+
The content of this block is taken from the database by its block_id.
|
38 |
+
You can manage it in admin CMS -> Static Blocks
|
39 |
+
-->
|
40 |
+
<action method="setBlockId"><block_id>footer_links_company</block_id></action>
|
41 |
+
</block>
|
42 |
+
<block type="cms/block" name="cms_footer_links_sm" after="footer_links2">
|
43 |
+
<!--
|
44 |
+
The content of this block is taken from the database by its block_id.
|
45 |
+
You can manage it in admin CMS -> Static Blocks
|
46 |
+
-->
|
47 |
+
<action method="setBlockId"><block_id>footer_links_sm</block_id></action>
|
48 |
+
</block>
|
49 |
+
</reference>
|
50 |
+
</default>
|
51 |
+
|
52 |
+
<cms_menu>
|
53 |
+
<reference name="left_first">
|
54 |
+
<block type="cms/block" name="cms_menu" >
|
55 |
+
<action method="setBlockId"><block_id>cms_menu</block_id></action>
|
56 |
+
</block>
|
57 |
+
</reference>
|
58 |
+
</cms_menu>
|
59 |
+
|
60 |
+
<cms_page translate="label">
|
61 |
+
<label>CMS Pages (All)</label>
|
62 |
+
<remove name="left.permanent.callout"/>
|
63 |
+
|
64 |
+
<update handle="cms_menu"/>
|
65 |
+
|
66 |
+
<reference name="content">
|
67 |
+
<block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
|
68 |
+
<block type="page/html_wrapper" name="cms.wrapper" translate="label">
|
69 |
+
<label>CMS Content Wrapper</label>
|
70 |
+
<action method="setElementClass"><value>std</value></action>
|
71 |
+
<block type="cms/page" name="cms_page"/>
|
72 |
+
</block>
|
73 |
+
</reference>
|
74 |
+
</cms_page>
|
75 |
+
|
76 |
+
<cms_index_index translate="label">
|
77 |
+
<label>CMS Home Page</label>
|
78 |
+
</cms_index_index>
|
79 |
+
|
80 |
+
<cms_index_defaultindex>
|
81 |
+
<remove name="right"/>
|
82 |
+
<remove name="left"/>
|
83 |
+
|
84 |
+
<reference name="root">
|
85 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
86 |
+
</reference>
|
87 |
+
<reference name="content">
|
88 |
+
<block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
|
89 |
+
</reference>
|
90 |
+
</cms_index_defaultindex>
|
91 |
+
|
92 |
+
<cms_index_noroute translate="label">
|
93 |
+
<label>CMS No-Route Page</label>
|
94 |
+
</cms_index_noroute>
|
95 |
+
|
96 |
+
<cms_index_defaultnoroute>
|
97 |
+
<remove name="right"/>
|
98 |
+
<remove name="left"/>
|
99 |
+
|
100 |
+
<reference name="root">
|
101 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
102 |
+
</reference>
|
103 |
+
<reference name="content">
|
104 |
+
<block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
|
105 |
+
</reference>
|
106 |
+
</cms_index_defaultnoroute>
|
107 |
+
|
108 |
+
</layout>
|
app/design/frontend/rwd/default/layout/contacts.xml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<contacts_index_index translate="label">
|
30 |
+
<label>Contact Us Form</label>
|
31 |
+
<reference name="head">
|
32 |
+
<action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
33 |
+
</reference>
|
34 |
+
<reference name="root">
|
35 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
36 |
+
<action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
37 |
+
</reference>
|
38 |
+
<update handle="cms_menu"/>
|
39 |
+
<reference name="content">
|
40 |
+
<block type="core/template" name="contactForm" template="contacts/form.phtml"/>
|
41 |
+
</reference>
|
42 |
+
</contacts_index_index>
|
43 |
+
</layout>
|
app/design/frontend/rwd/default/layout/customer.xml
ADDED
@@ -0,0 +1,301 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
Supported layout update handles (action):
|
29 |
+
- customer_account_index
|
30 |
+
- customer_address_index
|
31 |
+
- customer_address_view
|
32 |
+
- customer_account_login
|
33 |
+
- customer_account_logoutsuccess
|
34 |
+
- customer_account_create
|
35 |
+
- customer_account_forgotpassword
|
36 |
+
- customer_account_confirmation
|
37 |
+
- customer_account_edit
|
38 |
+
|
39 |
+
Supported layout update handles (special):
|
40 |
+
- default
|
41 |
+
|
42 |
+
-->
|
43 |
+
<layout version="0.1.0">
|
44 |
+
|
45 |
+
<!--
|
46 |
+
Default layout, loads most of the pages
|
47 |
+
-->
|
48 |
+
|
49 |
+
<default>
|
50 |
+
<!-- Mage_Customer -->
|
51 |
+
<reference name="top.links">
|
52 |
+
<action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
|
53 |
+
<action method="addLink" translate="label title before_text" module="customer"><label>Register</label><url helper="customer/getRegisterUrl" /><title>Register</title><prepare/><urlParams/><position>100</position><li/><a/></action>
|
54 |
+
</reference>
|
55 |
+
<reference name="footer_links2">
|
56 |
+
<action method="addLink" translate="label title" module="catalog"><label>My Account</label><url helper="customer/getAccountUrl" /><title>My Account</title></action>
|
57 |
+
</reference>
|
58 |
+
</default>
|
59 |
+
|
60 |
+
<!--
|
61 |
+
Load this update on every page when customer is logged in
|
62 |
+
-->
|
63 |
+
|
64 |
+
<customer_logged_in>
|
65 |
+
<reference name="top.links">
|
66 |
+
<action method="removeLinkByUrl"><url helper="customer/getRegisterUrl" /></action>
|
67 |
+
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>100</position></action>
|
68 |
+
</reference>
|
69 |
+
</customer_logged_in>
|
70 |
+
|
71 |
+
<!--
|
72 |
+
Load this update on every page when customer is logged out
|
73 |
+
-->
|
74 |
+
|
75 |
+
<customer_logged_out>
|
76 |
+
<!---<reference name="right">
|
77 |
+
<block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
|
78 |
+
</reference>-->
|
79 |
+
<reference name="top.links">
|
80 |
+
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>100</position></action>
|
81 |
+
</reference>
|
82 |
+
<remove name="reorder"></remove>
|
83 |
+
</customer_logged_out>
|
84 |
+
|
85 |
+
<!--
|
86 |
+
Layout for customer login page
|
87 |
+
-->
|
88 |
+
|
89 |
+
<customer_account_login translate="label">
|
90 |
+
<label>Customer Account Login Form</label>
|
91 |
+
<!-- Mage_Customer -->
|
92 |
+
<remove name="right"/>
|
93 |
+
<remove name="left"/>
|
94 |
+
|
95 |
+
<reference name="root">
|
96 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
97 |
+
</reference>
|
98 |
+
<reference name="content">
|
99 |
+
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
|
100 |
+
</reference>
|
101 |
+
</customer_account_login>
|
102 |
+
|
103 |
+
<!--
|
104 |
+
Layout for customer log out page
|
105 |
+
-->
|
106 |
+
|
107 |
+
<customer_account_logoutsuccess translate="label">
|
108 |
+
<label>Customer Account Logout Success</label>
|
109 |
+
<!-- Mage_Customer -->
|
110 |
+
<remove name="right"/>
|
111 |
+
<remove name="left"/>
|
112 |
+
|
113 |
+
<reference name="root">
|
114 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
115 |
+
</reference>
|
116 |
+
<reference name="content">
|
117 |
+
<block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
|
118 |
+
</reference>
|
119 |
+
</customer_account_logoutsuccess>
|
120 |
+
|
121 |
+
<!--
|
122 |
+
New customer registration
|
123 |
+
-->
|
124 |
+
|
125 |
+
<customer_account_create translate="label">
|
126 |
+
<label>Customer Account Registration Form</label>
|
127 |
+
<!-- Mage_Customer -->
|
128 |
+
<remove name="right"/>
|
129 |
+
<remove name="left"/>
|
130 |
+
|
131 |
+
<reference name="root">
|
132 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
133 |
+
</reference>
|
134 |
+
<reference name="content">
|
135 |
+
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
|
136 |
+
<block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
|
137 |
+
<label>Form Fields Before</label>
|
138 |
+
</block>
|
139 |
+
</block>
|
140 |
+
</reference>
|
141 |
+
</customer_account_create>
|
142 |
+
|
143 |
+
<customer_account_forgotpassword translate="label">
|
144 |
+
<label>Customer Forgot Password Form</label>
|
145 |
+
<remove name="right"/>
|
146 |
+
<remove name="left"/>
|
147 |
+
|
148 |
+
<reference name="head">
|
149 |
+
<action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
|
150 |
+
</reference>
|
151 |
+
<reference name="root">
|
152 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
153 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
|
154 |
+
</reference>
|
155 |
+
<reference name="content">
|
156 |
+
<!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
|
157 |
+
<block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml" />
|
158 |
+
</reference>
|
159 |
+
</customer_account_forgotpassword>
|
160 |
+
|
161 |
+
<customer_account_resetpassword translate="label">
|
162 |
+
<label>Reset a Password</label>
|
163 |
+
<remove name="right"/>
|
164 |
+
<remove name="left"/>
|
165 |
+
|
166 |
+
<reference name="head">
|
167 |
+
<action method="setTitle" translate="title" module="customer">
|
168 |
+
<title>Reset a Password</title>
|
169 |
+
</action>
|
170 |
+
</reference>
|
171 |
+
<reference name="root">
|
172 |
+
<action method="setTemplate">
|
173 |
+
<template>page/1column.phtml</template>
|
174 |
+
</action>
|
175 |
+
<action method="setHeaderTitle" translate="title" module="customer">
|
176 |
+
<title>Reset a Password</title>
|
177 |
+
</action>
|
178 |
+
</reference>
|
179 |
+
<reference name="content">
|
180 |
+
<block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
|
181 |
+
</reference>
|
182 |
+
</customer_account_resetpassword>
|
183 |
+
|
184 |
+
<customer_account_confirmation>
|
185 |
+
<remove name="right"/>
|
186 |
+
<remove name="left"/>
|
187 |
+
|
188 |
+
<reference name="root">
|
189 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
190 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
|
191 |
+
</reference>
|
192 |
+
<reference name="content">
|
193 |
+
<block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
|
194 |
+
</reference>
|
195 |
+
</customer_account_confirmation>
|
196 |
+
|
197 |
+
<customer_account_edit translate="label">
|
198 |
+
<label>Customer Account Edit Form</label>
|
199 |
+
<update handle="customer_account"/>
|
200 |
+
<reference name="root">
|
201 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
|
202 |
+
</reference>
|
203 |
+
<reference name="my.account.wrapper">
|
204 |
+
<block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
|
205 |
+
</reference>
|
206 |
+
|
207 |
+
<reference name="left">
|
208 |
+
<action method="unsetChild"><name>left.permanent.callout</name></action>
|
209 |
+
</reference>
|
210 |
+
</customer_account_edit>
|
211 |
+
|
212 |
+
<!--
|
213 |
+
Customer account pages, rendered for all tabs in dashboard
|
214 |
+
-->
|
215 |
+
|
216 |
+
<customer_account translate="label">
|
217 |
+
<label>Customer My Account (All Pages)</label>
|
218 |
+
<!--remove name="catalog.compare.sidebar"/>
|
219 |
+
<remove name="sale.reorder.sidebar"/-->
|
220 |
+
<!-- Mage_Customer -->
|
221 |
+
<reference name="root">
|
222 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
223 |
+
<action method="addBodyClass"><class>customer-account</class></action>
|
224 |
+
</reference>
|
225 |
+
|
226 |
+
<reference name="content">
|
227 |
+
<block type="page/html_wrapper" name="my.account.wrapper" translate="label">
|
228 |
+
<label>My Account Wrapper</label>
|
229 |
+
<action method="setElementClass"><value>my-account</value></action>
|
230 |
+
</block>
|
231 |
+
</reference>
|
232 |
+
|
233 |
+
<reference name="left_first">
|
234 |
+
<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
|
235 |
+
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
|
236 |
+
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
|
237 |
+
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
|
238 |
+
</block>
|
239 |
+
</reference>
|
240 |
+
<reference name="left">
|
241 |
+
<!--<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">-->
|
242 |
+
<!--<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
243 |
+
<!--<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
244 |
+
<!--<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>-->
|
245 |
+
<!--</block>-->
|
246 |
+
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
247 |
+
<remove name="tags_popular"/>
|
248 |
+
|
249 |
+
</reference>
|
250 |
+
</customer_account>
|
251 |
+
|
252 |
+
<!--
|
253 |
+
Customer account home dashboard layout
|
254 |
+
-->
|
255 |
+
|
256 |
+
<customer_account_index translate="label">
|
257 |
+
<label>Customer My Account Dashboard</label>
|
258 |
+
<update handle="customer_account"/>
|
259 |
+
<!-- Mage_Customer -->
|
260 |
+
<reference name="root">
|
261 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
262 |
+
</reference>
|
263 |
+
<reference name="my.account.wrapper">
|
264 |
+
<block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
|
265 |
+
<block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
|
266 |
+
<block type="core/template" name="customer_account_dashboard_top" as="top" />
|
267 |
+
<block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
|
268 |
+
<block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
|
269 |
+
<block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
|
270 |
+
</block>
|
271 |
+
</reference>
|
272 |
+
|
273 |
+
</customer_account_index>
|
274 |
+
|
275 |
+
<!--
|
276 |
+
Customer account address book
|
277 |
+
-->
|
278 |
+
|
279 |
+
<customer_address_index translate="label">
|
280 |
+
<label>Customer My Account Address Book</label>
|
281 |
+
<!-- Mage_Customer -->
|
282 |
+
<update handle="customer_account"/>
|
283 |
+
<reference name="my.account.wrapper">
|
284 |
+
<block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
|
285 |
+
</reference>
|
286 |
+
</customer_address_index>
|
287 |
+
|
288 |
+
<!--
|
289 |
+
Customer account address edit page
|
290 |
+
-->
|
291 |
+
|
292 |
+
<customer_address_form translate="label">
|
293 |
+
<label>Customer My Account Address Edit Form</label>
|
294 |
+
<!-- Mage_Customer -->
|
295 |
+
<update handle="customer_account"/>
|
296 |
+
<reference name="my.account.wrapper">
|
297 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
298 |
+
</reference>
|
299 |
+
</customer_address_form>
|
300 |
+
|
301 |
+
</layout>
|
app/design/frontend/rwd/default/layout/directory.xml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<default>
|
31 |
+
<reference name="head">
|
32 |
+
<block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
|
33 |
+
</reference>
|
34 |
+
|
35 |
+
<reference name="header">
|
36 |
+
<block type="directory/currency" name="currency" as="currency_switcher" template="directory/currency.phtml"/>
|
37 |
+
</reference>
|
38 |
+
|
39 |
+
<reference name="footer">
|
40 |
+
<block type="directory/currency" name="footer_currency" after="footer_store_language" template="directory/currency.phtml"/>
|
41 |
+
</reference>
|
42 |
+
</default>
|
43 |
+
</layout>
|
app/design/frontend/rwd/default/layout/downloadable.xml
ADDED
@@ -0,0 +1,232 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<customer_account>
|
32 |
+
<reference name="customer_account_navigation">
|
33 |
+
<action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>
|
34 |
+
</reference>
|
35 |
+
</customer_account>
|
36 |
+
|
37 |
+
<downloadable_customer_products translate="label">
|
38 |
+
<label>Customer My Account Downloadable Items</label>
|
39 |
+
<update handle="customer_account"/>
|
40 |
+
<reference name="my.account.wrapper">
|
41 |
+
<block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
|
42 |
+
</reference>
|
43 |
+
<reference name="root">
|
44 |
+
<action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
|
45 |
+
</reference>
|
46 |
+
</downloadable_customer_products>
|
47 |
+
|
48 |
+
<checkout_cart_index>
|
49 |
+
<reference name="checkout.cart">
|
50 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
|
51 |
+
</reference>
|
52 |
+
</checkout_cart_index>
|
53 |
+
|
54 |
+
<checkout_onepage_review>
|
55 |
+
<reference name="root">
|
56 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
57 |
+
</reference>
|
58 |
+
</checkout_onepage_review>
|
59 |
+
|
60 |
+
<checkout_onepage_success>
|
61 |
+
<reference name="checkout.success">
|
62 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
63 |
+
</reference>
|
64 |
+
</checkout_onepage_success>
|
65 |
+
|
66 |
+
<checkout_multishipping_addresses>
|
67 |
+
<reference name="checkout_addresses">
|
68 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
69 |
+
</reference>
|
70 |
+
</checkout_multishipping_addresses>
|
71 |
+
|
72 |
+
<checkout_multishipping_shipping>
|
73 |
+
<reference name="checkout_billing_items">
|
74 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
75 |
+
</reference>
|
76 |
+
</checkout_multishipping_shipping>
|
77 |
+
|
78 |
+
<checkout_multishipping_overview>
|
79 |
+
<reference name="checkout_overview">
|
80 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
81 |
+
</reference>
|
82 |
+
</checkout_multishipping_overview>
|
83 |
+
|
84 |
+
<checkout_multishipping_success>
|
85 |
+
<reference name="checkout_success">
|
86 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
87 |
+
</reference>
|
88 |
+
</checkout_multishipping_success>
|
89 |
+
|
90 |
+
<paypal_express_review>
|
91 |
+
<reference name="paypal.express.review.details">
|
92 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
93 |
+
</reference>
|
94 |
+
</paypal_express_review>
|
95 |
+
<paypal_express_review_details>
|
96 |
+
<reference name="root">
|
97 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
98 |
+
</reference>
|
99 |
+
</paypal_express_review_details>
|
100 |
+
|
101 |
+
<paypaluk_express_review>
|
102 |
+
<reference name="paypal.express.review.details">
|
103 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
104 |
+
</reference>
|
105 |
+
</paypaluk_express_review>
|
106 |
+
<paypaluk_express_review_details>
|
107 |
+
<reference name="root">
|
108 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
109 |
+
</reference>
|
110 |
+
</paypaluk_express_review_details>
|
111 |
+
|
112 |
+
<sales_order_view>
|
113 |
+
<reference name="order_items">
|
114 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
115 |
+
</reference>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice>
|
119 |
+
<reference name="invoice_items">
|
120 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
121 |
+
</reference>
|
122 |
+
</sales_order_invoice>
|
123 |
+
|
124 |
+
<sales_order_creditmemo>
|
125 |
+
<reference name="creditmemo_items">
|
126 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
127 |
+
</reference>
|
128 |
+
</sales_order_creditmemo>
|
129 |
+
|
130 |
+
<!--
|
131 |
+
Print pages
|
132 |
+
-->
|
133 |
+
|
134 |
+
<sales_order_print>
|
135 |
+
<reference name="sales.order.print">
|
136 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
137 |
+
</reference>
|
138 |
+
</sales_order_print>
|
139 |
+
|
140 |
+
<sales_order_printinvoice>
|
141 |
+
<reference name="sales.order.print.invoice">
|
142 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
143 |
+
</reference>
|
144 |
+
</sales_order_printinvoice>
|
145 |
+
|
146 |
+
<sales_order_printcreditmemo>
|
147 |
+
<reference name="sales.order.print.creditmemo">
|
148 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
149 |
+
</reference>
|
150 |
+
</sales_order_printcreditmemo>
|
151 |
+
|
152 |
+
<!--
|
153 |
+
EOF Print pages
|
154 |
+
-->
|
155 |
+
|
156 |
+
<!--
|
157 |
+
For guests
|
158 |
+
-->
|
159 |
+
<sales_guest_view>
|
160 |
+
<reference name="order_items">
|
161 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
162 |
+
</reference>
|
163 |
+
</sales_guest_view>
|
164 |
+
|
165 |
+
<sales_guest_invoice>
|
166 |
+
<reference name="invoice_items">
|
167 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
168 |
+
</reference>
|
169 |
+
</sales_guest_invoice>
|
170 |
+
|
171 |
+
<sales_guest_creditmemo>
|
172 |
+
<reference name="creditmemo_items">
|
173 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
174 |
+
</reference>
|
175 |
+
</sales_guest_creditmemo>
|
176 |
+
|
177 |
+
<sales_guest_print>
|
178 |
+
<reference name="sales.order.print">
|
179 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
180 |
+
</reference>
|
181 |
+
</sales_guest_print>
|
182 |
+
|
183 |
+
<sales_guest_printinvoice>
|
184 |
+
<reference name="sales.order.print.invoice">
|
185 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
186 |
+
</reference>
|
187 |
+
</sales_guest_printinvoice>
|
188 |
+
|
189 |
+
<sales_guest_printcreditmemo>
|
190 |
+
<reference name="sales.order.print.creditmemo">
|
191 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
192 |
+
</reference>
|
193 |
+
</sales_guest_printcreditmemo>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Emails
|
197 |
+
-->
|
198 |
+
|
199 |
+
<sales_email_order_items>
|
200 |
+
<reference name="items">
|
201 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_order_downloadable</block><template>downloadable/email/order/items/order/downloadable.phtml</template></action>
|
202 |
+
</reference>
|
203 |
+
</sales_email_order_items>
|
204 |
+
|
205 |
+
<sales_email_order_invoice_items>
|
206 |
+
<reference name="items">
|
207 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
|
208 |
+
</reference>
|
209 |
+
</sales_email_order_invoice_items>
|
210 |
+
|
211 |
+
<sales_email_order_creditmemo_items>
|
212 |
+
<reference name="items">
|
213 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
|
214 |
+
</reference>
|
215 |
+
</sales_email_order_creditmemo_items>
|
216 |
+
|
217 |
+
<PRODUCT_TYPE_downloadable translate="label" module="downloadable">
|
218 |
+
<label>Catalog Product View (Downloadable)</label>
|
219 |
+
<reference name="product.info">
|
220 |
+
<block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_availability" template="downloadable/catalog/product/type.phtml">
|
221 |
+
<!--<block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">-->
|
222 |
+
<block type="cataloginventory/stockqty_default" name="product.info.downloadable.extra" as="product_type_data_extra" template="cataloginventory/stockqty/default.phtml"/>
|
223 |
+
</block>
|
224 |
+
<block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="product_type_data" template="downloadable/catalog/product/samples.phtml"/>
|
225 |
+
</reference>
|
226 |
+
<reference name="product.info.options.wrapper">
|
227 |
+
<block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
|
228 |
+
<action method="insert"><block>product.info.downloadable.options</block></action>
|
229 |
+
</reference>
|
230 |
+
</PRODUCT_TYPE_downloadable>
|
231 |
+
|
232 |
+
</layout>
|
app/design/frontend/rwd/default/layout/newsletter.xml
ADDED
@@ -0,0 +1,67 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Newsletter -->
|
38 |
+
<reference name="footer">
|
39 |
+
<block type="newsletter/subscribe" name="footer.newsletter" as="newsletter" before="footer_store_language" template="newsletter/subscribe.phtml"/>
|
40 |
+
</reference>
|
41 |
+
</default>
|
42 |
+
|
43 |
+
<!--
|
44 |
+
Customer account pages, rendered for all tabs in dashboard
|
45 |
+
-->
|
46 |
+
|
47 |
+
<customer_account>
|
48 |
+
<!-- Mage_Newsletter -->
|
49 |
+
<reference name="customer_account_navigation">
|
50 |
+
<action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
|
51 |
+
</reference>
|
52 |
+
<remove name="left.newsletter"/>
|
53 |
+
</customer_account>
|
54 |
+
|
55 |
+
<newsletter_manage_index translate="label">
|
56 |
+
<label>Customer My Account Newsletter Subscriptions</label>
|
57 |
+
<update handle="customer_account"/>
|
58 |
+
<reference name="my.account.wrapper">
|
59 |
+
<block type="customer/newsletter" name="customer_newsletter">
|
60 |
+
<block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
|
61 |
+
<label>Newsletter Subscription Form Before</label>
|
62 |
+
</block>
|
63 |
+
</block>
|
64 |
+
</reference>
|
65 |
+
</newsletter_manage_index>
|
66 |
+
|
67 |
+
</layout>
|
app/design/frontend/rwd/default/layout/oauth.xml
ADDED
@@ -0,0 +1,137 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="1.0.0.0">
|
29 |
+
<oauth_root_handle>
|
30 |
+
<reference name="root">
|
31 |
+
<action method="setTemplate">
|
32 |
+
<template>page/1column.phtml</template>
|
33 |
+
</action>
|
34 |
+
</reference>
|
35 |
+
<reference name="head">
|
36 |
+
<action method="removeItem"><type>js</type><name>lib/ccard.js</name></action>
|
37 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
|
38 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/builder.js</name></action>
|
39 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/dragdrop.js</name></action>
|
40 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/controls.js</name></action>
|
41 |
+
<action method="removeItem"><type>js</type><name>scriptaculous/slider.js</name></action>
|
42 |
+
<action method="removeItem"><type>js</type><name>varien/js.js</name></action>
|
43 |
+
<action method="removeItem"><type>js</type><name>varien/menu.js</name></action>
|
44 |
+
</reference>
|
45 |
+
<remove name="top.links"/>
|
46 |
+
<remove name="top.search"/>
|
47 |
+
<remove name="top.menu"/>
|
48 |
+
<remove name="footer"/>
|
49 |
+
</oauth_root_handle>
|
50 |
+
|
51 |
+
<oauth_root_handle_simple>
|
52 |
+
<remove name="js_cookie" />
|
53 |
+
<block type="page/html" name="root" output="toHtml" template="page/empty.phtml">
|
54 |
+
<block type="page/html_head" name="head" as="head" template="oauth/authorize/head-simple.phtml">
|
55 |
+
<action method="addCss"><stylesheet>css/oauth-simple.css</stylesheet></action>
|
56 |
+
</block>
|
57 |
+
<block type="core/text_list" name="content"/>
|
58 |
+
</block>
|
59 |
+
</oauth_root_handle_simple>
|
60 |
+
|
61 |
+
<!-- Authorization -->
|
62 |
+
<oauth_authorize_index translate="label">
|
63 |
+
<update handle="oauth_root_handle"/>
|
64 |
+
<label>OAuth authorization for customer</label>
|
65 |
+
<reference name="content">
|
66 |
+
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login.phtml"/>
|
67 |
+
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button.phtml" />
|
68 |
+
</reference>
|
69 |
+
</oauth_authorize_index>
|
70 |
+
|
71 |
+
<oauth_authorize_simple translate="label">
|
72 |
+
<update handle="oauth_root_handle_simple"/>
|
73 |
+
<remove name="header"/>
|
74 |
+
<label>OAuth authorization Pop Up for customer</label>
|
75 |
+
<reference name="content">
|
76 |
+
<block type="oauth/authorize" name="oauth.authorize.form" template="oauth/authorize/form/login-simple.phtml"/>
|
77 |
+
<block type="oauth/authorize_button" name="oauth.authorize.button" template="oauth/authorize/button-simple.phtml" />
|
78 |
+
</reference>
|
79 |
+
</oauth_authorize_simple>
|
80 |
+
<!-- EOF Authorization -->
|
81 |
+
|
82 |
+
<!-- Confirm Authorization -->
|
83 |
+
<oauth_authorize_confirm translate="label">
|
84 |
+
<update handle="oauth_root_handle"/>
|
85 |
+
<label>Confirm OAuth token authorization</label>
|
86 |
+
<reference name="content">
|
87 |
+
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm.phtml"/>
|
88 |
+
</reference>
|
89 |
+
</oauth_authorize_confirm>
|
90 |
+
|
91 |
+
<oauth_authorize_confirmsimple translate="label">
|
92 |
+
<update handle="oauth_root_handle_simple"/>
|
93 |
+
<remove name="header"/>
|
94 |
+
<reference name="content">
|
95 |
+
<block type="oauth/authorize_button" name="oauth.authorize.confirm" template="oauth/authorize/confirm-simple.phtml"/>
|
96 |
+
</reference>
|
97 |
+
</oauth_authorize_confirmsimple>
|
98 |
+
<!-- EOF Confirm Authorization -->
|
99 |
+
|
100 |
+
<!-- Reject Authorization -->
|
101 |
+
<oauth_authorize_reject translate="label">
|
102 |
+
<update handle="oauth_root_handle"/>
|
103 |
+
<label>Reject OAuth token authorization</label>
|
104 |
+
<reference name="content">
|
105 |
+
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject.phtml"/>
|
106 |
+
</reference>
|
107 |
+
</oauth_authorize_reject>
|
108 |
+
|
109 |
+
<oauth_authorize_rejectsimple translate="label">
|
110 |
+
<update handle="oauth_root_handle_simple"/>
|
111 |
+
<remove name="header"/>
|
112 |
+
<reference name="content">
|
113 |
+
<block type="oauth/authorize_button" name="oauth.authorize.reject" template="oauth/authorize/reject-simple.phtml"/>
|
114 |
+
</reference>
|
115 |
+
</oauth_authorize_rejectsimple>
|
116 |
+
<!-- EOF Reject Authorization -->
|
117 |
+
|
118 |
+
<!-- My Applications-->
|
119 |
+
<customer_account>
|
120 |
+
<reference name="customer_account_navigation">
|
121 |
+
<action method="addLink" translate="label" module="oauth">
|
122 |
+
<name>OAuth Customer Tokens</name>
|
123 |
+
<path>oauth/customer_token</path>
|
124 |
+
<label>My Applications</label>
|
125 |
+
</action>
|
126 |
+
</reference>
|
127 |
+
</customer_account>
|
128 |
+
|
129 |
+
<oauth_customer_token_index translate="label">
|
130 |
+
<label>Customer My Account My OAuth Applications</label>
|
131 |
+
<update handle="customer_account"/>
|
132 |
+
<reference name="my.account.wrapper">
|
133 |
+
<block type="oauth/customer_token_list" name="oauth_customer_token_list" template="oauth/customer/token/list.phtml"/>
|
134 |
+
</reference>
|
135 |
+
</oauth_customer_token_index>
|
136 |
+
<!-- EOF My Applications-->
|
137 |
+
</layout>
|
app/design/frontend/rwd/default/layout/page.xml
ADDED
@@ -0,0 +1,241 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
|
33 |
+
<default translate="label" module="page">
|
34 |
+
<label>All Pages</label>
|
35 |
+
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
|
36 |
+
|
37 |
+
<block type="page/html_head" name="head" as="head">
|
38 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
39 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
40 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
41 |
+
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
42 |
+
<action method="addJs"><script>scriptaculous/effects.js</script></action>
|
43 |
+
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
|
44 |
+
<action method="addJs"><script>scriptaculous/controls.js</script></action>
|
45 |
+
<action method="addJs"><script>scriptaculous/slider.js</script></action>
|
46 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
47 |
+
<action method="addJs"><script>varien/form.js</script></action>
|
48 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
49 |
+
<action method="addJs"><script>mage/cookies.js</script></action>
|
50 |
+
|
51 |
+
<block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
|
52 |
+
|
53 |
+
<!-- Remove items which the RWD package is not dependent upon -->
|
54 |
+
<action method="removeItem"><type>skin_js</type><name>js/ie6.js</name></action>
|
55 |
+
|
56 |
+
<!-- Add vendor dependencies -->
|
57 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/jquery-1.10.2.min.js</name></action>
|
58 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/modernizr.custom.min.js</name></action>
|
59 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/selectivizr.js</name></action>
|
60 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.js</name></action>
|
61 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.addListener.js</name></action>
|
62 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/enquire.js</name></action>
|
63 |
+
<action method="addItem"><type>skin_js</type><name>js/app.js</name></action>
|
64 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/jquery.cycle2.min.js</name></action>
|
65 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/jquery.cycle2.swipe.min.js</name></action>
|
66 |
+
<action method="addItem"><type>skin_js</type><name>js/slideshow.js</name></action>
|
67 |
+
<action method="addItem"><type>skin_js</type><name>js/lib/imagesloaded.js</name></action>
|
68 |
+
<action method="addLinkRel"><rel>stylesheet</rel><href>//fonts.googleapis.com/css?family=Raleway:300,400,500,700,600</href></action>
|
69 |
+
<action method="addItem"><type>skin_js</type><name>js/minicart.js</name></action>
|
70 |
+
|
71 |
+
<!-- Add stylesheets with no media queries for use in IE 8 and below -->
|
72 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie8.css</name><params/><if><![CDATA[ (lte IE 8) & (!IEMobile)]]></if></action>
|
73 |
+
<action method="addItem"><type>skin_css</type><name>css/madisonisland-ie8.css</name><params/><if><![CDATA[ (lte IE 8) & (!IEMobile)]]></if></action>
|
74 |
+
|
75 |
+
<!-- Add stylesheets with media queries for use by modern browsers -->
|
76 |
+
<action method="addItem"><type>skin_css</type><name>css/styles.css</name><params/><if><![CDATA[<!--[if (gte IE 9) | (IEMobile)]><!-->]]></if></action>
|
77 |
+
<action method="addItem"><type>skin_css</type><name>css/madisonisland.css</name><params/><if><![CDATA[<!--[if (gte IE 9) | (IEMobile)]><!-->]]></if></action>
|
78 |
+
|
79 |
+
<!-- Sets viewport meta tag using text block -->
|
80 |
+
<block type="core/text" name="head.viewport">
|
81 |
+
<action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]> </text></action>
|
82 |
+
</block>
|
83 |
+
</block>
|
84 |
+
|
85 |
+
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
86 |
+
<label>Page Top</label>
|
87 |
+
</block>
|
88 |
+
|
89 |
+
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
90 |
+
|
91 |
+
<block type="page/html_header" name="header" as="header">
|
92 |
+
<block type="page/template_links" name="top.links" as="topLinks"/>
|
93 |
+
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
|
94 |
+
<block type="core/text_list" name="top.menu" as="topMenu" translate="label">
|
95 |
+
<label>Navigation Bar</label>
|
96 |
+
<block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml">
|
97 |
+
<block type="page/html_topmenu_renderer" name="catalog.topnav.renderer" template="page/html/topmenu/renderer.phtml"/>
|
98 |
+
</block>
|
99 |
+
</block>
|
100 |
+
<block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
|
101 |
+
<label>Page Header</label>
|
102 |
+
<action method="setElementClass"><value>top-container</value></action>
|
103 |
+
</block>
|
104 |
+
<block type="page/html_welcome" name="welcome" as="welcome"/>
|
105 |
+
</block>
|
106 |
+
|
107 |
+
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
108 |
+
|
109 |
+
<block type="core/text_list" name="left_first" as="left_first" translate="label">
|
110 |
+
<label>Left Column First (shows above main column on smaller screens)</label>
|
111 |
+
</block>
|
112 |
+
|
113 |
+
<block type="core/text_list" name="left" as="left" translate="label">
|
114 |
+
<label>Left Column</label>
|
115 |
+
</block>
|
116 |
+
|
117 |
+
<block type="core/messages" name="global_messages" as="global_messages"/>
|
118 |
+
<block type="core/messages" name="messages" as="messages"/>
|
119 |
+
|
120 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
121 |
+
<label>Main Content Area</label>
|
122 |
+
</block>
|
123 |
+
|
124 |
+
<block type="core/text_list" name="right" as="right" translate="label">
|
125 |
+
<label>Right Column</label>
|
126 |
+
</block>
|
127 |
+
|
128 |
+
<block type="page/html_wrapper" name="footer.before" as="footer_before" translate="label">
|
129 |
+
<label>Page Footer</label>
|
130 |
+
<action method="setElementClass"><value>footer-before-container</value></action>
|
131 |
+
</block>
|
132 |
+
|
133 |
+
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
134 |
+
<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
|
135 |
+
<label>Page Footer</label>
|
136 |
+
<action method="setElementClass"><value>bottom-container</value></action>
|
137 |
+
</block>
|
138 |
+
<block type="page/switch" name="store_switcher" as="store_switcher" after="*" template="page/switch/stores.phtml"/>
|
139 |
+
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml">
|
140 |
+
<action method="setTitle"><title>Quick Links</title></action>
|
141 |
+
</block>
|
142 |
+
<block type="page/template_links" name="footer_links2" as="footer_links2" template="page/template/links.phtml">
|
143 |
+
<action method="setTitle"><title>Account</title></action>
|
144 |
+
</block>
|
145 |
+
<!-- This static block can be created and populated in admin. The footer_links cms block can be used as a starting point. -->
|
146 |
+
<!--<block type="cms/block" name="footer_social_links">
|
147 |
+
<action method="setBlockId"><block_id>footer_social_links</block_id></action>
|
148 |
+
</block>-->
|
149 |
+
</block>
|
150 |
+
|
151 |
+
<block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
|
152 |
+
<label>Page Bottom</label>
|
153 |
+
<block type="page/html_cookieNotice" name="global_cookie_notice" as ="global_cookie_notice" template="page/html/cookienotice.phtml" before="-" />
|
154 |
+
</block>
|
155 |
+
</block>
|
156 |
+
|
157 |
+
<block type="core/profiler" output="toHtml" name="core_profiler"/>
|
158 |
+
</default>
|
159 |
+
|
160 |
+
<print translate="label" module="page">
|
161 |
+
<label>All Pages (Print Version)</label>
|
162 |
+
<!-- Mage_Page -->
|
163 |
+
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">
|
164 |
+
|
165 |
+
<!-- This block allows the print.phtml template to get the logo -->
|
166 |
+
<block type="page/html_header" name="header" as="header"/>
|
167 |
+
|
168 |
+
<block type="page/html_head" name="head" as="head">
|
169 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
170 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
171 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
172 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
173 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
174 |
+
|
175 |
+
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
|
176 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
|
177 |
+
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
|
178 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
179 |
+
|
180 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
181 |
+
<!--<action method="addItem"><type>skin_js</type><name>js/iehover-fix.js</name><params/><if>lt IE 7</if></action>-->
|
182 |
+
</block>
|
183 |
+
|
184 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
185 |
+
<label>Main Content Area</label>
|
186 |
+
</block>
|
187 |
+
|
188 |
+
</block>
|
189 |
+
</print>
|
190 |
+
|
191 |
+
<!-- Custom page layout handles -->
|
192 |
+
<page_empty translate="label">
|
193 |
+
<label>All Empty Layout Pages</label>
|
194 |
+
<reference name="root">
|
195 |
+
<action method="setTemplate"><template>page/empty.phtml</template></action>
|
196 |
+
<!-- Mark root page block that template is applied -->
|
197 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
198 |
+
<action method="setLayoutCode"><name>empty</name></action>
|
199 |
+
</reference>
|
200 |
+
</page_empty>
|
201 |
+
|
202 |
+
<page_one_column translate="label">
|
203 |
+
<label>All One-Column Layout Pages</label>
|
204 |
+
<reference name="root">
|
205 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
206 |
+
<!-- Mark root page block that template is applied -->
|
207 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
208 |
+
<action method="setLayoutCode"><name>one_column</name></action>
|
209 |
+
</reference>
|
210 |
+
</page_one_column>
|
211 |
+
|
212 |
+
<page_two_columns_left translate="label">
|
213 |
+
<label>All Two-Column Layout Pages (Left Column)</label>
|
214 |
+
<reference name="root">
|
215 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
216 |
+
<!-- Mark root page block that template is applied -->
|
217 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
218 |
+
<action method="setLayoutCode"><name>two_columns_left</name></action>
|
219 |
+
</reference>
|
220 |
+
</page_two_columns_left>
|
221 |
+
|
222 |
+
<page_two_columns_right translate="label">
|
223 |
+
<label>All Two-Column Layout Pages (Right Column)</label>
|
224 |
+
<reference name="root">
|
225 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
226 |
+
<!-- Mark root page block that template is applied -->
|
227 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
228 |
+
<action method="setLayoutCode"><name>two_columns_right</name></action>
|
229 |
+
</reference>
|
230 |
+
</page_two_columns_right>
|
231 |
+
|
232 |
+
<page_three_columns translate="label">
|
233 |
+
<label>All Three-Column Layout Pages</label>
|
234 |
+
<reference name="root">
|
235 |
+
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
236 |
+
<!-- Mark root page block that template is applied -->
|
237 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
238 |
+
<action method="setLayoutCode"><name>three_columns</name></action>
|
239 |
+
</reference>
|
240 |
+
</page_three_columns>
|
241 |
+
</layout>
|
app/design/frontend/rwd/default/layout/paypal.xml
ADDED
@@ -0,0 +1,205 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<checkout_cart_index>
|
31 |
+
<reference name="checkout.cart.top_methods">
|
32 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="checkout.cart.methods.onepage.top" template="paypal/express/shortcut.phtml">
|
33 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
34 |
+
<action method="setShowOrPosition"><value>after</value></action>
|
35 |
+
</block>
|
36 |
+
</reference>
|
37 |
+
|
38 |
+
<reference name="checkout.cart.methods">
|
39 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="checkout.cart.methods.onepage.bottom" template="paypal/express/shortcut.phtml">
|
40 |
+
<action method="setIsQuoteAllowed"><value>1</value></action>
|
41 |
+
<action method="setShowOrPosition"><value>after</value></action>
|
42 |
+
</block>
|
43 |
+
</reference>
|
44 |
+
|
45 |
+
<update handle="SHORTCUT_popup" />
|
46 |
+
</checkout_cart_index>
|
47 |
+
|
48 |
+
<paypal_express_review translate="label">
|
49 |
+
<label>PayPal Express Order Review Form</label>
|
50 |
+
<remove name="right"/>
|
51 |
+
<remove name="left"/>
|
52 |
+
|
53 |
+
<reference name="root">
|
54 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
55 |
+
</reference>
|
56 |
+
<reference name="content">
|
57 |
+
<block type="paypal/express_review" name="paypal.express.review" template="paypal/express/review.phtml">
|
58 |
+
<block type="paypal/express_review" name="express.review.shipping.method" as="shipping_method" template="paypal/express/review/shipping/method.phtml"/>
|
59 |
+
<block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
|
60 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
61 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
62 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
63 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
64 |
+
</block>
|
65 |
+
<block type="checkout/agreements" name="paypal.express.review.details.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
66 |
+
</block>
|
67 |
+
</reference>
|
68 |
+
<reference name="head">
|
69 |
+
<action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
|
70 |
+
</reference>
|
71 |
+
<block type="core/text_list" name="additional.product.info" />
|
72 |
+
</paypal_express_review>
|
73 |
+
|
74 |
+
<paypal_express_review_details>
|
75 |
+
<block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
|
76 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
77 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
78 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
79 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
80 |
+
</block>
|
81 |
+
</paypal_express_review_details>
|
82 |
+
|
83 |
+
<!--
|
84 |
+
Available logo types can be assigned with action="setLogoType":
|
85 |
+
- wePrefer_150x60
|
86 |
+
- wePrefer_150x40
|
87 |
+
- nowAccepting_150x60
|
88 |
+
- nowAccepting_150x40
|
89 |
+
- paymentsBy_150x60
|
90 |
+
- paymentsBy_150x40
|
91 |
+
- shopNowUsing_150x60
|
92 |
+
- shopNowUsing_150x40
|
93 |
+
-->
|
94 |
+
<catalog_product_view>
|
95 |
+
<reference name="product.info.addtocart">
|
96 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
|
97 |
+
<action method="setMayBeInvisible"><value>true</value></action>
|
98 |
+
<label>PayPal Express Checkout Shortcut Wrapper</label>
|
99 |
+
<block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/product/shortcut.phtml">
|
100 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</reference>
|
104 |
+
<update handle="SHORTCUT_popup" />
|
105 |
+
<reference name="right">
|
106 |
+
<!--<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml">-->
|
107 |
+
<!--action method="setLogoType"><value>wePrefer_150x60</value></action-->
|
108 |
+
<!--</block>-->
|
109 |
+
</reference>
|
110 |
+
</catalog_product_view>
|
111 |
+
|
112 |
+
<catalog_category_default>
|
113 |
+
<update handle="SHORTCUT_popup" />
|
114 |
+
<!--<reference name="right">-->
|
115 |
+
<!--<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>-->
|
116 |
+
<!--</reference>-->
|
117 |
+
</catalog_category_default>
|
118 |
+
|
119 |
+
<catalog_category_layered>
|
120 |
+
<update handle="SHORTCUT_popup" />
|
121 |
+
<!--<reference name="right">-->
|
122 |
+
<!--<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>-->
|
123 |
+
<!--</reference>-->
|
124 |
+
</catalog_category_layered>
|
125 |
+
|
126 |
+
<catalog_product_compare_index>
|
127 |
+
<update handle="SHORTCUT_popup" />
|
128 |
+
</catalog_product_compare_index>
|
129 |
+
|
130 |
+
<catalogsearch_result_index>
|
131 |
+
<update handle="SHORTCUT_popup" />
|
132 |
+
</catalogsearch_result_index>
|
133 |
+
|
134 |
+
<catalogsearch_advanced_result>
|
135 |
+
<update handle="SHORTCUT_popup" />
|
136 |
+
</catalogsearch_advanced_result>
|
137 |
+
|
138 |
+
<tag_product_list>
|
139 |
+
<update handle="SHORTCUT_popup" />
|
140 |
+
</tag_product_list>
|
141 |
+
<tag_customer_view>
|
142 |
+
<update handle="SHORTCUT_popup" />
|
143 |
+
</tag_customer_view>
|
144 |
+
|
145 |
+
<wishlist_index_index>
|
146 |
+
<update handle="SHORTCUT_popup" />
|
147 |
+
</wishlist_index_index>
|
148 |
+
<review_product_list>
|
149 |
+
<update handle="SHORTCUT_popup" />
|
150 |
+
</review_product_list>
|
151 |
+
|
152 |
+
<checkout_onepage_success>
|
153 |
+
<update handle="SHORTCUT_popup" />
|
154 |
+
</checkout_onepage_success>
|
155 |
+
<checkout_onepage_failure>
|
156 |
+
<update handle="SHORTCUT_popup" />
|
157 |
+
</checkout_onepage_failure>
|
158 |
+
|
159 |
+
<cms_index_index>
|
160 |
+
<!--<reference name="right">-->
|
161 |
+
<!--<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>-->
|
162 |
+
<!--</reference>-->
|
163 |
+
</cms_index_index>
|
164 |
+
|
165 |
+
<default>
|
166 |
+
<reference name="topCart.extra_actions">
|
167 |
+
<block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
|
168 |
+
</reference>
|
169 |
+
<reference name="cart_sidebar.extra_actions">
|
170 |
+
<block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/minicart/shortcut.phtml"/>
|
171 |
+
</reference>
|
172 |
+
</default>
|
173 |
+
|
174 |
+
<checkout_onepage_review>
|
175 |
+
<reference name="checkout.onepage.review.info.items.after">
|
176 |
+
<block type="paypal/iframe" name="paypal.iframe" />
|
177 |
+
</reference>
|
178 |
+
<reference name="checkout.onepage.review.button">
|
179 |
+
<action method="setTemplate"><template helper="paypal/hss/getReviewButtonTemplate"><name>paypal/hss/review/button.phtml</name><block>checkout.onepage.review.button</block></template></action>
|
180 |
+
</reference>
|
181 |
+
</checkout_onepage_review>
|
182 |
+
|
183 |
+
<paypal_payflow_link_iframe>
|
184 |
+
<block type="paypal/payflow_link_iframe" name="payflow.link.iframe" template="paypal/payflowlink/form.phtml" />
|
185 |
+
</paypal_payflow_link_iframe>
|
186 |
+
|
187 |
+
<paypal_payflow_advanced_iframe>
|
188 |
+
<block type="paypal/payflow_advanced_iframe" name="payflow.advanced.iframe" template="paypal/payflowadvanced/form.phtml" />
|
189 |
+
</paypal_payflow_advanced_iframe>
|
190 |
+
|
191 |
+
<paypal_hosted_pro_iframe>
|
192 |
+
<block type="paypal/hosted_pro_iframe" name="hosted.pro.iframe" template="paypal/hss/form.phtml"/>
|
193 |
+
</paypal_hosted_pro_iframe>
|
194 |
+
|
195 |
+
<SHORTCUT_popup>
|
196 |
+
<reference name="product.tooltip">
|
197 |
+
<block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
|
198 |
+
<block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
|
199 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
200 |
+
<action method="setShowOrPosition"><value>after</value></action>
|
201 |
+
</block>
|
202 |
+
</block>
|
203 |
+
</reference>
|
204 |
+
</SHORTCUT_popup>
|
205 |
+
</layout>
|
app/design/frontend/rwd/default/layout/persistent.xml
ADDED
@@ -0,0 +1,63 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<customer_account_login>
|
31 |
+
<reference name="customer_form_login">
|
32 |
+
<action method="setTemplate"><template>persistent/customer/form/login.phtml</template></action>
|
33 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
34 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
35 |
+
</reference>
|
36 |
+
</customer_account_login>
|
37 |
+
|
38 |
+
<customer_account_create>
|
39 |
+
<reference name="customer_form_register">
|
40 |
+
<action method="setTemplate"><template>persistent/customer/form/register.phtml</template></action>
|
41 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
42 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
43 |
+
</reference>
|
44 |
+
</customer_account_create>
|
45 |
+
|
46 |
+
<checkout_onepage_index>
|
47 |
+
<reference name="checkout.onepage.login">
|
48 |
+
<action method="setTemplate"><template>persistent/checkout/onepage/login.phtml</template></action>
|
49 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
50 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
51 |
+
</reference>
|
52 |
+
<reference name="checkout.onepage.billing">
|
53 |
+
<action method="setTemplate"><template>persistent/checkout/onepage/billing.phtml</template></action>
|
54 |
+
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
55 |
+
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
56 |
+
</reference>
|
57 |
+
</checkout_onepage_index>
|
58 |
+
<customer_logged_out>
|
59 |
+
<reference name="right">
|
60 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
61 |
+
</reference>
|
62 |
+
</customer_logged_out>
|
63 |
+
</layout>
|
app/design/frontend/rwd/default/layout/poll.xml
ADDED
@@ -0,0 +1,4 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<!-- Remove all poll functionality from theme layout -->
|
4 |
+
</layout>
|
app/design/frontend/rwd/default/layout/review.xml
ADDED
@@ -0,0 +1,146 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<customer_account>
|
32 |
+
<!-- Mage_Review -->
|
33 |
+
<reference name="customer_account_navigation">
|
34 |
+
<action method="addLink" translate="label" module="review"><name>reviews</name><path>review/customer</path><label>My Product Reviews</label></action>
|
35 |
+
</reference>
|
36 |
+
|
37 |
+
</customer_account>
|
38 |
+
|
39 |
+
<!--
|
40 |
+
Customer account home dashboard layout
|
41 |
+
-->
|
42 |
+
|
43 |
+
<customer_account_index>
|
44 |
+
|
45 |
+
<!-- Mage_Review -->
|
46 |
+
<reference name="customer_account_dashboard">
|
47 |
+
<block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
|
48 |
+
</reference>
|
49 |
+
|
50 |
+
</customer_account_index>
|
51 |
+
|
52 |
+
<!--
|
53 |
+
Product view page
|
54 |
+
-->
|
55 |
+
|
56 |
+
<catalog_product_view>
|
57 |
+
<reference name="product.info">
|
58 |
+
<block type="review/product_view_list" name="product.reviews" as="reviews" template="review/product/view/list.phtml" after="additional">
|
59 |
+
<action method="addToParentGroup"><group>detailed_info</group></action>
|
60 |
+
<action method="setTitle" translate="value"><value>Reviews</value></action>
|
61 |
+
</block>
|
62 |
+
</reference>
|
63 |
+
</catalog_product_view>
|
64 |
+
|
65 |
+
<!--
|
66 |
+
Product reviews page (?)
|
67 |
+
-->
|
68 |
+
|
69 |
+
<reviews>
|
70 |
+
<!-- Mage_Review -->
|
71 |
+
<reference name="root">
|
72 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
73 |
+
</reference>
|
74 |
+
</reviews>
|
75 |
+
|
76 |
+
<!--
|
77 |
+
Product reviews page
|
78 |
+
-->
|
79 |
+
|
80 |
+
<review_product_list translate="label">
|
81 |
+
<label>Catalog Product Reviews List</label>
|
82 |
+
<reference name="root">
|
83 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
84 |
+
</reference>
|
85 |
+
<reference name="head">
|
86 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
87 |
+
<action method="addJs"><script>varien/configurable.js</script></action>
|
88 |
+
</reference>
|
89 |
+
<reference name="content">
|
90 |
+
<block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
|
91 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
|
92 |
+
<action method="disableGallery"/>
|
93 |
+
</block>
|
94 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
95 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml">
|
96 |
+
<!-- workaround: a better place for this code is in paypal.xml -->
|
97 |
+
<block type="page/html_wrapper" name="review.product.info.addtocart.paypal.wrapper" translate="label" module="paypal">
|
98 |
+
<label>PayPal Express Checkout Shortcut Wrapper</label>
|
99 |
+
<block type="paypal/express_shortcut" name="review.product.info.addtocart.paypal" template="paypal/express/product/shortcut.phtml">
|
100 |
+
<action method="setIsInCatalogProduct"><value>1</value></action>
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</block>
|
104 |
+
<block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
|
105 |
+
<block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
|
106 |
+
<block type="page/html_pager" name="product_review_list.toolbar" />
|
107 |
+
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
|
108 |
+
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
|
109 |
+
<block type="review/form" name="product.review.form" as="review_form">
|
110 |
+
<block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
|
111 |
+
<label>Review Form Fields Before</label>
|
112 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
113 |
+
</block>
|
114 |
+
</block>
|
115 |
+
</block>
|
116 |
+
</block>
|
117 |
+
</reference>
|
118 |
+
</review_product_list>
|
119 |
+
|
120 |
+
<review_product_view translate="label">
|
121 |
+
<label>Catalog Product Review View</label>
|
122 |
+
<reference name="root">
|
123 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
124 |
+
</reference>
|
125 |
+
<reference name="content">
|
126 |
+
<block type="review/view" name="review_view"/>
|
127 |
+
</reference>
|
128 |
+
</review_product_view>
|
129 |
+
|
130 |
+
<review_customer_index translate="label">
|
131 |
+
<label>Customer My Account Product Reviews</label>
|
132 |
+
<update handle="customer_account"/>
|
133 |
+
<reference name="my.account.wrapper">
|
134 |
+
<block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
|
135 |
+
</reference>
|
136 |
+
</review_customer_index>
|
137 |
+
|
138 |
+
<review_customer_view translate="label">
|
139 |
+
<label>Customer My Account Review Details</label>
|
140 |
+
<update handle="customer_account"/>
|
141 |
+
<reference name="my.account.wrapper">
|
142 |
+
<block type="review/customer_view" name="customers_review"/>
|
143 |
+
</reference>
|
144 |
+
</review_customer_view>
|
145 |
+
|
146 |
+
</layout>
|
app/design/frontend/rwd/default/layout/rss.xml
ADDED
@@ -0,0 +1,100 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
<default>
|
33 |
+
<block type="rss/list" name="head_rss" ifconfig="rss/config/active" />
|
34 |
+
</default>
|
35 |
+
|
36 |
+
<rss_index_index translate="label">
|
37 |
+
<label>RSS Feeds List</label>
|
38 |
+
<reference name="root">
|
39 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
40 |
+
</reference>
|
41 |
+
<reference name="content">
|
42 |
+
<block type="rss/list" name="rss.list" template="rss/list.phtml"/>
|
43 |
+
</reference>
|
44 |
+
</rss_index_index>
|
45 |
+
|
46 |
+
<rss_index_nofeed>
|
47 |
+
<block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
|
48 |
+
</rss_index_nofeed>
|
49 |
+
|
50 |
+
<rss_index_wishlist>
|
51 |
+
<block type="rss/wishlist" name="rss.wishlist" output="toHtml">
|
52 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_rss.phtml</template></action>
|
53 |
+
</block>
|
54 |
+
</rss_index_wishlist>
|
55 |
+
<!--
|
56 |
+
Catalog layout
|
57 |
+
-->
|
58 |
+
<rss_catalog_new>
|
59 |
+
<block type="rss/catalog_new" output="toHtml" name="rss.catalog.new">
|
60 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
61 |
+
</block>
|
62 |
+
</rss_catalog_new>
|
63 |
+
|
64 |
+
<rss_catalog_special>
|
65 |
+
<block type="rss/catalog_special" output="toHtml" name="rss.catalog.special" />
|
66 |
+
</rss_catalog_special>
|
67 |
+
|
68 |
+
<rss_catalog_salesrule>
|
69 |
+
<block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule" />
|
70 |
+
</rss_catalog_salesrule>
|
71 |
+
|
72 |
+
<rss_catalog_tag>
|
73 |
+
<block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag">
|
74 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
75 |
+
</block>
|
76 |
+
</rss_catalog_tag>
|
77 |
+
|
78 |
+
<rss_catalog_notifystock>
|
79 |
+
<block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
|
80 |
+
</rss_catalog_notifystock>
|
81 |
+
|
82 |
+
<rss_catalog_review>
|
83 |
+
<block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
|
84 |
+
</rss_catalog_review>
|
85 |
+
|
86 |
+
<rss_catalog_category>
|
87 |
+
<block type="rss/catalog_category" output="toHtml" name="rss.catalog.category">
|
88 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
89 |
+
</block>
|
90 |
+
</rss_catalog_category>
|
91 |
+
<!--
|
92 |
+
Order layout
|
93 |
+
-->
|
94 |
+
<rss_order_new>
|
95 |
+
<block type="rss/order_new" output="toHtml" name="rss.order.new"/>
|
96 |
+
</rss_order_new>
|
97 |
+
<rss_order_status>
|
98 |
+
<block type="rss/order_status" output="toHtml" name="rss.order.status"/>
|
99 |
+
</rss_order_status>
|
100 |
+
</layout>
|
app/design/frontend/rwd/default/layout/sales.xml
ADDED
@@ -0,0 +1,526 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Customer account pages, rendered for all tabs in dashboard
|
33 |
+
-->
|
34 |
+
|
35 |
+
|
36 |
+
<customer_logged_in>
|
37 |
+
<reference name="right">
|
38 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
39 |
+
</reference>
|
40 |
+
</customer_logged_in>
|
41 |
+
<checkout_onepage_index>
|
42 |
+
<remove name="sale.reorder.sidebar"/>
|
43 |
+
</checkout_onepage_index>
|
44 |
+
<checkout_onepage_reorder>
|
45 |
+
<reference name="right">
|
46 |
+
<action method="unsetChild"><name>reorder</name></action>
|
47 |
+
</reference>
|
48 |
+
</checkout_onepage_reorder>
|
49 |
+
|
50 |
+
<customer_account>
|
51 |
+
<!-- Mage_Sales -->
|
52 |
+
<reference name="customer_account_navigation">
|
53 |
+
<action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
|
54 |
+
</reference>
|
55 |
+
<reference name="left">
|
56 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
57 |
+
</reference>
|
58 |
+
|
59 |
+
</customer_account>
|
60 |
+
|
61 |
+
<!--
|
62 |
+
Customer account home dashboard layout
|
63 |
+
-->
|
64 |
+
|
65 |
+
<customer_account_index>
|
66 |
+
<!-- Mage_Sales -->
|
67 |
+
<!--remove name="customer_account_dashboard_top"/-->
|
68 |
+
<reference name="customer_account_dashboard">
|
69 |
+
<block type="sales/order_recent" name="customer_account_dashboard_top" as="top" template="sales/order/recent.phtml"/>
|
70 |
+
</reference>
|
71 |
+
|
72 |
+
</customer_account_index>
|
73 |
+
|
74 |
+
<sales_order_history translate="label">
|
75 |
+
<label>Customer My Account Order History</label>
|
76 |
+
<update handle="customer_account"/>
|
77 |
+
<reference name="my.account.wrapper">
|
78 |
+
<block type="sales/order_history" name="sales.order.history">
|
79 |
+
<block type="core/text_list" name="sales.order.history.info" as="info" translate="label">
|
80 |
+
<label>Order History Info</label>
|
81 |
+
</block>
|
82 |
+
</block>
|
83 |
+
<block type="customer/account_dashboard" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
|
84 |
+
</reference>
|
85 |
+
</sales_order_history>
|
86 |
+
|
87 |
+
|
88 |
+
<sales_order_view translate="label">
|
89 |
+
<label>Customer My Account Order View</label>
|
90 |
+
<update handle="customer_account"/>
|
91 |
+
<reference name="my.account.wrapper">
|
92 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
93 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
94 |
+
</block>
|
95 |
+
<block type="sales/order_view" name="sales.order.view">
|
96 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
97 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
98 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
99 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
100 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
101 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
102 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
103 |
+
</block>
|
104 |
+
</block>
|
105 |
+
</block>
|
106 |
+
</reference>
|
107 |
+
<reference name="sales.order.info">
|
108 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
109 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
110 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
111 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
112 |
+
</reference>
|
113 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
114 |
+
<label>Additional Product Info</label>
|
115 |
+
</block>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice translate="label">
|
119 |
+
<label>Customer My Account Order Invoice View</label>
|
120 |
+
<update handle="customer_account"/>
|
121 |
+
<reference name="my.account.wrapper">
|
122 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
123 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
124 |
+
</block>
|
125 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
126 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
127 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
128 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
129 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
130 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
131 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
132 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
133 |
+
</block>
|
134 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
135 |
+
</block>
|
136 |
+
</block>
|
137 |
+
</reference>
|
138 |
+
<reference name="sales.order.info">
|
139 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
140 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
141 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
142 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
143 |
+
</reference>
|
144 |
+
<block type="core/text_list" name="additional.product.info" />
|
145 |
+
</sales_order_invoice>
|
146 |
+
|
147 |
+
<sales_order_shipment translate="label">
|
148 |
+
<label>Customer My Account Order Shipment View</label>
|
149 |
+
<update handle="customer_account"/>
|
150 |
+
<reference name="my.account.wrapper">
|
151 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
152 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
153 |
+
</block>
|
154 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
155 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
156 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
157 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
158 |
+
</block>
|
159 |
+
</block>
|
160 |
+
</reference>
|
161 |
+
<reference name="sales.order.info">
|
162 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
163 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
164 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
165 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
166 |
+
</reference>
|
167 |
+
<block type="core/text_list" name="additional.product.info" />
|
168 |
+
</sales_order_shipment>
|
169 |
+
|
170 |
+
<sales_order_creditmemo translate="label">
|
171 |
+
<label>Customer My Account Order Creditmemo View</label>
|
172 |
+
<update handle="customer_account"/>
|
173 |
+
<reference name="my.account.wrapper">
|
174 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
175 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
176 |
+
</block>
|
177 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
178 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
179 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
180 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
181 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
182 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
183 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
184 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
185 |
+
</block>
|
186 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
187 |
+
</block>
|
188 |
+
</block>
|
189 |
+
</reference>
|
190 |
+
<reference name="sales.order.info">
|
191 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
192 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
193 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
194 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
195 |
+
</reference>
|
196 |
+
<block type="core/text_list" name="additional.product.info" />
|
197 |
+
</sales_order_creditmemo>
|
198 |
+
|
199 |
+
<sales_order_reorder>
|
200 |
+
<update handle="customer_account"/>
|
201 |
+
<reference name="content">
|
202 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
203 |
+
</reference>
|
204 |
+
</sales_order_reorder>
|
205 |
+
|
206 |
+
<sales_order_print translate="label">
|
207 |
+
<label>Sales Order Print View</label>
|
208 |
+
<reference name="content">
|
209 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
210 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
211 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
212 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
213 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
214 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
215 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
216 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
217 |
+
</block>
|
218 |
+
</block>
|
219 |
+
</block>
|
220 |
+
</reference>
|
221 |
+
<block type="core/text_list" name="additional.product.info" />
|
222 |
+
</sales_order_print>
|
223 |
+
|
224 |
+
<sales_order_printinvoice translate="label">
|
225 |
+
<label>Sales Invoice Print View</label>
|
226 |
+
<reference name="content">
|
227 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
228 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
229 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
230 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
231 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
232 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
233 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
234 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
235 |
+
</block>
|
236 |
+
</block>
|
237 |
+
</block>
|
238 |
+
</reference>
|
239 |
+
<block type="core/text_list" name="additional.product.info" />
|
240 |
+
</sales_order_printinvoice>
|
241 |
+
|
242 |
+
<sales_order_printshipment translate="label">
|
243 |
+
<label>Sales Shipment Print View</label>
|
244 |
+
<reference name="content">
|
245 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
246 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
247 |
+
</block>
|
248 |
+
</reference>
|
249 |
+
<block type="core/text_list" name="additional.product.info" />
|
250 |
+
</sales_order_printshipment>
|
251 |
+
|
252 |
+
<sales_order_printcreditmemo>
|
253 |
+
<reference name="content">
|
254 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
255 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
256 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
257 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
258 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
259 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
260 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
261 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
262 |
+
</block>
|
263 |
+
</block>
|
264 |
+
</block>
|
265 |
+
</reference>
|
266 |
+
<block type="core/text_list" name="additional.product.info" />
|
267 |
+
</sales_order_printcreditmemo>
|
268 |
+
|
269 |
+
<!--
|
270 |
+
Email layouts section
|
271 |
+
-->
|
272 |
+
<sales_email_order_items>
|
273 |
+
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
274 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
275 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
276 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
277 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
278 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
279 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
280 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
281 |
+
</block>
|
282 |
+
</block>
|
283 |
+
</block>
|
284 |
+
<block type="core/text_list" name="additional.product.info" />
|
285 |
+
</sales_email_order_items>
|
286 |
+
|
287 |
+
<sales_email_order_invoice_items>
|
288 |
+
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
289 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
290 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
291 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
292 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
293 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
294 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
295 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
296 |
+
</block>
|
297 |
+
</block>
|
298 |
+
</block>
|
299 |
+
<block type="core/text_list" name="additional.product.info" />
|
300 |
+
</sales_email_order_invoice_items>
|
301 |
+
|
302 |
+
<sales_email_order_shipment_items>
|
303 |
+
<block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
|
304 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
|
305 |
+
</block>
|
306 |
+
<block type="core/text_list" name="additional.product.info" />
|
307 |
+
</sales_email_order_shipment_items>
|
308 |
+
|
309 |
+
<sales_email_order_creditmemo_items>
|
310 |
+
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
311 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
312 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
313 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
314 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
315 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
316 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
317 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
318 |
+
</block>
|
319 |
+
</block>
|
320 |
+
</block>
|
321 |
+
<block type="core/text_list" name="additional.product.info" />
|
322 |
+
</sales_email_order_creditmemo_items>
|
323 |
+
|
324 |
+
<!--
|
325 |
+
Guest
|
326 |
+
-->
|
327 |
+
|
328 |
+
<sales_guest_form translate="label">
|
329 |
+
<label>Returns</label>
|
330 |
+
<reference name="root">
|
331 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
332 |
+
</reference>
|
333 |
+
<reference name="content">
|
334 |
+
<block type="sales/widget_guest_form" name="guest.form" template="sales/guest/form.phtml"/>
|
335 |
+
</reference>
|
336 |
+
</sales_guest_form>
|
337 |
+
|
338 |
+
|
339 |
+
<sales_guest_view translate="label">
|
340 |
+
<label>Customer My Account Order View</label>
|
341 |
+
<reference name="root">
|
342 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
343 |
+
</reference>
|
344 |
+
<reference name="content">
|
345 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
346 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
347 |
+
</block>
|
348 |
+
<block type="sales/order_view" name="sales.order.view">
|
349 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
350 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
351 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
352 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
353 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
354 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
355 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
356 |
+
</block>
|
357 |
+
</block>
|
358 |
+
</block>
|
359 |
+
</reference>
|
360 |
+
<reference name="sales.order.info">
|
361 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
362 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
363 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
364 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
365 |
+
</reference>
|
366 |
+
</sales_guest_view>
|
367 |
+
|
368 |
+
<sales_guest_invoice translate="label">
|
369 |
+
<label>Customer My Account Order Invoice View</label>
|
370 |
+
<reference name="root">
|
371 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
372 |
+
</reference>
|
373 |
+
<reference name="content">
|
374 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
375 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
376 |
+
</block>
|
377 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
378 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
379 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
380 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
381 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
382 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
383 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
384 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
385 |
+
</block>
|
386 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
387 |
+
</block>
|
388 |
+
</block>
|
389 |
+
</reference>
|
390 |
+
<reference name="sales.order.info">
|
391 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
392 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
393 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
394 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
395 |
+
</reference>
|
396 |
+
</sales_guest_invoice>
|
397 |
+
|
398 |
+
<sales_guest_shipment translate="label">
|
399 |
+
<label>Customer My Account Order Shipment View</label>
|
400 |
+
<reference name="root">
|
401 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
402 |
+
</reference>
|
403 |
+
<reference name="content">
|
404 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
405 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
406 |
+
</block>
|
407 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
408 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
409 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
410 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
411 |
+
</block>
|
412 |
+
</block>
|
413 |
+
</reference>
|
414 |
+
<reference name="sales.order.info">
|
415 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
416 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
417 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
418 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
419 |
+
</reference>
|
420 |
+
</sales_guest_shipment>
|
421 |
+
|
422 |
+
<sales_guest_creditmemo translate="label">
|
423 |
+
<label>Customer My Account Order Creditmemo View</label>
|
424 |
+
<reference name="root">
|
425 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
426 |
+
</reference>
|
427 |
+
<reference name="content">
|
428 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
429 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
430 |
+
</block>
|
431 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
432 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
433 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
434 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
435 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
436 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
437 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
438 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
439 |
+
</block>
|
440 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
441 |
+
</block>
|
442 |
+
</block>
|
443 |
+
</reference>
|
444 |
+
<reference name="sales.order.info">
|
445 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
446 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
447 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
448 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
449 |
+
</reference>
|
450 |
+
</sales_guest_creditmemo>
|
451 |
+
|
452 |
+
<sales_guest_reorder>
|
453 |
+
<reference name="root">
|
454 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
455 |
+
</reference>
|
456 |
+
<reference name="content">
|
457 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
458 |
+
</reference>
|
459 |
+
</sales_guest_reorder>
|
460 |
+
|
461 |
+
<sales_guest_print translate="label">
|
462 |
+
<label>Sales Order Print View</label>
|
463 |
+
<reference name="content">
|
464 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
465 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
466 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
467 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
468 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
469 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
470 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
471 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
472 |
+
</block>
|
473 |
+
</block>
|
474 |
+
</block>
|
475 |
+
</reference>
|
476 |
+
</sales_guest_print>
|
477 |
+
|
478 |
+
<sales_guest_printinvoice translate="label">
|
479 |
+
<label>Sales Invoice Print View</label>
|
480 |
+
<reference name="content">
|
481 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
482 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
483 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
484 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
485 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
486 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
487 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
488 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
489 |
+
</block>
|
490 |
+
</block>
|
491 |
+
</block>
|
492 |
+
</reference>
|
493 |
+
</sales_guest_printinvoice>
|
494 |
+
|
495 |
+
<sales_guest_printshipment translate="label">
|
496 |
+
<label>Sales Shipment Print View</label>
|
497 |
+
<reference name="content">
|
498 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
499 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
500 |
+
</block>
|
501 |
+
</reference>
|
502 |
+
</sales_guest_printshipment>
|
503 |
+
|
504 |
+
<sales_guest_printcreditmemo>
|
505 |
+
<reference name="content">
|
506 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
507 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
508 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
509 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
510 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
511 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
512 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
513 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
514 |
+
</block>
|
515 |
+
</block>
|
516 |
+
</block>
|
517 |
+
</reference>
|
518 |
+
</sales_guest_printcreditmemo>
|
519 |
+
|
520 |
+
<default>
|
521 |
+
<reference name="footer_links2">
|
522 |
+
<block type="sales/guest_links" name="return_link"/>
|
523 |
+
<action method="addLinkBlock"><blockName>return_link</blockName></action>
|
524 |
+
</reference>
|
525 |
+
</default>
|
526 |
+
</layout>
|
app/design/frontend/rwd/default/layout/tag.xml
ADDED
@@ -0,0 +1,4 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<!-- Remove all tags functionality from theme layout -->
|
4 |
+
</layout>
|
app/design/frontend/rwd/default/layout/wishlist.xml
ADDED
@@ -0,0 +1,146 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-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 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<reference name="top.links">
|
37 |
+
<block type="wishlist/links" name="wishlist_link" />
|
38 |
+
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
|
39 |
+
</reference>
|
40 |
+
|
41 |
+
<!-- Mage_Wishlist -->
|
42 |
+
<reference name="right">
|
43 |
+
<block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
|
44 |
+
</reference>
|
45 |
+
</default>
|
46 |
+
|
47 |
+
<!--
|
48 |
+
Customer account pages, rendered for all tabs in dashboard
|
49 |
+
-->
|
50 |
+
|
51 |
+
<customer_account>
|
52 |
+
<!-- Mage_Wishlist -->
|
53 |
+
<reference name="customer_account_navigation">
|
54 |
+
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
|
55 |
+
</reference>
|
56 |
+
</customer_account>
|
57 |
+
|
58 |
+
<!--
|
59 |
+
Customer account home dashboard layout
|
60 |
+
-->
|
61 |
+
|
62 |
+
<customer_account_index>
|
63 |
+
<reference name="right">
|
64 |
+
<action method="unsetChild"><name>wishlist</name></action>
|
65 |
+
</reference>
|
66 |
+
</customer_account_index>
|
67 |
+
|
68 |
+
<!--
|
69 |
+
Wishlist pages
|
70 |
+
-->
|
71 |
+
|
72 |
+
<wishlist_index_index translate="label">
|
73 |
+
<label>Customer My Account My Wishlist</label>
|
74 |
+
<!-- Mage_Wishlist -->
|
75 |
+
<update handle="customer_account" />
|
76 |
+
<reference name="my.account.wrapper">
|
77 |
+
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
|
78 |
+
<action method="setTitle" translate="title">
|
79 |
+
<title>My Wishlist</title>
|
80 |
+
</action>
|
81 |
+
<block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
|
82 |
+
<block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
|
83 |
+
<block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
|
84 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
|
85 |
+
</block>
|
86 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.quantity" template="wishlist/item/column/quantity.phtml">
|
87 |
+
<action method="setTitle" translate="title">
|
88 |
+
<title>Quantity</title>
|
89 |
+
</action>
|
90 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
91 |
+
</block>
|
92 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.price" template="wishlist/item/column/price.phtml">
|
93 |
+
<action method="setTitle" translate="title">
|
94 |
+
<title>Price</title>
|
95 |
+
</action>
|
96 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
97 |
+
</block>
|
98 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
|
99 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
100 |
+
</block>
|
101 |
+
<block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
|
102 |
+
</block>
|
103 |
+
<block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
|
104 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
|
105 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
|
106 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
|
107 |
+
</block>
|
108 |
+
</block>
|
109 |
+
</reference>
|
110 |
+
<reference name="right">
|
111 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
112 |
+
</reference>
|
113 |
+
</wishlist_index_index>
|
114 |
+
|
115 |
+
<wishlist_index_share translate="label">
|
116 |
+
<label>Customer My Account Wishlist Sharing Form</label>
|
117 |
+
<!-- Mage_Wishlist -->
|
118 |
+
<update handle="customer_account" />
|
119 |
+
<reference name="my.account.wrapper">
|
120 |
+
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
|
121 |
+
</reference>
|
122 |
+
<reference name="right">
|
123 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
124 |
+
</reference>
|
125 |
+
</wishlist_index_share>
|
126 |
+
|
127 |
+
<wishlist_index_configure translate="label">
|
128 |
+
<label>Configure Wishlist Item</label>
|
129 |
+
<update handle="catalog_product_view" />
|
130 |
+
<reference name="product.info">
|
131 |
+
<block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
|
132 |
+
</reference>
|
133 |
+
<reference name="product.info.options.wrapper.bottom">
|
134 |
+
<action method="unsetChild"><name>product.info.addto</name></action>
|
135 |
+
<action method="append"><block>product.info.addto</block></action>
|
136 |
+
</reference>
|
137 |
+
</wishlist_index_configure>
|
138 |
+
|
139 |
+
<wishlist_shared_index translate="label">
|
140 |
+
<label>Customer Shared Wishlist View</label>
|
141 |
+
<!-- Mage_Wishlist -->
|
142 |
+
<reference name="content">
|
143 |
+
<block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
|
144 |
+
</reference>
|
145 |
+
</wishlist_shared_index>
|
146 |
+
</layout>
|
app/design/frontend/rwd/default/locale/en_US/translate.csv
ADDED
@@ -0,0 +1,20 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
"###","- - - - - - - - - - - - - - - - - - - - -"
|
2 |
+
"###","Custom phrases that exist only in this theme."
|
3 |
+
"###","- - - - - - - - - - - - - - - - - - - - -"
|
4 |
+
"###","Page Module"
|
5 |
+
"Results per page","Results per page"
|
6 |
+
"%s-%s of %s","%s-%s of %s"
|
7 |
+
"###","Catalog Module"
|
8 |
+
"Filter","Filter"
|
9 |
+
"View Details","View Details"
|
10 |
+
"Share on Facebook","Share on Facebook"
|
11 |
+
"Share on Twitter","Share on Twitter"
|
12 |
+
"###","Checkout Module"
|
13 |
+
"Are you sure you want to leave this page? You will need to go through the checkout steps again.","Are you sure you want to leave this page? You will need to go through the checkout steps again."
|
14 |
+
"Zip/Postal Code","Zip"
|
15 |
+
"Discount Codes?","Discount Codes?"
|
16 |
+
"###","Customer Module"
|
17 |
+
"Registration is free and easy!","Registration is free and easy!"
|
18 |
+
"Faster checkout","Faster checkout"
|
19 |
+
"Save multiple shipping addresses","Save multiple shipping addresses"
|
20 |
+
"View and track orders and more","View and track orders and more"
|
app/design/frontend/rwd/default/template/authorizenet/directpost/form.phtml
ADDED
@@ -0,0 +1,135 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @see Mage_Authorizenet_Block_Directpost_Form
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php
|
32 |
+
$_form = $this;
|
33 |
+
$_code = $_form->getMethodCode();
|
34 |
+
$_method = $_form->getMethod();
|
35 |
+
$_controller = $this->helper('authorizenet')->getControllerName();
|
36 |
+
$_orderUrl = $this->helper('authorizenet')->getPlaceOrderFrontUrl();
|
37 |
+
?>
|
38 |
+
<div class="buttons-set">
|
39 |
+
<!-- IFRAME for request to Authorize.net -->
|
40 |
+
<iframe id="directpost-iframe" allowtransparency="true" frameborder="0" name="iframeDirectPost" style="display:none;width:100%;background-color:transparent" src="<?php echo $this->getJsUrl() ?>blank.html"></iframe>
|
41 |
+
|
42 |
+
<form id="co-directpost-form" action="#" method="post">
|
43 |
+
<div class="fieldset">
|
44 |
+
<dl class="sp-methods">
|
45 |
+
<dt class="a-center"><?php echo $this->__('Credit Card Information') ?></dt>
|
46 |
+
<dd>
|
47 |
+
<ul id="payment_form_<?php echo $_code ?>" class="form-list">
|
48 |
+
<li>
|
49 |
+
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
|
52 |
+
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
53 |
+
<?php $_ccType = $_form->getInfoData('cc_type') ?>
|
54 |
+
<?php foreach ($_form->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
55 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
56 |
+
<?php endforeach ?>
|
57 |
+
</select>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<li>
|
61 |
+
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input type="text" pattern="\d*" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
67 |
+
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
68 |
+
<div class="input-box">
|
69 |
+
<div class="v-fix">
|
70 |
+
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
71 |
+
<?php $_ccExpMonth = $_form->getInfoData('cc_exp_month') ?>
|
72 |
+
<?php foreach ($_form->getCcMonths() as $k=>$v): ?>
|
73 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
74 |
+
<?php endforeach ?>
|
75 |
+
</select>
|
76 |
+
</div>
|
77 |
+
<div class="v-fix">
|
78 |
+
<?php $_ccExpYear = $_form->getInfoData('cc_exp_year') ?>
|
79 |
+
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
80 |
+
<?php foreach ($_form->getCcYears() as $k=>$v): ?>
|
81 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
82 |
+
<?php endforeach ?>
|
83 |
+
</select>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
</li>
|
87 |
+
<?php echo $_form->getChildHtml() ?>
|
88 |
+
<?php if($_form->hasVerification()): ?>
|
89 |
+
<li id="<?php echo $_code ?>_cc_type_cvv_div">
|
90 |
+
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<div class="v-fix">
|
93 |
+
<input type="text" pattern="\d*" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
94 |
+
</div>
|
95 |
+
<a href="#" id="directpost-cvv-what-is-this" style="cursor:help; margin-left:5px;"><?php echo $this->__('What is this?') ?></a>
|
96 |
+
</div>
|
97 |
+
</li>
|
98 |
+
<?php endif; ?>
|
99 |
+
</ul>
|
100 |
+
</dd>
|
101 |
+
</dl>
|
102 |
+
</div>
|
103 |
+
</form>
|
104 |
+
</div>
|
105 |
+
<div class="tool-tip" id="directpost-tool-tip" style="display:none;">
|
106 |
+
<div class="btn-close"><a href="#" id="directpost-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
107 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
108 |
+
</div>
|
109 |
+
<script type="text/javascript">
|
110 |
+
//<![CDATA[
|
111 |
+
if ($('directpost-cvv-what-is-this')) {
|
112 |
+
$('directpost-cvv-what-is-this').observe('click', toggleCvvToolTip);
|
113 |
+
}
|
114 |
+
new Validation('co-directpost-form');
|
115 |
+
function toggleCvvToolTip(event){
|
116 |
+
if($('directpost-tool-tip')){
|
117 |
+
$('directpost-tool-tip').setStyle({
|
118 |
+
top: (Event.pointerY(event)-560)+'px'
|
119 |
+
})
|
120 |
+
$('directpost-tool-tip').toggle();
|
121 |
+
}
|
122 |
+
Event.stop(event);
|
123 |
+
}
|
124 |
+
if($('directpost-tool-tip-close')){
|
125 |
+
Event.observe($('directpost-tool-tip-close'), 'click', toggleCvvToolTip);
|
126 |
+
}
|
127 |
+
directPostModel = new directPost(
|
128 |
+
'<?php echo $_code ?>',
|
129 |
+
'directpost-iframe',
|
130 |
+
'<?php echo $_controller ?>',
|
131 |
+
'<?php echo $_orderUrl ?>',
|
132 |
+
'<?php echo $_method->getCgiUrl() ?>',
|
133 |
+
'<?php echo $this->getUrl('checkout/onepage/saveOrder', array('_secure' => $this->getRequest()->isSecure())) ?>');
|
134 |
+
//]]>
|
135 |
+
</script>
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
?>
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<?php if ($_product->isSaleable()): ?>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var skipTierPricePercentUpdate = true;
|
34 |
+
var bundle = new Product.Bundle(<?php echo $this->getJsonConfig() ?>);
|
35 |
+
var taxCalcMethod = "<?php echo Mage::helper('tax')->getConfig()->getAlgorithm($_product->getStore()) ?>";
|
36 |
+
var CACL_UNIT_BASE = "<?php echo Mage_Tax_Model_Calculation::CALC_UNIT_BASE ?>";
|
37 |
+
var CACL_ROW_BASE = "<?php echo Mage_Tax_Model_Calculation::CALC_ROW_BASE ?>";
|
38 |
+
var CACL_TOTAL_BASE = "<?php echo Mage_Tax_Model_Calculation::CALC_TOTAL_BASE ?>";
|
39 |
+
//]]>
|
40 |
+
</script>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
$_product = $this->getProduct() ?>
|
27 |
+
<?php if ($this->displayProductStockStatus()): ?>
|
28 |
+
<?php if ($_product->isAvailable()): ?>
|
29 |
+
<p class="availability in-stock">
|
30 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
31 |
+
<span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
|
32 |
+
</p>
|
33 |
+
<?php else: ?>
|
34 |
+
<p class="availability out-of-stock">
|
35 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
36 |
+
<span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
|
37 |
+
</p>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
?>
|
28 |
+
|
29 |
+
<?php /* @var $this Mage_Bundle_Block_Catalog_Product_View_Type_Bundle_Option_Select */ ?>
|
30 |
+
<?php $_option = $this->getOption(); ?>
|
31 |
+
<?php $_selections = $_option->getSelections(); ?>
|
32 |
+
<?php $_default = $_option->getDefaultSelection(); ?>
|
33 |
+
<?php list($_defaultQty, $_canChangeQty) = $this->_getDefaultValues(); ?>
|
34 |
+
<?php $tierPriceHtml = ''; ?>
|
35 |
+
|
36 |
+
<dt>
|
37 |
+
<label<?php if ($_option->getRequired()) echo ' class="required"' ?>><?php echo $this->escapeHtml($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<em>*</em>' ?></label>
|
38 |
+
</dt>
|
39 |
+
<dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
|
40 |
+
<div class="input-box">
|
41 |
+
<?php /** @var $_selection Mage_Catalog_Model_Product*/ ?>
|
42 |
+
<?php if ($this->_showSingle()): ?>
|
43 |
+
<?php echo $this->getSelectionTitlePrice($_selections[0]); ?>
|
44 |
+
<?php if ($_selections[0]->getSelectionCanChangeQty()): ?>
|
45 |
+
<?php $tierPriceHtml = $this->getTierPriceHtml($_selections[0]); ?>
|
46 |
+
<?php endif; ?>
|
47 |
+
<input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>"/>
|
48 |
+
<?php else:?>
|
49 |
+
<select onchange="bundle.changeSelection(this)" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select change-container-classname">
|
50 |
+
<option value=""><?php echo $this->__('Choose a selection...') ?></option>
|
51 |
+
<?php foreach ($_selections as $_selection): ?>
|
52 |
+
<?php if ($_selection->getSelectionCanChangeQty() && $this->_isSelected($_selection)): ?>
|
53 |
+
<?php $tierPriceHtml = $this->getTierPriceHtml($_selection); ?>
|
54 |
+
<?php endif; ?>
|
55 |
+
<option value="<?php echo $_selection->getSelectionId() ?>"<?php if ($this->_isSelected($_selection)) echo ' selected="selected"' ?><?php if (!$_selection->isSaleable()) echo ' disabled="disabled"' ?>><?php echo $this->getSelectionTitlePrice($_selection, false) ?></option>
|
56 |
+
<?php endforeach; ?>
|
57 |
+
</select>
|
58 |
+
<?php endif; ?>
|
59 |
+
</div>
|
60 |
+
<span id="bundle-option-<?php echo $_option->getId() ?>-tier-prices"> <?php echo $tierPriceHtml; ?></span>
|
61 |
+
<span class="qty-holder">
|
62 |
+
<label for="bundle-option-<?php echo $_option->getId() ?>-qty-input"><?php echo $this->__('Qty:') ?> </label><input onkeyup="bundle.changeOptionQty(this, event)" onblur="bundle.changeOptionQty(this, event)" <?php if (!$_canChangeQty) echo ' disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="input-text qty<?php if (!$_canChangeQty) echo ' qty-disabled' ?>" type="text" pattern="\d*" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>"/>
|
63 |
+
</span>
|
64 |
+
</dd>
|
app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml
ADDED
@@ -0,0 +1,380 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $parentItem = $this->getItem() ?>
|
28 |
+
<?php $items = array_merge(array($parentItem), $parentItem->getChildrenItems()); ?>
|
29 |
+
<?php $_count = count ($items) ?>
|
30 |
+
<?php $_index = 0 ?>
|
31 |
+
|
32 |
+
<?php $_prevOptionId = '' ?>
|
33 |
+
|
34 |
+
<?php foreach ($items as $_item): ?>
|
35 |
+
|
36 |
+
<?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
37 |
+
<?php $_showlastRow = true ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php $_showlastRow = false ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
<?php if ($_item->getParentItem()): ?>
|
43 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
44 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
45 |
+
<tr class="bundle label<?php if($_item->getLastRow()): ?> last<?php endif; ?>">
|
46 |
+
<td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
|
47 |
+
<td data-rwd-label="SKU" class="lin-hide"> </td>
|
48 |
+
<td data-rwd-label="Price" class="lin-hide"> </td>
|
49 |
+
<td data-rwd-label="Qty" class="lin-hide"> </td>
|
50 |
+
<td data-rwd-label="Subtotal" class="lin-hide"> </td>
|
51 |
+
</tr>
|
52 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php endif; ?>
|
55 |
+
<tr class="bundle<?php if(++$_index==$_count && !$_showlastRow): ?> border<?php endif; ?> <?php echo (!$_item->getParentItem()) ? 'parent' : 'child' ?>" id="order-item-row-<?php echo $_item->getId() ?>">
|
56 |
+
|
57 |
+
<?php if (!$_item->getParentItem()): ?>
|
58 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3></td>
|
59 |
+
<?php else: ?>
|
60 |
+
<td><div class="option-value"><?php echo $this->getValueHtml($_item)?></div></td>
|
61 |
+
<?php endif; ?>
|
62 |
+
<td data-rwd-label="SKU"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($_item->getSku())) ?></td>
|
63 |
+
<td class="a-right<?php if ($_item->getParentItem()): ?> lin-hide<?php endif; ?>" data-rwd-label="Price">
|
64 |
+
<?php if (!$_item->getParentItem()): ?>
|
65 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
66 |
+
<span class="price-excl-tax">
|
67 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
68 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
69 |
+
<span class="cart-price">
|
70 |
+
<?php endif; ?>
|
71 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
72 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
</span>
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
77 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
78 |
+
<?php else: ?>
|
79 |
+
<span class="cart-price">
|
80 |
+
<?php endif; ?>
|
81 |
+
|
82 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
84 |
+
<?php else: ?>
|
85 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
</span>
|
89 |
+
|
90 |
+
|
91 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
92 |
+
|
93 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<small>
|
96 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
97 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</small>
|
100 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
102 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
|
103 |
+
<?php endforeach; ?>
|
104 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
105 |
+
<small>
|
106 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
107 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
108 |
+
<?php endforeach; ?>
|
109 |
+
</small>
|
110 |
+
<?php endif; ?>
|
111 |
+
</span>
|
112 |
+
|
113 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
114 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
115 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
116 |
+
</span>
|
117 |
+
<?php endif; ?>
|
118 |
+
<?php endif; ?>
|
119 |
+
</span>
|
120 |
+
<br />
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
123 |
+
<span class="price-incl-tax">
|
124 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
125 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
126 |
+
<span class="cart-price">
|
127 |
+
<?php endif; ?>
|
128 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
129 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
</span>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
134 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
135 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
136 |
+
<?php else: ?>
|
137 |
+
<span class="cart-price">
|
138 |
+
<?php endif; ?>
|
139 |
+
|
140 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
142 |
+
<?php else: ?>
|
143 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
144 |
+
<?php endif; ?>
|
145 |
+
|
146 |
+
</span>
|
147 |
+
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
150 |
+
|
151 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<small>
|
154 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
155 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
156 |
+
<?php endforeach; ?>
|
157 |
+
</small>
|
158 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
160 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
161 |
+
<?php endforeach; ?>
|
162 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
163 |
+
<small>
|
164 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
165 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
166 |
+
<?php endforeach; ?>
|
167 |
+
</small>
|
168 |
+
<?php endif; ?>
|
169 |
+
</span>
|
170 |
+
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
173 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
174 |
+
</span>
|
175 |
+
<?php endif; ?>
|
176 |
+
<?php endif; ?>
|
177 |
+
</span>
|
178 |
+
<?php endif; ?>
|
179 |
+
<?php else: ?>
|
180 |
+
|
181 |
+
<?php endif; ?>
|
182 |
+
</td>
|
183 |
+
<?php
|
184 |
+
$parentWithCalcChild = ($_item->getParentItem() && $this->isChildCalculated());
|
185 |
+
$noParentNoCalcChild = (!$_item->getParentItem() && !$this->isChildCalculated());
|
186 |
+
$parentShipmentSeparately = $_item->getQtyShipped() > 0 && $_item->getParentItem() && $this->isShipmentSeparately();
|
187 |
+
$contentPresent = ($parentWithCalcChild || $noParentNoCalcChild || $parentShipmentSeparately);
|
188 |
+
?>
|
189 |
+
<td class="a-right<?php if(!$contentPresent): ?> lin-hide<?php endif; ?>" data-rwd-label="Qty">
|
190 |
+
<?php if ($parentWithCalcChild || $noParentNoCalcChild): ?>
|
191 |
+
<span class="nobr">
|
192 |
+
<?php if ($_item->getQtyOrdered() > 0): ?>
|
193 |
+
<?php echo Mage::helper('sales')->__('Ordered'); ?>: <strong><?php echo $_item->getQtyOrdered()*1 ?></strong><br />
|
194 |
+
<?php endif; ?>
|
195 |
+
<?php if ($_item->getQtyShipped() > 0 && !$this->isShipmentSeparately()): ?>
|
196 |
+
<?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong><br />
|
197 |
+
<?php endif; ?>
|
198 |
+
<?php if ($_item->getQtyCanceled() > 0): ?>
|
199 |
+
<?php echo Mage::helper('sales')->__('Canceled'); ?>: <strong><?php echo $_item->getQtyCanceled()*1 ?></strong><br />
|
200 |
+
<?php endif; ?>
|
201 |
+
<?php if ($_item->getQtyRefunded() > 0): ?>
|
202 |
+
<?php echo Mage::helper('sales')->__('Refunded'); ?>: <strong><?php echo $_item->getQtyRefunded()*1 ?></strong>
|
203 |
+
<?php endif; ?>
|
204 |
+
</span>
|
205 |
+
<?php elseif ($parentShipmentSeparately): ?>
|
206 |
+
<span class="nobr"><?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong></span>
|
207 |
+
<?php else: ?>
|
208 |
+
|
209 |
+
<?php endif; ?>
|
210 |
+
</td>
|
211 |
+
<td class="a-right<?php if ($_item->getParentItem()): ?> lin-hide<?php endif; ?>" data-rwd-label="Subtotal">
|
212 |
+
<?php if (!$_item->getParentItem()): ?>
|
213 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
214 |
+
<span class="price-excl-tax">
|
215 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
216 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
217 |
+
<span class="cart-price">
|
218 |
+
<?php endif; ?>
|
219 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
220 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
</span>
|
222 |
+
<?php endif; ?>
|
223 |
+
<?php endif; ?>
|
224 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
225 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
226 |
+
<?php else: ?>
|
227 |
+
<span class="cart-price">
|
228 |
+
<?php endif; ?>
|
229 |
+
|
230 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
231 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
232 |
+
<?php else: ?>
|
233 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
234 |
+
<?php endif; ?>
|
235 |
+
|
236 |
+
</span>
|
237 |
+
|
238 |
+
|
239 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
240 |
+
|
241 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<small>
|
244 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
245 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
246 |
+
<?php endforeach; ?>
|
247 |
+
</small>
|
248 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
249 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
250 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
|
251 |
+
<?php endforeach; ?>
|
252 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
253 |
+
<small>
|
254 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
255 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
256 |
+
<?php endforeach; ?>
|
257 |
+
</small>
|
258 |
+
<?php endif; ?>
|
259 |
+
</span>
|
260 |
+
|
261 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
262 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
263 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
264 |
+
</span>
|
265 |
+
<?php endif; ?>
|
266 |
+
<?php endif; ?>
|
267 |
+
</span>
|
268 |
+
<br />
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
271 |
+
<span class="price-incl-tax">
|
272 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
273 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
274 |
+
<span class="cart-price">
|
275 |
+
<?php endif; ?>
|
276 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
277 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
</span>
|
279 |
+
<?php endif; ?>
|
280 |
+
<?php endif; ?>
|
281 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
282 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
283 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
284 |
+
<?php else: ?>
|
285 |
+
<span class="cart-price">
|
286 |
+
<?php endif; ?>
|
287 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
288 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
289 |
+
<?php else: ?>
|
290 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
291 |
+
<?php endif; ?>
|
292 |
+
|
293 |
+
</span>
|
294 |
+
|
295 |
+
|
296 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
297 |
+
|
298 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
299 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
300 |
+
<small>
|
301 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
302 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
303 |
+
<?php endforeach; ?>
|
304 |
+
</small>
|
305 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
306 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
307 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
308 |
+
<?php endforeach; ?>
|
309 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
310 |
+
<small>
|
311 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
312 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
313 |
+
<?php endforeach; ?>
|
314 |
+
</small>
|
315 |
+
<?php endif; ?>
|
316 |
+
</span>
|
317 |
+
|
318 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
319 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
320 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total Incl. Tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
321 |
+
</span>
|
322 |
+
<?php endif; ?>
|
323 |
+
<?php endif; ?>
|
324 |
+
|
325 |
+
|
326 |
+
|
327 |
+
</span>
|
328 |
+
<?php endif; ?>
|
329 |
+
<?php else: ?>
|
330 |
+
|
331 |
+
<?php endif; ?>
|
332 |
+
</td>
|
333 |
+
<!--
|
334 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
335 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
|
336 |
+
<?php endif; ?>
|
337 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
338 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
|
339 |
+
<?php endif; ?>
|
340 |
+
-->
|
341 |
+
</tr>
|
342 |
+
<?php endforeach; ?>
|
343 |
+
|
344 |
+
<?php if ($_showlastRow): ?>
|
345 |
+
<tr class="border">
|
346 |
+
<td>
|
347 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
348 |
+
<dl class="item-options">
|
349 |
+
<?php foreach ($_options as $_option) : ?>
|
350 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
351 |
+
<?php if (!$this->getPrintStatus()): ?>
|
352 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
353 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
354 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
355 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
356 |
+
<div class="truncated_full_value">
|
357 |
+
<dl class="item-options">
|
358 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
359 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
360 |
+
</dl>
|
361 |
+
</div>
|
362 |
+
<?php endif; ?>
|
363 |
+
</dd>
|
364 |
+
<?php else: ?>
|
365 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
366 |
+
<?php endif; ?>
|
367 |
+
<?php endforeach; ?>
|
368 |
+
</dl>
|
369 |
+
<?php endif; ?>
|
370 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
371 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
372 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $parentItem->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $parentItem->getId() ?>')"><?php echo Mage::helper('sales')->__('Gift Message') ?></a>
|
373 |
+
<?php endif; ?>
|
374 |
+
</td>
|
375 |
+
<td data-rwd-label="SKU"> </td>
|
376 |
+
<td data-rwd-label="Price"> </td>
|
377 |
+
<td data-rwd-label="Qty"> </td>
|
378 |
+
<td data-rwd-label="Subtotal"> </td>
|
379 |
+
</tr>
|
380 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/layer/filter.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for filter items block
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_Filter
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
|
35 |
+
<ol>
|
36 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
37 |
+
<li>
|
38 |
+
<?php if ($_item->getCount() > 0): ?>
|
39 |
+
<a href="<?php echo $this->urlEscape($_item->getUrl()) ?>">
|
40 |
+
<?php echo $_item->getLabel() ?>
|
41 |
+
<?php if ($this->shouldDisplayProductCount()): ?>
|
42 |
+
<span class="count">(<?php echo $_item->getCount() ?>)</span>
|
43 |
+
<?php endif; ?>
|
44 |
+
</a>
|
45 |
+
<?php else: ?>
|
46 |
+
<span>
|
47 |
+
<?php echo $_item->getLabel(); ?>
|
48 |
+
<?php if ($this->shouldDisplayProductCount()): ?>
|
49 |
+
<span class="count">(<?php echo $_item->getCount() ?>)</span>
|
50 |
+
<?php endif; ?>
|
51 |
+
</span>
|
52 |
+
<?php endif; ?>
|
53 |
+
</li>
|
54 |
+
<?php endforeach ?>
|
55 |
+
</ol>
|
app/design/frontend/rwd/default/template/catalog/layer/state.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category layered navigation state
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_State
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_filters = $this->getActiveFilters();
|
36 |
+
$_renderers = $this->getParentBlock()->getChild('state_renderers')->getSortedChildren();
|
37 |
+
?>
|
38 |
+
<?php if(!empty($_filters)): ?>
|
39 |
+
<div class="currently">
|
40 |
+
<p class="block-subtitle"><?php echo $this->__('Currently Shopping by:') ?></p>
|
41 |
+
<ol>
|
42 |
+
<?php foreach ($_filters as $_filter): ?>
|
43 |
+
<?php
|
44 |
+
$_rendered = false;
|
45 |
+
foreach ($_renderers as $_rendererName):
|
46 |
+
$_renderer = $this->getParentBlock()->getChild('state_renderers')->getChild($_rendererName);
|
47 |
+
if (method_exists($_renderer, 'shouldRender') && $_renderer->shouldRender($_filter)):
|
48 |
+
$_renderer->setFilter($_filter);
|
49 |
+
echo $_renderer->toHtml();
|
50 |
+
$_rendered = true;
|
51 |
+
break;
|
52 |
+
endif;
|
53 |
+
endforeach;
|
54 |
+
|
55 |
+
if (!$_rendered):
|
56 |
+
?>
|
57 |
+
<li>
|
58 |
+
<?php
|
59 |
+
$clearLinkUrl = $_filter->getClearLinkUrl();
|
60 |
+
if ($clearLinkUrl):
|
61 |
+
?>
|
62 |
+
<a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
|
63 |
+
<a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
|
64 |
+
<?php else: ?>
|
65 |
+
<a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
|
66 |
+
<?php endif; ?>
|
67 |
+
<span class="label"><?php echo $this->__($_filter->getName()) ?>:</span> <span class="value"><?php echo $this->stripTags($_filter->getLabel()) ?></span>
|
68 |
+
</li>
|
69 |
+
<?php endif; ?>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</ol>
|
72 |
+
</div>
|
73 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/layer/view.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category layered navigation
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->canShowBlock()): ?>
|
35 |
+
<div class="block block-layered-nav<?php if (!$this->getLayer()->getState()->getFilters()): ?> block-layered-nav--no-filters<?php endif; ?>">
|
36 |
+
<div class="block-title">
|
37 |
+
<strong><span><?php echo $this->__('Shop By') ?></span></strong>
|
38 |
+
</div>
|
39 |
+
<div class="block-content toggle-content">
|
40 |
+
<?php echo $this->getStateHtml() ?>
|
41 |
+
<?php if ($this->getLayer()->getState()->getFilters()): ?>
|
42 |
+
<div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if($this->canShowOptions()): ?>
|
45 |
+
<p class="block-subtitle block-subtitle--filter"><?php echo $this->__('Filter') ?></p>
|
46 |
+
<dl id="narrow-by-list">
|
47 |
+
<?php $_filters = $this->getFilters() ?>
|
48 |
+
<?php foreach ($_filters as $_filter): ?>
|
49 |
+
<?php if($_filter->getItemsCount()): ?>
|
50 |
+
<dt><?php echo $this->__($_filter->getName()) ?></dt>
|
51 |
+
<dd><?php echo $_filter->getHtml() ?></dd>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</dl>
|
55 |
+
<script type="text/javascript">decorateDataList('narrow-by-list')</script>
|
56 |
+
<?php endif; ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for MAP popup
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php if (Mage::helper('catalog')->isMsrpEnabled()): ?>
|
34 |
+
<div id="map-popup" class="map-popup" style="display:none;">
|
35 |
+
<a href="#" class="map-popup-close" id="map-popup-close">×</a>
|
36 |
+
<div class="map-popup-heading"><h3 id="map-popup-heading"></h3></div>
|
37 |
+
<div class="map-popup-content" id="map-popup-content">
|
38 |
+
<div class="map-popup-msrp" id="map-popup-msrp-box">
|
39 |
+
<span class="label"><?php echo $this->__('Price'); ?>:</span>
|
40 |
+
<span style="text-decoration:line-through;" id="map-popup-msrp"></span>
|
41 |
+
</div>
|
42 |
+
<div class="map-popup-price" id="map-popup-price-box">
|
43 |
+
<span class="label"><?php echo $this->__('Actual Price'); ?>:</span>
|
44 |
+
<span id="map-popup-price"></span>
|
45 |
+
</div>
|
46 |
+
<div class="map-popup-checkout">
|
47 |
+
<form action="" method="POST" id="product_addtocart_form_from_popup">
|
48 |
+
<input type="hidden" name="product" class="product_id" value="" id="map-popup-product-id" />
|
49 |
+
<div class="additional-addtocart-box">
|
50 |
+
<?php echo $this->getChildHtml(); ?>
|
51 |
+
</div>
|
52 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" id="map-popup-button"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
53 |
+
</form>
|
54 |
+
</div>
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
document.observe("dom:loaded", Catalog.Map.bindProductForm);
|
58 |
+
//]]>
|
59 |
+
</script>
|
60 |
+
</div>
|
61 |
+
<div class="map-popup-text" id="map-popup-text"><?php echo Mage::helper('catalog')->getMsrpExplanationMessage(); ?></div>
|
62 |
+
<div class="map-popup-text" id="map-popup-text-what-this"><?php echo Mage::helper('catalog')->getMsrpExplanationMessageWhatsThis(); ?></div>
|
63 |
+
</div>
|
64 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/navigation/left.phtml
ADDED
@@ -0,0 +1,63 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Category left navigation
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Navigation
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php if (!Mage::registry('current_category')) return ?>
|
34 |
+
<?php $_categories = $this->getCurrentChildCategories() ?>
|
35 |
+
<?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
|
36 |
+
<?php if($_count): ?>
|
37 |
+
<div class="block block-layered-nav block-layered-nav--no-filters">
|
38 |
+
<div class="block-title">
|
39 |
+
<strong><span><?php echo $this->__('Browse By') ?></span></strong>
|
40 |
+
</div>
|
41 |
+
<div class="block-content toggle-content open">
|
42 |
+
<p class="block-subtitle block-subtitle--filter"><?php echo $this->__('Filter') ?></p>
|
43 |
+
<dl id="narrow-by-list2">
|
44 |
+
<dt><?php echo $this->__('Category') ?></dt>
|
45 |
+
<dd>
|
46 |
+
<ol>
|
47 |
+
<?php foreach ($_categories as $_category): ?>
|
48 |
+
<?php if($_category->getIsActive()): ?>
|
49 |
+
<li>
|
50 |
+
<a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>>
|
51 |
+
<?php echo $this->escapeHtml($_category->getName()) ?>
|
52 |
+
<span class="count">(<?php echo $_category->getProductCount() ?>)</span>
|
53 |
+
</a>
|
54 |
+
</li>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php endforeach ?>
|
57 |
+
</ol>
|
58 |
+
</dd>
|
59 |
+
</dl>
|
60 |
+
<script type="text/javascript">decorateDataList('narrow-by-list2')</script>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml
ADDED
@@ -0,0 +1,172 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_List */
|
27 |
+
?>
|
28 |
+
<div class="page-title title-buttons">
|
29 |
+
<h1><?php echo $this->__('Compare Products') ?></h1>
|
30 |
+
<a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
|
31 |
+
</div>
|
32 |
+
<?php $_total=$this->getItems()->count() ?>
|
33 |
+
<?php if($_total): ?>
|
34 |
+
<table class="data-table compare-table" id="product_comparison">
|
35 |
+
<?php $_i=0 ?>
|
36 |
+
<?php foreach($this->getItems() as $_item): ?>
|
37 |
+
<?php if($_i++%10==0): ?>
|
38 |
+
<col width="1" />
|
39 |
+
<?php endif; ?>
|
40 |
+
<col width="<?php echo floor(100/$_total); ?>%" />
|
41 |
+
<?php endforeach; ?>
|
42 |
+
<?php if ($_total>2): ?>
|
43 |
+
<thead>
|
44 |
+
<tr>
|
45 |
+
<?php $_i=0 ?>
|
46 |
+
<?php foreach($this->getItems() as $_item): ?>
|
47 |
+
<?php if($_i++%10==0): ?>
|
48 |
+
<th> </th>
|
49 |
+
<?php endif; ?>
|
50 |
+
<td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</tr>
|
53 |
+
</thead>
|
54 |
+
<?php endif ?>
|
55 |
+
<tbody>
|
56 |
+
<tr class="product-shop-row top">
|
57 |
+
<?php $_i=0 ?>
|
58 |
+
<?php foreach($this->getItems() as $_item): ?>
|
59 |
+
<?php if($_i++%10==0): ?>
|
60 |
+
<th> </th>
|
61 |
+
<?php endif; ?>
|
62 |
+
<td>
|
63 |
+
<a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
|
64 |
+
<h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h2>
|
65 |
+
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
66 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
67 |
+
</td>
|
68 |
+
<?php endforeach; ?>
|
69 |
+
</tr>
|
70 |
+
<tr class="product-shop-row bottom">
|
71 |
+
<?php $_i=0 ?>
|
72 |
+
<?php foreach($this->getItems() as $_item): ?>
|
73 |
+
<?php if($_i++%10==0): ?>
|
74 |
+
<th> </th>
|
75 |
+
<?php endif; ?>
|
76 |
+
<td>
|
77 |
+
<?php if($_item->isSaleable()): ?>
|
78 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
79 |
+
<?php else: ?>
|
80 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
81 |
+
<?php endif; ?>
|
82 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
83 |
+
<ul class="add-to-links">
|
84 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
85 |
+
</ul>
|
86 |
+
<?php endif; ?>
|
87 |
+
</td>
|
88 |
+
<?php endforeach; ?>
|
89 |
+
</tr>
|
90 |
+
</tbody>
|
91 |
+
<tbody>
|
92 |
+
<?php foreach ($this->getAttributes() as $_attribute): ?>
|
93 |
+
<tr>
|
94 |
+
<?php $_i=0 ?>
|
95 |
+
<?php foreach($this->getItems() as $_item): ?>
|
96 |
+
<?php if($_i++%10==0): ?>
|
97 |
+
<th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
|
98 |
+
<?php endif; ?>
|
99 |
+
<td>
|
100 |
+
<?php switch ($_attribute->getAttributeCode()) {
|
101 |
+
case "price": ?>
|
102 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
|
103 |
+
<?php break;
|
104 |
+
case "small_image": ?>
|
105 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" />
|
106 |
+
<?php break;
|
107 |
+
case "date":
|
108 |
+
echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
|
109 |
+
break;
|
110 |
+
default: ?>
|
111 |
+
<div class="std">
|
112 |
+
<?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
|
113 |
+
</div>
|
114 |
+
<?php break;
|
115 |
+
} ?>
|
116 |
+
</td>
|
117 |
+
<?php endforeach; ?>
|
118 |
+
</tr>
|
119 |
+
<?php endforeach; ?>
|
120 |
+
</tbody>
|
121 |
+
<tbody>
|
122 |
+
<tr class="add-to-row">
|
123 |
+
<?php $_i=0 ?>
|
124 |
+
<?php foreach($this->getItems() as $_item): ?>
|
125 |
+
<?php if($_i++%10==0): ?>
|
126 |
+
<th> </th>
|
127 |
+
<?php endif; ?>
|
128 |
+
<td>
|
129 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
130 |
+
<?php if($_item->isSaleable()): ?>
|
131 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
132 |
+
<?php else: ?>
|
133 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
134 |
+
<?php endif; ?>
|
135 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
136 |
+
<ul class="add-to-links">
|
137 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item);?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
138 |
+
</ul>
|
139 |
+
<?php endif; ?>
|
140 |
+
</td>
|
141 |
+
<?php endforeach; ?>
|
142 |
+
</tr>
|
143 |
+
</tbody>
|
144 |
+
</table>
|
145 |
+
<div class="buttons-set">
|
146 |
+
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
147 |
+
<span class="please-wait" id="compare-list-please-wait" style="display:none;">
|
148 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
|
149 |
+
</span>
|
150 |
+
</div>
|
151 |
+
<script type="text/javascript">
|
152 |
+
decorateTable('product_comparison');
|
153 |
+
|
154 |
+
/**
|
155 |
+
* Send remove item request, after that reload windows
|
156 |
+
*/
|
157 |
+
function removeItem(url)
|
158 |
+
{
|
159 |
+
new Ajax.Request(url, {
|
160 |
+
parameters: {isAjax: 1, method: 'POST'},
|
161 |
+
onLoading: function(){$('compare-list-please-wait').show();},
|
162 |
+
onSuccess: function(transport) {
|
163 |
+
$('compare-list-please-wait').hide();
|
164 |
+
window.location.reload();
|
165 |
+
window.opener.location.reload();
|
166 |
+
}
|
167 |
+
});
|
168 |
+
}
|
169 |
+
</script>
|
170 |
+
<?php else: ?>
|
171 |
+
<script type="text/javascript">window.close();</script>
|
172 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/compare/sidebar.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
27 |
+
?>
|
28 |
+
<?php
|
29 |
+
$_helper = $this->helper('catalog/product_compare');
|
30 |
+
$_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
|
31 |
+
?>
|
32 |
+
<div class="block block-list block-compare">
|
33 |
+
<div class="block-title">
|
34 |
+
<strong><span><?php echo $this->__('Compare Products') ?>
|
35 |
+
<?php if($_helper->getItemCount() > 0): ?>
|
36 |
+
<small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
|
37 |
+
<?php endif; ?>
|
38 |
+
</span></strong>
|
39 |
+
</div>
|
40 |
+
<div class="block-content">
|
41 |
+
<?php if($_helper->getItemCount() > 0): ?>
|
42 |
+
<ol id="compare-items">
|
43 |
+
<?php foreach($_items as $_index => $_item): ?>
|
44 |
+
<li class="item">
|
45 |
+
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
46 |
+
<a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
47 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
|
48 |
+
</li>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</ol>
|
51 |
+
<script type="text/javascript">decorateList('compare-items')</script>
|
52 |
+
<div class="actions">
|
53 |
+
<button type="button" title="<?php echo $this->__('Compare') ?>" class="button" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
54 |
+
<a href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
|
55 |
+
</div>
|
56 |
+
<?php else: ?>
|
57 |
+
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
58 |
+
<?php endif; ?>
|
59 |
+
</div>
|
60 |
+
</div>
|
app/design/frontend/rwd/default/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,186 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
/* @var $this Mage_Catalog_Block_Product_List */
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_productCollection=$this->getLoadedProductCollection();
|
37 |
+
$_helper = $this->helper('catalog/output');
|
38 |
+
?>
|
39 |
+
<?php if(!$_productCollection->count()): ?>
|
40 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
41 |
+
<?php else: ?>
|
42 |
+
<div class="category-products">
|
43 |
+
<?php echo $this->getToolbarHtml() ?>
|
44 |
+
<?php // List mode ?>
|
45 |
+
<?php if($this->getMode()!='grid'): ?>
|
46 |
+
<?php $_iterator = 0; ?>
|
47 |
+
<ol class="products-list" id="products-list">
|
48 |
+
<?php foreach ($_productCollection as $_product): ?>
|
49 |
+
<li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
50 |
+
<?php // Product Image ?>
|
51 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
|
52 |
+
<?php /* Based on the native RWD styling, product images are displayed at a max of ~400px wide when viewed on a
|
53 |
+
one column page layout with four product columns from a 1280px viewport. For bandwidth reasons,
|
54 |
+
we are going to serve a 300px image, as it will look fine at 400px and most of the times, the image
|
55 |
+
will be displayed at a smaller size (eg, if two column are being used or viewport is smaller than 1280px).
|
56 |
+
This $_imgSize value could even be decreased further, based on the page layout
|
57 |
+
(one column, two column, three column) and number of product columns. */ ?>
|
58 |
+
<?php $_imgSize = 300; ?>
|
59 |
+
<img id="product-collection-image-<?php echo $_product->getId(); ?>"
|
60 |
+
src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->keepFrame(false)->resize($_imgSize); ?>"
|
61 |
+
alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
62 |
+
</a>
|
63 |
+
<?php // Product description ?>
|
64 |
+
<div class="product-shop">
|
65 |
+
<div class="f-fix">
|
66 |
+
<div class="product-primary">
|
67 |
+
<?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
|
68 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
|
69 |
+
<?php if($_product->getRatingSummary()): ?>
|
70 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
+
<?php
|
74 |
+
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
75 |
+
foreach($_nameAfterChildren as $_nameAfterChildName):
|
76 |
+
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
77 |
+
$_nameAfterChild->setProduct($_product);
|
78 |
+
?>
|
79 |
+
<?php echo $_nameAfterChild->toHtml(); ?>
|
80 |
+
<?php endforeach; ?>
|
81 |
+
</div>
|
82 |
+
<div class="product-secondary">
|
83 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
84 |
+
</div>
|
85 |
+
<div class="product-secondary">
|
86 |
+
<?php if($_product->isSaleable() && !$_product->canConfigure()): ?>
|
87 |
+
<p class="action"><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
88 |
+
<?php elseif($_product->isSaleable()): ?>
|
89 |
+
<p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
|
90 |
+
<?php else: ?>
|
91 |
+
<p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
92 |
+
<?php endif; ?>
|
93 |
+
<ul class="add-to-links">
|
94 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
95 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
96 |
+
<?php endif; ?>
|
97 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
98 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
99 |
+
<?php endif; ?>
|
100 |
+
</ul>
|
101 |
+
</div>
|
102 |
+
<div class="desc std">
|
103 |
+
<?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
|
104 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</li>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</ol>
|
111 |
+
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
|
112 |
+
|
113 |
+
<?php else: ?>
|
114 |
+
|
115 |
+
<?php // Grid Mode ?>
|
116 |
+
|
117 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
118 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
119 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
120 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
121 |
+
<?php /*if ($i++%$_columnCount==0): ?>
|
122 |
+
<?php endif*/ ?>
|
123 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
124 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
|
125 |
+
<?php $_imgSize = 210; ?>
|
126 |
+
<img id="product-collection-image-<?php echo $_product->getId(); ?>"
|
127 |
+
src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>"
|
128 |
+
alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
129 |
+
</a>
|
130 |
+
<div class="product-info">
|
131 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
132 |
+
|
133 |
+
<?php
|
134 |
+
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
135 |
+
foreach($_nameAfterChildren as $_nameAfterChildName):
|
136 |
+
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
137 |
+
$_nameAfterChild->setProduct($_product);
|
138 |
+
?>
|
139 |
+
<?php echo $_nameAfterChild->toHtml(); ?>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
|
142 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
143 |
+
<?php if($_product->getRatingSummary()): ?>
|
144 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
145 |
+
<?php endif; ?>
|
146 |
+
<div class="actions">
|
147 |
+
<?php if($_product->isSaleable() && !$_product->canConfigure()): ?>
|
148 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
149 |
+
<?php elseif($_product->isSaleable()): ?>
|
150 |
+
<a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
|
151 |
+
<?php else: ?>
|
152 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
153 |
+
<?php endif; ?>
|
154 |
+
<ul class="add-to-links">
|
155 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
156 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
157 |
+
<?php endif; ?>
|
158 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
159 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
160 |
+
<?php endif; ?>
|
161 |
+
</ul>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
</li>
|
165 |
+
<?php /*if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
166 |
+
<?php endif*/ ?>
|
167 |
+
<?php endforeach ?>
|
168 |
+
</ul>
|
169 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
170 |
+
<?php endif; ?>
|
171 |
+
|
172 |
+
<div class="toolbar-bottom">
|
173 |
+
<?php echo $this->getToolbarHtml() ?>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
<?php endif; ?>
|
177 |
+
|
178 |
+
<?php
|
179 |
+
//set product collection on after blocks
|
180 |
+
$_afterChildren = $this->getChild('after')->getSortedChildren();
|
181 |
+
foreach($_afterChildren as $_afterChildName):
|
182 |
+
$_afterChild = $this->getChild('after')->getChild($_afterChildName);
|
183 |
+
$_afterChild->setProductCollection($_productCollection);
|
184 |
+
?>
|
185 |
+
<?php echo $_afterChild->toHtml(); ?>
|
186 |
+
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/catalog/product/list/related.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getItems()->getSize()): ?>
|
28 |
+
<div class="block block-related">
|
29 |
+
<div class="block-title">
|
30 |
+
<h2><?php echo $this->__('Related Products') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="block-content">
|
33 |
+
<p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?> <a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
|
34 |
+
<ol class="mini-products-list" id="block-related">
|
35 |
+
<?php foreach($this->getItems() as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
|
38 |
+
<?php if (!$_item->getRequiredOptions()): ?>
|
39 |
+
<input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
<div class="product">
|
43 |
+
<a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75) ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" /></a>
|
44 |
+
<div class="product-details">
|
45 |
+
<p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></p>
|
46 |
+
<?php echo $this->getPriceHtml($_item, true, '-related') ?>
|
47 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
48 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
|
49 |
+
<?php endif; ?>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</li>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</ol>
|
55 |
+
<script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
|
56 |
+
</div>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
$$('.related-checkbox').each(function(elem){
|
60 |
+
Event.observe(elem, 'click', addRelatedToProduct)
|
61 |
+
});
|
62 |
+
|
63 |
+
var relatedProductsCheckFlag = false;
|
64 |
+
function selectAllRelated(txt){
|
65 |
+
if (relatedProductsCheckFlag == false) {
|
66 |
+
$$('.related-checkbox').each(function(elem){
|
67 |
+
elem.checked = true;
|
68 |
+
});
|
69 |
+
relatedProductsCheckFlag = true;
|
70 |
+
txt.innerHTML="<?php echo $this->__('unselect all') ?>";
|
71 |
+
} else {
|
72 |
+
$$('.related-checkbox').each(function(elem){
|
73 |
+
elem.checked = false;
|
74 |
+
});
|
75 |
+
relatedProductsCheckFlag = false;
|
76 |
+
txt.innerHTML="<?php echo $this->__('select all') ?>";
|
77 |
+
}
|
78 |
+
addRelatedToProduct();
|
79 |
+
}
|
80 |
+
|
81 |
+
function addRelatedToProduct(){
|
82 |
+
var checkboxes = $$('.related-checkbox');
|
83 |
+
var values = [];
|
84 |
+
for(var i=0;i<checkboxes.length;i++){
|
85 |
+
if(checkboxes[i].checked) values.push(checkboxes[i].value);
|
86 |
+
}
|
87 |
+
if($('related-products-field')){
|
88 |
+
$('related-products-field').value = values.join(',');
|
89 |
+
}
|
90 |
+
}
|
91 |
+
//]]>
|
92 |
+
</script>
|
93 |
+
</div>
|
94 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml
ADDED
@@ -0,0 +1,99 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list toolbar
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List_Toolbar
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getCollection()->getSize()): ?>
|
35 |
+
<div class="toolbar">
|
36 |
+
<?php if( $this->isExpanded() ): ?>
|
37 |
+
<div class="sorter">
|
38 |
+
<?php if( $this->isEnabledViewSwitcher() ): ?>
|
39 |
+
<p class="view-mode">
|
40 |
+
<?php $_modes = $this->getModes(); ?>
|
41 |
+
<?php if($_modes && count($_modes)>1): ?>
|
42 |
+
<label><?php echo $this->__('View as') ?></label>
|
43 |
+
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
44 |
+
<?php if($this->isModeActive($_code)): ?>
|
45 |
+
<strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>
|
46 |
+
<?php else: ?>
|
47 |
+
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</p>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<div class="sort-by">
|
55 |
+
<label><?php echo $this->__('Sort By') ?></label>
|
56 |
+
<select onchange="setLocation(this.value)" title="<?php echo $this->__('Sort By') ?>">
|
57 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
58 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
59 |
+
<?php echo $this->__($_order) ?>
|
60 |
+
</option>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</select>
|
63 |
+
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
64 |
+
<a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" class="sort-by-switcher sort-by-switcher--desc" title="<?php echo $this->__('Set Ascending Direction') ?>"><?php echo $this->__('Set Ascending Direction') ?></a>
|
65 |
+
<?php else: ?>
|
66 |
+
<a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" class="sort-by-switcher sort-by-switcher--asc" title="<?php echo $this->__('Set Descending Direction') ?>"><?php echo $this->__('Set Descending Direction') ?></a>
|
67 |
+
<?php endif; ?>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<?php endif; ?>
|
71 |
+
<div class="pager">
|
72 |
+
<div class="count-container">
|
73 |
+
<?php if($this->getLastPageNum()>1): ?>
|
74 |
+
<p class="amount amount--has-pages">
|
75 |
+
<?php echo $this->__('%s-%s of %s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
76 |
+
</p>
|
77 |
+
<?php else: ?>
|
78 |
+
<p class="amount amount--no-pages">
|
79 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
80 |
+
</p>
|
81 |
+
<?php endif; ?>
|
82 |
+
|
83 |
+
<div class="limiter">
|
84 |
+
<label><?php echo $this->__('Show') ?></label>
|
85 |
+
<select onchange="setLocation(this.value)" title="<?php echo $this->__('Results per page'); ?>">
|
86 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
87 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
88 |
+
<?php echo $_limit ?>
|
89 |
+
</option>
|
90 |
+
<?php endforeach; ?>
|
91 |
+
</select>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
<?php echo $this->getPagerHtml() ?>
|
96 |
+
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/catalog/product/list/upsell.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
29 |
+
<div class="box-collateral box-up-sell">
|
30 |
+
<h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
|
31 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col" id="upsell-product-table">
|
32 |
+
<?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
|
33 |
+
<?php $this->resetItemsIterator() ?>
|
34 |
+
<?php foreach ($this->getItemCollection()->getItems() as $_link): ?>
|
35 |
+
<?php /*for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
36 |
+
<tr>
|
37 |
+
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
38 |
+
<?php if($_link=$this->getIterableItem()): */ ?>
|
39 |
+
<li>
|
40 |
+
<a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>" class="product-image">
|
41 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(280) ?>" alt="<?php echo $this->escapeHtml($_link->getName()) ?>" />
|
42 |
+
</a>
|
43 |
+
<h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>"><?php echo $this->escapeHtml($_link->getName()) ?></a></h3>
|
44 |
+
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
45 |
+
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
46 |
+
</li>
|
47 |
+
<?php /*else: ?>
|
48 |
+
<td class="empty"> </td>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endfor; ?>
|
51 |
+
</tr>
|
52 |
+
<?php endfor; */?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</ul>
|
55 |
+
<?php /*
|
56 |
+
<script type="text/javascript">decorateGeneric($$('#upsell-product-table'), ['odd','even','first','last'])</script>
|
57 |
+
*/ ?>
|
58 |
+
</div>
|
59 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/catalog/product/new.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
|
29 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
30 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
31 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
32 |
+
<?php /*if ($i++%$_columnCount==0): ?>
|
33 |
+
<ul class="products-grid">
|
34 |
+
<?php endif*/ ?>
|
35 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
36 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
|
37 |
+
<?php $_imgSize = 260; ?>
|
38 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
39 |
+
</a>
|
40 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>"><?php echo $this->escapeHtml($_product->getName()) ?></a></h3>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
42 |
+
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
43 |
+
<div class="actions">
|
44 |
+
<?php if($_product->isSaleable()): ?>
|
45 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
48 |
+
<?php endif; ?>
|
49 |
+
<ul class="add-to-links">
|
50 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
51 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if ($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
54 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
55 |
+
<?php endif; ?>
|
56 |
+
</ul>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php /*if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
60 |
+
</ul>
|
61 |
+
<?php endif*/ ?>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
</ul>
|
64 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,191 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
* @see Mage_Review_Block_Product_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
35 |
+
<?php $_product = $this->getProduct(); ?>
|
36 |
+
<script type="text/javascript">
|
37 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
38 |
+
</script>
|
39 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
40 |
+
<div class="product-view">
|
41 |
+
<div class="product-essential">
|
42 |
+
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
43 |
+
<?php echo $this->getBlockHtml('formkey') ?>
|
44 |
+
<div class="no-display">
|
45 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
46 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
47 |
+
</div>
|
48 |
+
|
49 |
+
<div class="product-img-box">
|
50 |
+
<div class="product-name">
|
51 |
+
<h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
|
52 |
+
</div>
|
53 |
+
<?php echo $this->getChildHtml('media') ?>
|
54 |
+
</div>
|
55 |
+
|
56 |
+
<div class="product-shop">
|
57 |
+
<div class="product-name">
|
58 |
+
<span class="h1"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></span>
|
59 |
+
</div>
|
60 |
+
|
61 |
+
<div class="price-info">
|
62 |
+
<?php echo $this->getPriceHtml($_product); ?>
|
63 |
+
<?php echo $this->getChildHtml('bundle_prices') ?>
|
64 |
+
<?php echo $this->getTierPriceHtml() ?>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<div class="extra-info">
|
68 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'default', false)?>
|
69 |
+
<?php echo $this->getChildHtml('product_type_availability'); ?>
|
70 |
+
</div>
|
71 |
+
|
72 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
73 |
+
|
74 |
+
<?php if ($_product->getShortDescription()):?>
|
75 |
+
<div class="short-description">
|
76 |
+
<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
77 |
+
</div>
|
78 |
+
<?php endif;?>
|
79 |
+
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
<?php echo $this->getChildHtml('other');?>
|
84 |
+
|
85 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
86 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
87 |
+
<?php endif;?>
|
88 |
+
|
89 |
+
</div>
|
90 |
+
|
91 |
+
<div class="add-to-cart-wrapper">
|
92 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
93 |
+
<?php echo $this->getChildHtml('extrahint') ?>
|
94 |
+
|
95 |
+
<?php if (!$this->hasOptions()):?>
|
96 |
+
<div class="add-to-box">
|
97 |
+
<?php if($_product->isSaleable()): ?>
|
98 |
+
<?php echo $this->getChildHtml('addtocart') ?>
|
99 |
+
<?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
|
100 |
+
<span class="or"><?php echo $this->__('OR') ?></span>
|
101 |
+
<?php endif; ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php echo $this->getChildHtml('addto') ?>
|
104 |
+
<?php echo $this->getChildHtml('sharing') ?>
|
105 |
+
</div>
|
106 |
+
<?php echo $this->getChildHtml('extra_buttons') ?>
|
107 |
+
<?php elseif (!$_product->isSaleable()): ?>
|
108 |
+
<div class="add-to-box">
|
109 |
+
<?php echo $this->getChildHtml('addto') ?>
|
110 |
+
<?php echo $this->getChildHtml('sharing') ?>
|
111 |
+
</div>
|
112 |
+
<?php endif; ?>
|
113 |
+
</div>
|
114 |
+
|
115 |
+
<?php echo $this->getChildHtml('related_products') ?>
|
116 |
+
|
117 |
+
<div class="clearer"></div>
|
118 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
119 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
120 |
+
<?php endif;?>
|
121 |
+
</form>
|
122 |
+
<script type="text/javascript">
|
123 |
+
//<![CDATA[
|
124 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
125 |
+
productAddToCartForm.submit = function(button, url) {
|
126 |
+
if (this.validator.validate()) {
|
127 |
+
var form = this.form;
|
128 |
+
var oldUrl = form.action;
|
129 |
+
|
130 |
+
if (url) {
|
131 |
+
form.action = url;
|
132 |
+
}
|
133 |
+
var e = null;
|
134 |
+
try {
|
135 |
+
this.form.submit();
|
136 |
+
} catch (e) {
|
137 |
+
}
|
138 |
+
this.form.action = oldUrl;
|
139 |
+
if (e) {
|
140 |
+
throw e;
|
141 |
+
}
|
142 |
+
|
143 |
+
if (button && button != 'undefined') {
|
144 |
+
button.disabled = true;
|
145 |
+
}
|
146 |
+
}
|
147 |
+
}.bind(productAddToCartForm);
|
148 |
+
|
149 |
+
productAddToCartForm.submitLight = function(button, url){
|
150 |
+
if(this.validator) {
|
151 |
+
var nv = Validation.methods;
|
152 |
+
delete Validation.methods['required-entry'];
|
153 |
+
delete Validation.methods['validate-one-required'];
|
154 |
+
delete Validation.methods['validate-one-required-by-name'];
|
155 |
+
// Remove custom datetime validators
|
156 |
+
for (var methodName in Validation.methods) {
|
157 |
+
if (methodName.match(/^validate-datetime-.*/i)) {
|
158 |
+
delete Validation.methods[methodName];
|
159 |
+
}
|
160 |
+
}
|
161 |
+
|
162 |
+
if (this.validator.validate()) {
|
163 |
+
if (url) {
|
164 |
+
this.form.action = url;
|
165 |
+
}
|
166 |
+
this.form.submit();
|
167 |
+
}
|
168 |
+
Object.extend(Validation.methods, nv);
|
169 |
+
}
|
170 |
+
}.bind(productAddToCartForm);
|
171 |
+
//]]>
|
172 |
+
</script>
|
173 |
+
</div>
|
174 |
+
|
175 |
+
<div class="product-collateral toggle-content tabs">
|
176 |
+
<?php if ($detailedInfoGroup = $this->getChildGroup('detailed_info', 'getChildHtml')):?>
|
177 |
+
<dl id="collateral-tabs" class="collateral-tabs">
|
178 |
+
<?php foreach ($detailedInfoGroup as $alias => $html):?>
|
179 |
+
<dt class="tab"><span><?php echo $this->escapeHtml($this->getChildData($alias, 'title')) ?></span></dt>
|
180 |
+
<dd class="tab-container">
|
181 |
+
<div class="tab-content"><?php echo $html ?></div>
|
182 |
+
</dd>
|
183 |
+
<?php endforeach;?>
|
184 |
+
</dl>
|
185 |
+
<?php endif; ?>
|
186 |
+
</div>
|
187 |
+
|
188 |
+
<?php echo $this->getChildHtml('upsell_products') ?>
|
189 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
190 |
+
|
191 |
+
</div>
|
app/design/frontend/rwd/default/template/catalog/product/view/addto.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
|
30 |
+
|
31 |
+
<ul class="add-to-links">
|
32 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
33 |
+
<li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php
|
36 |
+
$_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product);
|
37 |
+
?>
|
38 |
+
<?php if($_compareUrl) : ?>
|
39 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
</ul>
|
43 |
+
|
app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_product = $this->getProduct(); ?>
|
28 |
+
<?php $buttonTitle = $this->__('Add to Cart'); ?>
|
29 |
+
<?php if($_product->isSaleable()): ?>
|
30 |
+
<div class="add-to-cart">
|
31 |
+
<?php if(!$_product->isGrouped()): ?>
|
32 |
+
<div class="qty-wrapper">
|
33 |
+
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
34 |
+
<input type="text" pattern="\d*" name="qty" id="qty" maxlength="12" value="<?php echo max($this->getProductDefaultQty() * 1, 1) ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
35 |
+
</div>
|
36 |
+
<?php endif; ?>
|
37 |
+
<div class="add-to-cart-buttons">
|
38 |
+
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
39 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/media.phtml
ADDED
@@ -0,0 +1,88 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product media data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
*/
|
32 |
+
|
33 |
+
/* @var $this Mage_Catalog_Block_Product_View_Media */
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_product = $this->getProduct();
|
37 |
+
$_helper = $this->helper('catalog/output');
|
38 |
+
?>
|
39 |
+
<div class="product-image product-image-zoom">
|
40 |
+
<div class="product-image-gallery">
|
41 |
+
<img id="image-main"
|
42 |
+
class="gallery-image visible"
|
43 |
+
src="<?php echo $this->helper('catalog/image')->init($_product, 'image') ?>"
|
44 |
+
alt="<?php echo $this->escapeHtml($this->getImageLabel()) ?>"
|
45 |
+
title="<?php echo $this->escapeHtml($this->getImageLabel()); ?>" />
|
46 |
+
|
47 |
+
<?php
|
48 |
+
$i=0;
|
49 |
+
foreach ($this->getGalleryImages() as $_image):
|
50 |
+
$_imageUrl = $this->helper('catalog/image')
|
51 |
+
->init($_product, 'image', $_image->getFile())
|
52 |
+
->keepFrame(false)
|
53 |
+
->constrainOnly(true)
|
54 |
+
->resize(1200);
|
55 |
+
?>
|
56 |
+
<img id="image-<?php echo $i; ?>"
|
57 |
+
class="gallery-image"
|
58 |
+
src="<?php echo $_imageUrl; ?>"
|
59 |
+
data-zoom-image="<?php echo $_imageUrl; ?>" />
|
60 |
+
<?php
|
61 |
+
$i++;
|
62 |
+
endforeach;
|
63 |
+
?>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<?php if (count($this->getGalleryImages()) > 0): ?>
|
68 |
+
<div class="more-views">
|
69 |
+
<h2><?php echo $this->__('More Views') ?></h2>
|
70 |
+
<ul class="product-image-thumbs">
|
71 |
+
<?php $i=0; foreach ($this->getGalleryImages() as $_image): ?>
|
72 |
+
<?php
|
73 |
+
if (($filterClass = $this->getGalleryFilterHelper()) && ($filterMethod = $this->getGalleryFilterMethod()) && !Mage::helper($filterClass)->$filterMethod($_product, $_image)):
|
74 |
+
continue;
|
75 |
+
endif;
|
76 |
+
?>
|
77 |
+
<li>
|
78 |
+
<a class="thumb-link" href="#" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>" data-image-index="<?php echo $i; ?>">
|
79 |
+
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(75); ?>"
|
80 |
+
width="75" height="75" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
|
81 |
+
</a>
|
82 |
+
</li>
|
83 |
+
<?php $i++; endforeach; ?>
|
84 |
+
</ul>
|
85 |
+
</div>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
<?php echo $this->getChildHtml('after'); ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
|
30 |
+
|
31 |
+
<ul class="sharing-links">
|
32 |
+
<?php if ($this->canEmailToFriend()): ?>
|
33 |
+
<li><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" class="link-email-friend" title="<?php echo $this->__('Email to a Friend') ?>"><?php echo $this->__('Email to a Friend') ?></a></li>
|
34 |
+
<?php endif; ?>
|
35 |
+
|
36 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
37 |
+
<?php $_productName = urlencode(trim($_helper->productAttribute($_product, $_product->getName(), 'name')))?>
|
38 |
+
<?php $_productImageUrl = urlencode(trim($this->helper('catalog/image')->init($_product, 'image')))?>
|
39 |
+
<?php $_productUrl = urlencode(trim($_product->getProductUrl()))?>
|
40 |
+
<li>
|
41 |
+
<?php $_u = 'p[url]=' . $_productUrl . '&p[images][0]=' . $_productImageUrl . '&p[title]=' . $_productName . '&p[summary]=' . urlencode(trim($_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description'))); ?>
|
42 |
+
<a href="<?php echo 'http://www.facebook.com/sharer.php?s=100&' . $_u; ?>" target="_blank" title="<?php echo $this->__('Share on Facebook') ?>" class="link-facebook">
|
43 |
+
<?php echo $this->__('Share Facebook') ?>
|
44 |
+
</a>
|
45 |
+
</li>
|
46 |
+
<li>
|
47 |
+
<a href="<?php echo 'http://twitter.com/home?status=' . $_productName . '+' . $_productUrl; ?>" target="_blank" title="<?php echo $this->__('Share on Twitter') ?>" class="link-twitter"><?php echo $this->__('Share on Twitter') ?></a>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
|
app/design/frontend/rwd/default/template/catalog/product/view/type/availability/default.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
$_product = $this->getProduct(); ?>
|
27 |
+
<?php if ($this->displayProductStockStatus()): ?>
|
28 |
+
<?php if ($_product->isAvailable()): ?>
|
29 |
+
<p class="availability in-stock">
|
30 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
31 |
+
<span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
|
32 |
+
</p>
|
33 |
+
<?php else: ?>
|
34 |
+
<p class="availability out-of-stock">
|
35 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
36 |
+
<span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
|
37 |
+
</p>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
$_product = $this->getProduct(); ?>
|
27 |
+
<?php $_associatedProducts = $this->getAssociatedProducts(); ?>
|
28 |
+
<?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
|
29 |
+
<?php if ($this->displayProductStockStatus()): ?>
|
30 |
+
<?php if ($_product->isAvailable() && $_hasAssociatedProducts): ?>
|
31 |
+
<p class="availability in-stock">
|
32 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
33 |
+
<span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
|
34 |
+
</p>
|
35 |
+
<?php else: ?>
|
36 |
+
<p class="availability out-of-stock">
|
37 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
38 |
+
<span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
|
39 |
+
</p>
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/default.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Catalog_Block_Product_View_Abstract */?>
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<?php echo $this->getChildHtml('product_type_data_extra') ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/grouped.phtml
ADDED
@@ -0,0 +1,90 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Grouped product data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
* @see Mage_Catalog_Block_Product_View_Type_Grouped
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $this->setPreconfiguredValue(); ?>
|
35 |
+
<?php $_product = $this->getProduct(); ?>
|
36 |
+
<?php $_associatedProducts = $this->getAssociatedProducts(); ?>
|
37 |
+
<?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
|
38 |
+
<?php echo $this->getChildHtml('product_type_data_extra') ?>
|
39 |
+
<div class="grouped-items-table-wrapper">
|
40 |
+
<table class="data-table grouped-items-table" id="super-product-table">
|
41 |
+
<col />
|
42 |
+
<col />
|
43 |
+
<col width="1" />
|
44 |
+
<tbody>
|
45 |
+
<?php if ($_hasAssociatedProducts): ?>
|
46 |
+
<?php foreach ($_associatedProducts as $_item): ?>
|
47 |
+
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
|
48 |
+
<tr>
|
49 |
+
<td class='image'>
|
50 |
+
<img class="thumbnail"
|
51 |
+
src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->constrainOnly(true)->resize(105, 80); ?>"
|
52 |
+
alt="<?php echo $this->escapeHtml($this->getImageLabel()) ?>"
|
53 |
+
title="<?php echo $this->escapeHtml($this->getImageLabel()); ?>" />
|
54 |
+
</td>
|
55 |
+
<td class="name">
|
56 |
+
<p class="name-wrapper">
|
57 |
+
<?php echo $this->escapeHtml($_item->getName()) ?>
|
58 |
+
</p>
|
59 |
+
<?php if ($_product->isSaleable()): ?>
|
60 |
+
<div class="qty-wrapper">
|
61 |
+
<?php if ($_item->isSaleable()) : ?>
|
62 |
+
<input id="super_group_<?php echo $_item->getId(); ?>" type="text" pattern="\d*" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
63 |
+
<label for="super_group_<?php echo $_item->getId(); ?>" class="qty-label">
|
64 |
+
<?php echo $this->__('Quantity'); ?>
|
65 |
+
</label>
|
66 |
+
<?php else: ?>
|
67 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
68 |
+
<?php endif; ?>
|
69 |
+
</div>
|
70 |
+
<?php endif; ?>
|
71 |
+
</td>
|
72 |
+
<?php if ($this->getCanShowProductPrice($_product)): ?>
|
73 |
+
<td class="a-right">
|
74 |
+
<?php if ($this->getCanShowProductPrice($_item)): ?>
|
75 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
76 |
+
<?php echo $this->getTierPriceHtml($_item) ?>
|
77 |
+
<?php endif; ?>
|
78 |
+
</td>
|
79 |
+
<?php endif; ?>
|
80 |
+
</tr>
|
81 |
+
<?php endforeach; ?>
|
82 |
+
<?php else: ?>
|
83 |
+
<tr>
|
84 |
+
<td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
|
85 |
+
</tr>
|
86 |
+
<?php endif; ?>
|
87 |
+
</tbody>
|
88 |
+
</table>
|
89 |
+
</div>
|
90 |
+
<script type="text/javascript">decorateTable('super-product-table')</script>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
$_product = $this->getProduct();
|
30 |
+
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
|
31 |
+
$_jsonConfig = $this->getJsonConfig();
|
32 |
+
$_renderers = $this->getChild('attr_renderers')->getSortedChildren();
|
33 |
+
?>
|
34 |
+
<?php if ($_product->isSaleable() && count($_attributes)):?>
|
35 |
+
<dl>
|
36 |
+
<?php foreach($_attributes as $_attribute): ?>
|
37 |
+
<?php
|
38 |
+
$_rendered = false;
|
39 |
+
foreach ($_renderers as $_rendererName):
|
40 |
+
$_renderer = $this->getChild('attr_renderers')->getChild($_rendererName);
|
41 |
+
if (method_exists($_renderer, 'shouldRender') && $_renderer->shouldRender($_product, $_attribute, $_jsonConfig)):
|
42 |
+
$_renderer->setProduct($_product);
|
43 |
+
$_renderer->setAttributeObj($_attribute);
|
44 |
+
echo $_renderer->toHtml();
|
45 |
+
$_rendered = true;
|
46 |
+
break;
|
47 |
+
endif;
|
48 |
+
endforeach;
|
49 |
+
|
50 |
+
if (!$_rendered):
|
51 |
+
?>
|
52 |
+
<dt><label class="required"><em>*</em><?php echo $_attribute->getLabel() ?></label></dt>
|
53 |
+
<dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
|
54 |
+
<div class="input-box">
|
55 |
+
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
|
56 |
+
<option><?php echo $this->__('Choose an Option...') ?></option>
|
57 |
+
</select>
|
58 |
+
</div>
|
59 |
+
</dd>
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</dl>
|
63 |
+
<script type="text/javascript">
|
64 |
+
var spConfig = new Product.Config(<?php echo $_jsonConfig ?>);
|
65 |
+
</script>
|
66 |
+
<?php echo $this->getChildHtml('after') ?>
|
67 |
+
<?php endif;?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="widget widget-new-products">
|
29 |
+
<div class="block block-products">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php echo $this->getPagerHtml() ?>
|
35 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
36 |
+
<ol class="mini-products-list" id="widget-new-products-<?php echo $suffix; ?>">
|
37 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
+
<li class="item">
|
39 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
40 |
+
<div class="product-details">
|
41 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
42 |
+
<?php /* Removing this functionality from RWD
|
43 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-'.$suffix) ?>
|
44 |
+
<?php if ($_product->getIsSalable()): ?>
|
45 |
+
<a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
48 |
+
<?php endif; ?>
|
49 |
+
*/ ?>
|
50 |
+
</div>
|
51 |
+
</li>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</ol>
|
54 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="widget widget-new-products">
|
29 |
+
<div class="block block-list">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php echo $this->getPagerHtml() ?>
|
35 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
36 |
+
<ol class="mini-products-images-list" id="widget-new-products-<?php echo $suffix; ?>">
|
37 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
+
<li class="item">
|
39 |
+
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
|
40 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
41 |
+
</li>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</ol>
|
44 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="widget widget-new-products">
|
29 |
+
<div class="block block-list">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php echo $this->getPagerHtml() ?>
|
35 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
36 |
+
<ol id="widget-new-products-<?php echo $suffix; ?>">
|
37 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
+
<li class="item">
|
39 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
40 |
+
</li>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</ol>
|
43 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_grid.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="widget widget-new-products">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('New Products') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<?php echo $this->getPagerHtml() ?>
|
34 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
35 |
+
<?php $i=0; ?>
|
36 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
37 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
39 |
+
<?php $_imgSize = 210; ?>
|
40 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
|
41 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
|
42 |
+
</a>
|
43 |
+
<div class="product-info">
|
44 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
45 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
|
46 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
47 |
+
<div class="actions">
|
48 |
+
<?php if ($_product->isSaleable()): ?>
|
49 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
50 |
+
<?php else: ?>
|
51 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
52 |
+
<?php endif; ?>
|
53 |
+
<ul class="add-to-links">
|
54 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
55 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
58 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
59 |
+
<?php endif; ?>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
</li>
|
64 |
+
<?php endforeach; ?>
|
65 |
+
</ul>
|
66 |
+
</div>
|
67 |
+
</div>
|
68 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<div class="widget widget-new-products">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('New Products') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<?php echo $this->getPagerHtml() ?>
|
34 |
+
<ol class="mini-products-list">
|
35 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
36 |
+
<li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
|
37 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
38 |
+
<div class="product-details">
|
39 |
+
<div class="f-fix">
|
40 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
41 |
+
<?php /* Removing this functionality from RWD
|
42 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
43 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
|
44 |
+
<?php if ($_product->isSaleable()): ?>
|
45 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
48 |
+
<?php endif; ?>
|
49 |
+
<ul class="add-to-links">
|
50 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
51 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
54 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
55 |
+
<?php endif; ?>
|
56 |
+
</ul>
|
57 |
+
*/ ?>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</ol>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/cataloginventory/stockqty/composite.phtml
ADDED
@@ -0,0 +1,66 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @see Mage_CatalogInventory_Block_Stockqty_Composite
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if($this->isMsgVisible()): ?>
|
32 |
+
<p class="availability-only">
|
33 |
+
<a href="#" id="<?php echo $this->getPlaceholderId() ?>" title="<?php echo $this->__('Only %s left', ($this->getStockQty())) ?>"><?php echo $this->__('Only %s left', "<strong>{$this->getStockQty()}</strong>") ?></a>
|
34 |
+
</p>
|
35 |
+
<table id="<?php echo $this->getDetailsPlaceholderId() ?>" class="availability-only-details no-display data-table">
|
36 |
+
<col />
|
37 |
+
<col width="1" />
|
38 |
+
<thead>
|
39 |
+
<tr>
|
40 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
41 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
42 |
+
</tr>
|
43 |
+
</thead>
|
44 |
+
<tbody>
|
45 |
+
<?php foreach ($this->getChildProducts() as $childProduct) : ?>
|
46 |
+
<?php $childProductStockQty = $this->getProductStockQty($childProduct); ?>
|
47 |
+
<?php if ($childProductStockQty > 0) : ?>
|
48 |
+
<tr>
|
49 |
+
<td><?php echo $childProduct->getName() ?></td>
|
50 |
+
<td class="a-center"><?php echo $childProductStockQty ?></td>
|
51 |
+
</tr>
|
52 |
+
<?php endif ?>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</tbody>
|
55 |
+
</table>
|
56 |
+
<script type="text/javascript">
|
57 |
+
//<![CDATA[
|
58 |
+
$('<?php echo $this->getPlaceholderId() ?>').observe('click', function(event){
|
59 |
+
this.toggleClassName('expanded');
|
60 |
+
$('<?php echo $this->getDetailsPlaceholderId() ?>').toggleClassName('no-display');
|
61 |
+
event.stop();
|
62 |
+
decorateTable('<?php echo $this->getDetailsPlaceholderId() ?>');
|
63 |
+
});
|
64 |
+
//]]>
|
65 |
+
</script>
|
66 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/catalogsearch/advanced/form.phtml
ADDED
@@ -0,0 +1,96 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Catalog advanced search form
|
30 |
+
*
|
31 |
+
* @see Mage_CatalogSearch_Block_Advanced_Form
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $maxQueryLength= $this->helper('catalogsearch')->getMaxQueryLength();?>
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
|
40 |
+
<div class="fieldset advanced-search">
|
41 |
+
<h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
|
42 |
+
<ul class="form-list" id="advanced-search-list">
|
43 |
+
<?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
|
44 |
+
<?php $_code = $_attribute->getAttributeCode() ?>
|
45 |
+
<li>
|
46 |
+
<label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label>
|
47 |
+
<?php switch($this->getAttributeInputType($_attribute)):
|
48 |
+
case 'number': ?>
|
49 |
+
<div class="input-range">
|
50 |
+
<input type="text" pattern="\d*" name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
|
51 |
+
<span class="separator">-</span>
|
52 |
+
<input type="text" pattern="\d*" name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
|
53 |
+
</div>
|
54 |
+
<?php break;
|
55 |
+
case 'price': ?>
|
56 |
+
<div class="input-range">
|
57 |
+
<input name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" pattern="\d*" maxlength="<?php echo $maxQueryLength;?>" />
|
58 |
+
<span class="separator">-</span>
|
59 |
+
<input name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" pattern="\d*" maxlength="<?php echo $maxQueryLength;?>" />
|
60 |
+
<small>(<?php echo $this->getCurrency($_attribute); ?>)</small>
|
61 |
+
</div>
|
62 |
+
<?php break;
|
63 |
+
case 'select': ?>
|
64 |
+
<div class="input-box">
|
65 |
+
<?php echo $this->getAttributeSelectElement($_attribute) ?>
|
66 |
+
</div>
|
67 |
+
<?php break;
|
68 |
+
case 'yesno': ?>
|
69 |
+
<?php echo $this->getAttributeYesNoElement($_attribute) ?>
|
70 |
+
<?php break;
|
71 |
+
case 'date': ?>
|
72 |
+
<div class="input-range">
|
73 |
+
<?php echo $this->getDateInput($_attribute, 'from') ?>
|
74 |
+
<span class="separator">-</span>
|
75 |
+
<?php echo $this->getDateInput($_attribute, 'to') ?>
|
76 |
+
</div>
|
77 |
+
<?php break;
|
78 |
+
default: ?>
|
79 |
+
<div class="input-box">
|
80 |
+
<input type="text" name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" maxlength="<?php echo $maxQueryLength;?>" />
|
81 |
+
</div>
|
82 |
+
<?php endswitch; ?>
|
83 |
+
</li>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</ul>
|
86 |
+
<script type="text/javascript">decorateList('advanced-search-list')</script>
|
87 |
+
</div>
|
88 |
+
<div class="buttons-set">
|
89 |
+
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
90 |
+
</div>
|
91 |
+
</form>
|
92 |
+
<script type="text/javascript">
|
93 |
+
//<![CDATA[
|
94 |
+
var dataForm = new VarienForm('form-validate', true);
|
95 |
+
//]]>
|
96 |
+
</script>
|
app/design/frontend/rwd/default/template/catalogsearch/form.mini.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Core_Block_Template */
|
27 |
+
/* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
|
28 |
+
$catalogSearchHelper = $this->helper('catalogsearch');
|
29 |
+
?>
|
30 |
+
|
31 |
+
<form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
|
32 |
+
<div class="input-box">
|
33 |
+
<label for="search"><?php echo $this->__('Search:') ?></label>
|
34 |
+
<input id="search" type="search" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text required-entry" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" placeholder="<?php echo $this->__('Search entire store here...') ?>" />
|
35 |
+
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button search-button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div id="search_autocomplete" class="search-autocomplete"></div>
|
39 |
+
<script type="text/javascript">
|
40 |
+
//<![CDATA[
|
41 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
|
42 |
+
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
43 |
+
//]]>
|
44 |
+
</script>
|
45 |
+
</form>
|
app/design/frontend/rwd/default/template/catalogsearch/result.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getResultCount()): ?>
|
28 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
29 |
+
<div class="page-title">
|
30 |
+
<?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
|
31 |
+
<a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
|
32 |
+
<?php endif; ?>
|
33 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
34 |
+
</div>
|
35 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
36 |
+
<p class="note-msg">
|
37 |
+
<?php foreach ($messages as $message):?>
|
38 |
+
<?php echo $message?><br />
|
39 |
+
<?php endforeach;?>
|
40 |
+
</p>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php echo $this->getProductListHtml() ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="page-title">
|
45 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
46 |
+
</div>
|
47 |
+
<p class="note-msg">
|
48 |
+
<?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
|
49 |
+
<?php echo $this->getAdditionalHtml() ?>
|
50 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
51 |
+
<?php foreach ($messages as $message):?>
|
52 |
+
<br /><?php echo $message?>
|
53 |
+
<?php endforeach;?>
|
54 |
+
<?php endif; ?>
|
55 |
+
</p>
|
56 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/centinel/authentication/start.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<form name="validation_form" id="validation_form" action="<?php echo $this->getAcsUrl();?>" method="post">
|
28 |
+
<div class="fieldset">
|
29 |
+
<input type="hidden" name="PaReq" value="<?php echo $this->getPaReq()?>" />
|
30 |
+
<input type="hidden" name="TermUrl" value="<?php echo $this->getTermUrl()?>" />
|
31 |
+
<input type="hidden" name="MD" value="<?php echo $this->getMd()?>" />
|
32 |
+
</div>
|
33 |
+
</form>
|
34 |
+
<script type="text/javascript">
|
35 |
+
//<![CDATA[
|
36 |
+
window.onload = function(){
|
37 |
+
document.getElementById('validation_form').submit();
|
38 |
+
};
|
39 |
+
//]]>
|
40 |
+
</script>
|
app/design/frontend/rwd/default/template/checkout/cart.phtml
ADDED
@@ -0,0 +1,177 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Shopping cart template
|
30 |
+
*
|
31 |
+
* @var $this Mage_Checkout_Block_Cart
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_priceDisplay = ($this->helper('tax')->displayCartBothPrices()) ? 'display-both-prices' : 'display-single-price'; ?>
|
35 |
+
<div class="cart <?php echo $_priceDisplay; ?>">
|
36 |
+
<div class="page-title title-buttons">
|
37 |
+
<h1><?php echo $this->__('Shopping Cart') ?></h1>
|
38 |
+
<?php if(!$this->hasError()): ?>
|
39 |
+
<ul class="checkout-types top">
|
40 |
+
<?php foreach ($this->getMethods('top_methods') as $method): ?>
|
41 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
42 |
+
<li><?php echo $methodHtml; ?></li>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php endforeach; ?>
|
45 |
+
</ul>
|
46 |
+
<?php endif; ?>
|
47 |
+
</div>
|
48 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
49 |
+
<?php echo $this->getChildHtml('form_before') ?>
|
50 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
51 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
52 |
+
<table id="shopping-cart-table" class="cart-table data-table">
|
53 |
+
<col width="1" />
|
54 |
+
<col width="1" />
|
55 |
+
<col width="1" />
|
56 |
+
<col width="1" />
|
57 |
+
<col width="1" />
|
58 |
+
<col width="1" />
|
59 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<col width="1" />
|
61 |
+
<col width="1" />
|
62 |
+
<?php endif; ?>
|
63 |
+
|
64 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
65 |
+
<thead>
|
66 |
+
<tr>
|
67 |
+
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product') ?></span></th>
|
68 |
+
|
69 |
+
<th rowspan="<?php echo $mergedCells; ?>"> </th>
|
70 |
+
|
71 |
+
<th class="a-center cart-price-head" colspan="<?php echo $mergedCells; ?>">
|
72 |
+
<!-- <div class="cart-price-placeholder">-->
|
73 |
+
<span class="nobr"><?php echo $this->__('Price') ?></span>
|
74 |
+
<!-- </div>-->
|
75 |
+
</th>
|
76 |
+
|
77 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center">
|
78 |
+
<?php echo $this->__('Qty') ?>
|
79 |
+
|
80 |
+
<?php /*if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
81 |
+
<span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span>
|
82 |
+
<?php endif*/ ?>
|
83 |
+
|
84 |
+
</th>
|
85 |
+
|
86 |
+
<th class="a-center cart-total-head" colspan="<?php echo $mergedCells; ?>">
|
87 |
+
<!-- <div class="cart-total-placeholder">-->
|
88 |
+
<?php echo $this->__('Subtotal') ?>
|
89 |
+
<!-- </div>-->
|
90 |
+
</th>
|
91 |
+
|
92 |
+
<th class="a-center" rowspan="<?php echo $mergedCells; ?>"> </th>
|
93 |
+
|
94 |
+
</tr>
|
95 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
96 |
+
<tr>
|
97 |
+
<th class="a-center cart-price-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
98 |
+
<th class="a-center cart-price-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
99 |
+
<th class="a-center cart-total-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
100 |
+
<th class="a-center cart-total-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
101 |
+
</tr>
|
102 |
+
<?php endif; ?>
|
103 |
+
</thead>
|
104 |
+
<tfoot>
|
105 |
+
<tr>
|
106 |
+
<td colspan="50" class="a-right cart-footer-actions">
|
107 |
+
|
108 |
+
<!-- Make this button the first responder rather than empty cart -->
|
109 |
+
<button type="submit" style="visibility:hidden;" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
|
110 |
+
|
111 |
+
<button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Empty Cart'); ?>" class="button2 btn-empty" id="empty_cart_button"><span><span><?php echo $this->__('Empty Cart'); ?></span></span></button>
|
112 |
+
|
113 |
+
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
|
114 |
+
|
115 |
+
<span class="or">-or-</span>
|
116 |
+
|
117 |
+
<?php if($this->getContinueShoppingUrl()): ?>
|
118 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button2 btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
119 |
+
<?php endif; ?>
|
120 |
+
<!--[if lt IE 8]>
|
121 |
+
<input type="hidden" id="update_cart_action_container" />
|
122 |
+
<script type="text/javascript">
|
123 |
+
//<![CDATA[
|
124 |
+
Event.observe(window, 'load', function()
|
125 |
+
{
|
126 |
+
// Internet Explorer (lt 8) does not support value attribute in button elements
|
127 |
+
$emptyCartButton = $('empty_cart_button');
|
128 |
+
$cartActionContainer = $('update_cart_action_container');
|
129 |
+
if ($emptyCartButton && $cartActionContainer) {
|
130 |
+
Event.observe($emptyCartButton, 'click', function()
|
131 |
+
{
|
132 |
+
$emptyCartButton.setAttribute('name', 'update_cart_action_temp');
|
133 |
+
$cartActionContainer.setAttribute('name', 'update_cart_action');
|
134 |
+
$cartActionContainer.setValue('empty_cart');
|
135 |
+
});
|
136 |
+
}
|
137 |
+
|
138 |
+
});
|
139 |
+
//]]>
|
140 |
+
</script>
|
141 |
+
<![endif]-->
|
142 |
+
</td>
|
143 |
+
</tr>
|
144 |
+
</tfoot>
|
145 |
+
<tbody>
|
146 |
+
<?php foreach($this->getItems() as $_item): ?>
|
147 |
+
<?php echo $this->getItemHtml($_item) ?>
|
148 |
+
<?php endforeach ?>
|
149 |
+
</tbody>
|
150 |
+
</table>
|
151 |
+
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
152 |
+
</form>
|
153 |
+
|
154 |
+
<?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
|
155 |
+
<div class="cart-forms">
|
156 |
+
<?php /* Extensions placeholder */ ?>
|
157 |
+
<?php echo $this->getChildHtml('checkout_cart_widget') ?>
|
158 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
159 |
+
<?php echo $this->getChildHtml('checkout.cart.extra') ?>
|
160 |
+
<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
|
161 |
+
</div>
|
162 |
+
<div class="cart-totals-wrapper">
|
163 |
+
<div class="cart-totals">
|
164 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
165 |
+
<?php if(!$this->hasError()): ?>
|
166 |
+
<ul class="checkout-types bottom">
|
167 |
+
<?php foreach ($this->getMethods('methods') as $method): ?>
|
168 |
+
<?php if ($methodHtml = $this->getMethodHtml($method)): ?>
|
169 |
+
<li class="method-<?php echo preg_replace("/[^_a-zA-Z0-9-]/", '-', $method); ?>"><?php echo $methodHtml; ?></li>
|
170 |
+
<?php endif; ?>
|
171 |
+
<?php endforeach; ?>
|
172 |
+
</ul>
|
173 |
+
<?php endif; ?>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
<?php echo $this->getChildHtml('crosssell') ?>
|
177 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/cart/coupon.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
|
28 |
+
<div class="discount">
|
29 |
+
<h2><?php echo $this->__('Discount Codes') ?></h2>
|
30 |
+
<div class="discount-form">
|
31 |
+
<label for="coupon_code"><?php echo $this->__('Discount Codes') ?></label>
|
32 |
+
<input type="hidden" name="remove" id="remove-coupone" value="0" />
|
33 |
+
<div class="field-wrapper">
|
34 |
+
<input class="input-text" type="text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
|
35 |
+
<div class="button-wrapper">
|
36 |
+
<button type="button" title="<?php echo $this->__('Apply') ?>" class="button2" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply') ?>"><span><span><?php echo $this->__('Apply') ?></span></span></button>
|
37 |
+
<?php if(strlen($this->getCouponCode())): ?>
|
38 |
+
<button type="button" title="<?php echo $this->__('Cancel') ?>" class="button2 cancel-coupon" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel') ?>"><span><span><?php echo $this->__('Cancel') ?></span></span>
|
39 |
+
</button>
|
40 |
+
<?php endif;?>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</form>
|
46 |
+
<script type="text/javascript">
|
47 |
+
//<![CDATA[
|
48 |
+
var discountForm = new VarienForm('discount-coupon-form');
|
49 |
+
discountForm.submit = function (isRemove) {
|
50 |
+
if (isRemove) {
|
51 |
+
$('coupon_code').removeClassName('required-entry');
|
52 |
+
$('remove-coupone').value = "1";
|
53 |
+
} else {
|
54 |
+
$('coupon_code').addClassName('required-entry');
|
55 |
+
$('remove-coupone').value = "0";
|
56 |
+
}
|
57 |
+
return VarienForm.prototype.submit.bind(discountForm)();
|
58 |
+
}
|
59 |
+
//]]>
|
60 |
+
</script>
|
app/design/frontend/rwd/default/template/checkout/cart/crosssell.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Cart cross sell items template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Crosssell
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getItemCount()): ?>
|
35 |
+
<div class="crosssell">
|
36 |
+
<h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
|
37 |
+
<ul id="crosssell-products-list" class="products-grid products-grid--max-3-col">
|
38 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
39 |
+
<li class="item">
|
40 |
+
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>">
|
41 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(210); ?>" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" />
|
42 |
+
</a>
|
43 |
+
<div class="product-details">
|
44 |
+
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
45 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
46 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
47 |
+
<ul class="add-to-links">
|
48 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
49 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
|
52 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
53 |
+
<?php endif; ?>
|
54 |
+
</ul>
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</ul>
|
59 |
+
<?php // <script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script> ?>
|
60 |
+
</div>
|
61 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $buttonTitle = $this->__('Update Cart'); ?>
|
30 |
+
<?php if ($_product->isSaleable()): ?>
|
31 |
+
<div class="add-to-cart">
|
32 |
+
<?php if (!$_product->isGrouped()): ?>
|
33 |
+
<div class="qty-wrapper">
|
34 |
+
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
35 |
+
<input type="text" pattern="\d*" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
36 |
+
</div>
|
37 |
+
<?php endif; ?>
|
38 |
+
<div class="add-to-cart-buttons">
|
39 |
+
<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
|
40 |
+
<?php echo $this->getChildHtml('', true, true) ?>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,330 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
?>
|
32 |
+
<tr>
|
33 |
+
<td class="product-cart-image">
|
34 |
+
<?php if ($this->hasProductUrl()):?>
|
35 |
+
<a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image">
|
36 |
+
<?php endif;?>
|
37 |
+
<img src="<?php echo $this->getProductThumbnail()->resize(180); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
|
38 |
+
<?php if ($this->hasProductUrl()):?>
|
39 |
+
</a>
|
40 |
+
<?php endif;?>
|
41 |
+
|
42 |
+
<ul class="cart-links">
|
43 |
+
<?php if ($isVisibleProduct): ?>
|
44 |
+
<li>
|
45 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
46 |
+
</li>
|
47 |
+
<?php endif ?>
|
48 |
+
|
49 |
+
<?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
|
50 |
+
<li>
|
51 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
|
52 |
+
</li>
|
53 |
+
<?php endif ?>
|
54 |
+
</ul>
|
55 |
+
</td>
|
56 |
+
|
57 |
+
<td class="product-cart-info">
|
58 |
+
|
59 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
|
60 |
+
|
61 |
+
<h2 class="product-name">
|
62 |
+
<?php if ($this->hasProductUrl()):?>
|
63 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
|
64 |
+
<?php else: ?>
|
65 |
+
<?php echo $this->escapeHtml($this->getProductName()) ?>
|
66 |
+
<?php endif; ?>
|
67 |
+
</h2>
|
68 |
+
|
69 |
+
<div class="product-cart-sku">
|
70 |
+
<span class="label"><?php echo $this->__('SKU'); ?>:</span> <?php echo $this->escapeHtml($_item->getSku()); ?>
|
71 |
+
</div>
|
72 |
+
|
73 |
+
<?php if ($_options = $this->getOptionList()):?>
|
74 |
+
<dl class="item-options">
|
75 |
+
<?php foreach ($_options as $_option) : ?>
|
76 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
77 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
78 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
79 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
80 |
+
<div class="truncated_full_value">
|
81 |
+
<dl class="item-options">
|
82 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
83 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
84 |
+
</dl>
|
85 |
+
</div>
|
86 |
+
<?php endif; ?>
|
87 |
+
</dd>
|
88 |
+
<?php endforeach; ?>
|
89 |
+
</dl>
|
90 |
+
<?php endif;?>
|
91 |
+
|
92 |
+
<?php if ($messages = $this->getMessages()): ?>
|
93 |
+
<?php foreach ($messages as $message): ?>
|
94 |
+
<p class="item-msg <?php echo $message['type'] ?>">
|
95 |
+
* <?php echo $this->escapeHtml($message['text']) ?>
|
96 |
+
</p>
|
97 |
+
<?php endforeach; ?>
|
98 |
+
<?php endif; ?>
|
99 |
+
|
100 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
101 |
+
<?php if ($addInfoBlock): ?>
|
102 |
+
<?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
|
103 |
+
<?php endif;?>
|
104 |
+
|
105 |
+
</td>
|
106 |
+
|
107 |
+
<?php if ($canApplyMsrp): ?>
|
108 |
+
<td class="a-center product-cart-price"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
|
109 |
+
<span class="cart-price">
|
110 |
+
<span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
111 |
+
<?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
|
112 |
+
<a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
113 |
+
|
114 |
+
<script type="text/javascript">
|
115 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
116 |
+
</script>
|
117 |
+
|
118 |
+
</span>
|
119 |
+
</td>
|
120 |
+
<?php else: ?>
|
121 |
+
|
122 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
123 |
+
<td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Excl. Tax'); ?>">
|
124 |
+
|
125 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
126 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
127 |
+
<?php else: ?>
|
128 |
+
<span class="cart-price">
|
129 |
+
<?php endif; ?>
|
130 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
132 |
+
<?php else: ?>
|
133 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
134 |
+
<?php endif; ?>
|
135 |
+
|
136 |
+
</span>
|
137 |
+
|
138 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
139 |
+
|
140 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
143 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
144 |
+
<?php endforeach; ?>
|
145 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
146 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
147 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
148 |
+
<?php endforeach; ?>
|
149 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
151 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
152 |
+
<?php endforeach; ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
</div>
|
155 |
+
|
156 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
157 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
158 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
159 |
+
</div>
|
160 |
+
<?php endif; ?>
|
161 |
+
<?php endif; ?>
|
162 |
+
</td>
|
163 |
+
<?php endif; ?><!-- inclusive price starts here -->
|
164 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
165 |
+
<td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Incl. Tax'); ?>">
|
166 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
167 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
168 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
169 |
+
<?php else: ?>
|
170 |
+
<span class="cart-price">
|
171 |
+
<?php endif; ?>
|
172 |
+
|
173 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
174 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
175 |
+
<?php else: ?>
|
176 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
177 |
+
<?php endif; ?>
|
178 |
+
|
179 |
+
</span>
|
180 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
181 |
+
|
182 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
183 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
184 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
185 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
186 |
+
<?php endforeach; ?>
|
187 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
188 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
189 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
190 |
+
<?php endforeach; ?>
|
191 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
192 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
193 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
194 |
+
<?php endforeach; ?>
|
195 |
+
<?php endif; ?>
|
196 |
+
</div>
|
197 |
+
|
198 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
199 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
200 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
201 |
+
</div>
|
202 |
+
<?php endif; ?>
|
203 |
+
<?php endif; ?>
|
204 |
+
</td>
|
205 |
+
<?php endif; ?>
|
206 |
+
<?php endif; ?>
|
207 |
+
<td class="product-cart-actions" data-rwd-label="<?php echo $this->__('Qty'); ?>">
|
208 |
+
<input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
209 |
+
|
210 |
+
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update'); ?></span></span>
|
211 |
+
</button>
|
212 |
+
|
213 |
+
<ul class="cart-links">
|
214 |
+
<?php if ($isVisibleProduct): ?>
|
215 |
+
<li>
|
216 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
217 |
+
</li>
|
218 |
+
<?php endif ?>
|
219 |
+
|
220 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
221 |
+
<li>
|
222 |
+
<?php if ($isVisibleProduct): ?>
|
223 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
|
224 |
+
<?php endif ?>
|
225 |
+
</li>
|
226 |
+
<?php endif ?>
|
227 |
+
</ul>
|
228 |
+
|
229 |
+
</td>
|
230 |
+
|
231 |
+
<!--Sub total starts here -->
|
232 |
+
<?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
233 |
+
<td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
|
234 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
235 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
236 |
+
<?php else: ?>
|
237 |
+
<span class="cart-price">
|
238 |
+
<?php endif; ?>
|
239 |
+
|
240 |
+
<?php if ($canApplyMsrp): ?>
|
241 |
+
<span class="cart-msrp-subtotal">--</span>
|
242 |
+
<?php else: ?>
|
243 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
244 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
245 |
+
<?php else: ?>
|
246 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
247 |
+
<?php endif; ?>
|
248 |
+
<?php endif; ?>
|
249 |
+
|
250 |
+
</span>
|
251 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
252 |
+
|
253 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
254 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
255 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
256 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
257 |
+
<?php endforeach; ?>
|
258 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
259 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
260 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
261 |
+
<?php endforeach; ?>
|
262 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
263 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
264 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
265 |
+
<?php endforeach; ?>
|
266 |
+
<?php endif; ?>
|
267 |
+
</div>
|
268 |
+
|
269 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
270 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
271 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
272 |
+
</div>
|
273 |
+
<?php endif; ?>
|
274 |
+
<?php endif; ?>
|
275 |
+
</td>
|
276 |
+
<?php endif; ?>
|
277 |
+
<?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
278 |
+
<td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
|
279 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
280 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
281 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
282 |
+
<?php else: ?>
|
283 |
+
<span class="cart-price">
|
284 |
+
<?php endif; ?>
|
285 |
+
|
286 |
+
<?php if ($canApplyMsrp): ?>
|
287 |
+
<span class="cart-msrp-subtotal">--</span>
|
288 |
+
<?php else: ?>
|
289 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
290 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
291 |
+
<?php else: ?>
|
292 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
293 |
+
<?php endif; ?>
|
294 |
+
<?php endif; ?>
|
295 |
+
|
296 |
+
</span>
|
297 |
+
|
298 |
+
|
299 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
300 |
+
|
301 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
302 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
303 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
304 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
305 |
+
<?php endforeach; ?>
|
306 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
307 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
308 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
309 |
+
<?php endforeach; ?>
|
310 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
311 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
312 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
313 |
+
<?php endforeach; ?>
|
314 |
+
<?php endif; ?>
|
315 |
+
</div>
|
316 |
+
|
317 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
318 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
319 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
320 |
+
</div>
|
321 |
+
<?php endif; ?>
|
322 |
+
<?php endif; ?>
|
323 |
+
</td>
|
324 |
+
<?php endif; ?>
|
325 |
+
<td class="a-center product-cart-remove">
|
326 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
|
327 |
+
</td>
|
328 |
+
</tr>
|
329 |
+
|
330 |
+
|
app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shoping cart sidebar
|
29 |
+
*
|
30 |
+
* @see Mage_Checkout_Block_Cart_Sidebar
|
31 |
+
*/
|
32 |
+
|
33 |
+
?>
|
34 |
+
|
35 |
+
<?php
|
36 |
+
$_cartQty = $this->getSummaryCount();
|
37 |
+
if(empty($_cartQty)) {
|
38 |
+
$_cartQty = 0;
|
39 |
+
}
|
40 |
+
?>
|
41 |
+
|
42 |
+
<a href="#header-cart" class="skip-link skip-cart <?php if($_cartQty <= 0): ?> no-count<?php endif; ?>">
|
43 |
+
<span class="icon"></span>
|
44 |
+
<span class="label"><?php echo $this->__('Cart'); ?></span>
|
45 |
+
<span class="count"><?php echo $_cartQty; ?></span>
|
46 |
+
</a>
|
47 |
+
|
48 |
+
<div id="header-cart" class="block block-cart skip-content">
|
49 |
+
<?php echo $this->getChildHtml('minicart_content');?>
|
50 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml
ADDED
@@ -0,0 +1,189 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
?>
|
32 |
+
<li class="item" xmlns="http://www.w3.org/1999/html">
|
33 |
+
<?php if ($this->hasProductUrl()): ?>
|
34 |
+
<a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
|
35 |
+
<?php else: ?>
|
36 |
+
<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
37 |
+
<?php endif; ?>
|
38 |
+
<div class="product-details">
|
39 |
+
<p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
|
40 |
+
|
41 |
+
<table class="info-wrapper">
|
42 |
+
<tbody>
|
43 |
+
<tr>
|
44 |
+
<th><?php echo $this->__('Price'); ?></th>
|
45 |
+
<td>
|
46 |
+
<?php if ($canApplyMsrp): ?>
|
47 |
+
|
48 |
+
<span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
49 |
+
|
50 |
+
<?php else: ?>
|
51 |
+
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
54 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
57 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
58 |
+
<?php else: ?>
|
59 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
62 |
+
<br />
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
64 |
+
<small>
|
65 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</small>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
70 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
71 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
72 |
+
<?php endforeach; ?>
|
73 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
74 |
+
<small>
|
75 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
76 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</small>
|
79 |
+
<?php endif; ?>
|
80 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
81 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php endif; ?>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
89 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
90 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
91 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
94 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
95 |
+
<?php else: ?>
|
96 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
99 |
+
<br />
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
101 |
+
<small>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
103 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
104 |
+
<?php endforeach; ?>
|
105 |
+
</small>
|
106 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
109 |
+
<?php endforeach; ?>
|
110 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
111 |
+
<small>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
113 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</small>
|
116 |
+
<?php endif; ?>
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
118 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
119 |
+
<?php endif; ?>
|
120 |
+
<?php endif; ?>
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
<?php endif; //Can apply MSRP ?>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
<tr class="qty-wrapper">
|
127 |
+
<th><?php echo $this->__('Qty'); ?></th>
|
128 |
+
<td>
|
129 |
+
<input
|
130 |
+
id="qinput-<?php echo $_item->getId(); ?>"
|
131 |
+
data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
|
132 |
+
data-item-id="<?php echo $_item->getId(); ?>"
|
133 |
+
class="qty cart-item-quantity" name=""
|
134 |
+
value="<?php echo $this->getQty()?>"
|
135 |
+
<?php if ($this->isOnCheckoutPage()) echo 'disabled'; ?>
|
136 |
+
/>
|
137 |
+
|
138 |
+
<button id="qbutton-<?php echo $_item->getId(); ?>"
|
139 |
+
data-item-id="<?php echo $_item->getId(); ?>"
|
140 |
+
disabled="disabled"
|
141 |
+
data-update
|
142 |
+
class="button quantity-button">
|
143 |
+
<?php echo $this->__('ok'); ?>
|
144 |
+
</button>
|
145 |
+
</td>
|
146 |
+
</tr>
|
147 |
+
</tbody>
|
148 |
+
</table>
|
149 |
+
|
150 |
+
<?php if ($isVisibleProduct): ?>
|
151 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit">
|
152 |
+
<?php echo $this->__('Edit item')?>
|
153 |
+
</a>
|
154 |
+
|
|
155 |
+
<?php if (!$this->isOnCheckoutPage()): ?>
|
156 |
+
<a href="<?php echo $this->getAjaxDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"
|
157 |
+
data-confirm="<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>"
|
158 |
+
class="remove">
|
159 |
+
<?php echo $this->__('Remove Item') ?>
|
160 |
+
</a>
|
161 |
+
<?php else: ?>
|
162 |
+
<span><?php echo $this->__('Remove Item') ?></span>
|
163 |
+
<?php endif; ?>
|
164 |
+
<?php endif ?>
|
165 |
+
|
166 |
+
|
167 |
+
|
168 |
+
<?php if ($_options = $this->getOptionList()):?>
|
169 |
+
<div class="truncated">
|
170 |
+
<div class="truncated_full_value">
|
171 |
+
<dl class="item-options">
|
172 |
+
<?php foreach ($_options as $_option) : ?>
|
173 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
174 |
+
<dd>
|
175 |
+
<?php if (is_array($_option['value'])): ?>
|
176 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
177 |
+
<?php else: ?>
|
178 |
+
<?php echo $_option['value'] ?>
|
179 |
+
<?php endif; ?>
|
180 |
+
</dd>
|
181 |
+
<?php endforeach; ?>
|
182 |
+
</dl>
|
183 |
+
</div>
|
184 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
185 |
+
</div>
|
186 |
+
<?php endif; ?>
|
187 |
+
|
188 |
+
</div>
|
189 |
+
</li>
|
app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml
ADDED
@@ -0,0 +1,108 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shoping cart sidebar
|
29 |
+
*
|
30 |
+
* @var Mage_Checkout_Block_Cart_Minicart $this
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
|
34 |
+
<?php
|
35 |
+
$_cartQty = $this->getSummaryCount();
|
36 |
+
if(empty($_cartQty)) {
|
37 |
+
$_cartQty = 0;
|
38 |
+
}
|
39 |
+
?>
|
40 |
+
<div id="minicart-error-message" class="minicart-message"></div>
|
41 |
+
<div id="minicart-success-message" class="minicart-message"></div>
|
42 |
+
|
43 |
+
<div class="minicart-wrapper">
|
44 |
+
|
45 |
+
<p class="block-subtitle">
|
46 |
+
<?php echo $this->__('Recently added item(s)') ?>
|
47 |
+
<a class="close skip-link-close" href="#" title="<?php echo $this->__('Close'); ?>">×</a>
|
48 |
+
</p>
|
49 |
+
|
50 |
+
<?php $_items = $this->getRecentItems() ?>
|
51 |
+
<?php $countItems = count($_items); ?>
|
52 |
+
<?php if($countItems): ?>
|
53 |
+
<div>
|
54 |
+
<ul id="cart-sidebar" class="mini-products-list">
|
55 |
+
<?php foreach($_items as $_item): ?>
|
56 |
+
<?php echo $this->getItemHtml($_item) ?>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</ul>
|
59 |
+
</div>
|
60 |
+
<script type="text/javascript">
|
61 |
+
decorateList('cart-sidebar', 'none-recursive');
|
62 |
+
$j('document').ready(function() {
|
63 |
+
var minicartOptions = {
|
64 |
+
formKey: "<?php echo $this->getFormKey();?>"
|
65 |
+
}
|
66 |
+
var Mini = new Minicart(minicartOptions);
|
67 |
+
Mini.init();
|
68 |
+
});
|
69 |
+
</script>
|
70 |
+
|
71 |
+
<div id="minicart-widgets">
|
72 |
+
<?php echo $this->getChildHtml('cart_promotion') ?>
|
73 |
+
</div>
|
74 |
+
<div class="block-content">
|
75 |
+
<p class="subtotal">
|
76 |
+
<?php if ($this->canApplyMsrp()): ?>
|
77 |
+
<span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
|
78 |
+
<?php else: ?>
|
79 |
+
<span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
|
80 |
+
<?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
|
81 |
+
<br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
+
</p>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
|
88 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
89 |
+
<div class="minicart-actions">
|
90 |
+
<a class="cart-link" href="<?php echo $this->getUrl('checkout/cart'); ?>">
|
91 |
+
<?php echo $this->__('View Shopping Cart'); ?>
|
92 |
+
</a>
|
93 |
+
<ul class="checkout-types minicart">
|
94 |
+
<?php echo $this->getChildHtml('extra_actions') ?>
|
95 |
+
<li>
|
96 |
+
<a title="<?php echo $this->__('Checkout') ?>" class="button checkout-button" href="<?php echo $this->getCheckoutUrl() ?>">
|
97 |
+
<?php echo $this->__('Checkout') ?>
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
</ul>
|
101 |
+
</div>
|
102 |
+
<?php endif ?>
|
103 |
+
|
104 |
+
<?php else: ?>
|
105 |
+
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
106 |
+
|
107 |
+
<?php endif ?>
|
108 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml
ADDED
@@ -0,0 +1,150 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
|
28 |
+
<div class="shipping">
|
29 |
+
<h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
|
30 |
+
<div class="shipping-form">
|
31 |
+
<form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
|
32 |
+
<p class="shipping-desc"><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
|
33 |
+
<ul class="form-list">
|
34 |
+
<li class="shipping-country">
|
35 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
36 |
+
<div class="input-box">
|
37 |
+
<?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
|
38 |
+
</div>
|
39 |
+
</li>
|
40 |
+
<?php // if($this->getStateActive()): ?>
|
41 |
+
<li class="shipping-region">
|
42 |
+
<?php /* Removing the conditional check for whether the region is required, because it doesn't work
|
43 |
+
<label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
|
44 |
+
*/ ?>
|
45 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
48 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
49 |
+
</select>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
53 |
+
//]]>
|
54 |
+
</script>
|
55 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php // endif; ?>
|
59 |
+
<?php if($this->getCityActive()): ?>
|
60 |
+
<li class="shipping-region">
|
61 |
+
<label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<?php endif; ?>
|
67 |
+
<li class="shipping-postcode">
|
68 |
+
<?php /* Removing the conditional check for whether the postal code is required, because it doesn't work
|
69 |
+
<label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
|
70 |
+
*/ ?>
|
71 |
+
<label for="postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
|
74 |
+
</div>
|
75 |
+
</li>
|
76 |
+
</ul>
|
77 |
+
<div class="buttons-set">
|
78 |
+
<button type="button" title="<?php echo $this->__('Estimate') ?>" onclick="coShippingMethodForm.submit()" class="button2">
|
79 |
+
<span><span><?php echo $this->__('Estimate') ?></span></span>
|
80 |
+
</button>
|
81 |
+
</div>
|
82 |
+
</form>
|
83 |
+
<script type="text/javascript">
|
84 |
+
//<![CDATA[
|
85 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
|
86 |
+
//]]>
|
87 |
+
</script>
|
88 |
+
|
89 |
+
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
90 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
|
91 |
+
<dl class="sp-methods">
|
92 |
+
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
93 |
+
<dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
|
94 |
+
<dd>
|
95 |
+
<ul>
|
96 |
+
<?php foreach ($_rates as $_rate): ?>
|
97 |
+
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
|
98 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
99 |
+
<?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
|
100 |
+
<?php else: ?>
|
101 |
+
<input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
|
102 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
103 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
104 |
+
-
|
105 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
106 |
+
<?php echo $_excl; ?>
|
107 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
108 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
109 |
+
<?php endif; ?>
|
110 |
+
</label>
|
111 |
+
<?php endif ?>
|
112 |
+
</li>
|
113 |
+
<?php endforeach; ?>
|
114 |
+
</ul>
|
115 |
+
</dd>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</dl>
|
118 |
+
<div class="buttons-set">
|
119 |
+
<button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>">
|
120 |
+
<span><span><?php echo $this->__('Update Total') ?></span></span>
|
121 |
+
</button>
|
122 |
+
</div>
|
123 |
+
</form>
|
124 |
+
<?php endif; ?>
|
125 |
+
<script type="text/javascript">
|
126 |
+
//<![CDATA[
|
127 |
+
var coShippingMethodForm = new VarienForm('shipping-zip-form');
|
128 |
+
var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
|
129 |
+
|
130 |
+
coShippingMethodForm.submit = function () {
|
131 |
+
var country = $F('country');
|
132 |
+
var optionalZip = false;
|
133 |
+
|
134 |
+
for (i=0; i < countriesWithOptionalZip.length; i++) {
|
135 |
+
if (countriesWithOptionalZip[i] == country) {
|
136 |
+
optionalZip = true;
|
137 |
+
}
|
138 |
+
}
|
139 |
+
if (optionalZip) {
|
140 |
+
$('postcode').removeClassName('required-entry');
|
141 |
+
}
|
142 |
+
else {
|
143 |
+
$('postcode').addClassName('required-entry');
|
144 |
+
}
|
145 |
+
return VarienForm.prototype.submit.bind(coShippingMethodForm)();
|
146 |
+
}
|
147 |
+
//]]>
|
148 |
+
</script>
|
149 |
+
</div>
|
150 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/cart/sidebar.phtml
ADDED
@@ -0,0 +1,80 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Shoping cart sidebar
|
29 |
+
*
|
30 |
+
* @see Mage_Checkout_Block_Cart_Sidebar
|
31 |
+
*/
|
32 |
+
|
33 |
+
?>
|
34 |
+
<?php if ($this->getIsNeedToDisplaySideBar()):?>
|
35 |
+
<div class="block block-cart">
|
36 |
+
<?php $_cartQty = $this->getSummaryCount() ?>
|
37 |
+
<div class="block-title">
|
38 |
+
<strong><span><?php echo $this->__('My Cart') ?></span></strong>
|
39 |
+
</div>
|
40 |
+
<div class="block-content">
|
41 |
+
<?php if ($_cartQty>0): ?>
|
42 |
+
<div class="summary">
|
43 |
+
<?php if ($_cartQty==1): ?>
|
44 |
+
<p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
|
45 |
+
<?php else: ?>
|
46 |
+
<p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
|
47 |
+
<?php endif ?>
|
48 |
+
<p class="subtotal">
|
49 |
+
<?php if ($this->canApplyMsrp()): ?>
|
50 |
+
<span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
|
51 |
+
<?php else: ?>
|
52 |
+
<span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
|
53 |
+
<?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
|
54 |
+
<br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
</p>
|
58 |
+
</div>
|
59 |
+
<?php endif ?>
|
60 |
+
<?php $_items = $this->getRecentItems() ?>
|
61 |
+
<?php if(count($_items)): ?>
|
62 |
+
<p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
|
63 |
+
<ol id="cart-sidebar" class="mini-products-list">
|
64 |
+
<?php foreach($_items as $_item): ?>
|
65 |
+
<?php echo $this->getItemHtml($_item) ?>
|
66 |
+
<?php endforeach; ?>
|
67 |
+
</ol>
|
68 |
+
<script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
|
69 |
+
<?php else: ?>
|
70 |
+
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
71 |
+
<?php endif ?>
|
72 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
73 |
+
<div class="actions">
|
74 |
+
<?php echo $this->getChildHtml('extra_actions') ?>
|
75 |
+
<button type="button" title="<?php echo $this->__('Checkout') ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
76 |
+
</div>
|
77 |
+
<?php endif ?>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<?php endif;?>
|
app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml
ADDED
@@ -0,0 +1,145 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
?>
|
32 |
+
<li class="item">
|
33 |
+
<?php if ($this->hasProductUrl()): ?>
|
34 |
+
<a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
|
35 |
+
<?php else: ?>
|
36 |
+
<span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
37 |
+
<?php endif; ?>
|
38 |
+
<div class="product-details">
|
39 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
|
40 |
+
<p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
|
41 |
+
<?php if ($isVisibleProduct): ?>
|
42 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
|
43 |
+
<?php endif ?>
|
44 |
+
<strong><?php echo $this->getQty() ?></strong> x
|
45 |
+
|
46 |
+
<?php if ($canApplyMsrp): ?>
|
47 |
+
|
48 |
+
<span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
49 |
+
|
50 |
+
<?php else: ?>
|
51 |
+
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
54 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
57 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
58 |
+
<?php else: ?>
|
59 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
62 |
+
<br />
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
64 |
+
<small>
|
65 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</small>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
70 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
71 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
72 |
+
<?php endforeach; ?>
|
73 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
74 |
+
<small>
|
75 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
76 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</small>
|
79 |
+
<?php endif; ?>
|
80 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
81 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php endif; ?>
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
89 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
90 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
91 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
94 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
95 |
+
<?php else: ?>
|
96 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
99 |
+
<br />
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
101 |
+
<small>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
103 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
104 |
+
<?php endforeach; ?>
|
105 |
+
</small>
|
106 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
109 |
+
<?php endforeach; ?>
|
110 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
111 |
+
<small>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
113 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</small>
|
116 |
+
<?php endif; ?>
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
118 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
119 |
+
<?php endif; ?>
|
120 |
+
<?php endif; ?>
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
<?php endif; //Can apply MSRP ?>
|
124 |
+
|
125 |
+
<?php if ($_options = $this->getOptionList()):?>
|
126 |
+
<div class="truncated">
|
127 |
+
<div class="truncated_full_value">
|
128 |
+
<dl class="item-options">
|
129 |
+
<?php foreach ($_options as $_option) : ?>
|
130 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
131 |
+
<dd>
|
132 |
+
<?php if (is_array($_option['value'])): ?>
|
133 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
134 |
+
<?php else: ?>
|
135 |
+
<?php echo $_option['value'] ?>
|
136 |
+
<?php endif; ?>
|
137 |
+
</dd>
|
138 |
+
<?php endforeach; ?>
|
139 |
+
</dl>
|
140 |
+
</div>
|
141 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
142 |
+
</div>
|
143 |
+
<?php endif; ?>
|
144 |
+
</div>
|
145 |
+
</li>
|
app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml
ADDED
@@ -0,0 +1,118 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Multishipping checkout billing information
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_Billing
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<div class="multiple-checkout">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Billing Information') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
|
40 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
|
41 |
+
<div class="col2-set">
|
42 |
+
<div class="col-1 col-narrow">
|
43 |
+
<div class="box">
|
44 |
+
<div class="box-title">
|
45 |
+
<h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
|
46 |
+
</div>
|
47 |
+
<div class="box-content">
|
48 |
+
<?php $_address=$this->getAddress() ?>
|
49 |
+
<address><?php echo $_address->format('html') ?></address>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<div class="col-2 col-wide">
|
54 |
+
<div class="box">
|
55 |
+
<div class="box-title">
|
56 |
+
<h2><?php echo $this->__('Payment Method') ?></h2>
|
57 |
+
</div>
|
58 |
+
<div class="box-content">
|
59 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
60 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
61 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
62 |
+
</div>
|
63 |
+
<?php echo $this->getChildHtml('payment_methods_before') ?>
|
64 |
+
<!-- Payment methods forms list -->
|
65 |
+
<dl class="sp-methods">
|
66 |
+
<?php
|
67 |
+
$_methods = $this->getMethods();
|
68 |
+
$_methodsCount = count($_methods);
|
69 |
+
?>
|
70 |
+
<?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
|
71 |
+
<dt>
|
72 |
+
<?php if ($_methodsCount > 1): ?>
|
73 |
+
<input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
|
74 |
+
<?php else :?>
|
75 |
+
<span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
|
76 |
+
<?php endif;?>
|
77 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($_method->getTitle()) ?></label>
|
78 |
+
</dt>
|
79 |
+
<?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
|
80 |
+
<dd>
|
81 |
+
<?php echo $html; ?>
|
82 |
+
</dd>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
</dl>
|
86 |
+
<?php echo $this->getChildHtml('payment_methods_after') ?>
|
87 |
+
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
<div class="buttons-set">
|
93 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
|
94 |
+
<button id="payment-continue" type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
|
95 |
+
</div>
|
96 |
+
</form>
|
97 |
+
<script type="text/javascript">
|
98 |
+
//<![CDATA[
|
99 |
+
var payment = new paymentForm('multishipping-billing-form');
|
100 |
+
function toggleToolTip(event){
|
101 |
+
if($('payment-tool-tip')){
|
102 |
+
/*$('payment-tool-tip').setStyle({
|
103 |
+
top: (Event.pointerY(event)-510)+'px',
|
104 |
+
left: (Event.pointerX(event)-800)+'px'
|
105 |
+
})*/
|
106 |
+
$('payment-tool-tip').toggle();
|
107 |
+
}
|
108 |
+
Event.stop(event);
|
109 |
+
}
|
110 |
+
if($('payment-tool-tip-close')){
|
111 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
112 |
+
}
|
113 |
+
$$('.cvv-what-is-this').each(function(element){
|
114 |
+
Event.observe(element, 'click', toggleToolTip);
|
115 |
+
});
|
116 |
+
//]]>
|
117 |
+
</script>
|
118 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a></h3>
|
28 |
+
<?php if ($_options = $this->getOptionList()):?>
|
29 |
+
<dl class="item-options">
|
30 |
+
<?php foreach ($_options as $_option) : ?>
|
31 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
32 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
33 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
34 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
35 |
+
<div class="truncated_full_value">
|
36 |
+
<dl class="item-options">
|
37 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
38 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
39 |
+
</dl>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
42 |
+
</dd>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</dl>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
47 |
+
<?php echo $addtInfoBlock->setItem($this->getItem())->toHtml() ?>
|
48 |
+
<?php endif;?>
|
app/design/frontend/rwd/default/template/checkout/onepage.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Checkout') ?></h1>
|
29 |
+
</div>
|
30 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
|
31 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
|
32 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout_rwd.js') ?>"></script>
|
33 |
+
<ol class="opc opc-firststep-<?php echo $this->getActiveStep() ?>" id="checkoutSteps">
|
34 |
+
<?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
|
35 |
+
<?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
|
36 |
+
<li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
|
37 |
+
<div class="step-title">
|
38 |
+
<span class="number"><?php echo $i ?></span>
|
39 |
+
<h2><?php echo $_stepInfo['label'] ?></h2>
|
40 |
+
<a href="#"><?php echo $this->__('Edit') ?></a>
|
41 |
+
</div>
|
42 |
+
<div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
|
43 |
+
<?php echo $this->getChildHtml($_stepId) ?>
|
44 |
+
</div>
|
45 |
+
</li>
|
46 |
+
<?php endforeach ?>
|
47 |
+
</ol>
|
48 |
+
<script type="text/javascript">
|
49 |
+
//<![CDATA[
|
50 |
+
var accordion = new Accordion('checkoutSteps', '.step-title', true);
|
51 |
+
<?php if($this->getActiveStep()): ?>
|
52 |
+
accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
|
53 |
+
<?php endif ?>
|
54 |
+
var checkout = new Checkout(accordion,{
|
55 |
+
progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
|
56 |
+
review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
|
57 |
+
saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
|
58 |
+
failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
|
59 |
+
);
|
60 |
+
//]]>
|
61 |
+
</script>
|
app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
ADDED
@@ -0,0 +1,76 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<script type="text/javascript">
|
28 |
+
//<![CDATA[
|
29 |
+
var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
|
30 |
+
var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
|
31 |
+
var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
|
32 |
+
var lastPrice;
|
33 |
+
//]]>
|
34 |
+
</script>
|
35 |
+
<form action="" id="co-payment-form">
|
36 |
+
<div class="fieldset">
|
37 |
+
<?php echo $this->getChildChildHtml('methods_additional', '', true, true) ?>
|
38 |
+
<?php echo $this->getChildHtml('methods') ?>
|
39 |
+
</div>
|
40 |
+
</form>
|
41 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
42 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
43 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
44 |
+
</div>
|
45 |
+
<?php echo $this->getChildChildHtml('additional') ?>
|
46 |
+
<div class="buttons-set" id="payment-buttons-container">
|
47 |
+
<?php // Moved to CC form ?>
|
48 |
+
<?php /* <p class="required"><?php echo $this->__('* Required Fields') ?></p> */ ?>
|
49 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
50 |
+
<button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
51 |
+
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
52 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
53 |
+
</span>
|
54 |
+
</div>
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
function toggleToolTip(event){
|
58 |
+
if($('payment-tool-tip')){
|
59 |
+
$('payment-tool-tip').setStyle({
|
60 |
+
top: (Event.pointerY(event)-560)+'px'//,
|
61 |
+
//left: (Event.pointerX(event)+100)+'px'
|
62 |
+
})
|
63 |
+
$('payment-tool-tip').toggle();
|
64 |
+
}
|
65 |
+
Event.stop(event);
|
66 |
+
}
|
67 |
+
if($('payment-tool-tip-close')){
|
68 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
69 |
+
}
|
70 |
+
//]]>
|
71 |
+
</script>
|
72 |
+
<script type="text/javascript">
|
73 |
+
//<![CDATA[
|
74 |
+
payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
|
75 |
+
//]]>
|
76 |
+
</script>
|
app/design/frontend/rwd/default/template/checkout/onepage/progress.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="block block-progress opc-block-progress<?php if (!$this->isCustomerLoggedIn()/* && !$this->getCheckout()->getStepData('billing', 'is_show')*/): ?> opc-block-progress-step-login<?php endif; ?>">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<dl>
|
33 |
+
<?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
|
34 |
+
<div id="billing-progress-opcheckout">
|
35 |
+
<?php echo $this->getChildHtml('billing.progress') ?>
|
36 |
+
</div>
|
37 |
+
<?php endif; ?>
|
38 |
+
|
39 |
+
<?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
|
40 |
+
<div id="shipping-progress-opcheckout">
|
41 |
+
<?php echo $this->getChildHtml('shipping.progress') ?>
|
42 |
+
</div>
|
43 |
+
<?php endif; ?>
|
44 |
+
|
45 |
+
<?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
|
46 |
+
<div id="shipping_method-progress-opcheckout">
|
47 |
+
<?php echo $this->getChildHtml('shippingmethod.progress') ?>
|
48 |
+
</div>
|
49 |
+
<?php endif; ?>
|
50 |
+
|
51 |
+
<?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
|
52 |
+
<div id="payment-progress-opcheckout">
|
53 |
+
<?php echo $this->getChildHtml('payment.progress') ?>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
56 |
+
</dl>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
|
app/design/frontend/rwd/default/template/checkout/onepage/review/info.phtml
ADDED
@@ -0,0 +1,84 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php echo $this->getChildHtml('items_before'); ?>
|
28 |
+
<div id="checkout-review-table-wrapper">
|
29 |
+
<table class="data-table linearize-table" id="checkout-review-table">
|
30 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
+
<col />
|
32 |
+
<col width="1" />
|
33 |
+
<col width="1" />
|
34 |
+
<col width="1" />
|
35 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<?php endif; ?>
|
39 |
+
<thead>
|
40 |
+
<tr>
|
41 |
+
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product') ?></th>
|
42 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
43 |
+
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
44 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
45 |
+
</tr>
|
46 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<tr>
|
48 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
49 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
50 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
+
</tr>
|
53 |
+
<?php endif; ?>
|
54 |
+
</thead>
|
55 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
56 |
+
<tbody>
|
57 |
+
<?php foreach($this->getItems() as $_item): ?>
|
58 |
+
<?php echo $this->getItemHtml($_item)?>
|
59 |
+
<?php endforeach ?>
|
60 |
+
</tbody>
|
61 |
+
</table>
|
62 |
+
</div>
|
63 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
64 |
+
<script type="text/javascript">
|
65 |
+
//<![CDATA[
|
66 |
+
decorateTable('checkout-review-table');
|
67 |
+
truncateOptions();
|
68 |
+
//]]>
|
69 |
+
</script>
|
70 |
+
<div id="checkout-review-submit">
|
71 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
72 |
+
<div class="buttons-set" id="review-buttons-container">
|
73 |
+
<?php echo $this->getChildHtml('button') ?>
|
74 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
75 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
76 |
+
</span>
|
77 |
+
<p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you want to leave this page? You will need to go through the checkout steps again.'); ?>')"><?php echo $this->__('Edit Your Cart') ?></a></p>
|
78 |
+
</div>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml
ADDED
@@ -0,0 +1,240 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem()?>
|
28 |
+
<tr>
|
29 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
|
30 |
+
<?php if ($_options = $this->getOptionList()):?>
|
31 |
+
<dl class="item-options">
|
32 |
+
<?php foreach ($_options as $_option) : ?>
|
33 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
34 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
35 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
36 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
37 |
+
<div class="truncated_full_value">
|
38 |
+
<dl class="item-options">
|
39 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
40 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
41 |
+
</dl>
|
42 |
+
</div>
|
43 |
+
<?php endif; ?>
|
44 |
+
</dd>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</dl>
|
47 |
+
<?php endif;?>
|
48 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
49 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
50 |
+
<?php endif;?>
|
51 |
+
</td>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
|
54 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
55 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
56 |
+
<?php else: ?>
|
57 |
+
<span class="cart-price">
|
58 |
+
<?php endif; ?>
|
59 |
+
|
60 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
61 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
62 |
+
<?php else: ?>
|
63 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
64 |
+
<?php endif; ?>
|
65 |
+
|
66 |
+
</span>
|
67 |
+
|
68 |
+
|
69 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
70 |
+
|
71 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
72 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
<small>
|
74 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
75 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
76 |
+
<?php endforeach; ?>
|
77 |
+
</small>
|
78 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
80 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
|
81 |
+
<?php endforeach; ?>
|
82 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<small>
|
84 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
85 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</small>
|
88 |
+
<?php endif; ?>
|
89 |
+
</div>
|
90 |
+
|
91 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
92 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
93 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
94 |
+
</div>
|
95 |
+
<?php endif; ?>
|
96 |
+
<?php endif; ?>
|
97 |
+
</td>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
100 |
+
<td data-rwd-label="<?php echo $this->__('Price') ?>">
|
101 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
102 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
103 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
104 |
+
<?php else: ?>
|
105 |
+
<span class="cart-price">
|
106 |
+
<?php endif; ?>
|
107 |
+
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
109 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
110 |
+
<?php else: ?>
|
111 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
112 |
+
<?php endif; ?>
|
113 |
+
|
114 |
+
</span>
|
115 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
116 |
+
|
117 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
118 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<small>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
121 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
122 |
+
<?php endforeach; ?>
|
123 |
+
</small>
|
124 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
125 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
126 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
127 |
+
<?php endforeach; ?>
|
128 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
129 |
+
<small>
|
130 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
132 |
+
<?php endforeach; ?>
|
133 |
+
</small>
|
134 |
+
<?php endif; ?>
|
135 |
+
</div>
|
136 |
+
|
137 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
138 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
139 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
140 |
+
</div>
|
141 |
+
<?php endif; ?>
|
142 |
+
<?php endif; ?>
|
143 |
+
</td>
|
144 |
+
<?php endif; ?>
|
145 |
+
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
|
146 |
+
<!-- sub total starts here -->
|
147 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
148 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
151 |
+
<?php else: ?>
|
152 |
+
<span class="cart-price">
|
153 |
+
<?php endif; ?>
|
154 |
+
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
157 |
+
<?php else: ?>
|
158 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
159 |
+
<?php endif; ?>
|
160 |
+
|
161 |
+
</span>
|
162 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
163 |
+
|
164 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
165 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<small>
|
167 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
168 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
169 |
+
<?php endforeach; ?>
|
170 |
+
</small>
|
171 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
173 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
174 |
+
<?php endforeach; ?>
|
175 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
176 |
+
<small>
|
177 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
178 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
179 |
+
<?php endforeach; ?>
|
180 |
+
</small>
|
181 |
+
<?php endif; ?>
|
182 |
+
</div>
|
183 |
+
|
184 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
185 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
186 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
187 |
+
</div>
|
188 |
+
<?php endif; ?>
|
189 |
+
<?php endif; ?>
|
190 |
+
</td>
|
191 |
+
<?php endif; ?>
|
192 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
193 |
+
<td data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
194 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
195 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
197 |
+
<?php else: ?>
|
198 |
+
<span class="cart-price">
|
199 |
+
<?php endif; ?>
|
200 |
+
|
201 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
203 |
+
<?php else: ?>
|
204 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
205 |
+
<?php endif; ?>
|
206 |
+
|
207 |
+
</span>
|
208 |
+
|
209 |
+
|
210 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
211 |
+
|
212 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
213 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
214 |
+
<small>
|
215 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
216 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
217 |
+
<?php endforeach; ?>
|
218 |
+
</small>
|
219 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
221 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
222 |
+
<?php endforeach; ?>
|
223 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
224 |
+
<small>
|
225 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
226 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
227 |
+
<?php endforeach; ?>
|
228 |
+
</small>
|
229 |
+
<?php endif; ?>
|
230 |
+
</div>
|
231 |
+
|
232 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
233 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
234 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
235 |
+
</div>
|
236 |
+
<?php endif; ?>
|
237 |
+
<?php endif; ?>
|
238 |
+
</td>
|
239 |
+
<?php endif; ?>
|
240 |
+
</tr>
|
app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml
ADDED
@@ -0,0 +1,157 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<form action="" id="co-shipping-form">
|
28 |
+
<ul class="form-list">
|
29 |
+
<?php if ($this->customerHasAddresses()): ?>
|
30 |
+
<li class="wide">
|
31 |
+
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
32 |
+
<div class="input-box">
|
33 |
+
<?php echo $this->getAddressesHtmlSelect('shipping') ?>
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
<?php endif ?>
|
37 |
+
<li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?> class="scaffold-form">
|
38 |
+
<div class="fieldset">
|
39 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
40 |
+
<input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
|
41 |
+
<ul>
|
42 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
|
43 |
+
<li class="fields">
|
44 |
+
<div class="fields">
|
45 |
+
<label for="shipping:company"><?php echo $this->__('Company') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
</li>
|
51 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
52 |
+
<li class="wide">
|
53 |
+
<label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
54 |
+
<div class="input-box">
|
55 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
59 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
60 |
+
<li class="wide">
|
61 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Address') ?> <?php echo $_i ?></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<?php endfor; ?>
|
67 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
68 |
+
<li class="wide">
|
69 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
|
70 |
+
<div class="input-box">
|
71 |
+
<input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
72 |
+
</div>
|
73 |
+
</li>
|
74 |
+
<?php endif; ?>
|
75 |
+
<li class="fields">
|
76 |
+
<div class="field">
|
77 |
+
<label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
78 |
+
<div class="input-box">
|
79 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
<div class="field">
|
83 |
+
<label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
84 |
+
<div class="input-box">
|
85 |
+
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
86 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
87 |
+
</select>
|
88 |
+
<script type="text/javascript">
|
89 |
+
//<![CDATA[
|
90 |
+
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
91 |
+
//]]>
|
92 |
+
</script>
|
93 |
+
<input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</li>
|
97 |
+
<li class="fields">
|
98 |
+
<div class="field">
|
99 |
+
<label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
100 |
+
<div class="input-box">
|
101 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
<div class="field">
|
105 |
+
<label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
106 |
+
<div class="input-box">
|
107 |
+
<?php echo $this->getCountryHtmlSelect('shipping') ?>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
</li>
|
111 |
+
<li class="fields">
|
112 |
+
<div class="field">
|
113 |
+
<label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
114 |
+
<div class="input-box">
|
115 |
+
<input type="tel" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
<div class="field">
|
119 |
+
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
120 |
+
<div class="input-box">
|
121 |
+
<input type="tel" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
</li>
|
125 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
126 |
+
<li class="control">
|
127 |
+
<input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
|
128 |
+
<?php else:?>
|
129 |
+
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
130 |
+
<?php endif;?>
|
131 |
+
</ul>
|
132 |
+
</div>
|
133 |
+
</li>
|
134 |
+
<li class="control">
|
135 |
+
<input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
|
136 |
+
</li>
|
137 |
+
</ul>
|
138 |
+
<div class="buttons-set" id="shipping-buttons-container">
|
139 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
140 |
+
<button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
141 |
+
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
142 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
143 |
+
</span>
|
144 |
+
</div>
|
145 |
+
</form>
|
146 |
+
<script type="text/javascript">
|
147 |
+
//<![CDATA[
|
148 |
+
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
|
149 |
+
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
150 |
+
var shippingForm = new VarienForm('co-shipping-form');
|
151 |
+
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
152 |
+
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
153 |
+
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
154 |
+
|
155 |
+
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
|
156 |
+
//]]>
|
157 |
+
</script>
|
app/design/frontend/rwd/default/template/contacts/form.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
|
30 |
+
</div>
|
31 |
+
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post" class="scaffold-form">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo Mage::helper('contacts')->__('Contact Information') ?></h2>
|
34 |
+
<p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li class="fields">
|
37 |
+
<div class="field">
|
38 |
+
<label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
|
39 |
+
<div class="input-box">
|
40 |
+
<input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
<div class="field">
|
44 |
+
<label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<li>
|
51 |
+
<label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
|
52 |
+
<div class="input-box">
|
53 |
+
<input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="tel" />
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<li class="wide">
|
57 |
+
<label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
|
58 |
+
<div class="input-box">
|
59 |
+
<textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
|
60 |
+
</div>
|
61 |
+
</li>
|
62 |
+
</ul>
|
63 |
+
</div>
|
64 |
+
<div class="buttons-set">
|
65 |
+
<input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
|
66 |
+
<button type="submit" title="<?php echo Mage::helper('contacts')->__('Submit') ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
|
67 |
+
</div>
|
68 |
+
</form>
|
69 |
+
<script type="text/javascript">
|
70 |
+
//<![CDATA[
|
71 |
+
var contactForm = new VarienForm('contactForm', true);
|
72 |
+
//]]>
|
73 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/account/dashboard.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="dashboard">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('My Dashboard') ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<?php echo $this->getChildHtml('hello') ?>
|
33 |
+
<?php echo $this->getChildHtml('top') ?>
|
34 |
+
<div class="box-account box-info">
|
35 |
+
<div class="box-head">
|
36 |
+
<h2><?php echo $this->__('Account Information') ?></h2>
|
37 |
+
</div>
|
38 |
+
<?php /* Extensions placeholder */ ?>
|
39 |
+
<?php echo $this->getChildHtml('customer.account.dashboard.extra') ?>
|
40 |
+
<?php echo $this->getChildHtml('info') ?>
|
41 |
+
</div>
|
42 |
+
<?php echo $this->getChildHtml('address') ?>
|
43 |
+
<?php echo $this->getChildHtml('info1') ?>
|
44 |
+
<?php echo $this->getChildHtml('info2') ?>
|
45 |
+
</div>
|
app/design/frontend/rwd/default/template/customer/account/dashboard/address.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="box-account box-info">
|
28 |
+
<div class="box-head">
|
29 |
+
<h2><?php echo $this->__('Address Book') ?></h2>
|
30 |
+
<a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
|
31 |
+
</div>
|
32 |
+
<div class="col2-set">
|
33 |
+
<div class="col-1">
|
34 |
+
<div class="box">
|
35 |
+
<div class="box-title">
|
36 |
+
<h3><?php echo $this->__('Default Billing Address') ?></h3>
|
37 |
+
<a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
|
38 |
+
</div>
|
39 |
+
<div class="box-content">
|
40 |
+
<address><?php echo $this->getPrimaryBillingAddressHtml() ?></address>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
<div class="col-2">
|
45 |
+
<div class="box">
|
46 |
+
<div class="box-title">
|
47 |
+
<h3><?php echo $this->__('Default Shipping Address') ?></h3>
|
48 |
+
<a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
|
49 |
+
</div>
|
50 |
+
<div class="box-content">
|
51 |
+
<address><?php echo $this->getPrimaryShippingAddressHtml() ?></address>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</div>
|
app/design/frontend/rwd/default/template/customer/account/navigation.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="block block-account">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('My Account'); ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<ul>
|
33 |
+
<?php $_links = $this->getLinks(); ?>
|
34 |
+
<?php $_index = 1; ?>
|
35 |
+
<?php $_count = count($_links); ?>
|
36 |
+
<?php foreach ($_links as $_link): ?>
|
37 |
+
<?php $_last = ($_index++ >= $_count); ?>
|
38 |
+
<?php if ($this->isActive($_link)): ?>
|
39 |
+
<li class="current<?php echo ($_last ? ' last' : '') ?>"><a href="<?php echo $_link->getUrl() ?>"><strong><?php echo $_link->getLabel() ?></strong></a></li>
|
40 |
+
<?php else: ?>
|
41 |
+
<li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
</div>
|
app/design/frontend/rwd/default/template/customer/address/edit.phtml
ADDED
@@ -0,0 +1,166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Edit customer address template
|
30 |
+
*
|
31 |
+
* @see Mage_Customer_Block_Address_Edit
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getTitle()): ?>
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->getTitle() ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
+
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
41 |
+
<div class="fieldset">
|
42 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
43 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
44 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
45 |
+
<h2 class="legend"><?php echo $this->__('Contact Information') ?></h2>
|
46 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
47 |
+
<ul class="form-list">
|
48 |
+
<li class="fields">
|
49 |
+
<?php echo $this->getNameBlockHtml() ?>
|
50 |
+
</li>
|
51 |
+
<li class="wide">
|
52 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<li class="fields">
|
58 |
+
<div class="field">
|
59 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
60 |
+
<div class="input-box">
|
61 |
+
<input type="tel" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<div class="field">
|
65 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
66 |
+
<div class="input-box">
|
67 |
+
<input type="tel" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
</li>
|
71 |
+
</ul>
|
72 |
+
</div>
|
73 |
+
<div class="fieldset">
|
74 |
+
<h2 class="legend"><?php echo $this->__('Address') ?></h2>
|
75 |
+
<ul class="form-list">
|
76 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
77 |
+
<li class="wide">
|
78 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
79 |
+
<div class="input-box">
|
80 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
81 |
+
</div>
|
82 |
+
</li>
|
83 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
84 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
85 |
+
<li class="wide">
|
86 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
|
87 |
+
<div class="input-box">
|
88 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
89 |
+
</div>
|
90 |
+
</li>
|
91 |
+
<?php endfor; ?>
|
92 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
93 |
+
<li class="wide">
|
94 |
+
<label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
|
95 |
+
<div class="input-box">
|
96 |
+
<input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
97 |
+
</div>
|
98 |
+
</li>
|
99 |
+
<?php endif; ?>
|
100 |
+
<li class="fields">
|
101 |
+
<div class="field">
|
102 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
103 |
+
<div class="input-box">
|
104 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
<div class="field">
|
108 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
109 |
+
<div class="input-box">
|
110 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
111 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
112 |
+
</select>
|
113 |
+
<script type="text/javascript">
|
114 |
+
//<![CDATA[
|
115 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
116 |
+
//]]>
|
117 |
+
</script>
|
118 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</li>
|
122 |
+
<li class="fields">
|
123 |
+
<div class="field">
|
124 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
125 |
+
<div class="input-box">
|
126 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
<div class="field">
|
130 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
131 |
+
<div class="input-box">
|
132 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</li>
|
136 |
+
<li<?php if($this->canSetAsDefaultBilling()) echo ' class="control"' ?>>
|
137 |
+
<?php if($this->isDefaultBilling()): ?>
|
138 |
+
<strong><?php echo $this->__('Default Billing Address') ?></strong>
|
139 |
+
<?php elseif($this->canSetAsDefaultBilling()): ?>
|
140 |
+
<input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as My Default Billing Address') ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
|
141 |
+
<?php else: ?>
|
142 |
+
<input type="hidden" name="default_billing" value="1" />
|
143 |
+
<?php endif; ?>
|
144 |
+
</li>
|
145 |
+
<li<?php if($this->canSetAsDefaultShipping()) echo ' class="control"' ?>>
|
146 |
+
<?php if($this->isDefaultShipping()): ?>
|
147 |
+
<strong><?php echo $this->__('Default Shipping Address') ?></strong>
|
148 |
+
<?php elseif($this->canSetAsDefaultShipping()): ?>
|
149 |
+
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as My Default Shipping Address') ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
|
150 |
+
<?php else: ?>
|
151 |
+
<input type="hidden" name="default_shipping" value="1" />
|
152 |
+
<?php endif; ?>
|
153 |
+
</li>
|
154 |
+
</ul>
|
155 |
+
</div>
|
156 |
+
<div class="buttons-set">
|
157 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
158 |
+
<button type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
159 |
+
</div>
|
160 |
+
</form>
|
161 |
+
<script type="text/javascript">
|
162 |
+
//<![CDATA[
|
163 |
+
var dataForm = new VarienForm('form-validate', true);
|
164 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
165 |
+
//]]>
|
166 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/address.phtml
ADDED
@@ -0,0 +1,144 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
|
28 |
+
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
34 |
+
<div class="fieldset">
|
35 |
+
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
|
36 |
+
<input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
|
37 |
+
<h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
|
38 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
39 |
+
<ul class="form-list">
|
40 |
+
<li class="fields">
|
41 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
|
42 |
+
</li>
|
43 |
+
<li>
|
44 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
47 |
+
</div>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
</div>
|
51 |
+
<div class="fieldset">
|
52 |
+
<h2 class="legend"><?php echo $this->__('Address') ?></h2>
|
53 |
+
<ul class="form-list">
|
54 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
55 |
+
<li class="wide">
|
56 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
57 |
+
<div class="input-box">
|
58 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
59 |
+
</div>
|
60 |
+
</li>
|
61 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
62 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
63 |
+
<li class="wide">
|
64 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
67 |
+
</div>
|
68 |
+
</li>
|
69 |
+
<?php endfor; ?>
|
70 |
+
<li class="fields">
|
71 |
+
<div class="field">
|
72 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
73 |
+
<div class="input-box">
|
74 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
<div class="field">
|
78 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
79 |
+
<div class="input-box">
|
80 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
81 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
82 |
+
</select>
|
83 |
+
<script type="text/javascript">
|
84 |
+
//<![CDATA[
|
85 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
86 |
+
//]]>
|
87 |
+
</script>
|
88 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
</li>
|
92 |
+
<li class="fields">
|
93 |
+
<div class="field">
|
94 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
95 |
+
<div class="input-box">
|
96 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
<div class="field">
|
100 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
101 |
+
<div class="input-box">
|
102 |
+
<select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
|
103 |
+
<?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
|
104 |
+
</select>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
</li>
|
108 |
+
<li class="fields">
|
109 |
+
<div class="field">
|
110 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
111 |
+
<div class="input-box">
|
112 |
+
<input type="tel" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
<div class="field">
|
116 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
117 |
+
<div class="input-box">
|
118 |
+
<input type="tel" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</li>
|
122 |
+
<?php foreach ($primaryTypes as $code=>$type): ?>
|
123 |
+
<li<?php if (!$address->isPrimary($type['address_type_id'])) echo ' class="control"' ?>>
|
124 |
+
<?php if ($address->isPrimary($type['address_type_id'])): ?>
|
125 |
+
<strong><?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?></strong>
|
126 |
+
<?php else: ?>
|
127 |
+
<input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" /><label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
|
128 |
+
<?php endif ?>
|
129 |
+
</li>
|
130 |
+
<?php endforeach ?>
|
131 |
+
</ul>
|
132 |
+
</div>
|
133 |
+
<div class="buttons-set">
|
134 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
135 |
+
<button type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
136 |
+
</div>
|
137 |
+
</form>
|
138 |
+
<script type="text/javascript">
|
139 |
+
//<![CDATA[
|
140 |
+
var dataForm = new VarienForm('form-validate', true);
|
141 |
+
//dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
|
142 |
+
new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
|
143 |
+
//]]>
|
144 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/changepassword.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Change Account Password') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
|
34 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li>
|
37 |
+
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
<li class="fields">
|
43 |
+
<div class="field">
|
44 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<div class="field">
|
50 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
51 |
+
<div class="input-box">
|
52 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
</ul>
|
57 |
+
</div>
|
58 |
+
<div class="buttons-set">
|
59 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
60 |
+
<button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
|
61 |
+
</div>
|
62 |
+
</form>
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
var dataForm = new VarienForm('form-validate');
|
66 |
+
//]]>
|
67 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/confirmation.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Send confirmation link') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
|
34 |
+
<p><?php echo $this->__('Please enter your email below and we\'ll send you confirmation link for it.') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li>
|
37 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
</ul>
|
43 |
+
</div>
|
44 |
+
<div class="buttons-set">
|
45 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
46 |
+
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
47 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
48 |
+
</div>
|
49 |
+
</form>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
var dataForm = new VarienForm('form-validate', true);
|
53 |
+
//]]>
|
54 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/edit.phtml
ADDED
@@ -0,0 +1,117 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Edit Account Information') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
32 |
+
<div class="fieldset">
|
33 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
34 |
+
<h2 class="legend"><?php echo $this->__('Account Information') ?></h2>
|
35 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
36 |
+
<ul class="form-list">
|
37 |
+
<li class="fields">
|
38 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
|
39 |
+
</li>
|
40 |
+
<li>
|
41 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
42 |
+
<div class="input-box">
|
43 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" />
|
44 |
+
</div>
|
45 |
+
</li>
|
46 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
47 |
+
<?php if ($_dob->isEnabled()): ?>
|
48 |
+
<li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
|
49 |
+
<?php endif ?>
|
50 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
51 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
52 |
+
<li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
55 |
+
<?php if ($_gender->isEnabled()): ?>
|
56 |
+
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
57 |
+
<?php endif ?>
|
58 |
+
<li class="control">
|
59 |
+
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
|
60 |
+
</li>
|
61 |
+
</ul>
|
62 |
+
</div>
|
63 |
+
<div class="fieldset" style="display:none;">
|
64 |
+
<h2 class="legend"><?php echo $this->__('Change Password') ?></h2>
|
65 |
+
<ul class="form-list">
|
66 |
+
<li>
|
67 |
+
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
68 |
+
<div class="input-box">
|
69 |
+
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
|
70 |
+
<input type="text" class="input-text no-display" name="dummy" id="dummy" />
|
71 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text" name="current_password" id="current_password" />
|
72 |
+
</div>
|
73 |
+
</li>
|
74 |
+
<li class="fields">
|
75 |
+
<div class="field">
|
76 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
77 |
+
<div class="input-box">
|
78 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password" name="password" id="password" />
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
<div class="field">
|
82 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
83 |
+
<div class="input-box">
|
84 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
</li>
|
88 |
+
</ul>
|
89 |
+
</div>
|
90 |
+
<div class="buttons-set">
|
91 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
92 |
+
<button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
93 |
+
</div>
|
94 |
+
</form>
|
95 |
+
<script type="text/javascript">
|
96 |
+
//<![CDATA[
|
97 |
+
var dataForm = new VarienForm('form-validate', true);
|
98 |
+
function setPasswordForm(arg){
|
99 |
+
if(arg){
|
100 |
+
$('current_password').up(3).show();
|
101 |
+
$('current_password').addClassName('required-entry');
|
102 |
+
$('password').addClassName('required-entry');
|
103 |
+
$('confirmation').addClassName('required-entry');
|
104 |
+
|
105 |
+
}else{
|
106 |
+
$('current_password').up(3).hide();
|
107 |
+
$('current_password').removeClassName('required-entry');
|
108 |
+
$('password').removeClassName('required-entry');
|
109 |
+
$('confirmation').removeClassName('required-entry');
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
<?php if($this->getCustomer()->getChangePassword()): ?>
|
114 |
+
setPasswordForm(true);
|
115 |
+
<?php endif; ?>
|
116 |
+
//]]>
|
117 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/forgotpassword.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Forgot Your Password?') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2><?php echo $this->__('Retrieve your password here') ?></h2>
|
34 |
+
<p class="form-instructions"><?php echo $this->__('Please enter your email address below. You will receive a link to reset your password.') ?></p>
|
35 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
36 |
+
<ul class="form-list">
|
37 |
+
<li>
|
38 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
39 |
+
<div class="input-box">
|
40 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmailValue()) ?>" />
|
41 |
+
</div>
|
42 |
+
</li>
|
43 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
44 |
+
</ul>
|
45 |
+
</div>
|
46 |
+
<div class="buttons-set">
|
47 |
+
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
48 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
49 |
+
</div>
|
50 |
+
</form>
|
51 |
+
<script type="text/javascript">
|
52 |
+
//<![CDATA[
|
53 |
+
var dataForm = new VarienForm('form-validate', true);
|
54 |
+
//]]>
|
55 |
+
</script>
|
app/design/frontend/rwd/default/template/customer/form/mini.login.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="block block-login">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Login') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post">
|
32 |
+
<div class="block-content">
|
33 |
+
<label for="mini-login"><?php echo $this->__('Email:') ?></label><input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="login[username]" id="mini-login" class="input-text" />
|
34 |
+
<label for="mini-password"><?php echo $this->__('Password:') ?></label><input type="password" name="login[password]" id="mini-password" class="input-text" />
|
35 |
+
<div class="actions">
|
36 |
+
<button type="submit" class="button"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
</form>
|
40 |
+
</div>
|
app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Reset a Password'); ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
|
31 |
+
<form action="<?php echo $this->getUrl('*/*/resetpasswordpost', array('_query' => array('id' => $this->getCustomerId(), 'token' => $this->getResetPasswordLinkToken()))); ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
+
<div class="fieldset" style="margin-top: 70px;">
|
33 |
+
<p class="required"><?php echo $this->__('* Required Fields'); ?></p>
|
34 |
+
<ul class="form-list">
|
35 |
+
<li class="fields">
|
36 |
+
<div class="field">
|
37 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password'); ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="password" class="input-text required-entry validate-password" name="password" id="password" />
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<div class="field">
|
43 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password'); ?></label>
|
44 |
+
<div class="input-box">
|
45 |
+
<input type="password" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</li>
|
49 |
+
</ul>
|
50 |
+
</div>
|
51 |
+
<div class="buttons-set">
|
52 |
+
<button type="submit" title="<?php echo $this->__('Reset a Password'); ?>" class="button"><span><span><?php echo $this->__('Reset a Password'); ?></span></span></button>
|
53 |
+
</div>
|
54 |
+
</form>
|
55 |
+
<script type="text/javascript">
|
56 |
+
/*<![CDATA[*/
|
57 |
+
var dataForm = new VarienForm('form-validate', true);
|
58 |
+
/*]]>*/
|
59 |
+
</script>
|
app/design/frontend/rwd/default/template/directory/currency.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Currency switcher
|
30 |
+
*
|
31 |
+
* @see Mage_Directory_Block_Currency
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getCurrencyCount()>1): ?>
|
35 |
+
<div class="currency-switcher">
|
36 |
+
<label for="select-currency"><?php echo $this->__('Your Currency:') ?></label>
|
37 |
+
<select id="select-currency" name="currency" title="<?php echo $this->__('Your Currency') ?>" onchange="setLocation(this.value)">
|
38 |
+
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
|
39 |
+
<option value="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
|
40 |
+
<?php echo $_name ?> - <?php echo $_code ?>
|
41 |
+
</option>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</select>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/downloadable/catalog/product/type.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Downloadable product type
|
29 |
+
*
|
30 |
+
* @see Mage_Downloadable_Block_Catalog_Product_View_Type
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php $_product = $this->getProduct() ?>
|
34 |
+
|
35 |
+
<?php if($_product->isSaleable()): ?>
|
36 |
+
<p class="availability in-stock">
|
37 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
38 |
+
<span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
|
39 |
+
</p>
|
40 |
+
<?php else: ?>
|
41 |
+
<p class="availability out-of-stock">
|
42 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
43 |
+
<span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
|
44 |
+
</p>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->getChildHtml('product_type_data_extra') ?>
|
47 |
+
<?php //echo $this->getPriceHtml($_product) ?>
|
48 |
+
<?php //echo $this->getChildHtml('samples') ?>
|
app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,344 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
?>
|
32 |
+
<tr>
|
33 |
+
<td class="product-cart-image"><a href="<?php echo $this->getProductUrl() ?>" class="product-image"
|
34 |
+
title="<?php echo $this->escapeHtml($this->getProductName()) ?>"><img
|
35 |
+
src="<?php echo $this->getProductThumbnail()->resize(180); ?>"
|
36 |
+
alt="<?php echo $this->escapeHtml($this->getProductName()) ?>"/></a>
|
37 |
+
|
38 |
+
<ul class="cart-links">
|
39 |
+
<?php if ($isVisibleProduct): ?>
|
40 |
+
<li>
|
41 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
42 |
+
</li>
|
43 |
+
<?php endif ?>
|
44 |
+
|
45 |
+
<?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
|
46 |
+
<li>
|
47 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
|
48 |
+
</li>
|
49 |
+
<?php endif ?>
|
50 |
+
</ul>
|
51 |
+
</td>
|
52 |
+
<td class="product-cart-info">
|
53 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
|
54 |
+
<h2 class="product-name"><a
|
55 |
+
href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
|
56 |
+
</h2>
|
57 |
+
|
58 |
+
<div class="product-cart-sku">
|
59 |
+
<span class="label"><?php echo $this->__('SKU'); ?>:</span> <?php echo $this->escapeHtml($_item->getSku()); ?>
|
60 |
+
</div>
|
61 |
+
|
62 |
+
<?php if ($_options = $this->getOptionList()): ?>
|
63 |
+
<dl class="item-options">
|
64 |
+
<?php foreach ($_options as $_option) : ?>
|
65 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
66 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
67 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
68 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
69 |
+
<div class="truncated_full_value">
|
70 |
+
<dl class="item-options">
|
71 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
72 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
73 |
+
</dl>
|
74 |
+
</div>
|
75 |
+
<?php endif; ?>
|
76 |
+
</dd>
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</dl>
|
79 |
+
<?php endif; ?>
|
80 |
+
<!-- downloadable -->
|
81 |
+
<?php if ($links = $this->getLinks()): ?>
|
82 |
+
<dl class="item-options">
|
83 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
84 |
+
<?php foreach ($links as $link): ?>
|
85 |
+
<dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</dl>
|
88 |
+
<?php endif; ?>
|
89 |
+
<!-- EOF downloadable -->
|
90 |
+
|
91 |
+
<?php if ($messages = $this->getMessages()): ?>
|
92 |
+
<?php foreach ($messages as $message): ?>
|
93 |
+
<div class="shopping-cart-item-message <?php echo $message['type'] ?>">
|
94 |
+
* <?php echo $this->escapeHtml($message['text']) ?>
|
95 |
+
</div>
|
96 |
+
<?php endforeach; ?>
|
97 |
+
<?php endif; ?>
|
98 |
+
</td>
|
99 |
+
<?php if ($canApplyMsrp): ?>
|
100 |
+
<td class="a-right"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
|
101 |
+
<span class="cart-price">
|
102 |
+
<span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
103 |
+
<?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
|
104 |
+
<a id="<?php echo $helpLinkId ?>" href="#"
|
105 |
+
class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
106 |
+
<script type="text/javascript">
|
107 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
108 |
+
</script>
|
109 |
+
</span>
|
110 |
+
</td>
|
111 |
+
<?php else: ?>
|
112 |
+
|
113 |
+
|
114 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
115 |
+
<td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Excl. Tax'); ?>">
|
116 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
117 |
+
<div class="cart-tax-total"
|
118 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
119 |
+
<?php else: ?>
|
120 |
+
<span class="cart-price">
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
124 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?>
|
125 |
+
<?php else: ?>
|
126 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
127 |
+
<?php endif; ?>
|
128 |
+
|
129 |
+
</span>
|
130 |
+
|
131 |
+
|
132 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
133 |
+
|
134 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>"
|
135 |
+
style="display:none;">
|
136 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
137 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
138 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
139 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
143 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
144 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
|
145 |
+
<?php endforeach; ?>
|
146 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
147 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
148 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
149 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
|
150 |
+
<?php endforeach; ?>
|
151 |
+
<?php endif; ?>
|
152 |
+
</div>
|
153 |
+
|
154 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
155 |
+
<div class="cart-tax-total"
|
156 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
157 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
|
158 |
+
: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?></span>
|
159 |
+
</div>
|
160 |
+
<?php endif; ?>
|
161 |
+
<?php endif; ?>
|
162 |
+
</td>
|
163 |
+
<?php endif; ?>
|
164 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
165 |
+
<td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Incl. Tax'); ?>">
|
166 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
167 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
168 |
+
<div class="cart-tax-total"
|
169 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
170 |
+
<?php else: ?>
|
171 |
+
<span class="cart-price">
|
172 |
+
<?php endif; ?>
|
173 |
+
|
174 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
175 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
176 |
+
<?php else: ?>
|
177 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxDisposition()) ?>
|
178 |
+
<?php endif; ?>
|
179 |
+
|
180 |
+
</span>
|
181 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
182 |
+
|
183 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>"
|
184 |
+
style="display:none;">
|
185 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
186 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
187 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
188 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
|
189 |
+
<?php endforeach; ?>
|
190 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
191 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
192 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
193 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
|
194 |
+
<?php endforeach; ?>
|
195 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
197 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
198 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
|
199 |
+
<?php endforeach; ?>
|
200 |
+
<?php endif; ?>
|
201 |
+
</div>
|
202 |
+
|
203 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
204 |
+
<div class="cart-tax-total"
|
205 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
206 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
207 |
+
: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
208 |
+
</div>
|
209 |
+
<?php endif; ?>
|
210 |
+
<?php endif; ?>
|
211 |
+
</td>
|
212 |
+
<?php endif; ?>
|
213 |
+
<?php endif; ?>
|
214 |
+
<td class="product-cart-actions" data-rwd-label="<?php echo $this->__('Qty'); ?>">
|
215 |
+
<input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
216 |
+
|
217 |
+
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update'); ?></span></span>
|
218 |
+
</button>
|
219 |
+
|
220 |
+
<ul class="cart-links">
|
221 |
+
<?php if ($isVisibleProduct): ?>
|
222 |
+
<li>
|
223 |
+
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
224 |
+
</li>
|
225 |
+
<?php endif ?>
|
226 |
+
|
227 |
+
<?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
|
228 |
+
<li>
|
229 |
+
<a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
|
230 |
+
</li>
|
231 |
+
<?php endif ?>
|
232 |
+
</ul>
|
233 |
+
|
234 |
+
</td>
|
235 |
+
<?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
236 |
+
<td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
|
237 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
238 |
+
<div class="cart-tax-total"
|
239 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
240 |
+
<?php else: ?>
|
241 |
+
<div class="cart-price">
|
242 |
+
<?php endif; ?>
|
243 |
+
|
244 |
+
<?php if ($canApplyMsrp): ?>
|
245 |
+
<span class="cart-msrp-subtotal">--</span>
|
246 |
+
<?php else: ?>
|
247 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
248 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
|
249 |
+
<?php else: ?>
|
250 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
251 |
+
<?php endif; ?>
|
252 |
+
<?php endif; ?>
|
253 |
+
|
254 |
+
</div>
|
255 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
256 |
+
|
257 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>"
|
258 |
+
style="display:none;">
|
259 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
260 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
261 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
262 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
|
263 |
+
<?php endforeach; ?>
|
264 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
265 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
266 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
267 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
|
268 |
+
<?php endforeach; ?>
|
269 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
270 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
271 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
272 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
|
273 |
+
<?php endforeach; ?>
|
274 |
+
<?php endif; ?>
|
275 |
+
</div>
|
276 |
+
|
277 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
<div class="cart-tax-total"
|
279 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
280 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
|
281 |
+
: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
|
282 |
+
</div>
|
283 |
+
<?php endif; ?>
|
284 |
+
<?php endif; ?>
|
285 |
+
</td>
|
286 |
+
<?php endif; ?>
|
287 |
+
<?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
288 |
+
<td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
|
289 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
290 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
291 |
+
<div class="cart-tax-total"
|
292 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
293 |
+
<?php else: ?>
|
294 |
+
<div class="cart-price">
|
295 |
+
<?php endif; ?>
|
296 |
+
|
297 |
+
<?php if ($canApplyMsrp): ?>
|
298 |
+
<span class="cart-msrp-subtotal">--</span>
|
299 |
+
<?php else: ?>
|
300 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
301 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
302 |
+
<?php else: ?>
|
303 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
|
304 |
+
<?php endif; ?>
|
305 |
+
<?php endif; ?>
|
306 |
+
|
307 |
+
</div>
|
308 |
+
|
309 |
+
|
310 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
311 |
+
|
312 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>"
|
313 |
+
style="display:none;">
|
314 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
315 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
316 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
317 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
318 |
+
<?php endforeach; ?>
|
319 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
320 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
321 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
322 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
323 |
+
<?php endforeach; ?>
|
324 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
325 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
326 |
+
<span class="weee"><?php echo $tax['title']; ?>
|
327 |
+
: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
328 |
+
<?php endforeach; ?>
|
329 |
+
<?php endif; ?>
|
330 |
+
</div>
|
331 |
+
|
332 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
333 |
+
<div class="cart-tax-total"
|
334 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
335 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
336 |
+
: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
337 |
+
</div>
|
338 |
+
<?php endif; ?>
|
339 |
+
<?php endif; ?>
|
340 |
+
</td>
|
341 |
+
<?php endif; ?>
|
342 |
+
<td class="a-center product-cart-remove"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>"
|
343 |
+
class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
344 |
+
</tr>
|
app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml
ADDED
@@ -0,0 +1,246 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem()?>
|
28 |
+
<tr>
|
29 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
|
30 |
+
<!-- item custom options -->
|
31 |
+
<?php if ($_options = $this->getOptionList()):?>
|
32 |
+
<dl class="item-options">
|
33 |
+
<?php foreach ($_options as $_option) : ?>
|
34 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
35 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
36 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
37 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
38 |
+
<div class="truncated_full_value">
|
39 |
+
<dl class="item-options">
|
40 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
41 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
42 |
+
</dl>
|
43 |
+
</div>
|
44 |
+
<?php endif; ?>
|
45 |
+
</dd>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</dl>
|
48 |
+
<?php endif;?>
|
49 |
+
<?php if ($links = $this->getLinks()): ?>
|
50 |
+
<dl class="item-options">
|
51 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
52 |
+
<?php foreach ($links as $link): ?>
|
53 |
+
<dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</dl>
|
56 |
+
<?php endif; ?>
|
57 |
+
<!-- EOF downloadable -->
|
58 |
+
</td>
|
59 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
60 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
|
61 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
62 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
63 |
+
<?php else: ?>
|
64 |
+
<span class="cart-price">
|
65 |
+
<?php endif; ?>
|
66 |
+
|
67 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
68 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
69 |
+
<?php else: ?>
|
70 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
+
</span>
|
74 |
+
|
75 |
+
|
76 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
77 |
+
|
78 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
79 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
80 |
+
<small>
|
81 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
82 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</small>
|
85 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
86 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
87 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
|
88 |
+
<?php endforeach; ?>
|
89 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
90 |
+
<small>
|
91 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
92 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
93 |
+
<?php endforeach; ?>
|
94 |
+
</small>
|
95 |
+
<?php endif; ?>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
100 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
101 |
+
</div>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php endif; ?>
|
104 |
+
</td>
|
105 |
+
<?php endif; ?>
|
106 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
107 |
+
<td data-rwd-label="<?php echo $this->__('Price') ?>">
|
108 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
109 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
110 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
111 |
+
<?php else: ?>
|
112 |
+
<span class="cart-price">
|
113 |
+
<?php endif; ?>
|
114 |
+
|
115 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
116 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
117 |
+
<?php else: ?>
|
118 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
119 |
+
<?php endif; ?>
|
120 |
+
|
121 |
+
</span>
|
122 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
123 |
+
|
124 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
125 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
126 |
+
<small>
|
127 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
128 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
129 |
+
<?php endforeach; ?>
|
130 |
+
</small>
|
131 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
132 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
133 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
134 |
+
<?php endforeach; ?>
|
135 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
136 |
+
<small>
|
137 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
138 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
139 |
+
<?php endforeach; ?>
|
140 |
+
</small>
|
141 |
+
<?php endif; ?>
|
142 |
+
</div>
|
143 |
+
|
144 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
146 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
147 |
+
</div>
|
148 |
+
<?php endif; ?>
|
149 |
+
<?php endif; ?>
|
150 |
+
</td>
|
151 |
+
<?php endif; ?>
|
152 |
+
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
|
153 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
154 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
157 |
+
<?php else: ?>
|
158 |
+
<span class="cart-price">
|
159 |
+
<?php endif; ?>
|
160 |
+
|
161 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
162 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
163 |
+
<?php else: ?>
|
164 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
165 |
+
<?php endif; ?>
|
166 |
+
|
167 |
+
</span>
|
168 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
169 |
+
|
170 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<small>
|
173 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
174 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
175 |
+
<?php endforeach; ?>
|
176 |
+
</small>
|
177 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
178 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
179 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
180 |
+
<?php endforeach; ?>
|
181 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
182 |
+
<small>
|
183 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
184 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
185 |
+
<?php endforeach; ?>
|
186 |
+
</small>
|
187 |
+
<?php endif; ?>
|
188 |
+
</div>
|
189 |
+
|
190 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
191 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
192 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
193 |
+
</div>
|
194 |
+
<?php endif; ?>
|
195 |
+
<?php endif; ?>
|
196 |
+
</td>
|
197 |
+
<?php endif; ?>
|
198 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
199 |
+
<td data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
200 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
201 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
203 |
+
<?php else: ?>
|
204 |
+
<span class="cart-price">
|
205 |
+
<?php endif; ?>
|
206 |
+
|
207 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
208 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
209 |
+
<?php else: ?>
|
210 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
211 |
+
<?php endif; ?>
|
212 |
+
|
213 |
+
</span>
|
214 |
+
|
215 |
+
|
216 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
217 |
+
|
218 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
219 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<small>
|
221 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
222 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
223 |
+
<?php endforeach; ?>
|
224 |
+
</small>
|
225 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
226 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
227 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
228 |
+
<?php endforeach; ?>
|
229 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<small>
|
231 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
232 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
233 |
+
<?php endforeach; ?>
|
234 |
+
</small>
|
235 |
+
<?php endif; ?>
|
236 |
+
</div>
|
237 |
+
|
238 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
239 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
240 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
241 |
+
</div>
|
242 |
+
<?php endif; ?>
|
243 |
+
<?php endif; ?>
|
244 |
+
</td>
|
245 |
+
<?php endif; ?>
|
246 |
+
</tr>
|
app/design/frontend/rwd/default/template/downloadable/customer/products/list.phtml
ADDED
@@ -0,0 +1,74 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Downloadable_Block_Customer_Products_List
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_items = $this->getItems(); ?>
|
33 |
+
<div class="page-title">
|
34 |
+
<h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
|
35 |
+
</div>
|
36 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
+
<?php if(count($_items)): ?>
|
39 |
+
<table class="data-table linearize-table-large" id="my-downloadable-products-table">
|
40 |
+
<col width="1" />
|
41 |
+
<col width="1" />
|
42 |
+
<col />
|
43 |
+
<col width="1" />
|
44 |
+
<col width="1" />
|
45 |
+
<thead>
|
46 |
+
<tr>
|
47 |
+
<th><?php echo Mage::helper('downloadable')->__('Order #') ?></th>
|
48 |
+
<th><?php echo Mage::helper('downloadable')->__('Date') ?></th>
|
49 |
+
<th><?php echo Mage::helper('downloadable')->__('Title') ?></th>
|
50 |
+
<th><?php echo Mage::helper('downloadable')->__('Status') ?></th>
|
51 |
+
<th><span class="nobr"><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></span></th>
|
52 |
+
</tr>
|
53 |
+
</thead>
|
54 |
+
<tbody>
|
55 |
+
<?php $_odd = ''; ?>
|
56 |
+
<?php foreach ($_items as $_item): ?>
|
57 |
+
<tr>
|
58 |
+
<td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Order #') ?>"><a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('downloadable')->__('View Order') ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></td>
|
59 |
+
<td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Date') ?>"><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
|
60 |
+
<td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Title') ?>"><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('downloadable')->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></td>
|
61 |
+
<td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Status') ?>"><em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></td>
|
62 |
+
<td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?>"><?php echo $this->getRemainingDownloads($_item) ?></td>
|
63 |
+
</tr>
|
64 |
+
<?php endforeach; ?>
|
65 |
+
</tbody>
|
66 |
+
</table>
|
67 |
+
<script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
|
68 |
+
<?php else: ?>
|
69 |
+
<p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
|
70 |
+
<?php endif; ?>
|
71 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
72 |
+
<div class="buttons-set">
|
73 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
74 |
+
</div>
|
app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml
ADDED
@@ -0,0 +1,360 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
29 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3>
|
30 |
+
<?php if ($_options = $this->getItemOptions()): ?>
|
31 |
+
<dl class="item-options">
|
32 |
+
<?php foreach ($_options as $_option) : ?>
|
33 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
34 |
+
<?php if (!$this->getPrintStatus()): ?>
|
35 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
36 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
37 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
38 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
39 |
+
<div class="truncated_full_value">
|
40 |
+
<dl class="item-options">
|
41 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
42 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
43 |
+
</dl>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
46 |
+
</dd>
|
47 |
+
<?php else: ?>
|
48 |
+
<dd><?php echo $this->escapeHtml((isset($_option['print_value']) ? $_option['print_value'] : $_option['value'])) ?></dd>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</dl>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<!-- downloadable -->
|
55 |
+
<?php if ($links = $this->getLinks()): ?>
|
56 |
+
<dl class="item-options">
|
57 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
58 |
+
<?php foreach ($links->getPurchasedItems() as $link): ?>
|
59 |
+
<dd><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
|
60 |
+
<?php endforeach; ?>
|
61 |
+
</dl>
|
62 |
+
<?php endif; ?>
|
63 |
+
<!-- EOF downloadable -->
|
64 |
+
|
65 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
66 |
+
<?php if ($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
67 |
+
<br/><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>"
|
68 |
+
class="giftmessage-preview-link expand"
|
69 |
+
onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
70 |
+
<?php endif; ?>
|
71 |
+
</td>
|
72 |
+
<td data-rwd-label="<?php echo $this->__('SKU') ?>"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
73 |
+
|
74 |
+
<td class="a-right nowrap<?php if (!$this->helper('tax')->displayCartBothPrices() && !$this->helper('tax')->displayCartPriceExclTax()): ?> lin-hide<?php endif; ?>" data-rwd-label="<?php echo $this->__('Price') ?>">
|
75 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
76 |
+
<span class="price-excl-tax">
|
77 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
78 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
<span class="cart-price">
|
80 |
+
<?php endif; ?>
|
81 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
82 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
</span>
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
87 |
+
<span class="cart-tax-total"
|
88 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
89 |
+
<?php else: ?>
|
90 |
+
<span class="cart-price">
|
91 |
+
<?php endif; ?>
|
92 |
+
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
94 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?>
|
95 |
+
<?php else: ?>
|
96 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
97 |
+
<?php endif; ?>
|
98 |
+
</span>
|
99 |
+
|
100 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
101 |
+
|
102 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
103 |
+
style="display:none;">
|
104 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
105 |
+
<small>
|
106 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
107 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
108 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</small>
|
111 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
113 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
114 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
117 |
+
<small>
|
118 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
119 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
120 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
121 |
+
<?php endforeach; ?>
|
122 |
+
</small>
|
123 |
+
<?php endif; ?>
|
124 |
+
</span>
|
125 |
+
|
126 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
127 |
+
<span class="cart-tax-total"
|
128 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
129 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
130 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?></span>
|
131 |
+
</span>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php endif; ?>
|
134 |
+
</span>
|
135 |
+
<br/>
|
136 |
+
<?php endif; ?>
|
137 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
138 |
+
<span class="price-incl-tax">
|
139 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
140 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<span class="cart-price">
|
142 |
+
<?php endif; ?>
|
143 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
144 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
</span>
|
146 |
+
<?php endif; ?>
|
147 |
+
<?php endif; ?>
|
148 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
149 |
+
|
150 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
151 |
+
<span class="cart-tax-total"
|
152 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
153 |
+
<?php else: ?>
|
154 |
+
<span class="cart-price">
|
155 |
+
<?php endif; ?>
|
156 |
+
|
157 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
158 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
159 |
+
<?php else: ?>
|
160 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxDisposition()) ?>
|
161 |
+
<?php endif; ?>
|
162 |
+
|
163 |
+
</span>
|
164 |
+
|
165 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
166 |
+
|
167 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
168 |
+
style="display:none;">
|
169 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<small>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
172 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
173 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
174 |
+
<?php endforeach; ?>
|
175 |
+
</small>
|
176 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
177 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
178 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
179 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
180 |
+
<?php endforeach; ?>
|
181 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
182 |
+
<small>
|
183 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
184 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
185 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
186 |
+
<?php endforeach; ?>
|
187 |
+
</small>
|
188 |
+
<?php endif; ?>
|
189 |
+
</span>
|
190 |
+
|
191 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
192 |
+
<span class="cart-tax-total"
|
193 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
194 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
195 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
196 |
+
</span>
|
197 |
+
<?php endif; ?>
|
198 |
+
<?php endif; ?>
|
199 |
+
</span>
|
200 |
+
<?php endif; ?>
|
201 |
+
</td>
|
202 |
+
|
203 |
+
<td class="a-right nowrap" data-rwd-label="<?php echo $this->__('Qty') ?>">
|
204 |
+
<span class="nobr">
|
205 |
+
<?php if ($this->getItem()->getQtyOrdered() > 0): ?>
|
206 |
+
<?php echo $this->__('Ordered'); ?>:
|
207 |
+
<strong><?php echo $this->getItem()->getQtyOrdered() * 1 ?></strong><br/>
|
208 |
+
<?php endif; ?>
|
209 |
+
<?php if ($this->getItem()->getQtyShipped() > 0): ?>
|
210 |
+
<?php echo $this->__('Shipped'); ?>:
|
211 |
+
<strong><?php echo $this->getItem()->getQtyShipped() * 1 ?></strong><br/>
|
212 |
+
<?php endif; ?>
|
213 |
+
<?php if ($this->getItem()->getQtyCanceled() > 0): ?>
|
214 |
+
<?php echo $this->__('Canceled'); ?>:
|
215 |
+
<strong><?php echo $this->getItem()->getQtyCanceled() * 1 ?></strong><br/>
|
216 |
+
<?php endif; ?>
|
217 |
+
<?php if ($this->getItem()->getQtyRefunded() > 0): ?>
|
218 |
+
<?php echo $this->__('Refunded'); ?>:
|
219 |
+
<strong><?php echo $this->getItem()->getQtyRefunded() * 1 ?></strong><br/>
|
220 |
+
<?php endif; ?>
|
221 |
+
</span>
|
222 |
+
</td>
|
223 |
+
<td class="a-right nowrap<?php if (!$this->helper('tax')->displayCartBothPrices() && !$this->helper('tax')->displayCartPriceExclTax()): ?> lin-hide<?php endif; ?>" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
224 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
225 |
+
<span class="price-excl-tax">
|
226 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
227 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
228 |
+
<span class="cart-price">
|
229 |
+
<?php endif; ?>
|
230 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
231 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
232 |
+
</span>
|
233 |
+
<?php endif; ?>
|
234 |
+
<?php endif; ?>
|
235 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
236 |
+
<span class="cart-tax-total"
|
237 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
238 |
+
<?php else: ?>
|
239 |
+
<span class="cart-price">
|
240 |
+
<?php endif; ?>
|
241 |
+
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?>
|
244 |
+
<?php else: ?>
|
245 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
246 |
+
<?php endif; ?>
|
247 |
+
|
248 |
+
</span>
|
249 |
+
|
250 |
+
|
251 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
252 |
+
|
253 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
254 |
+
style="display:none;">
|
255 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
256 |
+
<small>
|
257 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
258 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
259 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
260 |
+
<?php endforeach; ?>
|
261 |
+
</small>
|
262 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
263 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
264 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
265 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
|
266 |
+
<?php endforeach; ?>
|
267 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
268 |
+
<small>
|
269 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
270 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
271 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
272 |
+
<?php endforeach; ?>
|
273 |
+
</small>
|
274 |
+
<?php endif; ?>
|
275 |
+
</span>
|
276 |
+
|
277 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
<span class="cart-tax-total"
|
279 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
280 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
281 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
282 |
+
</span>
|
283 |
+
<?php endif; ?>
|
284 |
+
<?php endif; ?>
|
285 |
+
</span>
|
286 |
+
<br/>
|
287 |
+
<?php endif; ?>
|
288 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
289 |
+
<span class="price-incl-tax">
|
290 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
291 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
292 |
+
<span class="cart-price">
|
293 |
+
<?php endif; ?>
|
294 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
295 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
296 |
+
</span>
|
297 |
+
<?php endif; ?>
|
298 |
+
<?php endif; ?>
|
299 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
300 |
+
|
301 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
302 |
+
<span class="cart-tax-total"
|
303 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
304 |
+
<?php else: ?>
|
305 |
+
<span class="cart-price">
|
306 |
+
<?php endif; ?>
|
307 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
308 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
309 |
+
<?php else: ?>
|
310 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxRowDisposition()) ?>
|
311 |
+
<?php endif; ?>
|
312 |
+
|
313 |
+
</span>
|
314 |
+
|
315 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
316 |
+
|
317 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
318 |
+
style="display:none;">
|
319 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
320 |
+
<small>
|
321 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
322 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
323 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
324 |
+
<?php endforeach; ?>
|
325 |
+
</small>
|
326 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
327 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
328 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
329 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
330 |
+
<?php endforeach; ?>
|
331 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
332 |
+
<small>
|
333 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
334 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
335 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
336 |
+
<?php endforeach; ?>
|
337 |
+
</small>
|
338 |
+
<?php endif; ?>
|
339 |
+
</span>
|
340 |
+
|
341 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
342 |
+
<span class="cart-tax-total"
|
343 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
344 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
345 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
346 |
+
</span>
|
347 |
+
<?php endif; ?>
|
348 |
+
<?php endif; ?>
|
349 |
+
</span>
|
350 |
+
<?php endif; ?>
|
351 |
+
</td>
|
352 |
+
<!--
|
353 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
354 |
+
<th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
|
355 |
+
<?php endif; ?>
|
356 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
357 |
+
<th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
|
358 |
+
<?php endif; ?>
|
359 |
+
-->
|
360 |
+
</tr>
|
app/design/frontend/rwd/default/template/newsletter/subscribe.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="block block-subscribe">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Newsletter') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
|
32 |
+
<div class="block-content">
|
33 |
+
<div class="form-subscribe-header">
|
34 |
+
<label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
|
35 |
+
</div>
|
36 |
+
<div class="input-box">
|
37 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
|
38 |
+
</div>
|
39 |
+
<div class="actions">
|
40 |
+
<button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</form>
|
44 |
+
<script type="text/javascript">
|
45 |
+
//<![CDATA[
|
46 |
+
var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
|
47 |
+
//]]>
|
48 |
+
</script>
|
49 |
+
</div>
|
app/design/frontend/rwd/default/template/oauth/authorize/form/login-simple.phtml
ADDED
@@ -0,0 +1,75 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Simple login form template
|
29 |
+
*
|
30 |
+
* @var $this Mage_Oauth_Block_Authorize
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<div class="content-container">
|
34 |
+
<div class="login-box">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Log In') ?></h1>
|
37 |
+
</div>
|
38 |
+
<div class="form-box">
|
39 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
40 |
+
<?php if (!$this->getHasException()) : ?>
|
41 |
+
<form method="post" action="<?php echo $this->getPostActionUrl() ?>" id="loginForm">
|
42 |
+
<div class="fieldset" class="fieldset">
|
43 |
+
<h2 class="legend"><?php echo $this->getFormTitle() ?></h2>
|
44 |
+
<p class="description"><?php echo $this->__('Log in to use <strong>%s</strong>', $this->getConsumer()->getName()) ?></p>
|
45 |
+
<div class="login-form simple">
|
46 |
+
<input type="hidden" name="oauth_token" value="<?php echo $this->escapeHtml($this->getToken()) ?>"/>
|
47 |
+
<div class="input-box input-left">
|
48 |
+
<label for="username">
|
49 |
+
<em class="required">*</em> <?php echo $this->getIdentityLabel(); ?>
|
50 |
+
</label>
|
51 |
+
<input type="text" id="username" name="login[username]" value="" class="required-entry input-text"/>
|
52 |
+
</div>
|
53 |
+
<div class="clear"></div>
|
54 |
+
<div class="input-box input-right">
|
55 |
+
<label for="login">
|
56 |
+
<em class="required">*</em> <?php echo $this->__('Password') ?>
|
57 |
+
</label>
|
58 |
+
<input type="password" id="login" name="login[password]" class="required-entry input-text"
|
59 |
+
value=""/></div>
|
60 |
+
<div class="clear"></div>
|
61 |
+
<div class="form-buttons">
|
62 |
+
<button type="submit" class="form-button"
|
63 |
+
title="<?php echo $this->__('Login') ?>"/><?php echo $this->__('Login') ?></button>
|
64 |
+
<button type="button" onclick="document.location.href='<?php echo $this->getRejectUrl(); ?>';"
|
65 |
+
title="<?php echo $this->__('Reject') ?>"><?php echo $this->__('Reject') ?></button>
|
66 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
</form>
|
71 |
+
<?php endif; ?>
|
72 |
+
</div>
|
73 |
+
<div class="bottom"></div>
|
74 |
+
</div>
|
75 |
+
</div>
|
app/design/frontend/rwd/default/template/page/1column.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
|
45 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
46 |
+
<div class="wrapper">
|
47 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
48 |
+
<div class="page">
|
49 |
+
<?php echo $this->getChildHtml('header') ?>
|
50 |
+
<div class="main-container col1-layout">
|
51 |
+
<div class="main">
|
52 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
53 |
+
<div class="col-main">
|
54 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
55 |
+
<?php echo $this->getChildHtml('content') ?>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php echo $this->getChildHtml('footer_before') ?>
|
60 |
+
<?php echo $this->getChildHtml('footer') ?>
|
61 |
+
<?php echo $this->getChildHtml('global_cookie_notice') ?>
|
62 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
66 |
+
</body>
|
67 |
+
</html>
|
68 |
+
|
app/design/frontend/rwd/default/template/page/2columns-left.phtml
ADDED
@@ -0,0 +1,72 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
|
45 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
46 |
+
<div class="wrapper">
|
47 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
48 |
+
<div class="page">
|
49 |
+
<?php echo $this->getChildHtml('header') ?>
|
50 |
+
<div class="main-container col2-left-layout">
|
51 |
+
<div class="main">
|
52 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
53 |
+
<?php // This left_first block will display above the main content on smaller viewports ?>
|
54 |
+
<?php if ($_leftContent = $this->getChildHtml('left_first')): ?>
|
55 |
+
<div class="col-left sidebar col-left-first"><?php echo $_leftContent; ?></div>
|
56 |
+
<?php endif; ?>
|
57 |
+
<div class="col-main">
|
58 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
59 |
+
<?php echo $this->getChildHtml('content') ?>
|
60 |
+
</div>
|
61 |
+
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<?php echo $this->getChildHtml('footer_before') ?>
|
65 |
+
<?php echo $this->getChildHtml('footer') ?>
|
66 |
+
<?php echo $this->getChildHtml('global_cookie_notice') ?>
|
67 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
71 |
+
</body>
|
72 |
+
</html>
|
app/design/frontend/rwd/default/template/page/2columns-right.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
|
45 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
46 |
+
<div class="wrapper">
|
47 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
48 |
+
<div class="page">
|
49 |
+
<?php echo $this->getChildHtml('header') ?>
|
50 |
+
<div class="main-container col2-right-layout">
|
51 |
+
<div class="main">
|
52 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
53 |
+
<div class="col-main">
|
54 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
55 |
+
<?php echo $this->getChildHtml('content') ?>
|
56 |
+
</div>
|
57 |
+
<div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
<?php echo $this->getChildHtml('footer_before') ?>
|
61 |
+
<?php echo $this->getChildHtml('footer') ?>
|
62 |
+
<?php echo $this->getChildHtml('global_cookie_notice') ?>
|
63 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
67 |
+
</body>
|
68 |
+
</html>
|
app/design/frontend/rwd/default/template/page/3columns.phtml
ADDED
@@ -0,0 +1,75 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
|
45 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
46 |
+
<div class="wrapper">
|
47 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
48 |
+
<div class="page">
|
49 |
+
<?php echo $this->getChildHtml('header') ?>
|
50 |
+
<div class="main-container col3-layout">
|
51 |
+
<div class="main">
|
52 |
+
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
53 |
+
<div class="col-wrapper">
|
54 |
+
<?php // This left_first block will display above the main content on smaller viewports ?>
|
55 |
+
<?php if ($_leftContent = $this->getChildHtml('left_first')): ?>
|
56 |
+
<div class="col-left sidebar col-left-first"><?php echo $_leftContent; ?></div>
|
57 |
+
<?php endif; ?>
|
58 |
+
<div class="col-main">
|
59 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
60 |
+
<?php echo $this->getChildHtml('content') ?>
|
61 |
+
</div>
|
62 |
+
<div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
|
63 |
+
</div>
|
64 |
+
<div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
<?php echo $this->getChildHtml('footer_before') ?>
|
68 |
+
<?php echo $this->getChildHtml('footer') ?>
|
69 |
+
<?php echo $this->getChildHtml('global_cookie_notice') ?>
|
70 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
74 |
+
</body>
|
75 |
+
</html>
|
app/design/frontend/rwd/default/template/page/empty.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
45 |
+
<div>
|
46 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
47 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
48 |
+
<?php echo $this->getChildHtml('content') ?>
|
49 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
50 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
51 |
+
</div>
|
52 |
+
</body>
|
53 |
+
</html>
|
app/design/frontend/rwd/default/template/page/html/footer.phtml
ADDED
@@ -0,0 +1,32 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="footer-container">
|
28 |
+
<div class="footer">
|
29 |
+
<?php echo $this->getChildHtml() ?>
|
30 |
+
<address class="copyright"><?php echo $this->getCopyright() ?></address>
|
31 |
+
</div>
|
32 |
+
</div>
|
app/design/frontend/rwd/default/template/page/html/header.phtml
ADDED
@@ -0,0 +1,114 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/**
|
27 |
+
* @var Mage_Page_Block_Html_Header $this
|
28 |
+
*/
|
29 |
+
?>
|
30 |
+
|
31 |
+
<div class="header-language-background">
|
32 |
+
<div class="header-language-container">
|
33 |
+
<div class="store-language-container">
|
34 |
+
<?php echo $this->getChildHtml('store_language') ?>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
<?php echo $this->getChildHtml('currency_switcher') ?>
|
38 |
+
|
39 |
+
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<header id="header" class="page-header">
|
44 |
+
<div class="page-header-container">
|
45 |
+
<a class="logo" href="<?php echo $this->getUrl('') ?>">
|
46 |
+
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="large" />
|
47 |
+
<img src="<?php echo $this->getLogoSrcSmall() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="small" />
|
48 |
+
</a>
|
49 |
+
|
50 |
+
<?php // In order for the language switcher to display next to logo on smaller viewports, it will be moved here.
|
51 |
+
// See app.js for details ?>
|
52 |
+
<div class="store-language-container"></div>
|
53 |
+
|
54 |
+
<!-- Skip Links -->
|
55 |
+
|
56 |
+
<div class="skip-links">
|
57 |
+
<a href="#header-nav" class="skip-link skip-nav">
|
58 |
+
<span class="icon"></span>
|
59 |
+
<span class="label"><?php echo $this->__('Menu'); ?></span>
|
60 |
+
</a>
|
61 |
+
|
62 |
+
<a href="#header-search" class="skip-link skip-search">
|
63 |
+
<span class="icon"></span>
|
64 |
+
<span class="label"><?php echo $this->__('Search'); ?></span>
|
65 |
+
</a>
|
66 |
+
|
67 |
+
<a href="#header-account" class="skip-link skip-account">
|
68 |
+
<span class="icon"></span>
|
69 |
+
<span class="label"><?php echo $this->__('Account'); ?></span>
|
70 |
+
</a>
|
71 |
+
|
72 |
+
<!-- Cart -->
|
73 |
+
|
74 |
+
<div class="header-minicart">
|
75 |
+
<?php echo $this->getChildHtml('minicart_head'); ?>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<!-- Navigation -->
|
82 |
+
|
83 |
+
<div id="header-nav" class="skip-content">
|
84 |
+
<?php echo $this->getChildHtml('topMenu') ?>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
<!-- Search -->
|
88 |
+
|
89 |
+
<div id="header-search" class="skip-content">
|
90 |
+
<?php echo $this->getChildHtml('topSearch') ?>
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<!-- Account -->
|
94 |
+
|
95 |
+
<div id="header-account" class="skip-content">
|
96 |
+
<?php echo $this->getChildHtml('topLinks') ?>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<!-- Cart -->
|
100 |
+
|
101 |
+
<!-- <div id="header-cart" class="skip-content">
|
102 |
+
<div class="mini-cart">
|
103 |
+
<div class="menu-wrapper">
|
104 |
+
<div class="menu cart-menu">
|
105 |
+
<div class="empty">Your cart is empty.</div>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</div> -->
|
110 |
+
</div>
|
111 |
+
</header>
|
112 |
+
|
113 |
+
|
114 |
+
<?php echo $this->getChildHtml('topContainer'); ?>
|
app/design/frontend/rwd/default/template/page/html/pager.phtml
ADDED
@@ -0,0 +1,130 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Pager template
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Html_Pager
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getCollection()->getSize()): ?>
|
35 |
+
|
36 |
+
<?php if($this->getUseContainer()): ?>
|
37 |
+
<div class="pager pager-no-toolbar">
|
38 |
+
<?php endif ?>
|
39 |
+
|
40 |
+
<?php if($this->getShowAmounts() || $this->getShowPerPage()): ?>
|
41 |
+
<div class="count-container">
|
42 |
+
<?php if($this->getShowAmounts()): ?>
|
43 |
+
<?php if($this->getLastPageNum()>1): ?>
|
44 |
+
<p class="amount amount--has-pages">
|
45 |
+
<?php echo $this->__('%s-%s of %s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
46 |
+
</p>
|
47 |
+
<?php else: ?>
|
48 |
+
<p class="amount amount--no-pages">
|
49 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
50 |
+
</p>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endif ?>
|
53 |
+
|
54 |
+
<?php if($this->getShowPerPage()): ?>
|
55 |
+
<div class="limiter">
|
56 |
+
<label><?php echo $this->__('Show') ?></label>
|
57 |
+
<select onchange="setLocation(this.value)" title="<?php echo $this->__('Results per page'); ?>">
|
58 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
59 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
60 |
+
<?php echo $_limit ?>
|
61 |
+
</option>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
</select>
|
64 |
+
</div>
|
65 |
+
<?php endif ?>
|
66 |
+
</div>
|
67 |
+
<?php endif; ?>
|
68 |
+
|
69 |
+
<?php if($this->getLastPageNum()>1): ?>
|
70 |
+
<div class="pages">
|
71 |
+
<strong><?php echo $this->__('Page:') ?></strong>
|
72 |
+
<ol>
|
73 |
+
<?php if (!$this->isFirstPage()): ?>
|
74 |
+
<li>
|
75 |
+
<a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
|
76 |
+
<?php if(!$this->getAnchorTextForPrevious()): ?>
|
77 |
+
<?php echo $this->__('Previous') ?>
|
78 |
+
<?php else: ?>
|
79 |
+
<?php echo $this->getAnchorTextForPrevious() ?>
|
80 |
+
<?php endif;?>
|
81 |
+
</a>
|
82 |
+
</li>
|
83 |
+
<?php endif;?>
|
84 |
+
|
85 |
+
<?php if ($this->canShowFirst()): ?>
|
86 |
+
<li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
|
87 |
+
<?php endif;?>
|
88 |
+
|
89 |
+
<?php if ($this->canShowPreviousJump()): ?>
|
90 |
+
<li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
|
91 |
+
<?php endif;?>
|
92 |
+
|
93 |
+
<?php foreach ($this->getFramePages() as $_page): ?>
|
94 |
+
<?php if ($this->isPageCurrent($_page)): ?>
|
95 |
+
<li class="current"><?php echo $_page ?></li>
|
96 |
+
<?php else: ?>
|
97 |
+
<li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
|
98 |
+
<?php endif;?>
|
99 |
+
<?php endforeach;?>
|
100 |
+
|
101 |
+
|
102 |
+
<?php if ($this->canShowNextJump()): ?>
|
103 |
+
<li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
|
104 |
+
<?php endif;?>
|
105 |
+
|
106 |
+
<?php if ($this->canShowLast()): ?>
|
107 |
+
<li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
|
108 |
+
<?php endif;?>
|
109 |
+
|
110 |
+
<?php if (!$this->isLastPage()): ?>
|
111 |
+
<li>
|
112 |
+
<a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
|
113 |
+
<?php if(!$this->getAnchorTextForNext()): ?>
|
114 |
+
<?php echo $this->__('Next') ?>
|
115 |
+
<?php else: ?>
|
116 |
+
<?php echo $this->getAnchorTextForNext() ?>
|
117 |
+
<?php endif;?>
|
118 |
+
</a>
|
119 |
+
</li>
|
120 |
+
<?php endif;?>
|
121 |
+
</ol>
|
122 |
+
|
123 |
+
</div>
|
124 |
+
<?php endif; ?>
|
125 |
+
|
126 |
+
<?php if($this->getUseContainer()): ?>
|
127 |
+
</div>
|
128 |
+
<?php endif ?>
|
129 |
+
|
130 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/page/html/topmenu.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Html_Topmenu
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_menu = $this->getHtml('level-top') ?>
|
35 |
+
|
36 |
+
<?php if($_menu): ?>
|
37 |
+
<nav id="nav">
|
38 |
+
<ol class="nav-primary">
|
39 |
+
<?php echo $_menu ?>
|
40 |
+
</ol>
|
41 |
+
</nav>
|
42 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml
ADDED
@@ -0,0 +1,82 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/** @var Mage_Page_Block_Html_Topmenu_Renderer $this */
|
28 |
+
/** @var Varien_Data_Tree_Node $menuTree */
|
29 |
+
/** @var string $childrenWrapClass */
|
30 |
+
|
31 |
+
$html = '';
|
32 |
+
|
33 |
+
$children = $menuTree->getChildren();
|
34 |
+
$parentLevel = $menuTree->getLevel();
|
35 |
+
$childLevel = is_null($parentLevel) ? 0 : $parentLevel + 1;
|
36 |
+
|
37 |
+
$counter = 1;
|
38 |
+
$childrenCount = $children->count();
|
39 |
+
|
40 |
+
$parentPositionClass = $menuTree->getPositionClass();
|
41 |
+
$itemPositionClassPrefix = $parentPositionClass ? $parentPositionClass . '-' : 'nav-';
|
42 |
+
|
43 |
+
foreach ($children as $child) {
|
44 |
+
$child->setLevel($childLevel);
|
45 |
+
$child->setIsFirst($counter == 1);
|
46 |
+
$child->setIsLast($counter == $childrenCount);
|
47 |
+
$child->setPositionClass($itemPositionClassPrefix . $counter);
|
48 |
+
|
49 |
+
$outermostClassCode = 'level'. $childLevel;
|
50 |
+
$_hasChildren = ($child->hasChildren()) ? 'has-children' : '';
|
51 |
+
|
52 |
+
$html .= '<li '. $this->_getRenderedMenuItemAttributes($child) .'>';
|
53 |
+
|
54 |
+
$html .= '<a href="'. $child->getUrl() .'" class="'. $outermostClassCode .' '. $_hasChildren .'">'. $this->escapeHtml($this->__($child->getName())) .'</a>';
|
55 |
+
|
56 |
+
if (!empty($childrenWrapClass)) {
|
57 |
+
$html .= '<div class="'. $childrenWrapClass .'">';
|
58 |
+
}
|
59 |
+
|
60 |
+
$nextChildLevel = $childLevel + 1;
|
61 |
+
|
62 |
+
if (!empty($_hasChildren)) {
|
63 |
+
$html .= '<ul class="level'. $childLevel .'">';
|
64 |
+
$html .= '<li class="level'. $nextChildLevel .'">';
|
65 |
+
$html .= '<a class="level'. $nextChildLevel .'" href="'. $child->getUrl() .'">';
|
66 |
+
$html .= $this->__('View All ') . $this->escapeHtml($this->__($child->getName()));
|
67 |
+
$html .= '</a>';
|
68 |
+
$html .= '</li>';
|
69 |
+
$html .= $this->render($child, $childrenWrapClass);
|
70 |
+
$html .= '</ul>';
|
71 |
+
}
|
72 |
+
|
73 |
+
if (!empty($childrenWrapClass)) {
|
74 |
+
$html .= '</div>';
|
75 |
+
}
|
76 |
+
|
77 |
+
$html .= '</li>';
|
78 |
+
|
79 |
+
$counter++;
|
80 |
+
}
|
81 |
+
|
82 |
+
return $html;
|
app/design/frontend/rwd/default/template/page/popup.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body class="page-popup<?php echo $this->getBodyClass()?$this->getBodyClass() : ''?>">
|
45 |
+
<div>
|
46 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
47 |
+
<?php echo $this->getChildHtml('content') ?>
|
48 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
49 |
+
</div>
|
50 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
51 |
+
</body>
|
52 |
+
</html>
|
app/design/frontend/rwd/default/template/page/print.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for Mage_Page_Block_Html
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
|
33 |
+
<!DOCTYPE html>
|
34 |
+
|
35 |
+
<!--[if lt IE 7 ]> <html lang="en" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="en" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="en" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="en" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" id="top" class="no-js"> <!--<![endif]-->
|
40 |
+
|
41 |
+
<head>
|
42 |
+
<?php echo $this->getChildHtml('head') ?>
|
43 |
+
</head>
|
44 |
+
<body class="page-print<?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
|
45 |
+
<div>
|
46 |
+
<div class="print-head">
|
47 |
+
<img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getChild('header')->getLogoSrc() ?>" class="logo" alt="" />
|
48 |
+
<?php if ($this->getPrintLogoText()):?>
|
49 |
+
<address><?php echo nl2br($this->escapeHtml($this->getPrintLogoText())) ?></address>
|
50 |
+
<?php endif;?>
|
51 |
+
</div>
|
52 |
+
<?php echo $this->getChildHtml('content') ?>
|
53 |
+
<div class="buttons-set">
|
54 |
+
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
55 |
+
</div>
|
56 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
57 |
+
</div>
|
58 |
+
</body>
|
59 |
+
</html>
|
app/design/frontend/rwd/default/template/page/template/links.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Template_Links
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_links = $this->getLinks(); ?>
|
33 |
+
<?php if(count($_links)>0): ?>
|
34 |
+
<div class="links">
|
35 |
+
<?php if($this->getTitle()): ?>
|
36 |
+
<div class="block-title"><strong><span><?php echo $this->__($this->getTitle()); ?></span></strong></div>
|
37 |
+
<?php endif; ?>
|
38 |
+
<ul<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
|
39 |
+
<?php foreach($_links as $_link): ?>
|
40 |
+
<?php if ($_link instanceof Mage_Core_Block_Abstract):?>
|
41 |
+
<?php echo $_link->toHtml() ?>
|
42 |
+
<?php else: ?>
|
43 |
+
<li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
|
44 |
+
<?php endif;?>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</ul>
|
47 |
+
</div>
|
48 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/payment/form/cc.phtml
ADDED
@@ -0,0 +1,139 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_code=$this->getMethodCode() ?>
|
28 |
+
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
29 |
+
<?php /*
|
30 |
+
<li>
|
31 |
+
<div class="input-box">
|
32 |
+
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
33 |
+
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
*/ ?>
|
37 |
+
<li>
|
38 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
39 |
+
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
40 |
+
<div class="input-box">
|
41 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select" title="<?php echo $this->__('Credit Card Type') ?>">
|
42 |
+
<option value=""><?php echo $this->__('--Please Select--')?></option>
|
43 |
+
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
44 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
45 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
46 |
+
<?php endforeach ?>
|
47 |
+
</select>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<li>
|
51 |
+
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
52 |
+
<div class="input-box">
|
53 |
+
<input type="text" pattern="\d*" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<li id="<?php echo $_code ?>_cc_type_exp_div">
|
57 |
+
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
58 |
+
<div class="input-box">
|
59 |
+
<div class="v-fix">
|
60 |
+
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
61 |
+
<?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
|
62 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
63 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
64 |
+
<?php endforeach ?>
|
65 |
+
</select>
|
66 |
+
</div>
|
67 |
+
<div class="v-fix">
|
68 |
+
<?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
|
69 |
+
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
70 |
+
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
71 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
72 |
+
<?php endforeach ?>
|
73 |
+
</select>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
</li>
|
77 |
+
<?php echo $this->getChildHtml() ?>
|
78 |
+
<?php if($this->hasVerification()): ?>
|
79 |
+
<li id="<?php echo $_code ?>_cc_type_cvv_div">
|
80 |
+
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
81 |
+
<div class="input-box">
|
82 |
+
<div class="v-fix">
|
83 |
+
<input type="text" pattern="\d*" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
84 |
+
</div>
|
85 |
+
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
86 |
+
</div>
|
87 |
+
</li>
|
88 |
+
<?php endif; ?>
|
89 |
+
|
90 |
+
<?php if ($this->hasSsCardType()): ?>
|
91 |
+
<li id="<?php echo $_code ?>_cc_type_ss_div">
|
92 |
+
<ul class="inner-form">
|
93 |
+
<li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
|
94 |
+
<li>
|
95 |
+
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
96 |
+
<span class="input-box">
|
97 |
+
<input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
98 |
+
</span>
|
99 |
+
</li>
|
100 |
+
|
101 |
+
<li>
|
102 |
+
<label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
|
103 |
+
<div class="input-box">
|
104 |
+
<div class="v-fix">
|
105 |
+
<select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
|
106 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
107 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
108 |
+
<?php endforeach ?>
|
109 |
+
</select>
|
110 |
+
</div>
|
111 |
+
<div class="v-fix">
|
112 |
+
<select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
|
113 |
+
<?php foreach ($this->getSsStartYears() as $k=>$v): ?>
|
114 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
115 |
+
<?php endforeach ?>
|
116 |
+
</select>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
</li>
|
120 |
+
<li class="adv-container"> </li>
|
121 |
+
</ul>
|
122 |
+
<script type="text/javascript">
|
123 |
+
//<![CDATA[
|
124 |
+
var SSChecked<?php echo $_code ?> = function() {
|
125 |
+
var elm = $('<?php echo $_code ?>_cc_type');
|
126 |
+
if (['SS','SM','SO'].indexOf(elm.value) != -1) {
|
127 |
+
$('<?php echo $_code ?>_cc_type_ss_div').show();
|
128 |
+
} else {
|
129 |
+
$('<?php echo $_code ?>_cc_type_ss_div').hide();
|
130 |
+
}
|
131 |
+
};
|
132 |
+
|
133 |
+
Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
|
134 |
+
SSChecked<?php echo $_code ?>();
|
135 |
+
//]]>
|
136 |
+
</script>
|
137 |
+
</li>
|
138 |
+
<?php endif; ?>
|
139 |
+
</ul>
|
app/design/frontend/rwd/default/template/payment/form/ccsave.phtml
ADDED
@@ -0,0 +1,136 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_code=$this->getMethodCode() ?>
|
28 |
+
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
|
29 |
+
<li>
|
30 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
31 |
+
<label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
|
32 |
+
<div class="input-box">
|
33 |
+
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
<li>
|
37 |
+
<label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-cc-type-select">
|
40 |
+
<option value=""><?php echo $this->__('--Please Select--') ?></option>
|
41 |
+
<?php $_ccType = $this->getInfoData('cc_type') ?>
|
42 |
+
<?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
|
43 |
+
<option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
|
44 |
+
<?php endforeach ?>
|
45 |
+
</select>
|
46 |
+
</div>
|
47 |
+
</li>
|
48 |
+
<li>
|
49 |
+
<label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<input type="text" pattern="\d*" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
|
52 |
+
</div>
|
53 |
+
</li>
|
54 |
+
<li>
|
55 |
+
<label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
|
56 |
+
<div class="input-box">
|
57 |
+
<div class="v-fix">
|
58 |
+
<select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
|
59 |
+
<?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
|
60 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
61 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
62 |
+
<?php endforeach ?>
|
63 |
+
</select>
|
64 |
+
</div>
|
65 |
+
<div class="v-fix">
|
66 |
+
<?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
|
67 |
+
<select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
|
68 |
+
<?php foreach ($this->getCcYears() as $k=>$v): ?>
|
69 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
70 |
+
<?php endforeach ?>
|
71 |
+
</select>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
</li>
|
75 |
+
<?php echo $this->getChildHtml() ?>
|
76 |
+
<?php if($this->hasVerification()): ?>
|
77 |
+
<li>
|
78 |
+
<label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
|
79 |
+
<div class="input-box">
|
80 |
+
<div class="v-fix">
|
81 |
+
<input type="text" pattern="\d*" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
|
82 |
+
</div>
|
83 |
+
<a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
|
84 |
+
</div>
|
85 |
+
</li>
|
86 |
+
<?php endif; ?>
|
87 |
+
<?php if ($this->hasSsCardType()): ?>
|
88 |
+
<li id="<?php echo $_code ?>_cc_type_ss_div">
|
89 |
+
<ul class="inner-form">
|
90 |
+
<li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
|
91 |
+
<li>
|
92 |
+
<label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
|
93 |
+
<span class="input-box">
|
94 |
+
<input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
|
95 |
+
</span>
|
96 |
+
</li>
|
97 |
+
|
98 |
+
<li>
|
99 |
+
<label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
|
100 |
+
<div class="input-box">
|
101 |
+
<div class="v-fix">
|
102 |
+
<select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
|
103 |
+
<?php foreach ($this->getCcMonths() as $k=>$v): ?>
|
104 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
105 |
+
<?php endforeach ?>
|
106 |
+
</select>
|
107 |
+
</div>
|
108 |
+
<div class="v-fix">
|
109 |
+
<select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
|
110 |
+
<?php foreach ($this->getSsStartYears() as $k=>$v): ?>
|
111 |
+
<option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
|
112 |
+
<?php endforeach ?>
|
113 |
+
</select>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
</li>
|
117 |
+
<li class="adv-container"> </li>
|
118 |
+
</ul>
|
119 |
+
<script type="text/javascript">
|
120 |
+
//<![CDATA[
|
121 |
+
var SSChecked<?php echo $_code ?> = function() {
|
122 |
+
var elm = $('<?php echo $_code ?>_cc_type');
|
123 |
+
if (['SS','SM','SO'].indexOf(elm.value) != -1) {
|
124 |
+
$('<?php echo $_code ?>_cc_type_ss_div').show();
|
125 |
+
} else {
|
126 |
+
$('<?php echo $_code ?>_cc_type_ss_div').hide();
|
127 |
+
}
|
128 |
+
};
|
129 |
+
|
130 |
+
Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
|
131 |
+
SSChecked<?php echo $_code ?>();
|
132 |
+
//]]>
|
133 |
+
</script>
|
134 |
+
</li>
|
135 |
+
<?php endif; ?>
|
136 |
+
</ul>
|
app/design/frontend/rwd/default/template/payment/info/default.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Payment_Block_Info
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<p class="subtitle"><strong><?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?></strong></p>
|
33 |
+
|
34 |
+
<?php if ($_specificInfo = $this->getSpecificInformation()):?>
|
35 |
+
<dl class="payment-info">
|
36 |
+
<?php foreach ($_specificInfo as $_label => $_value):?>
|
37 |
+
<dt><?php echo $this->escapeHtml($_label)?></dt>
|
38 |
+
<dd><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></dd>
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</dl>
|
41 |
+
<?php endif;?>
|
42 |
+
|
43 |
+
<?php echo $this->getChildHtml()?>
|
app/design/frontend/rwd/default/template/paypal/bml.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Paypal_Block_Bml_Banners
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<div class="bml-ad large">
|
33 |
+
<script type="text/javascript" data-pp-pubid="<?php echo $this->escapeHtml($this->getPublisherId()) ?>" data-pp-placementtype="<?php echo $this->escapeHtml($this->getSize()) ?>"> (function (d, t) {
|
34 |
+
"use strict";
|
35 |
+
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
|
36 |
+
n.src = "//paypal.adtag.where.com/merchant.js";
|
37 |
+
s.parentNode.insertBefore(n, s);
|
38 |
+
}(document, "script"));
|
39 |
+
</script>
|
40 |
+
</div>
|
41 |
+
<div class="bml-ad small">
|
42 |
+
<script type="text/javascript" data-pp-pubid="<?php echo $this->escapeHtml($this->getPublisherId()) ?>" data-pp-placementtype="300x50"> (function (d, t) {
|
43 |
+
"use strict";
|
44 |
+
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
|
45 |
+
n.src = "//paypal.adtag.where.com/merchant.js";
|
46 |
+
s.parentNode.insertBefore(n, s);
|
47 |
+
}(document, "script"));
|
48 |
+
</script>
|
49 |
+
</div>
|
app/design/frontend/rwd/default/template/paypal/express/minicart/shortcut.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @var $this Mage_Paypal_Block_Express_Shortcut
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<li>
|
33 |
+
<p class="paypal-logo">
|
34 |
+
<?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
|
35 |
+
<?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
|
36 |
+
<a class="paypal-button" data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" /></a>
|
37 |
+
|
38 |
+
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
39 |
+
</p>
|
40 |
+
</li>
|
41 |
+
<?php if ($this->getIsBmlEnabled()): ?>
|
42 |
+
<li class="bml-checkout-type">
|
43 |
+
<p class="paypal-logo">
|
44 |
+
<span class="bml_button">
|
45 |
+
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Bill Me Later');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Bill Me Later');?>" /></a>
|
46 |
+
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
47 |
+
</span>
|
48 |
+
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
49 |
+
</p>
|
50 |
+
</li>
|
51 |
+
<?php endif;?>
|
52 |
+
|
53 |
+
<?php if ($this->getConfirmationUrl() || $this->getIsInCatalogProduct()): ?>
|
54 |
+
<?php if ($this->getIsInCatalogProduct()): ?>
|
55 |
+
<input type="hidden" id="pp_checkout_url" name="return_url" value="" />
|
56 |
+
<?php endif; ?>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
$$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
|
60 |
+
<?php if ($this->getConfirmationUrl()): ?>
|
61 |
+
if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage())?>')) {
|
62 |
+
this.href = '<?php echo $this->getConfirmationUrl() ?>';
|
63 |
+
}
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->getIsInCatalogProduct()): ?>
|
66 |
+
$('pp_checkout_url').value = this.href;
|
67 |
+
productAddToCartForm.submit(this);
|
68 |
+
event.stop();
|
69 |
+
<?php endif; ?>
|
70 |
+
});
|
71 |
+
//]]>
|
72 |
+
</script>
|
73 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/paypal/express/product/shortcut.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @var $this Mage_Paypal_Block_Express_Shortcut
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<p class="paypal-logo<?php if (!$this->getIsBmlEnabled()): ?> no-bml<?php endif; ?>">
|
33 |
+
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
34 |
+
|
35 |
+
<?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
|
36 |
+
<?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
|
37 |
+
<a class="paypal-button" data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" /></a>
|
38 |
+
</p>
|
39 |
+
<?php if ($this->getIsBmlEnabled()): ?>
|
40 |
+
<p class="paypal-logo">
|
41 |
+
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
42 |
+
<span class="bml_button">
|
43 |
+
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Bill Me Later');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Bill Me Later');?>" /></a>
|
44 |
+
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
45 |
+
</span>
|
46 |
+
</p>
|
47 |
+
<?php endif;?>
|
48 |
+
|
49 |
+
<?php if ($this->getConfirmationUrl() || $this->getIsInCatalogProduct()): ?>
|
50 |
+
<?php if ($this->getIsInCatalogProduct()): ?>
|
51 |
+
<input type="hidden" id="pp_checkout_url" name="return_url" value="" />
|
52 |
+
<?php endif; ?>
|
53 |
+
<script type="text/javascript">
|
54 |
+
//<![CDATA[
|
55 |
+
$$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
|
56 |
+
<?php if ($this->getConfirmationUrl()): ?>
|
57 |
+
if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage())?>')) {
|
58 |
+
this.href = '<?php echo $this->getConfirmationUrl() ?>';
|
59 |
+
}
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php if ($this->getIsInCatalogProduct()): ?>
|
62 |
+
$('pp_checkout_url').value = this.href;
|
63 |
+
productAddToCartForm.submit(this);
|
64 |
+
event.stop();
|
65 |
+
<?php endif; ?>
|
66 |
+
});
|
67 |
+
//]]>
|
68 |
+
</script>
|
69 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/paypal/express/review.phtml
ADDED
@@ -0,0 +1,177 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/** @var $this Mage_Paypal_Block_Express_Review */
|
27 |
+
?>
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
32 |
+
<?php if ($this->getShippingAddress()): ?>
|
33 |
+
<div class="info-set col2-set">
|
34 |
+
<h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
|
35 |
+
<div class="col-1">
|
36 |
+
<div class="box">
|
37 |
+
<div class="box-title">
|
38 |
+
<h3><?php echo $this->__('Shipping Address') ?><span class="separator"><?php if ($this->getCanEditShippingAddress()):?> | </span><a href="<?php echo $this->getEditUrl() ?>"><?php echo $this->__('Edit') ?></a><?php endif;?></h3>
|
39 |
+
</div>
|
40 |
+
<div class="box-content">
|
41 |
+
<address><?php echo $this->renderAddress($this->getShippingAddress())?></address>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
<div class="col-2">
|
46 |
+
<div class="box">
|
47 |
+
<div class="box-title">
|
48 |
+
<h3><?php echo $this->__('Shipping Method') ?></h3>
|
49 |
+
</div>
|
50 |
+
<div class="box-content">
|
51 |
+
<form method="post" id="shipping_method_form" action="<?php echo $this->escapeHtml($this->getShippingMethodSubmitUrl()) ?>">
|
52 |
+
<?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
|
53 |
+
<?php if ($groups = $this->getShippingRateGroups()):?>
|
54 |
+
<?php $currentRate = $this->getCurrentShippingRate(); ?>
|
55 |
+
<fieldset>
|
56 |
+
<select name="shipping_method" id="shipping_method" style="width:250px;" class="required-entry">
|
57 |
+
<?php if (!$currentRate):?>
|
58 |
+
<option value=""><?php echo $this->__('Please select a shipping method...') ?></option>
|
59 |
+
<?php endif;?>
|
60 |
+
<?php foreach ($groups as $code => $rates):?>
|
61 |
+
<optgroup label="<?php echo $this->escapeHtml($this->getCarrierName($code)) ?>" style="font-style:normal;">
|
62 |
+
<?php foreach ($rates as $rate):?>
|
63 |
+
<option value="<?php echo $this->renderShippingRateValue($rate)?>"<?php echo ($currentRate === $rate) ? ' selected="selected"' : '' ;?>>
|
64 |
+
<?php echo $this->renderShippingRateOption($rate)?>
|
65 |
+
</option>
|
66 |
+
<?php endforeach;?>
|
67 |
+
</optgroup>
|
68 |
+
<?php endforeach;?>
|
69 |
+
</select>
|
70 |
+
</fieldset>
|
71 |
+
<p class="actions">
|
72 |
+
<button id="update_shipping_method_submit" type="submit" class="button"><span><span><?php echo $this->__('Update Shipping Method') ?></span></span></button>
|
73 |
+
</p>
|
74 |
+
<?php else: ?>
|
75 |
+
<p><strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong></p>
|
76 |
+
<?php endif;?>
|
77 |
+
<?php else: ?>
|
78 |
+
<p><strong><?php echo $this->renderShippingRateOption($this->getCurrentShippingRate())?></strong></p>
|
79 |
+
<?php endif; ?>
|
80 |
+
</form>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
<?php endif; ?>
|
86 |
+
|
87 |
+
<div class="info-set col2-set">
|
88 |
+
<h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
|
89 |
+
<div class="col-1">
|
90 |
+
<div class="box">
|
91 |
+
<div class="box-title">
|
92 |
+
<h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span>
|
93 |
+
<?php if($this->getEditUrl()):?><a href="<?php echo $this->getEditUrl() ?>"><?php echo $this->__('Edit Payment Information') ?></a> <?php endif ?>
|
94 |
+
</h3>
|
95 |
+
</div>
|
96 |
+
<div class="box-content">
|
97 |
+
<?php echo $this->escapeHtml($this->getPaymentMethodTitle()) ?>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<div class="info-set">
|
104 |
+
<h2 class="legend"><?php echo $this->__('Items in Your Shopping Cart') ?><span class="separator"> | </span><a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Shopping Cart') ?></a></h2>
|
105 |
+
<div id="details-reload">
|
106 |
+
<?php echo $this->getChildHtml('details') ?>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<form method="post" id="order_review_form" action="<?php echo $this->getPlaceOrderUrl() ?>">
|
110 |
+
<?php echo $this->getChildHtml('agreements'); ?>
|
111 |
+
<div class="buttons-set buttons-set-order" id="review-buttons-container">
|
112 |
+
<button type="button" id="review_button" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
113 |
+
<button type="button" id="review_submit" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
114 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
115 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
116 |
+
</span>
|
117 |
+
</div>
|
118 |
+
</form>
|
119 |
+
<script type="text/javascript">
|
120 |
+
//<![CDATA[
|
121 |
+
// submit buttons are not needed when submitting with ajax
|
122 |
+
$('review_submit').hide();
|
123 |
+
if ($('update_shipping_method_submit')) {
|
124 |
+
$('update_shipping_method_submit').hide();
|
125 |
+
}
|
126 |
+
|
127 |
+
<?php if ($this->getUseAjax()):?>
|
128 |
+
OrderReviewController.prototype._submitOrder = function() {
|
129 |
+
if (this._canSubmitOrder) {
|
130 |
+
if (this._pleaseWait) {
|
131 |
+
this._pleaseWait.show();
|
132 |
+
}
|
133 |
+
new Ajax.Request(this.form.action, {
|
134 |
+
parameters: {isAjax: 1, method: 'POST'},
|
135 |
+
onSuccess: function(transport) {
|
136 |
+
try{
|
137 |
+
response = eval('(' + transport.responseText + ')');
|
138 |
+
} catch (e) {
|
139 |
+
response = {};
|
140 |
+
}
|
141 |
+
if (response.redirect) {
|
142 |
+
setLocation(response.redirect);
|
143 |
+
return;
|
144 |
+
}
|
145 |
+
if (response.success) {
|
146 |
+
setLocation('<?php echo $this->getSuccessUrl()?>');
|
147 |
+
return;
|
148 |
+
} else {
|
149 |
+
var msg = response.error_messages;
|
150 |
+
if (typeof(msg)=='object') {
|
151 |
+
msg = msg.join("\n");
|
152 |
+
}
|
153 |
+
if (msg) {
|
154 |
+
$('review-please-wait').hide();
|
155 |
+
alert(msg);
|
156 |
+
return;
|
157 |
+
}
|
158 |
+
}
|
159 |
+
$('review-please-wait').hide();
|
160 |
+
alert('<?php echo $this->jsQuoteEscape($this->__('Unknown Error. Please try again later.')); ?>');
|
161 |
+
return;
|
162 |
+
},
|
163 |
+
onFailure: function(){
|
164 |
+
alert('<?php echo $this->jsQuoteEscape($this->__('Server Error. Please try again.')) ?>');
|
165 |
+
$('review-please-wait').hide();
|
166 |
+
}
|
167 |
+
});
|
168 |
+
}
|
169 |
+
}
|
170 |
+
<?php endif ?>
|
171 |
+
|
172 |
+
PayPalExpressAjax = new OrderReviewController($('order_review_form'), $('review_button'),
|
173 |
+
$('shipping_method'), $('shipping_method_form'), 'details-reload'
|
174 |
+
);
|
175 |
+
PayPalExpressAjax.addPleaseWait($('review-please-wait'));
|
176 |
+
//]]>
|
177 |
+
</script>
|
app/design/frontend/rwd/default/template/paypal/express/review/address.phtml
ADDED
@@ -0,0 +1,191 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $prefix = $this->getFieldNamePrefix();?>
|
28 |
+
<div class="fieldset">
|
29 |
+
<ul class="form-list form-list-narrow">
|
30 |
+
<li id="<?php echo $prefix ?>-address-form" class="address-form">
|
31 |
+
<div class="fieldset">
|
32 |
+
<input type="hidden" name="<?php echo $prefix ?>[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="<?php echo $prefix ?>:address_id" />
|
33 |
+
<ul>
|
34 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat($prefix . ':%s')->setFieldNameFormat($prefix . '[%s]')->toHtml() ?></li>
|
35 |
+
<li class="fields">
|
36 |
+
<div class="field">
|
37 |
+
<label for="<?php echo $prefix ?>:company"><?php echo $this->__('Company') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="text" id="<?php echo $prefix ?>:company" name="<?php echo $prefix ?>[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<?php if(!$this->isCustomerLoggedIn() && !$this->getHideEmailAddress()): ?>
|
43 |
+
<div class="field">
|
44 |
+
<label for="<?php echo $prefix ?>:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="<?php echo $prefix ?>[email]" id="<?php echo $prefix ?>:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<?php endif; ?>
|
50 |
+
</li>
|
51 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
52 |
+
<li class="fields">
|
53 |
+
<div class="field">
|
54 |
+
<label for="<?php echo $prefix ?>:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
55 |
+
<div class="input-box">
|
56 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="<?php echo $prefix ?>[street][]" id="<?php echo $prefix ?>:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
61 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
62 |
+
<li class="fields">
|
63 |
+
<div class="field">
|
64 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="<?php echo $prefix ?>[street][]" id="<?php echo $prefix ?>:street<?php echo $_i?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</li>
|
70 |
+
<?php endfor; ?>
|
71 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
72 |
+
<li class="fields">
|
73 |
+
<div class="field">
|
74 |
+
<label for="<?php echo $prefix ?>:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
75 |
+
<div class="input-box">
|
76 |
+
<input type="text" id="<?php echo $prefix ?>:vat_id" name="<?php echo $prefix ?>[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
</li>
|
80 |
+
<?php endif; ?>
|
81 |
+
<li class="fields">
|
82 |
+
<div class="field">
|
83 |
+
<label for="<?php echo $prefix ?>:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
84 |
+
<div class="input-box">
|
85 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="<?php echo $prefix ?>[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="<?php echo $prefix ?>:city" />
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
<div class="field">
|
89 |
+
<label for="<?php echo $prefix ?>:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
90 |
+
<div class="input-box">
|
91 |
+
<select id="<?php echo $prefix ?>:region_id" name="<?php echo $prefix ?>[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
92 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
93 |
+
</select>
|
94 |
+
<script type="text/javascript">
|
95 |
+
//<![CDATA[
|
96 |
+
$('<?php echo $prefix ?>:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
97 |
+
//]]>
|
98 |
+
</script>
|
99 |
+
<input type="text" id="<?php echo $prefix ?>:region" name="<?php echo $prefix ?>[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</li>
|
103 |
+
<li class="fields">
|
104 |
+
<div class="field">
|
105 |
+
<label for="<?php echo $prefix ?>:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
106 |
+
<div class="input-box">
|
107 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="<?php echo $prefix ?>[postcode]" id="<?php echo $prefix ?>:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
<div class="field">
|
111 |
+
<label for="<?php echo $prefix ?>:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
112 |
+
<div class="input-box">
|
113 |
+
<?php echo $this->getCountryHtmlSelect($prefix) ?>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
</li>
|
117 |
+
<li class="fields">
|
118 |
+
<div class="field">
|
119 |
+
<label for="<?php echo $prefix ?>:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
120 |
+
<div class="input-box">
|
121 |
+
<input type="tel" name="<?php echo $prefix ?>[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="<?php echo $prefix ?>:telephone" />
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
<div class="field">
|
125 |
+
<label for="<?php echo $prefix ?>:fax"><?php echo $this->__('Fax') ?></label>
|
126 |
+
<div class="input-box">
|
127 |
+
<input type="tel" name="<?php echo $prefix ?>[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="<?php echo $prefix ?>:fax" />
|
128 |
+
</div>
|
129 |
+
</div>
|
130 |
+
</li>
|
131 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
132 |
+
<?php if ($this->getShowAsShippingCheckbox()): ?>
|
133 |
+
<li class="control">
|
134 |
+
<div class="field">
|
135 |
+
<div class="input-box">
|
136 |
+
<input type="checkbox" name="<?php echo $prefix ?>[as_shipping]" class="checkbox" value="1" title="<?php echo $this->__('Same as shipping') ?>" id="<?php echo $prefix ?>:as_shipping" <?php if ($this->getAddress()->getSameAsBilling()):?>checked="checked"<?php endif;?>/>
|
137 |
+
</div>
|
138 |
+
<label for="<?php echo $prefix ?>:as_shipping"><?php echo $this->__('Same as shipping') ?></label>
|
139 |
+
</div>
|
140 |
+
</li>
|
141 |
+
<?php endif; ?>
|
142 |
+
</ul>
|
143 |
+
</div>
|
144 |
+
</li>
|
145 |
+
</ul>
|
146 |
+
</div>
|
147 |
+
<script type="text/javascript">
|
148 |
+
//<![CDATA[
|
149 |
+
var <?php echo $prefix ?>RegionUpdater = new RegionUpdater('<?php echo $prefix ?>:country_id', '<?php echo $prefix ?>:region', '<?php echo $prefix ?>:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, '<?php echo $prefix ?>:postcode');
|
150 |
+
<?php echo $prefix ?>RegionUpdater.update();
|
151 |
+
//]]>
|
152 |
+
</script>
|
153 |
+
<?php if ($this->getShowAsShippingCheckbox()): ?>
|
154 |
+
<script type="text/javascript">
|
155 |
+
//<![CDATA[
|
156 |
+
OrderReviewController.prototype._copyShippingToBilling_parent = OrderReviewController.prototype._copyShippingToBilling;
|
157 |
+
OrderReviewController.prototype._copyShippingToBilling = function (event) {
|
158 |
+
this._copyShippingToBilling_parent(event);
|
159 |
+
|
160 |
+
if (!this._copyElement) {
|
161 |
+
return;
|
162 |
+
}
|
163 |
+
|
164 |
+
if (this._copyElement.checked) {
|
165 |
+
if (this.copyShippingToBilling_allowScrollTo && Modernizr.mq && Modernizr.mq("only screen and (max-width: 767px)")) {
|
166 |
+
$('shipping-address').scrollTo();
|
167 |
+
}
|
168 |
+
} else {
|
169 |
+
$$('[id^="billing:"]').each(function (el) {
|
170 |
+
if ($(el).up('.field')) {
|
171 |
+
$(el).up('.field').removeClassName('inactive');
|
172 |
+
}
|
173 |
+
})
|
174 |
+
}
|
175 |
+
}
|
176 |
+
|
177 |
+
OrderReviewController.prototype._copyElementValue_parent = OrderReviewController.prototype._copyElementValue;
|
178 |
+
OrderReviewController.prototype._copyElementValue = function (el) {
|
179 |
+
<?php // Note: We cannot call this._copyElementValue_parent because review.js is using each() to iterate without giving it context ?>
|
180 |
+
OrderReviewController.prototype._copyElementValue_parent(el);
|
181 |
+
|
182 |
+
var newId = el.id.replace('shipping:','billing:');
|
183 |
+
if (newId && $(newId) && $(newId).type != 'hidden') {
|
184 |
+
if ($(newId).up('.field')) {
|
185 |
+
$(newId).up('.field').addClassName('inactive');
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
//]]>
|
190 |
+
</script>
|
191 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/paypal/express/review/details.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @see Mage_Paypal_Block_Express_Review_Details
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<table id="details-table" class="data-table linearize-table">
|
32 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
33 |
+
<col />
|
34 |
+
<col width="1" />
|
35 |
+
<col width="1" />
|
36 |
+
<col width="1" />
|
37 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
38 |
+
<col width="1" />
|
39 |
+
<col width="1" />
|
40 |
+
<?php endif; ?>
|
41 |
+
<thead>
|
42 |
+
<tr>
|
43 |
+
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product') ?></th>
|
44 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
45 |
+
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
46 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
47 |
+
</tr>
|
48 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
49 |
+
<tr>
|
50 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
53 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
54 |
+
</tr>
|
55 |
+
<?php endif; ?>
|
56 |
+
</thead>
|
57 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
58 |
+
<tbody>
|
59 |
+
<?php foreach($this->getItems() as $_item): ?>
|
60 |
+
<?php echo $this->getItemHtml($_item) ?>
|
61 |
+
<?php endforeach ?>
|
62 |
+
</tbody>
|
63 |
+
</table>
|
64 |
+
<script type="text/javascript">decorateTable('details-table');</script>
|
app/design/frontend/rwd/default/template/paypal/express/review/shipping/method.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/** @var $this Mage_Paypal_Block_Express_Review */
|
27 |
+
?>
|
28 |
+
<div class="fieldset" id="shipping-method-container">
|
29 |
+
<?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
|
30 |
+
<?php if ($groups = $this->getShippingRateGroups()):?>
|
31 |
+
<?php $currentRate = $this->getCurrentShippingRate(); ?>
|
32 |
+
<select name="shipping_method" id="shipping_method" style="width:250px;" class="required-entry">
|
33 |
+
<?php if (!$currentRate):?>
|
34 |
+
<option value=""><?php echo $this->__('Please select a shipping method...') ?></option>
|
35 |
+
<?php endif;?>
|
36 |
+
<?php foreach ($groups as $code => $rates):?>
|
37 |
+
<optgroup label="<?php echo $this->escapeHtml($this->getCarrierName($code)) ?>" style="font-style:normal;">
|
38 |
+
<?php foreach ($rates as $rate):?>
|
39 |
+
<option value="<?php echo $this->renderShippingRateValue($rate)?>"<?php echo ($currentRate === $rate) ? ' selected="selected"' : '' ;?>>
|
40 |
+
<?php echo $this->renderShippingRateOption($rate)?>
|
41 |
+
</option>
|
42 |
+
<?php endforeach;?>
|
43 |
+
</optgroup>
|
44 |
+
<?php endforeach;?>
|
45 |
+
</select>
|
46 |
+
<?php else: ?>
|
47 |
+
<p><strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong></p>
|
48 |
+
<?php endif;?>
|
49 |
+
<?php else: ?>
|
50 |
+
<p><strong><?php echo $this->renderShippingRateOption($this->getCurrentShippingRate())?></strong></p>
|
51 |
+
<?php endif; ?>
|
52 |
+
</div>
|
53 |
+
<div style="display:none" id="shipping_method_update"><p><?php echo $this->__('Please update order data to get shipping methods and rates') ?></p></div>
|
app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml
ADDED
@@ -0,0 +1,228 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/** @var Mage_Checkout_Block_Onepage_Billing $this */
|
27 |
+
?>
|
28 |
+
<form id="co-billing-form" action="">
|
29 |
+
<div class="fieldset">
|
30 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
31 |
+
<ul class="form-list">
|
32 |
+
<?php if ($this->customerHasAddresses()): ?>
|
33 |
+
<li class="wide">
|
34 |
+
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
|
35 |
+
<div class="input-box">
|
36 |
+
<?php echo $this->getAddressesHtmlSelect('billing') ?>
|
37 |
+
</div>
|
38 |
+
</li>
|
39 |
+
<?php endif; ?>
|
40 |
+
<li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?> class="scaffold-form">
|
41 |
+
<div class="fieldset">
|
42 |
+
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
43 |
+
<ul>
|
44 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
|
45 |
+
<li class="fields">
|
46 |
+
<div class="field">
|
47 |
+
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
48 |
+
<div class="input-box">
|
49 |
+
<input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
53 |
+
<div class="field">
|
54 |
+
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
55 |
+
<div class="input-box">
|
56 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
60 |
+
</li>
|
61 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
62 |
+
<li class="wide">
|
63 |
+
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
64 |
+
<div class="input-box">
|
65 |
+
<input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
66 |
+
</div>
|
67 |
+
</li>
|
68 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
69 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
70 |
+
<li class="wide">
|
71 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
74 |
+
</div>
|
75 |
+
</li>
|
76 |
+
<?php endfor; ?>
|
77 |
+
<?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
|
78 |
+
<li class="wide">
|
79 |
+
<label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
|
80 |
+
<div class="input-box">
|
81 |
+
<input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
|
82 |
+
</div>
|
83 |
+
</li>
|
84 |
+
<?php endif; ?>
|
85 |
+
<li class="fields">
|
86 |
+
<div class="field">
|
87 |
+
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
88 |
+
<div class="input-box">
|
89 |
+
<input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
<div class="field">
|
93 |
+
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
94 |
+
<div class="input-box">
|
95 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
96 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
97 |
+
</select>
|
98 |
+
<script type="text/javascript">
|
99 |
+
//<![CDATA[
|
100 |
+
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
101 |
+
//]]>
|
102 |
+
</script>
|
103 |
+
<input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
</li>
|
107 |
+
<li class="fields">
|
108 |
+
<div class="field">
|
109 |
+
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
110 |
+
<div class="input-box">
|
111 |
+
<input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<div class="field">
|
115 |
+
<label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
116 |
+
<div class="input-box">
|
117 |
+
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</li>
|
121 |
+
<li class="fields">
|
122 |
+
<div class="field">
|
123 |
+
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
124 |
+
<div class="input-box">
|
125 |
+
<input type="tel" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
<div class="field">
|
129 |
+
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
130 |
+
<div class="input-box">
|
131 |
+
<input type="tel" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
|
132 |
+
</div>
|
133 |
+
</div>
|
134 |
+
</li>
|
135 |
+
|
136 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
137 |
+
|
138 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
139 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
140 |
+
<?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
|
141 |
+
<li class="fields">
|
142 |
+
<?php if ($_dob->isEnabled()): ?>
|
143 |
+
<div class="field">
|
144 |
+
<?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
145 |
+
</div>
|
146 |
+
<?php endif; ?>
|
147 |
+
<?php if ($_gender->isEnabled()): ?>
|
148 |
+
<div class="field">
|
149 |
+
<?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
150 |
+
</div>
|
151 |
+
<?php endif ?>
|
152 |
+
</li>
|
153 |
+
<?php endif ?>
|
154 |
+
|
155 |
+
<?php if ($this->isTaxvatEnabled()):?>
|
156 |
+
<li><?php echo $this->getTaxvatHtml() ?></li>
|
157 |
+
<?php endif; ?>
|
158 |
+
|
159 |
+
<li class="fields" id="register-customer-password">
|
160 |
+
<div class="field">
|
161 |
+
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
162 |
+
<div class="input-box">
|
163 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
<div class="field">
|
167 |
+
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
168 |
+
<div class="input-box">
|
169 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
170 |
+
</div>
|
171 |
+
</div>
|
172 |
+
</li>
|
173 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
174 |
+
<?php endif; ?>
|
175 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
176 |
+
<li class="control">
|
177 |
+
<input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
|
178 |
+
</li>
|
179 |
+
<?php else:?>
|
180 |
+
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
183 |
+
</ul>
|
184 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
185 |
+
</div>
|
186 |
+
</li>
|
187 |
+
<?php if ($this->canShip()): ?>
|
188 |
+
<li class="control">
|
189 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
190 |
+
<li class="control">
|
191 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
192 |
+
</li>
|
193 |
+
<?php endif; ?>
|
194 |
+
</ul>
|
195 |
+
<?php if (!$this->canShip()): ?>
|
196 |
+
<input type="hidden" name="billing[use_for_shipping]" value="1" />
|
197 |
+
<?php endif; ?>
|
198 |
+
<div class="buttons-set" id="billing-buttons-container">
|
199 |
+
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
200 |
+
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
201 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
202 |
+
</span>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
</form>
|
206 |
+
<script type="text/javascript">
|
207 |
+
//<![CDATA[
|
208 |
+
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
209 |
+
var billingForm = new VarienForm('co-billing-form');
|
210 |
+
|
211 |
+
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
212 |
+
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
213 |
+
|
214 |
+
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
|
215 |
+
if ($('onepage-guest-register-button')) {
|
216 |
+
Event.observe($('onepage-guest-register-button'), 'click', function(event) {
|
217 |
+
var billingRememberMe = $('co-billing-form').select('#remember-me-box');
|
218 |
+
if (billingRememberMe.length > 0) {
|
219 |
+
if ($('login:guest') && $('login:guest').checked) {
|
220 |
+
billingRememberMe[0].hide();
|
221 |
+
} else if ($('login:register') && ($('login:register').checked || $('login:register').type == 'hidden')) {
|
222 |
+
billingRememberMe[0].show();
|
223 |
+
}
|
224 |
+
}
|
225 |
+
});
|
226 |
+
}
|
227 |
+
//]]>
|
228 |
+
</script>
|
app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml
ADDED
@@ -0,0 +1,157 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Customer onepage checkout login form template
|
30 |
+
*
|
31 |
+
* @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
|
32 |
+
*/
|
33 |
+
/** @var $this Mage_Checkout_Block_Onepage_Login */
|
34 |
+
?>
|
35 |
+
<?php echo $this->getChildHtml('login_before') ?>
|
36 |
+
<div class="col2-set"<?php if (!$this->helper('customer')->isRegistrationAllowed() && !$this->getQuote()->isAllowedGuestCheckout()) echo ' login-only' ?>">
|
37 |
+
<div class="col-1">
|
38 |
+
<h3>
|
39 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
|
40 |
+
<?php echo $this->__('Checkout as a Guest or Register') ?>
|
41 |
+
<?php elseif ( $this->getQuote()->isAllowedGuestCheckout() && !$this->helper('customer')->isRegistrationAllowed() ): ?>
|
42 |
+
<?php echo $this->__('Checkout as a Guest') ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<?php echo $this->__('Register to Create an Account') ?>
|
45 |
+
<?php endif; ?>
|
46 |
+
</h3>
|
47 |
+
<?php if( !$this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
|
48 |
+
<p class="description"><?php echo $this->__('Register and save time!') ?></strong><br />
|
49 |
+
<?php echo $this->__('Register with us for future convenience:') ?></p>
|
50 |
+
<ul>
|
51 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
52 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
53 |
+
</ul>
|
54 |
+
<?php elseif( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
|
55 |
+
<p class="description"><?php echo $this->__('Register with us for future convenience:') ?></p>
|
56 |
+
<?php endif ?>
|
57 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
58 |
+
<ul class="form-list">
|
59 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
60 |
+
<li class="control">
|
61 |
+
<input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()!=Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
|
62 |
+
</li>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php if( $this->helper('customer')->isRegistrationAllowed() ): ?>
|
65 |
+
<li class="control">
|
66 |
+
<input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" />
|
67 |
+
<label for="login:register"><?php echo $this->__('Register and Checkout') ?></label>
|
68 |
+
</li>
|
69 |
+
<?php endif; ?>
|
70 |
+
</ul>
|
71 |
+
<?php else: ?>
|
72 |
+
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
|
73 |
+
<?php endif; ?>
|
74 |
+
<div class="buttons-set">
|
75 |
+
<p class="required"> </p>
|
76 |
+
<?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
|
77 |
+
<button id="onepage-guest-register-button" type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
78 |
+
<?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
|
79 |
+
<button id="onepage-guest-register-button" type="button" class="button" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
|
80 |
+
<?php else: ?>
|
81 |
+
<form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
|
82 |
+
<button id="onepage-guest-register-button" type="submit" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
|
83 |
+
</form>
|
84 |
+
<?php endif; ?>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<div class="col-2">
|
88 |
+
<h3><?php echo $this->__('Returning Customers') ?></h3>
|
89 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
90 |
+
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
91 |
+
<div class="fieldset">
|
92 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
93 |
+
<p class="description"><?php echo $this->__('Sign in to speed up your checkout process') ?></p>
|
94 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
95 |
+
<ul class="form-list">
|
96 |
+
<li>
|
97 |
+
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
98 |
+
<div class="input-box">
|
99 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
|
100 |
+
</div>
|
101 |
+
</li>
|
102 |
+
<li>
|
103 |
+
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
104 |
+
<div class="input-box">
|
105 |
+
<input type="password" class="input-text validate-password required-entry" id="login-password" name="login[password]" />
|
106 |
+
</div>
|
107 |
+
</li>
|
108 |
+
<li>
|
109 |
+
<a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
|
110 |
+
</li>
|
111 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
112 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
113 |
+
</ul>
|
114 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
115 |
+
<input name="context" type="hidden" value="checkout" />
|
116 |
+
</div>
|
117 |
+
</form>
|
118 |
+
<div class="buttons-set">
|
119 |
+
<button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
|
124 |
+
<script type="text/javascript">
|
125 |
+
//<![CDATA[
|
126 |
+
var loginForm = new VarienForm('login-form', true);
|
127 |
+
$('login-email').observe('keypress', bindLoginPost);
|
128 |
+
$('login-password').observe('keypress', bindLoginPost);
|
129 |
+
function bindLoginPost(evt){
|
130 |
+
if (evt.keyCode == Event.KEY_RETURN) {
|
131 |
+
loginForm.submit();
|
132 |
+
}
|
133 |
+
}
|
134 |
+
function onepageLogin(button)
|
135 |
+
{
|
136 |
+
if(loginForm.validator && loginForm.validator.validate()){
|
137 |
+
button.disabled = true;
|
138 |
+
loginForm.submit();
|
139 |
+
}
|
140 |
+
}
|
141 |
+
//]]>
|
142 |
+
</script>
|
143 |
+
<?php
|
144 |
+
$registerParam = $this->getRequest()->getParam('register');
|
145 |
+
if ($registerParam || $registerParam === ''):
|
146 |
+
?>
|
147 |
+
<script type="text/javascript">
|
148 |
+
//<![CDATA[
|
149 |
+
document.observe("dom:loaded", function() {
|
150 |
+
if($('login:register')) {
|
151 |
+
$('login:register').checked = true;
|
152 |
+
checkout.setMethod();
|
153 |
+
}
|
154 |
+
})
|
155 |
+
//]]>
|
156 |
+
</script>
|
157 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml
ADDED
@@ -0,0 +1,104 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Customer login form template
|
30 |
+
*
|
31 |
+
* @see app/design/frontend/base/default/template/customer/form/login.phtml
|
32 |
+
*/
|
33 |
+
/** @var $this Mage_Customer_Block_Form_Login */
|
34 |
+
?>
|
35 |
+
<div class="account-login<?php if (!$this->helper('customer')->isRegistrationAllowed()) echo ' login-only' ?>">
|
36 |
+
<div class="page-title">
|
37 |
+
<h1><?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
|
38 |
+
<?php echo $this->__('Login or Create an Account') ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<?php echo $this->__('Login'); ?>
|
41 |
+
<?php endif; ?></h1>
|
42 |
+
</div>
|
43 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
44 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form" class="scaffold-form">
|
45 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
46 |
+
<div class="col2-set">
|
47 |
+
<?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
|
48 |
+
<div class="col-1 new-users">
|
49 |
+
<div class="content">
|
50 |
+
<h2><?php echo $this->__('New Here?') ?></h2>
|
51 |
+
<p class="form-instructions"><?php echo $this->__('Registration is free and easy!') ?></p>
|
52 |
+
<ul class="benefits">
|
53 |
+
<li><?php echo $this->__('Faster checkout') ?></li>
|
54 |
+
<li><?php echo $this->__('Save multiple shipping addresses') ?></li>
|
55 |
+
<li><?php echo $this->__('View and track orders and more') ?></li>
|
56 |
+
</ul>
|
57 |
+
</div>
|
58 |
+
<div class="buttons-set">
|
59 |
+
<a title="<?php echo $this->__('Create an Account') ?>" class="button" href="<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>"><span><span><?php echo $this->__('Create an Account') ?></span></span></a>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php // This column should be col-1 if the registration column is not displayed ?>
|
64 |
+
<div class="<?php if ($this->helper('customer')->isRegistrationAllowed()): ?>col-2<?php else: ?>col-1<?php endif; ?> registered-users">
|
65 |
+
<div class="content fieldset">
|
66 |
+
<h2><?php echo $this->__('Already registered?') ?></h2>
|
67 |
+
<p class="form-instructions"><?php echo $this->__('If you have an account with us, please log in.') ?></p>
|
68 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
69 |
+
<ul class="form-list">
|
70 |
+
<li>
|
71 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
74 |
+
</div>
|
75 |
+
</li>
|
76 |
+
<li>
|
77 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
78 |
+
<div class="input-box">
|
79 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
80 |
+
</div>
|
81 |
+
</li>
|
82 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
83 |
+
<li>
|
84 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
85 |
+
</li>
|
86 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
87 |
+
</ul>
|
88 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
89 |
+
</div>
|
90 |
+
<div class="buttons-set">
|
91 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
96 |
+
<input name="context" type="hidden" value="checkout" />
|
97 |
+
<?php endif; ?>
|
98 |
+
</form>
|
99 |
+
<script type="text/javascript">
|
100 |
+
//<![CDATA[
|
101 |
+
var dataForm = new VarienForm('login-form', true);
|
102 |
+
//]]>
|
103 |
+
</script>
|
104 |
+
</div>
|
app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml
ADDED
@@ -0,0 +1,188 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Create account form template
|
30 |
+
*
|
31 |
+
* @see app/design/frontend/base/default/template/customer/form/register.phtml
|
32 |
+
*/
|
33 |
+
/** @var $this Mage_Customer_Block_Form_Register */
|
34 |
+
?>
|
35 |
+
<div class="account-create">
|
36 |
+
<div class="page-title">
|
37 |
+
<h1><?php echo $this->__('Create an Account') ?></h1>
|
38 |
+
</div>
|
39 |
+
<?php echo $this->getChildHtml('form_fields_before')?>
|
40 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
41 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
42 |
+
<div class="fieldset">
|
43 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
44 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
45 |
+
<p class="form-instructions"><?php echo $this->__('Please enter the following information to create your account.') ?></p>
|
46 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
47 |
+
<ul class="form-list">
|
48 |
+
<li class="fields">
|
49 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->setForceUseCustomerAttributes(true)->toHtml() ?>
|
50 |
+
</li>
|
51 |
+
<li>
|
52 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
58 |
+
<?php if ($_dob->isEnabled()): ?>
|
59 |
+
<li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
|
60 |
+
<?php endif ?>
|
61 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
62 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
63 |
+
<li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
|
64 |
+
<?php endif ?>
|
65 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
66 |
+
<?php if ($_gender->isEnabled()): ?>
|
67 |
+
<li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
|
68 |
+
<?php endif ?>
|
69 |
+
|
70 |
+
<?php if($this->getShowAddressFields()): ?>
|
71 |
+
<li class="hidden">
|
72 |
+
<input type="hidden" name="create_address" value="1" />
|
73 |
+
</li>
|
74 |
+
<li class="fields">
|
75 |
+
<div class="field">
|
76 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
77 |
+
<div class="input-box">
|
78 |
+
<input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
<div class="field">
|
82 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
83 |
+
<div class="input-box">
|
84 |
+
<input type="tel" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
</li>
|
88 |
+
<?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
|
89 |
+
<li class="wide">
|
90 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(0)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
|
93 |
+
</div>
|
94 |
+
</li>
|
95 |
+
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
96 |
+
<?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
|
97 |
+
<li class="wide">
|
98 |
+
<label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
|
99 |
+
<div class="input-box">
|
100 |
+
<input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i - 1)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
|
101 |
+
</div>
|
102 |
+
</li>
|
103 |
+
<?php endfor; ?>
|
104 |
+
<li class="fields">
|
105 |
+
<div class="field">
|
106 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
107 |
+
<div class="input-box">
|
108 |
+
<input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<div class="field">
|
112 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
113 |
+
<div class="input-box">
|
114 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
115 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
116 |
+
</select>
|
117 |
+
<script type="text/javascript">
|
118 |
+
//<![CDATA[
|
119 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
120 |
+
//]]>
|
121 |
+
</script>
|
122 |
+
<input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</li>
|
126 |
+
<li class="fields">
|
127 |
+
<div class="field">
|
128 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
129 |
+
<div class="input-box">
|
130 |
+
<input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
|
131 |
+
</div>
|
132 |
+
</div>
|
133 |
+
<div class="field">
|
134 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
135 |
+
<div class="input-box">
|
136 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
</li>
|
140 |
+
<li class="hidden">
|
141 |
+
<input type="hidden" name="default_billing" value="1" />
|
142 |
+
<input type="hidden" name="default_shipping" value="1" />
|
143 |
+
</li>
|
144 |
+
<?php endif; ?>
|
145 |
+
<li class="fields">
|
146 |
+
<div class="field">
|
147 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
148 |
+
<div class="input-box">
|
149 |
+
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
150 |
+
</div>
|
151 |
+
</div>
|
152 |
+
<div class="field">
|
153 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
154 |
+
<div class="input-box">
|
155 |
+
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
</li>
|
159 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
160 |
+
<?php if ($this->isNewsletterEnabled()): ?>
|
161 |
+
<li class="control">
|
162 |
+
<div class="input-box">
|
163 |
+
<input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
|
164 |
+
</div>
|
165 |
+
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
166 |
+
</li>
|
167 |
+
<?php endif ?>
|
168 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
169 |
+
</ul>
|
170 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
171 |
+
</div>
|
172 |
+
<div class="buttons-set">
|
173 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
174 |
+
<button type="submit" title="<?php echo $this->__('Register') ?>" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
|
175 |
+
</div>
|
176 |
+
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
177 |
+
<input name="context" type="hidden" value="checkout" />
|
178 |
+
<?php endif; ?>
|
179 |
+
</form>
|
180 |
+
<script type="text/javascript">
|
181 |
+
//<![CDATA[
|
182 |
+
var dataForm = new VarienForm('form-validate', true);
|
183 |
+
<?php if($this->getShowAddressFields()): ?>
|
184 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
185 |
+
<?php endif; ?>
|
186 |
+
//]]>
|
187 |
+
</script>
|
188 |
+
</div>
|
app/design/frontend/rwd/default/template/persistent/remember_me.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Customer "Remember Me" template
|
30 |
+
*
|
31 |
+
* @var $this Mage_Persistent_Block_Form_Remember
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<li class="control remember-me-box">
|
35 |
+
<?php $rememberMeId = 'remember_me' . Mage::helper('core')->getRandomString(10); ?>
|
36 |
+
<div class="input-box">
|
37 |
+
<input type="checkbox" name="persistent_remember_me" class="checkbox" id="<?php echo $rememberMeId; ?>"<?php if ($this->isRememberMeChecked()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Remember Me') ?>" />
|
38 |
+
</div>
|
39 |
+
<label for="<?php echo $rememberMeId; ?>"><?php echo $this->__('Remember Me') ?></label>
|
40 |
+
<a class="link-tip" href="#"><?php echo $this->__('What\'s this?') ?></a>
|
41 |
+
</li>
|
app/design/frontend/rwd/default/template/persistent/remember_me_tooltip.phtml
ADDED
@@ -0,0 +1,62 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* "Remember Me" popup template (when click on "What's this?")
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
/** @var $this Mage_Core_Block_Template */
|
33 |
+
?>
|
34 |
+
<div class="remember-me-popup">
|
35 |
+
<div class="remember-me-popup-head">
|
36 |
+
<h3>What's this?</h3>
|
37 |
+
<a href="#" class="remember-me-popup-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
|
38 |
+
</div>
|
39 |
+
<div class="remember-me-popup-body">
|
40 |
+
<p>Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out</p>
|
41 |
+
<div class="remember-me-popup-close-button a-right">
|
42 |
+
<a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><span><?php echo $this->__('Close') ?></span></a>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<script type="text/javascript">
|
47 |
+
//<![CDATA[
|
48 |
+
function toggleRememberMePopup() {
|
49 |
+
var formParent = jQuery(this).parents('form:first');
|
50 |
+
formParent.find('.remember-me-box a').toggleClass('hide');
|
51 |
+
formParent.find('.remember-me-popup').toggleClass('show');
|
52 |
+
return false;
|
53 |
+
}
|
54 |
+
var rememberMeToggleSetup = false;
|
55 |
+
jQuery(document).ready(function(){
|
56 |
+
if (!rememberMeToggleSetup) {
|
57 |
+
jQuery('.remember-me-box a, .remember-me-popup a').on('click', toggleRememberMePopup);
|
58 |
+
rememberMeToggleSetup = true;
|
59 |
+
}
|
60 |
+
});
|
61 |
+
//]]>
|
62 |
+
</script>
|
app/design/frontend/rwd/default/template/reports/product_viewed.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Reports_Block_Product_Viewed */
|
27 |
+
?>
|
28 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
29 |
+
<div class="block block-list block-viewed">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('Recently Viewed Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<ol id="recently-viewed-items" class="mini-products-list">
|
35 |
+
<?php foreach ($_products as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<a href="<?php echo $this->getProductUrl($_item) ?>">
|
38 |
+
<span class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
|
39 |
+
</a>
|
40 |
+
<div class="product-details">
|
41 |
+
<p class="product-name">
|
42 |
+
<a href="<?php echo $this->getProductUrl($_item) ?>">
|
43 |
+
<?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?>
|
44 |
+
</a>
|
45 |
+
</p>
|
46 |
+
</div>
|
47 |
+
</li>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
</ol>
|
50 |
+
<script type="text/javascript">decorateList('recently-viewed-items');</script>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml
ADDED
@@ -0,0 +1,57 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="widget widget-compared">
|
29 |
+
<div class="block block-products">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol class="mini-products-list" id="widget-compared-<?php echo $suffix; ?>">
|
36 |
+
<?php foreach ($_products as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
39 |
+
<div class="product-details">
|
40 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
41 |
+
<?php /* Removing this functionality from RWD
|
42 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-'.$suffix) ?>
|
43 |
+
<?php if($_product->isSaleable()): ?>
|
44 |
+
<a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
45 |
+
<?php else: ?>
|
46 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
47 |
+
<?php endif; ?>
|
48 |
+
*/ ?>
|
49 |
+
</div>
|
50 |
+
</li>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</ol>
|
53 |
+
<script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="widget widget-compared">
|
29 |
+
<div class="block block-list">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol class="mini-products-images-list" id="widget-compared-<?php echo $suffix; ?>">
|
36 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
|
39 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
40 |
+
</li>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</ol>
|
43 |
+
<script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="widget widget-compared">
|
29 |
+
<div class="block block-list">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol id="widget-compared-<?php echo $suffix; ?>">
|
36 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
39 |
+
</li>
|
40 |
+
<?php endforeach; ?>
|
41 |
+
</ol>
|
42 |
+
<script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml
ADDED
@@ -0,0 +1,67 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="widget widget-compared">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('Recently Compared') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
34 |
+
<?php $i=0; ?>
|
35 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
36 |
+
<?php foreach ($_products as $_product): ?>
|
37 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
38 |
+
<?php $_imgSize = 210; ?>
|
39 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
|
40 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
|
41 |
+
</a>
|
42 |
+
<div class="product-info">
|
43 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
44 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-grid') ?>
|
45 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
46 |
+
<div class="actions">
|
47 |
+
<?php if($_product->isSaleable()): ?>
|
48 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
49 |
+
<?php else: ?>
|
50 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
51 |
+
<?php endif; ?>
|
52 |
+
<ul class="add-to-links">
|
53 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
54 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php if($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
57 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
58 |
+
<?php endif; ?>
|
59 |
+
</ul>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</li>
|
63 |
+
<?php endforeach; ?>
|
64 |
+
</ul>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if ($_products = $this->getRecentlyComparedProducts()): ?>
|
28 |
+
<div class="widget widget-compared">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('Recently Compared') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<ol class="mini-products-list">
|
34 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
35 |
+
<li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
|
36 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
37 |
+
<div class="product-details">
|
38 |
+
<div class="f-fix">
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
40 |
+
<?php /* Removing this functionality from RWD
|
41 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-compared-list') ?>
|
42 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
43 |
+
<?php if($_product->isSaleable()): ?>
|
44 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
45 |
+
<?php else: ?>
|
46 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
47 |
+
<?php endif; ?>
|
48 |
+
<ul class="add-to-links">
|
49 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
50 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
53 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
54 |
+
<?php endif; ?>
|
55 |
+
</ul>
|
56 |
+
*/ ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<?php endforeach; ?>
|
61 |
+
</ol>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_default_list.phtml
ADDED
@@ -0,0 +1,62 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
33 |
+
<div class="widget widget-viewed">
|
34 |
+
<div class="block block-products">
|
35 |
+
<div class="block-title">
|
36 |
+
<strong><span><?php echo $this->__('Recently Viewed') ?></span></strong>
|
37 |
+
</div>
|
38 |
+
<div class="block-content">
|
39 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
40 |
+
<ol class="mini-products-list" id="widget-viewed-<?php echo $suffix; ?>">
|
41 |
+
<?php foreach ($_products as $_product): ?>
|
42 |
+
<li class="item">
|
43 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
44 |
+
<div class="product-details">
|
45 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
46 |
+
<?php /* Removing this functionality from RWD
|
47 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-'.$suffix) ?>
|
48 |
+
<?php if($_product->isSaleable()): ?>
|
49 |
+
<a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
50 |
+
<?php else: ?>
|
51 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
52 |
+
<?php endif; ?>
|
53 |
+
*/ ?>
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<?php endforeach; ?>
|
57 |
+
</ol>
|
58 |
+
<script type="text/javascript">decorateList('widget-viewed-<?php echo $suffix; ?>', 'none-recursive')</script>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_images_list.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
33 |
+
<div class="widget widget-viewed">
|
34 |
+
<div class="block block-list">
|
35 |
+
<div class="block-title">
|
36 |
+
<strong><span><?php echo $this->__('Recently Viewed') ?></span></strong>
|
37 |
+
</div>
|
38 |
+
<div class="block-content">
|
39 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
40 |
+
<ol class="mini-products-images-list" id="widget-viewed-<?php echo $suffix; ?>">
|
41 |
+
<?php foreach ($_products as $_product): ?>
|
42 |
+
<li class="item">
|
43 |
+
<? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
|
44 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
45 |
+
</li>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</ol>
|
48 |
+
<script type="text/javascript">decorateList('widget-viewed-<?php echo $suffix; ?>', 'none-recursive')</script>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_names_list.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
33 |
+
<div class="widget widget-viewed">
|
34 |
+
<div class="block block-list">
|
35 |
+
<div class="block-title">
|
36 |
+
<strong><span><?php echo $this->__('Recently Viewed') ?></span></strong>
|
37 |
+
</div>
|
38 |
+
<div class="block-content">
|
39 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
40 |
+
<ol id="widget-viewed-<?php echo $suffix; ?>">
|
41 |
+
<?php foreach ($_products as $_product): ?>
|
42 |
+
<li class="item">
|
43 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
|
44 |
+
</li>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</ol>
|
47 |
+
<script type="text/javascript">decorateList('widget-viewed-<?php echo $suffix; ?>', 'none-recursive')</script>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
</div>
|
51 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_grid.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
33 |
+
<div class="widget widget-viewed">
|
34 |
+
<div class="widget-title">
|
35 |
+
<h2><?php echo $this->__('Recently Viewed') ?></h2>
|
36 |
+
</div>
|
37 |
+
<div class="widget-products">
|
38 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
39 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
40 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
41 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
42 |
+
<?php $_imgSize = 210; ?>
|
43 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
|
44 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
|
45 |
+
</a>
|
46 |
+
<div class="product-info">
|
47 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
48 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-grid') ?>
|
49 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
50 |
+
<div class="actions">
|
51 |
+
<?php if($_product->isSaleable()): ?>
|
52 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
53 |
+
<?php else: ?>
|
54 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
55 |
+
<?php endif; ?>
|
56 |
+
<ul class="add-to-links">
|
57 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
58 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php if($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
61 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
62 |
+
<?php endif; ?>
|
63 |
+
</ul>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
</li>
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</div>
|
69 |
+
</div>
|
70 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_list.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Reports_Block_Product_Viewed
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php if ($_products = $this->getRecentlyViewedProducts()): ?>
|
33 |
+
<div class="widget widget-viewed">
|
34 |
+
<div class="widget-title">
|
35 |
+
<h2><?php echo $this->__('Recently Viewed') ?></h2>
|
36 |
+
</div>
|
37 |
+
<div class="widget-products">
|
38 |
+
<ol class="mini-products-list">
|
39 |
+
<?php $i=0; foreach ($_products as $_product): ?>
|
40 |
+
<li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
|
41 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
|
42 |
+
<div class="product-details">
|
43 |
+
<div class="f-fix">
|
44 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
45 |
+
<?php /* Removing this functionality from RWD
|
46 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
47 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-viewed-list') ?>
|
48 |
+
<?php if($_product->isSaleable()): ?>
|
49 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
50 |
+
<?php else: ?>
|
51 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
52 |
+
<?php endif; ?>
|
53 |
+
<ul class="add-to-links">
|
54 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
55 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php if($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
58 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
59 |
+
<?php endif; ?>
|
60 |
+
</ul>
|
61 |
+
*/ ?>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
</li>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</ol>
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/review/customer/view.phtml
ADDED
@@ -0,0 +1,75 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getProductData()->getId()): ?>
|
28 |
+
<div class="product-review">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('Review Details') ?></h1>
|
31 |
+
</div>
|
32 |
+
<div class="product-img-box">
|
33 |
+
<a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(325,325); ?>" width="325" height="" alt="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" /></a>
|
34 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
35 |
+
<p class="label"><?php echo $this->__('Average Customer Rating:') ?></p>
|
36 |
+
<?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
|
37 |
+
<?php endif; ?>
|
38 |
+
</div>
|
39 |
+
<div class="product-details">
|
40 |
+
<h2 class="product-name"><?php echo $this->escapeHtml($this->getProductData()->getName()) ?></h2>
|
41 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
42 |
+
<h3><?php echo ($this->isReviewOwner()) ? $this->__('Your Rating:') : $this->__('Rating:'); ?></h3>
|
43 |
+
<table class="ratings-table">
|
44 |
+
<?php foreach ($this->getRating() as $_rating): ?>
|
45 |
+
<?php if($_rating->getPercent()): ?>
|
46 |
+
<tr>
|
47 |
+
<th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
|
48 |
+
<td>
|
49 |
+
<div class="rating-box">
|
50 |
+
<div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
|
51 |
+
</div>
|
52 |
+
</td>
|
53 |
+
</tr>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
</table>
|
57 |
+
<?php endif; ?>
|
58 |
+
<dl class="ratings-description">
|
59 |
+
<dt>
|
60 |
+
<?php if ($this->isReviewOwner()): ?>
|
61 |
+
<?php echo $this->__('Your Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
|
62 |
+
<?php else :?>
|
63 |
+
<?php echo $this->__('Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
|
64 |
+
<?php endif;?>
|
65 |
+
</dt>
|
66 |
+
<dd>
|
67 |
+
<?php echo nl2br($this->escapeHtml($this->getReviewData()->getDetail())) ?>
|
68 |
+
</dd>
|
69 |
+
</dl>
|
70 |
+
</div>
|
71 |
+
<div class="buttons-set">
|
72 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to My Reviews') ?></a></p>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/review/form.phtml
ADDED
@@ -0,0 +1,165 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="form-add">
|
28 |
+
<h2><?php echo $this->__('Write Your Own Review') ?></h2>
|
29 |
+
<?php if ($this->getAllowWriteReviewFlag()): ?>
|
30 |
+
<form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
|
31 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
32 |
+
<?php echo $this->getChildHtml('form_fields_before')?>
|
33 |
+
<h3><?php echo $this->__("You're reviewing:"); ?>
|
34 |
+
<span><?php echo $this->escapeHtml($this->getProductInfo()->getName()) ?></span>
|
35 |
+
</h3>
|
36 |
+
|
37 |
+
<div class="fieldset">
|
38 |
+
<?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
|
39 |
+
<h4><?php echo $this->__('How do you rate this product?') ?> <em class="required">*</em></h4>
|
40 |
+
<span id="input-message-box"></span>
|
41 |
+
<table class="data-table review-summary-table ratings" id="product-review-table">
|
42 |
+
<col width="1" />
|
43 |
+
<col />
|
44 |
+
<col />
|
45 |
+
<col />
|
46 |
+
<col />
|
47 |
+
<col />
|
48 |
+
<thead>
|
49 |
+
<tr>
|
50 |
+
<th> </th>
|
51 |
+
<th>
|
52 |
+
<div class="rating-box">
|
53 |
+
<span class="rating-number">1</span>
|
54 |
+
<span class="rating nobr" style="width:20%;"><?php echo $this->__('1 star') ?></span>
|
55 |
+
</div>
|
56 |
+
</th>
|
57 |
+
<th>
|
58 |
+
<div class="rating-box">
|
59 |
+
<span class="rating-number">2</span>
|
60 |
+
<span class="rating nobr" style="width:40%;"><?php echo $this->__('2 star') ?></span>
|
61 |
+
</div>
|
62 |
+
</th>
|
63 |
+
<th>
|
64 |
+
<div class="rating-box">
|
65 |
+
<span class="rating-number">3</span>
|
66 |
+
<span class="rating nobr" style="width:60%;"><?php echo $this->__('3 star') ?></span>
|
67 |
+
</div>
|
68 |
+
</th>
|
69 |
+
<th>
|
70 |
+
<div class="rating-box">
|
71 |
+
<span class="rating-number">4</span>
|
72 |
+
<span class="rating nobr" style="width:80%;"><?php echo $this->__('4 star') ?></span>
|
73 |
+
</div>
|
74 |
+
</th>
|
75 |
+
<th>
|
76 |
+
<div class="rating-box">
|
77 |
+
<span class="rating-number">5</span>
|
78 |
+
<span class="rating nobr" style="width:100%;"><?php echo $this->__('5 star') ?></span>
|
79 |
+
</div>
|
80 |
+
</th>
|
81 |
+
</tr>
|
82 |
+
</thead>
|
83 |
+
<tbody>
|
84 |
+
<?php foreach ($this->getRatings() as $_rating): ?>
|
85 |
+
<tr>
|
86 |
+
<th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
|
87 |
+
<?php foreach ($_rating->getOptions() as $_option): ?>
|
88 |
+
<td class="value"><label for="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>"><input type="radio" name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>" class="radio" /></label></td>
|
89 |
+
<?php endforeach; ?>
|
90 |
+
</tr>
|
91 |
+
<?php endforeach; ?>
|
92 |
+
</tbody>
|
93 |
+
</table>
|
94 |
+
<input type="hidden" name="validate_rating" class="validate-rating" value="" />
|
95 |
+
<script type="text/javascript">decorateTable('product-review-table')</script>
|
96 |
+
<?php endif; ?>
|
97 |
+
|
98 |
+
<ul class="form-list">
|
99 |
+
<li>
|
100 |
+
<label for="review_field" class="required"><em>*</em><?php echo $this->__('Let us know your thoughts') ?></label>
|
101 |
+
<div class="input-box">
|
102 |
+
<textarea name="detail" id="review_field" cols="5" rows="3" class="required-entry"><?php echo $this->escapeHtml($data->getDetail()) ?></textarea>
|
103 |
+
</div>
|
104 |
+
</li>
|
105 |
+
|
106 |
+
<li class="inline-label">
|
107 |
+
<label for="summary_field" class="required"><em>*</em><?php echo $this->__('Summary of Your Review') ?></label>
|
108 |
+
<div class="input-box">
|
109 |
+
<input type="text" name="title" id="summary_field" class="input-text required-entry" value="<?php echo $this->escapeHtml($data->getTitle()) ?>" />
|
110 |
+
</div>
|
111 |
+
</li>
|
112 |
+
|
113 |
+
<li class="inline-label">
|
114 |
+
<label for="nickname_field" class="required"><em>*</em><?php echo $this->__("What's your nickname?") ?></label>
|
115 |
+
<div class="input-box">
|
116 |
+
<input type="text" name="nickname" id="nickname_field" class="input-text required-entry" value="<?php echo $this->escapeHtml($data->getNickname()) ?>" />
|
117 |
+
</div>
|
118 |
+
</li>
|
119 |
+
|
120 |
+
</ul>
|
121 |
+
</div>
|
122 |
+
<div class="buttons-set">
|
123 |
+
<button type="submit" title="<?php echo $this->__('Submit Review') ?>" class="button"><span><span><?php echo $this->__('Submit Review') ?></span></span></button>
|
124 |
+
</div>
|
125 |
+
</form>
|
126 |
+
<script type="text/javascript">
|
127 |
+
//<![CDATA[
|
128 |
+
var dataForm = new VarienForm('review-form');
|
129 |
+
Validation.addAllThese(
|
130 |
+
[
|
131 |
+
['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
|
132 |
+
var trs = $('product-review-table').select('tr');
|
133 |
+
var inputs;
|
134 |
+
var error = 1;
|
135 |
+
|
136 |
+
for( var j=0; j < trs.length; j++ ) {
|
137 |
+
var tr = trs[j];
|
138 |
+
if( j > 0 ) {
|
139 |
+
inputs = tr.select('input');
|
140 |
+
|
141 |
+
for( i in inputs ) {
|
142 |
+
if( inputs[i].checked == true ) {
|
143 |
+
error = 0;
|
144 |
+
}
|
145 |
+
}
|
146 |
+
|
147 |
+
if( error == 1 ) {
|
148 |
+
return false;
|
149 |
+
} else {
|
150 |
+
error = 1;
|
151 |
+
}
|
152 |
+
}
|
153 |
+
}
|
154 |
+
return true;
|
155 |
+
}]
|
156 |
+
]
|
157 |
+
);
|
158 |
+
//]]>
|
159 |
+
</script>
|
160 |
+
<?php else: ?>
|
161 |
+
<p class="review-nologged" id="review-form">
|
162 |
+
<?php echo $this->__('Only registered users can write reviews. Please, <a href="%s">log in</a> or <a href="%s">register</a>', $this->getLoginLink(), Mage::helper('customer')->getRegisterUrl()) ?>
|
163 |
+
</p>
|
164 |
+
<?php endif ?>
|
165 |
+
</div>
|
app/design/frontend/rwd/default/template/review/product/view/list.phtml
ADDED
@@ -0,0 +1,85 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_items = $this->getReviewsCollection()->getItems();?>
|
29 |
+
<div class="box-collateral box-reviews" id="customer-reviews">
|
30 |
+
<?php if (count($_items)):?>
|
31 |
+
<div class="review-heading">
|
32 |
+
<h2>
|
33 |
+
<?php echo $this->__('Customer Reviews') ?>
|
34 |
+
<span><?php echo count($_items); ?> item(s)</span>
|
35 |
+
</h2>
|
36 |
+
<?php echo $this->getChildHtml('toolbar') ?>
|
37 |
+
</div>
|
38 |
+
<dl>
|
39 |
+
<?php foreach ($_items as $_review):?>
|
40 |
+
<dt>
|
41 |
+
<a href="<?php echo $this->getReviewUrl($_review->getId()) ?>">
|
42 |
+
<?php echo $this->escapeHtml($_review->getTitle()) ?>
|
43 |
+
</a>
|
44 |
+
</dt>
|
45 |
+
<dd>
|
46 |
+
<?php $_votes = $_review->getRatingVotes(); ?>
|
47 |
+
|
48 |
+
<?php echo nl2br($this->escapeHtml($_review->getDetail())) ?>
|
49 |
+
|
50 |
+
|
51 |
+
<?php if (count($_votes)): ?>
|
52 |
+
<table class="ratings-table">
|
53 |
+
<col width="1" />
|
54 |
+
<col />
|
55 |
+
<tbody>
|
56 |
+
<?php foreach ($_votes as $_vote): ?>
|
57 |
+
<tr>
|
58 |
+
<th><?php echo $this->escapeHtml($_vote->getRatingCode()) ?></th>
|
59 |
+
<td>
|
60 |
+
<div class="rating-box">
|
61 |
+
<div class="rating" style="width:<?php echo $_vote->getPercent() ?>%;"></div>
|
62 |
+
</div>
|
63 |
+
</td>
|
64 |
+
</tr>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</tbody>
|
67 |
+
</table>
|
68 |
+
<?php endif; ?>
|
69 |
+
|
70 |
+
|
71 |
+
<span class="review-meta">
|
72 |
+
<?php echo $this->__('Review by %s', $this->escapeHtml($_review->getNickname())) ?>
|
73 |
+
/
|
74 |
+
<?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?>
|
75 |
+
</span>
|
76 |
+
</dd>
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</dl>
|
79 |
+
|
80 |
+
<?php // echo $this->getChildHtml('toolbar') ?>
|
81 |
+
<?php elseif($this->getParentBlock()): ?>
|
82 |
+
<?php echo $this->getParentBlock()->getReviewsSummaryHtml($this->getProduct(), 'short', true)?>
|
83 |
+
<?php endif;?>
|
84 |
+
<?php echo $this->getChildHtml('review_form') ?>
|
85 |
+
</div>
|
app/design/frontend/rwd/default/template/review/view.phtml
ADDED
@@ -0,0 +1,76 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getProductData()->getId()): ?>
|
28 |
+
<div class="product-review">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('Review Details') ?></h1>
|
31 |
+
</div>
|
32 |
+
<div class="product-img-box">
|
33 |
+
<a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>">
|
34 |
+
<img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(450, 450)->keepFrame(false); ?>"
|
35 |
+
alt="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>"
|
36 |
+
class="product-image" />
|
37 |
+
</a>
|
38 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
39 |
+
<p class="label"><?php echo $this->__('Average Customer Rating') ?>:</p>
|
40 |
+
<?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
</div>
|
43 |
+
<div class="product-details">
|
44 |
+
<h2 class="product-name"><?php echo $this->escapeHtml($this->getProductData()->getName()) ?></h2>
|
45 |
+
<?php if( $this->getRating() && $this->getRating()->getSize()): ?>
|
46 |
+
<h3><?php echo $this->__('Product Rating:') ?></h3>
|
47 |
+
<table class="ratings-table">
|
48 |
+
<?php foreach ($this->getRating() as $_rating): ?>
|
49 |
+
<?php if($_rating->getPercent()): ?>
|
50 |
+
<tr>
|
51 |
+
<th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
|
52 |
+
<td>
|
53 |
+
<div class="rating-box">
|
54 |
+
<div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
|
55 |
+
</div>
|
56 |
+
</td>
|
57 |
+
</tr>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
</table>
|
61 |
+
</dl>
|
62 |
+
<?php endif; ?>
|
63 |
+
<dl>
|
64 |
+
<dt>
|
65 |
+
<?php echo $this->__('Product Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
|
66 |
+
</dt>
|
67 |
+
<dd>
|
68 |
+
<?php echo nl2br($this->escapeHtml($this->getReviewData()->getDetail())) ?>
|
69 |
+
</dd>
|
70 |
+
</dl>
|
71 |
+
</div>
|
72 |
+
<div class="buttons-set">
|
73 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Product Reviews') ?></a></p>
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<p class="order-links"><a href="<?php echo $this->getPrintAllCreditmemosUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Refunds') ?></a></p>
|
29 |
+
<?php foreach ($_order->getCreditmemosCollection() as $_creditmemo): ?>
|
30 |
+
<h2 class="sub-title"><?php echo $this->__('Refund #') ?><?php echo $_creditmemo->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintCreditmemoUrl($_creditmemo) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Refund') ?></a></h2>
|
31 |
+
<h3 class="table-caption"><?php echo $this->__('Items Refunded') ?></h3>
|
32 |
+
<table class="data-table linearize-table-large" id="my-refund-table-<?php echo $_creditmemo->getId(); ?>">
|
33 |
+
<col />
|
34 |
+
<col width="1" />
|
35 |
+
<col width="1" />
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<col width="1" />
|
39 |
+
<col width="1" />
|
40 |
+
<thead>
|
41 |
+
<tr>
|
42 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
43 |
+
<th><?php echo $this->__('SKU') ?></th>
|
44 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
45 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
46 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
47 |
+
<th class="a-center wrap"><?php echo $this->__('Discount Amount') ?></th>
|
48 |
+
<th class="a-right wrap"><?php echo $this->__('Row Total') ?></th>
|
49 |
+
</tr>
|
50 |
+
</thead>
|
51 |
+
<tfoot>
|
52 |
+
<?php echo $this->getTotalsHtml($_creditmemo);?>
|
53 |
+
</tfoot>
|
54 |
+
<?php $_items = $_creditmemo->getAllItems(); ?>
|
55 |
+
<?php $_count = count($_items) ?>
|
56 |
+
<?php foreach ($_items as $_item): ?>
|
57 |
+
<?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
|
58 |
+
<tbody>
|
59 |
+
<?php echo $this->getItemHtml($_item) ?>
|
60 |
+
</tbody>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</table>
|
63 |
+
<script type="text/javascript">decorateTable('my-refund-table-<?php echo $_creditmemo->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
|
64 |
+
<?php echo $this->getCommentsHtml($_creditmemo)?>
|
65 |
+
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml
ADDED
@@ -0,0 +1,331 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
30 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
31 |
+
<?php if ($_options = $this->getItemOptions()): ?>
|
32 |
+
<dl class="item-options">
|
33 |
+
<?php foreach ($_options as $_option) : ?>
|
34 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
35 |
+
<?php if (!$this->getPrintStatus()): ?>
|
36 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
37 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
38 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
39 |
+
<div class="truncated_full_value">
|
40 |
+
<dl class="item-options">
|
41 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
42 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
43 |
+
</dl>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
46 |
+
</dd>
|
47 |
+
<?php else: ?>
|
48 |
+
<dd><?php echo $this->escapeHtml((isset($_option['print_value']) ? $_option['print_value'] : $_option['value'])) ?></dd>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</dl>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
54 |
+
<?php if ($addInfoBlock) : ?>
|
55 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
58 |
+
<?php if ($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
59 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link"
|
60 |
+
onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
61 |
+
<?php endif; ?>
|
62 |
+
</td>
|
63 |
+
<td data-rwd-label="<?php echo $this->__('SKU') ?>"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
64 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
|
65 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
66 |
+
<span class="price-excl-tax">
|
67 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
68 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
69 |
+
<span class="cart-price">
|
70 |
+
<?php endif; ?>
|
71 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
72 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
</span>
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
77 |
+
<span class="cart-tax-total"
|
78 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
79 |
+
<?php else: ?>
|
80 |
+
<span class="cart-price">
|
81 |
+
<?php endif; ?>
|
82 |
+
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
</span>
|
90 |
+
|
91 |
+
|
92 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
93 |
+
|
94 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
95 |
+
style="display:none;">
|
96 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
97 |
+
<small>
|
98 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
99 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
100 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
101 |
+
<?php endforeach; ?>
|
102 |
+
</small>
|
103 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
104 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
105 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
106 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
|
107 |
+
<?php endforeach; ?>
|
108 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
109 |
+
<small>
|
110 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
111 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
112 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
113 |
+
<?php endforeach; ?>
|
114 |
+
</small>
|
115 |
+
<?php endif; ?>
|
116 |
+
</span>
|
117 |
+
|
118 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<span class="cart-tax-total"
|
120 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
121 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
122 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?></span>
|
123 |
+
</span>
|
124 |
+
<?php endif; ?>
|
125 |
+
<?php endif; ?>
|
126 |
+
</span>
|
127 |
+
<br/>
|
128 |
+
<?php endif; ?>
|
129 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
130 |
+
<span class="price-incl-tax">
|
131 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
132 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
133 |
+
<span class="cart-price">
|
134 |
+
<?php endif; ?>
|
135 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
136 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
137 |
+
</span>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<span class="cart-tax-total"
|
143 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
144 |
+
<?php else: ?>
|
145 |
+
<span class="cart-price">
|
146 |
+
<?php endif; ?>
|
147 |
+
|
148 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
149 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
150 |
+
<?php else: ?>
|
151 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxDisposition()) ?>
|
152 |
+
<?php endif; ?>
|
153 |
+
|
154 |
+
</span>
|
155 |
+
|
156 |
+
|
157 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
158 |
+
|
159 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
160 |
+
style="display:none;">
|
161 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
162 |
+
<small>
|
163 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
164 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
165 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
166 |
+
<?php endforeach; ?>
|
167 |
+
</small>
|
168 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
169 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
170 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
171 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
172 |
+
<?php endforeach; ?>
|
173 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
174 |
+
<small>
|
175 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
176 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
177 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
</small>
|
180 |
+
<?php endif; ?>
|
181 |
+
</span>
|
182 |
+
|
183 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
184 |
+
<span class="cart-tax-total"
|
185 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
186 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
187 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
188 |
+
</span>
|
189 |
+
<?php endif; ?>
|
190 |
+
<?php endif; ?>
|
191 |
+
</span>
|
192 |
+
<?php endif; ?>
|
193 |
+
</td>
|
194 |
+
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() * 1 ?></td>
|
195 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
196 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
197 |
+
<span class="price-excl-tax">
|
198 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
199 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<span class="cart-price">
|
201 |
+
<?php endif; ?>
|
202 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
203 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
204 |
+
</span>
|
205 |
+
<?php endif; ?>
|
206 |
+
<?php endif; ?>
|
207 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
208 |
+
<span class="cart-tax-total"
|
209 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
210 |
+
<?php else: ?>
|
211 |
+
<span class="cart-price">
|
212 |
+
<?php endif; ?>
|
213 |
+
|
214 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
215 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?>
|
216 |
+
<?php else: ?>
|
217 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
218 |
+
<?php endif; ?>
|
219 |
+
|
220 |
+
</span>
|
221 |
+
|
222 |
+
|
223 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
224 |
+
|
225 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
226 |
+
style="display:none;">
|
227 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
228 |
+
<small>
|
229 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
230 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
231 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
232 |
+
<?php endforeach; ?>
|
233 |
+
</small>
|
234 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
235 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
236 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
237 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
|
238 |
+
<?php endforeach; ?>
|
239 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
240 |
+
<small>
|
241 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
242 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
243 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
244 |
+
<?php endforeach; ?>
|
245 |
+
</small>
|
246 |
+
<?php endif; ?>
|
247 |
+
</span>
|
248 |
+
|
249 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
250 |
+
<span class="cart-tax-total"
|
251 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
252 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
253 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
254 |
+
</span>
|
255 |
+
<?php endif; ?>
|
256 |
+
<?php endif; ?>
|
257 |
+
</span>
|
258 |
+
<br/>
|
259 |
+
<?php endif; ?>
|
260 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
261 |
+
<span class="price-incl-tax">
|
262 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
263 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<span class="cart-price">
|
265 |
+
<?php endif; ?>
|
266 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
267 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
268 |
+
</span>
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php endif; ?>
|
271 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
272 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
273 |
+
<span class="cart-tax-total"
|
274 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
275 |
+
<?php else: ?>
|
276 |
+
<span class="cart-price">
|
277 |
+
<?php endif; ?>
|
278 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
279 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
280 |
+
<?php else: ?>
|
281 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxRowDisposition()) ?>
|
282 |
+
<?php endif; ?>
|
283 |
+
|
284 |
+
</span>
|
285 |
+
|
286 |
+
|
287 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
288 |
+
|
289 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
290 |
+
style="display:none;">
|
291 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
292 |
+
<small>
|
293 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
294 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
295 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
296 |
+
<?php endforeach; ?>
|
297 |
+
</small>
|
298 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
299 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
300 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
301 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
302 |
+
<?php endforeach; ?>
|
303 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
304 |
+
<small>
|
305 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
306 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
307 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
308 |
+
<?php endforeach; ?>
|
309 |
+
</small>
|
310 |
+
<?php endif; ?>
|
311 |
+
</span>
|
312 |
+
|
313 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
314 |
+
<span class="cart-tax-total"
|
315 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
316 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
317 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
318 |
+
</span>
|
319 |
+
<?php endif; ?>
|
320 |
+
<?php endif; ?>
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
</span>
|
325 |
+
<?php endif; ?>
|
326 |
+
</td>
|
327 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Discount Amount') ?>"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
|
328 |
+
<td class="last a-right" data-rwd-label="<?php echo $this->__('Row Total') ?>">
|
329 |
+
<?php echo $_order->formatPrice($_item->getRowTotal() - $_item->getDiscountAmount() + $_item->getTaxAmount() + $_item->getWeeeTaxAppliedRowAmount()) ?>
|
330 |
+
</td>
|
331 |
+
</tr>
|
app/design/frontend/rwd/default/template/sales/order/history.phtml
ADDED
@@ -0,0 +1,77 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
28 |
+
<?php $_orders = $this->getOrders(); ?>
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('My Orders') ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getChildHtml('info');?>
|
33 |
+
<?php echo $this->getPagerHtml(); ?>
|
34 |
+
<?php if($_orders->getSize()): ?>
|
35 |
+
<table class="data-table orders" id="my-orders-table">
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<col />
|
39 |
+
<col width="1" />
|
40 |
+
<col width="1" />
|
41 |
+
<col width="1" />
|
42 |
+
<thead>
|
43 |
+
<tr>
|
44 |
+
<th class="number"><?php echo $this->__('Order #') ?></th>
|
45 |
+
<th class="date"><?php echo $this->__('Date') ?></th>
|
46 |
+
<th class="ship"><?php echo $this->__('Ship To') ?></th>
|
47 |
+
<th class="total"><span class="nobr"><?php echo $this->__('Order Total') ?></span></th>
|
48 |
+
<th class="status"><span class="nobr"><?php echo $this->__('Order Status') ?></span></th>
|
49 |
+
<th class="view"> </th>
|
50 |
+
</tr>
|
51 |
+
</thead>
|
52 |
+
<tbody>
|
53 |
+
<?php $_odd = ''; ?>
|
54 |
+
<?php foreach ($_orders as $_order): ?>
|
55 |
+
<tr>
|
56 |
+
<td class="number"><?php echo $_order->getRealOrderId() ?></td>
|
57 |
+
<td class="date"><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
58 |
+
<td class="ship"><?php echo $_order->getShippingAddress() ? $this->escapeHtml($_order->getShippingAddress()->getName()) : ' ' ?></td>
|
59 |
+
<td class="total"><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
60 |
+
<td class="status"><em><?php echo $_order->getStatusLabel() ?></em></td>
|
61 |
+
<td class="a-center view">
|
62 |
+
<span class="nobr"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View Order') ?></a>
|
63 |
+
<?php /*<span class="separator">|</span><a href="<?php echo $this->getTrackUrl($_order) ?>"><?php echo $this->__('Track Order') ?></a> */ ?>
|
64 |
+
<?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
|
65 |
+
<span class="separator">|</span> <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
|
66 |
+
<?php endif ?>
|
67 |
+
</span>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</tbody>
|
72 |
+
</table>
|
73 |
+
<script type="text/javascript">decorateTable('my-orders-table');</script>
|
74 |
+
<?php echo $this->getPagerHtml(); ?>
|
75 |
+
<?php else: ?>
|
76 |
+
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
77 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/sales/order/items.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<table class="data-table linearize-table-large" id="my-orders-table" summary="<?php echo $this->__('Items Ordered') ?>">
|
29 |
+
<col />
|
30 |
+
<col width="1" />
|
31 |
+
<col width="1" />
|
32 |
+
<col width="1" />
|
33 |
+
<col width="1" />
|
34 |
+
<thead>
|
35 |
+
<tr>
|
36 |
+
<th><?php echo $this->__('Product') ?></th>
|
37 |
+
<th><?php echo $this->__('SKU') ?></th>
|
38 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
39 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
40 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
41 |
+
</tr>
|
42 |
+
</thead>
|
43 |
+
<tfoot>
|
44 |
+
<?php echo $this->getChildHtml('order_totals') ?>
|
45 |
+
</tfoot>
|
46 |
+
<?php $_items = $_order->getItemsCollection(); ?>
|
47 |
+
<?php $_index = 0; ?>
|
48 |
+
<?php $_count = $_items->count(); ?>
|
49 |
+
<?php foreach ($_items as $_item): ?>
|
50 |
+
<?php if ($_item->getParentItem()) continue; ?>
|
51 |
+
<tbody>
|
52 |
+
<?php echo $this->getItemHtml($_item) ?>
|
53 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
54 |
+
<tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
|
55 |
+
<?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
|
56 |
+
<td class="gift-message-row" colspan="7">
|
57 |
+
<a href="#" title="<?php echo $this->__('Close') ?>" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');" class="btn-close"><?php echo $this->__('Close') ?></a>
|
58 |
+
<dl class="gift-message">
|
59 |
+
<dt><strong><?php echo $this->__('From:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?></dt>
|
60 |
+
<dt><strong><?php echo $this->__('To:') ?></strong> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?></dt>
|
61 |
+
<dd><?php echo $this->helper('giftmessage/message')->getEscapedGiftMessage($_item) ?></dd>
|
62 |
+
</dl>
|
63 |
+
</td>
|
64 |
+
</tr>
|
65 |
+
<?php endif ?>
|
66 |
+
</tbody>
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</table>
|
69 |
+
<script type="text/javascript">decorateTable('my-orders-table', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
|
app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml
ADDED
@@ -0,0 +1,323 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
29 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3>
|
30 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
31 |
+
<dl class="item-options">
|
32 |
+
<?php foreach ($_options as $_option) : ?>
|
33 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
34 |
+
<?php if (!$this->getPrintStatus()): ?>
|
35 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
36 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
37 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
38 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
39 |
+
<div class="truncated_full_value">
|
40 |
+
<dl class="item-options">
|
41 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
42 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
43 |
+
</dl>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
46 |
+
</dd>
|
47 |
+
<?php else: ?>
|
48 |
+
<dd>
|
49 |
+
<?php echo nl2br($this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) )) ?>
|
50 |
+
</dd>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</dl>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php $addtInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
56 |
+
<?php if ($addtInfoBlock) :?>
|
57 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml(); ?>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
60 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
61 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
62 |
+
<?php endif; ?>
|
63 |
+
</td>
|
64 |
+
<td data-rwd-label="<?php echo $this->__('SKU') ?>"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
65 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
|
66 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
67 |
+
<span class="price-excl-tax">
|
68 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
69 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
70 |
+
<span class="cart-price">
|
71 |
+
<?php endif; ?>
|
72 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
73 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
74 |
+
</span>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
78 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
79 |
+
<?php else: ?>
|
80 |
+
<span class="cart-price">
|
81 |
+
<?php endif; ?>
|
82 |
+
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
</span>
|
90 |
+
|
91 |
+
|
92 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
93 |
+
|
94 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
95 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
96 |
+
<small>
|
97 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
98 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</small>
|
101 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
103 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
|
104 |
+
<?php endforeach; ?>
|
105 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
106 |
+
<small>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
108 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</small>
|
111 |
+
<?php endif; ?>
|
112 |
+
</span>
|
113 |
+
|
114 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
116 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
117 |
+
</span>
|
118 |
+
<?php endif; ?>
|
119 |
+
<?php endif; ?>
|
120 |
+
</span>
|
121 |
+
<br />
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
124 |
+
<span class="price-incl-tax">
|
125 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
126 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
127 |
+
<span class="cart-price">
|
128 |
+
<?php endif; ?>
|
129 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
130 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
</span>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php endif; ?>
|
134 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
135 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
136 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
137 |
+
<?php else: ?>
|
138 |
+
<span class="cart-price">
|
139 |
+
<?php endif; ?>
|
140 |
+
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
143 |
+
<?php else: ?>
|
144 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
145 |
+
<?php endif; ?>
|
146 |
+
|
147 |
+
</span>
|
148 |
+
|
149 |
+
|
150 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
151 |
+
|
152 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
153 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
154 |
+
<small>
|
155 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
156 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
157 |
+
<?php endforeach; ?>
|
158 |
+
</small>
|
159 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
161 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
162 |
+
<?php endforeach; ?>
|
163 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
164 |
+
<small>
|
165 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
166 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
</small>
|
169 |
+
<?php endif; ?>
|
170 |
+
</span>
|
171 |
+
|
172 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
174 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
175 |
+
</span>
|
176 |
+
<?php endif; ?>
|
177 |
+
<?php endif; ?>
|
178 |
+
</span>
|
179 |
+
<?php endif; ?>
|
180 |
+
</td>
|
181 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Qty') ?>">
|
182 |
+
<span class="nobr">
|
183 |
+
<?php if ($this->getItem()->getQtyOrdered() > 0): ?>
|
184 |
+
<?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
|
185 |
+
<?php endif; ?>
|
186 |
+
<?php if ($this->getItem()->getQtyShipped() > 0): ?>
|
187 |
+
<?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
|
188 |
+
<?php endif; ?>
|
189 |
+
<?php if ($this->getItem()->getQtyCanceled() > 0): ?>
|
190 |
+
<?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
|
191 |
+
<?php endif; ?>
|
192 |
+
<?php if ($this->getItem()->getQtyRefunded() > 0): ?>
|
193 |
+
<?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
|
194 |
+
<?php endif; ?>
|
195 |
+
</span>
|
196 |
+
</td>
|
197 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
198 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
199 |
+
<span class="price-excl-tax">
|
200 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
201 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
<span class="cart-price">
|
203 |
+
<?php endif; ?>
|
204 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
205 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
</span>
|
207 |
+
<?php endif; ?>
|
208 |
+
<?php endif; ?>
|
209 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
210 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
211 |
+
<?php else: ?>
|
212 |
+
<span class="cart-price">
|
213 |
+
<?php endif; ?>
|
214 |
+
|
215 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
216 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
217 |
+
<?php else: ?>
|
218 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
219 |
+
<?php endif; ?>
|
220 |
+
|
221 |
+
</span>
|
222 |
+
|
223 |
+
|
224 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
225 |
+
|
226 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
227 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
228 |
+
<small>
|
229 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
230 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
231 |
+
<?php endforeach; ?>
|
232 |
+
</small>
|
233 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
235 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
|
236 |
+
<?php endforeach; ?>
|
237 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
238 |
+
<small>
|
239 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
240 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
241 |
+
<?php endforeach; ?>
|
242 |
+
</small>
|
243 |
+
<?php endif; ?>
|
244 |
+
</span>
|
245 |
+
|
246 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
247 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
248 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
249 |
+
</span>
|
250 |
+
<?php endif; ?>
|
251 |
+
<?php endif; ?>
|
252 |
+
</span>
|
253 |
+
<br />
|
254 |
+
<?php endif; ?>
|
255 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
256 |
+
<span class="price-incl-tax">
|
257 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
258 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
259 |
+
<span class="cart-price">
|
260 |
+
<?php endif; ?>
|
261 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
262 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
263 |
+
</span>
|
264 |
+
<?php endif; ?>
|
265 |
+
<?php endif; ?>
|
266 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
267 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
268 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
269 |
+
<?php else: ?>
|
270 |
+
<span class="cart-price">
|
271 |
+
<?php endif; ?>
|
272 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
273 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
274 |
+
<?php else: ?>
|
275 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
276 |
+
<?php endif; ?>
|
277 |
+
|
278 |
+
</span>
|
279 |
+
|
280 |
+
|
281 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
282 |
+
|
283 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
284 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
285 |
+
<small>
|
286 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
287 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
288 |
+
<?php endforeach; ?>
|
289 |
+
</small>
|
290 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
291 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
292 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
293 |
+
<?php endforeach; ?>
|
294 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
295 |
+
<small>
|
296 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
297 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
298 |
+
<?php endforeach; ?>
|
299 |
+
</small>
|
300 |
+
<?php endif; ?>
|
301 |
+
</span>
|
302 |
+
|
303 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
304 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
305 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
306 |
+
</span>
|
307 |
+
<?php endif; ?>
|
308 |
+
<?php endif; ?>
|
309 |
+
|
310 |
+
|
311 |
+
|
312 |
+
</span>
|
313 |
+
<?php endif; ?>
|
314 |
+
</td>
|
315 |
+
<!--
|
316 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
317 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
|
318 |
+
<?php endif; ?>
|
319 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
320 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
|
321 |
+
<?php endif; ?>
|
322 |
+
-->
|
323 |
+
</tr>
|
app/design/frontend/rwd/default/template/sales/order/recent.phtml
ADDED
@@ -0,0 +1,75 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="box-account box-recent">
|
28 |
+
<?php $_orders = $this->getOrders(); ?>
|
29 |
+
<div class="box-head">
|
30 |
+
<h2><?php echo $this->__('Recent Orders') ?></h2>
|
31 |
+
<?php if( sizeof($_orders->getItems()) > 0 ): ?><a href="<?php echo $this->getUrl('sales/order/history') ?>"><?php echo $this->__('View All') ?></a><?php endif; ?>
|
32 |
+
</div>
|
33 |
+
<?php if( sizeof($_orders->getItems()) > 0 ): ?>
|
34 |
+
<table class="data-table orders" id="my-orders-table">
|
35 |
+
<col width="1" />
|
36 |
+
<col width="1" />
|
37 |
+
<col />
|
38 |
+
<col width="1" />
|
39 |
+
<col width="1" />
|
40 |
+
<col width="1" />
|
41 |
+
<thead>
|
42 |
+
<tr>
|
43 |
+
<th class="number"><?php echo $this->__('Order #') ?></th>
|
44 |
+
<th class="date"><?php echo $this->__('Date') ?></th>
|
45 |
+
<th class="ship"><?php echo $this->__('Ship To') ?></th>
|
46 |
+
<th class="total"><span class="nobr"><?php echo $this->__('Order Total') ?></span></th>
|
47 |
+
<th class="status"><?php echo $this->__('Status') ?></th>
|
48 |
+
<th class="view"> </th>
|
49 |
+
</tr>
|
50 |
+
</thead>
|
51 |
+
<tbody>
|
52 |
+
<?php foreach ($_orders as $_order): ?>
|
53 |
+
<tr>
|
54 |
+
<td class="number"><?php echo $_order->getRealOrderId() ?></td>
|
55 |
+
<td class="date"><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
56 |
+
<td class="ship"><?php echo $_order->getShippingAddress() ? $this->escapeHtml($_order->getShippingAddress()->getName()) : ' ' ?></td>
|
57 |
+
<td class="total"><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
58 |
+
<td class="status"><em><?php echo $_order->getStatusLabel() ?></em></td>
|
59 |
+
<td class="a-center view">
|
60 |
+
<span class="nobr">
|
61 |
+
<a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View Order') ?></a>
|
62 |
+
<?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
|
63 |
+
<span class="separator">|</span> <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-reorder"><?php echo $this->__('Reorder') ?></a>
|
64 |
+
<?php endif ?>
|
65 |
+
</span>
|
66 |
+
</td>
|
67 |
+
</tr>
|
68 |
+
<?php endforeach; ?>
|
69 |
+
</tbody>
|
70 |
+
</table>
|
71 |
+
<script type="text/javascript">decorateTable('my-orders-table')</script>
|
72 |
+
<?php else: ?>
|
73 |
+
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
74 |
+
<?php endif; ?>
|
75 |
+
</div>
|
app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<p class="order-links">
|
29 |
+
<?php if ($_order->getTracksCollection()->count()) : ?>
|
30 |
+
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track all shipment(s)') ?>"><?php echo $this->__('Track all shipments') ?></a> <span class="separator">|</span>
|
31 |
+
<?php endif; ?>
|
32 |
+
<a href="<?php echo $this->getPrintAllShipmentsUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Shipments') ?></a>
|
33 |
+
</p>
|
34 |
+
<?php foreach ($_order->getShipmentsCollection() as $_shipment): ?>
|
35 |
+
<h2 class="sub-title"><?php echo $this->__('Shipment #') ?><?php echo $_shipment->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintShipmentUrl($_shipment) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Shipment') ?></a></h2>
|
36 |
+
<?php $tracks = $_shipment->getTracksCollection(); ?>
|
37 |
+
<?php if ($tracks->count()): ?>
|
38 |
+
<table class="data-table tracking-table linearize-table" id="my-tracking-table-<?php echo $_shipment->getId(); ?>">
|
39 |
+
<tbody>
|
40 |
+
<tr>
|
41 |
+
<td colspan="2">
|
42 |
+
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_shipment) ?>','trackshipment','width=800,height=600,top=0,left=0,resizable=yes,scrollbars=yes'); return false;" title="<?php echo $this->__('Track this shipment') ?>"><?php echo $this->__('Track this shipment') ?></a>
|
43 |
+
</td>
|
44 |
+
</tr>
|
45 |
+
<tr>
|
46 |
+
<th class="label"><?php echo $this->__('Tracking Number(s):') ?></th>
|
47 |
+
<td>
|
48 |
+
<?php
|
49 |
+
$i = 1;
|
50 |
+
$_size = $tracks->count();
|
51 |
+
foreach($tracks as $track): ?>
|
52 |
+
<?php if($track->isCustom()): ?>
|
53 |
+
<?php echo $this->escapeHtml($track->getNumber()) ?>
|
54 |
+
<?php else: ?>
|
55 |
+
<a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($track) ?>','trackorder','width=800,height=600,left=0,top=0,resizable=yes,scrollbars=yes')" ><?php echo $this->escapeHtml($track->getNumber()) ?></a>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php if($i!=$_size): ?>, <?php endif; ?>
|
58 |
+
<?php $i++;
|
59 |
+
endforeach; ?>
|
60 |
+
</td>
|
61 |
+
</tr>
|
62 |
+
</tbody>
|
63 |
+
</table>
|
64 |
+
<script type="text/javascript">decorateTable('my-tracking-table-<?php echo $_shipment->getId(); ?>')</script>
|
65 |
+
<?php endif; ?>
|
66 |
+
<h3 class="table-caption"><?php echo $this->__('Items Shipped') ?></h3>
|
67 |
+
<table class="data-table" id="my-shipment-table-<?php echo $_shipment->getId(); ?>">
|
68 |
+
<col />
|
69 |
+
<col width="1" />
|
70 |
+
<col width="1" />
|
71 |
+
<thead>
|
72 |
+
<tr>
|
73 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
74 |
+
<th><?php echo $this->__('SKU') ?></th>
|
75 |
+
<th class="a-center"><span class="nobr"><?php echo $this->__('Qty Shipped') ?></span></th>
|
76 |
+
</tr>
|
77 |
+
</thead>
|
78 |
+
<?php $_items = $_shipment->getAllItems(); ?>
|
79 |
+
<?php $_count = count($_items) ?>
|
80 |
+
<?php foreach ($_items as $_item): ?>
|
81 |
+
<?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
|
82 |
+
<tbody>
|
83 |
+
<?php echo $this->getItemHtml($_item) ?>
|
84 |
+
</tbody>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
</table>
|
87 |
+
<script type="text/javascript">decorateTable('my-shipment-table-<?php echo $_shipment->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
|
88 |
+
<?php echo $this->getCommentsHtml($_shipment)?>
|
89 |
+
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/sales/widget/guest/form.phtml
ADDED
@@ -0,0 +1,105 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/** @var $this Mage_Sales_Block_Widget_Guest_Form */
|
27 |
+
?>
|
28 |
+
<?php if ($this->isEnable()): ?>
|
29 |
+
<div class="widget">
|
30 |
+
<div class="block block-gr-search">
|
31 |
+
<div class="block-title">
|
32 |
+
<strong>
|
33 |
+
<span><?php echo $this->__('Orders and Returns') ?></span>
|
34 |
+
</strong>
|
35 |
+
</div>
|
36 |
+
<div class="block-content">
|
37 |
+
<form id="oar_widget_orders_and_returns_form" action="<?php echo $this->getActionUrl() ?>" method="post" class="search-form" name="guest_post">
|
38 |
+
<ul class="form-alt">
|
39 |
+
<li>
|
40 |
+
<label class="required"><?php echo Mage::helper('sales')->__('Find Order By:') ?></label>
|
41 |
+
<div class="input-box">
|
42 |
+
<select name="oar_type" id="quick_search_type_id" class="select" title="" onchange="showIdentifyBlock(this.value);">
|
43 |
+
<option value="email">Email Address</option>
|
44 |
+
<option value="zip">ZIP Code</option>
|
45 |
+
</select>
|
46 |
+
</div>
|
47 |
+
</li>
|
48 |
+
<li>
|
49 |
+
<label for="oar_order_id" class="required"><?php echo Mage::helper('sales')->__('Order ID') ?> <em>*</em></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<input type="text" class="input-text required-entry" id="oar_order_id" name="oar_order_id" autocomplete="off" />
|
52 |
+
</div>
|
53 |
+
</li>
|
54 |
+
<li>
|
55 |
+
<label for="oar_billing_lastname" class="required"><?php echo Mage::helper('sales')->__('Billing Last Name') ?> <em>*</em></label>
|
56 |
+
<div class="input-box">
|
57 |
+
<input type="text" class="input-text required-entry" id="oar_billing_lastname" name="oar_billing_lastname" autocomplete="off" />
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
<li id="oar-email">
|
61 |
+
<label for="oar_email" class="required"><?php echo Mage::helper('sales')->__('Email Address') ?> <em>*</em></label>
|
62 |
+
<div class="input-box">
|
63 |
+
<input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" class="input-text validate-email required-entry" id="oar_email" name="oar_email" autocomplete="off" />
|
64 |
+
</div>
|
65 |
+
</li>
|
66 |
+
<li id="oar-zip" style="display:none;">
|
67 |
+
<label for="oar_zip" class="required"><?php echo Mage::helper('sales')->__('Billing ZIP Code') ?> <em>*</em></label>
|
68 |
+
<div class="input-box">
|
69 |
+
<input type="text" class="input-text required-entry" id="oar_zip" name="oar_zip" />
|
70 |
+
</div>
|
71 |
+
</li>
|
72 |
+
</ul>
|
73 |
+
<div class="actions">
|
74 |
+
<button type="submit" title="Continue" class="button"><span><span><?php echo Mage::helper('sales')->__('Continue') ?></span></span></button>
|
75 |
+
</div>
|
76 |
+
</form>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<script type="text/javascript">
|
81 |
+
//<![CDATA[
|
82 |
+
if ($('quick_search_type_id').value == 'zip') {
|
83 |
+
$('oar-zip').show();
|
84 |
+
$('oar-email').hide();
|
85 |
+
} else {
|
86 |
+
$('oar-zip').hide();
|
87 |
+
$('oar-email').show();
|
88 |
+
}
|
89 |
+
|
90 |
+
var dataForm = new VarienForm('oar_widget_orders_and_returns_form', true);
|
91 |
+
|
92 |
+
function showIdentifyBlock(id)
|
93 |
+
{
|
94 |
+
if (id == 'zip') {
|
95 |
+
$('oar-zip').show();
|
96 |
+
$('oar-email').hide();
|
97 |
+
} else if (id == 'email') {
|
98 |
+
$('oar-zip').hide();
|
99 |
+
$('oar-email').show();
|
100 |
+
}
|
101 |
+
return false;
|
102 |
+
}
|
103 |
+
//]]>
|
104 |
+
</script>
|
105 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/sendfriend/send.phtml
ADDED
@@ -0,0 +1,143 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Sendfriend_Block_Send */
|
27 |
+
/**
|
28 |
+
* Send to friend form
|
29 |
+
*
|
30 |
+
* @see Mage_Sendfriend_Block_Send
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<script type="text/javascript">
|
34 |
+
//<![CDATA[
|
35 |
+
i=0;
|
36 |
+
var recipCount = 1;
|
37 |
+
var maxRecip = <?php echo $this->getMaxRecipients() ?>;
|
38 |
+
function remove_recipient(i){
|
39 |
+
$('recipients_name'+i).up(2).remove();
|
40 |
+
recipCount--;
|
41 |
+
if(recipCount<maxRecip && maxRecip != 0) {
|
42 |
+
$('add_recipient_button').show();
|
43 |
+
$('max_recipient_message').hide();
|
44 |
+
}
|
45 |
+
return false;
|
46 |
+
}
|
47 |
+
|
48 |
+
function add_recipient(){
|
49 |
+
ul = $('recipients_options');
|
50 |
+
var li_mail = Element.extend(document.createElement("LI"));
|
51 |
+
li_mail.addClassName('fields additional-row');
|
52 |
+
li_mail.innerHTML = '<p><a href="delete_email" title="<?php echo $this->jsQuoteEscape($this->__('Remove Email')) ?>" onclick="remove_recipient('+i+'); return false" class="btn-remove"><?php echo $this->jsQuoteEscape($this->__('Remove Email')) ?>"<\/a><\/p>'
|
53 |
+
li_mail.innerHTML += '<div class="field"><label for="recipients_name'+i+'" class="required"><em>*<\/em><?php echo $this->jsQuoteEscape($this->__('Name:')) ?><\/label><div class="input-box"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name'+i+'" /><\/div>';
|
54 |
+
li_mail.innerHTML += '<div class="field"><label for="recipients_email'+i+'" class="required"><em>*<\/em><?php echo $this->jsQuoteEscape($this->__('Email Address:')) ?><\/label><div class="input-box"><input name="recipients[email][]" value="" title="<?php echo $this->jsQuoteEscape($this->__('Email Address')) ?>" id="recipients_email'+i+'" type="text" class="input-text required-entry validate-email" /><\/div><\/div>';
|
55 |
+
i++;
|
56 |
+
recipCount++;
|
57 |
+
if(recipCount>=maxRecip && maxRecip != 0) {
|
58 |
+
$('add_recipient_button').hide();
|
59 |
+
$('max_recipient_message').show();
|
60 |
+
}
|
61 |
+
|
62 |
+
ul.appendChild(li_mail);
|
63 |
+
}
|
64 |
+
//]]>
|
65 |
+
</script>
|
66 |
+
|
67 |
+
<div class="send-friend">
|
68 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
69 |
+
<div class="page-title">
|
70 |
+
<h1><?php echo $this->__('Email to a Friend') ?></h1>
|
71 |
+
</div>
|
72 |
+
<form action="<?php echo $this->getSendUrl() ?>" method="post" id="product_sendtofriend_form">
|
73 |
+
<div class="fieldset">
|
74 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
75 |
+
<h2 class="legend"><?php echo $this->__('Sender:') ?></h2>
|
76 |
+
<ul class="form-list" id="sender_options">
|
77 |
+
<li class="fields">
|
78 |
+
<div class="field">
|
79 |
+
<label for="sender_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
80 |
+
<div class="input-box">
|
81 |
+
<input name="sender[name]" value="<?php echo $this->escapeHtml($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry" />
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
<div class="field">
|
85 |
+
<label for="sender_email" class="required"><em>*</em><?php echo $this->__('Email:') ?></label>
|
86 |
+
<div class="input-box">
|
87 |
+
<input name="sender[email]" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" class="input-text required-entry validate-email" />
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
</li>
|
91 |
+
<li class="wide">
|
92 |
+
<label for="sender_message" class="required"><em>*</em><?php echo $this->__('Message:') ?></label>
|
93 |
+
<div class="input-box">
|
94 |
+
<textarea name="sender[message]" class="input-text required-entry" id="sender_message" cols="3" rows="3"><?php echo $this->escapeHtml($this->getMessage())?></textarea>
|
95 |
+
</div>
|
96 |
+
</li>
|
97 |
+
</ul>
|
98 |
+
</div>
|
99 |
+
<div class="fieldset">
|
100 |
+
<h2 class="legend"><?php echo $this->__('Recipient:') ?></h2>
|
101 |
+
<ul class="form-list" id="recipients_options">
|
102 |
+
<li class="fields">
|
103 |
+
<div class="field">
|
104 |
+
<label for="recipients_name" class="required"><em>*</em><?php echo $this->__('Name:') ?></label>
|
105 |
+
<div class="input-box">
|
106 |
+
<input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name" />
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<div class="field">
|
110 |
+
<label for="recipients_email" class="required"><em>*</em><?php echo $this->__('Email Address:') ?></label>
|
111 |
+
<div class="input-box">
|
112 |
+
<input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" class="input-text required-entry validate-email" />
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
</li>
|
116 |
+
</ul>
|
117 |
+
</div>
|
118 |
+
<div class="buttons-set">
|
119 |
+
<p class="back-link"><a href="#" onclick="history.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
120 |
+
<button type="submit" class="button<?php if (!$this->canSend()):?> disabled<?php endif ?>"<?php if (!$this->canSend()):?> disabled="disabled"<?php endif ?>><span><span><?php echo $this->__('Send Email') ?></span></span></button>
|
121 |
+
<div id="max_recipient_message" style="display:none;">
|
122 |
+
<?php if ($this->getMaxRecipients()): ?>
|
123 |
+
<p class="limit"><?php echo $this->__('Maximum %d email addresses allowed.', $this->getMaxRecipients()) ?></p>
|
124 |
+
<?php endif; ?>
|
125 |
+
</div>
|
126 |
+
<?php if (1 < $this->getMaxRecipients()): ?>
|
127 |
+
<p id="add_recipient_button">
|
128 |
+
<button type="button" onclick="add_recipient();" class="button"><span><span><?php echo $this->__('Add Recipient') ?></span></span></button>
|
129 |
+
</p>
|
130 |
+
<?php endif; ?>
|
131 |
+
</div>
|
132 |
+
</form>
|
133 |
+
<script type="text/javascript">
|
134 |
+
//<![CDATA[
|
135 |
+
var productSendtofriendForm = new VarienForm('product_sendtofriend_form');
|
136 |
+
productSendtofriendForm.submit = function() {
|
137 |
+
if(this.validator.validate()) {
|
138 |
+
this.form.submit();
|
139 |
+
}
|
140 |
+
}.bind(productSendtofriendForm);
|
141 |
+
//]]>
|
142 |
+
</script>
|
143 |
+
</div>
|
app/design/frontend/rwd/default/template/wishlist/button/update.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php if($this->getWishlist()->getItemsCount()): ?>
|
29 |
+
<button type="submit" name="do" title="<?php echo $this->__('Update Wishlist') ?>" class="button btn-update button-secondary"><span><span><?php echo $this->__('Update Wishlist') ?></span></span></button>
|
30 |
+
<?php endif;?>
|
app/design/frontend/rwd/default/template/wishlist/item/column/cart.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart */
|
28 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
29 |
+
$item = $this->getItem();
|
30 |
+
$product = $item->getProduct();
|
31 |
+
$options = $this->getChild('customer.wishlist.item.options')
|
32 |
+
->setItem($item)
|
33 |
+
->getConfiguredOptions();
|
34 |
+
?>
|
35 |
+
<div class="cart-cell">
|
36 |
+
<?php if ($product->isSaleable()): ?>
|
37 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php if ($product->getIsSalable()): ?>
|
40 |
+
<p class="availability in-stock">
|
41 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
42 |
+
<span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
|
43 |
+
</p>
|
44 |
+
<?php else: ?>
|
45 |
+
<p class="availability out-of-stock">
|
46 |
+
<span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
|
47 |
+
<span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
|
48 |
+
</p>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
</div>
|
52 |
+
<?php if ($product->isVisibleInSiteVisibility()): ?>
|
53 |
+
<p><a class="link-edit button button-secondary" href="<?php echo $this->getItemConfigureUrl($item) ?>"><?php echo $this->__('Edit') ?></a></p>
|
54 |
+
<?php endif ?>
|
55 |
+
<?php foreach($this->getSortedChildren() as $childName):?>
|
56 |
+
<?php echo $this->getChildHtml($childName, false);?>
|
57 |
+
<?php endforeach;?>
|
58 |
+
</div>
|
app/design/frontend/rwd/default/template/wishlist/item/column/info.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
28 |
+
$item = $this->getItem();
|
29 |
+
$product = $item->getProduct();
|
30 |
+
?>
|
31 |
+
<h3 class="product-name">
|
32 |
+
<a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a>
|
33 |
+
</h3>
|
34 |
+
|
35 |
+
<div class="wishlist-sku">
|
36 |
+
<span>SKU <?php echo $this->escapeHtml($product->getSku()) ?></span>
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<!-- <div class="description std">
|
40 |
+
<div class="inner"> -->
|
41 |
+
<?php // echo $this->escapeHtml($this->stripTags($product->getShortDescription()));?>
|
42 |
+
<!-- </div>
|
43 |
+
</div> -->
|
44 |
+
|
45 |
+
<textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" title="<?php echo $this->__('Comment') ?>" placeholder="<?php echo $this->helper('wishlist')->defaultCommentString(); ?>"><?php echo ($this->escapeHtml($item->getDescription() ? $item->getDescription() : '')) ?></textarea>
|
46 |
+
|
47 |
+
<?php if($this->getSortedChildren()): ?>
|
48 |
+
<div class="item-manage">
|
49 |
+
<?php foreach($this->getSortedChildren() as $childName):?>
|
50 |
+
<?php echo $this->getChildHtml($childName, false);?>
|
51 |
+
<?php endforeach;?>
|
52 |
+
</div>
|
53 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/wishlist/item/column/price.phtml
ADDED
@@ -0,0 +1,37 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart */
|
28 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
29 |
+
$item = $this->getItem();
|
30 |
+
$product = $item->getProduct();
|
31 |
+
$options = $this->getChild('customer.wishlist.item.options')
|
32 |
+
->setItem($item)
|
33 |
+
->getConfiguredOptions();
|
34 |
+
?>
|
35 |
+
<div class="cart-cell">
|
36 |
+
<?php echo $this->getPriceHtml($product, empty($options));?>
|
37 |
+
</div>
|
app/design/frontend/rwd/default/template/wishlist/item/column/quantity.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart */
|
28 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
29 |
+
$item = $this->getItem();
|
30 |
+
$product = $item->getProduct();
|
31 |
+
$options = $this->getChild('customer.wishlist.item.options')
|
32 |
+
->setItem($item)
|
33 |
+
->getConfiguredOptions();
|
34 |
+
?>
|
35 |
+
<div class="cart-cell">
|
36 |
+
<div class="add-to-cart-alt">
|
37 |
+
<?php if ($item->canHaveQty() && $item->getProduct()->isVisibleInSiteVisibility()): ?>
|
38 |
+
<input type="text" pattern="\d*" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" />
|
39 |
+
<?php endif; ?>
|
40 |
+
</div>
|
41 |
+
</div>
|
app/design/frontend/rwd/default/template/wishlist/item/list.phtml
ADDED
@@ -0,0 +1,69 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$columns = $this->getColumns();
|
29 |
+
?>
|
30 |
+
<table class="clean-table linearize-table" id="wishlist-table">
|
31 |
+
<thead>
|
32 |
+
<tr>
|
33 |
+
<?php foreach ($columns as $column):
|
34 |
+
$_blockName = str_replace('.','-',strtolower($column->getNameInLayout()));
|
35 |
+
?>
|
36 |
+
<th class="<?php echo $_blockName; ?>"><?php echo $column->getTitle();?></th>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</tr>
|
39 |
+
</thead>
|
40 |
+
<tbody>
|
41 |
+
<?php if (count($this->getItems())): ?>
|
42 |
+
<?php foreach ($this->getItems() as $item): ?>
|
43 |
+
<tr id="item_<?php echo $item->getId();?>">
|
44 |
+
<?php
|
45 |
+
foreach ($columns as $key => $column):
|
46 |
+
$_blockName = str_replace('.','-',strtolower($column->getNameInLayout()));
|
47 |
+
$_rwdLabel = ($column->getTitle()) ? $column->getTitle() : false;
|
48 |
+
?>
|
49 |
+
<td class="<?php echo 'wishlist-cell'.$key; ?> <?php echo $_blockName; ?>"<?php if($_rwdLabel): ?> data-rwd-label="<?php echo $_rwdLabel; ?>"<?php endif; ?>><?php $column->setItem($item); echo $column->toHtml($item);?></td>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</tr>
|
52 |
+
<?php endforeach ?>
|
53 |
+
<?php else: ?>
|
54 |
+
<td colspan="<?php echo count($columns);?>" class="wishlist-empty"><?php echo $this->__('This Wishlist has no Items');?></td>
|
55 |
+
<?php endif; ?>
|
56 |
+
</tbody>
|
57 |
+
</table>
|
58 |
+
<?php foreach ($columns as $column): ?>
|
59 |
+
<?php echo $column->getAdditionalHtml();?>
|
60 |
+
<?php endforeach; ?>
|
61 |
+
<script type="text/javascript">
|
62 |
+
//<![CDATA[
|
63 |
+
decorateTable('wishlist-table');
|
64 |
+
|
65 |
+
<?php foreach ($columns as $column): ?>
|
66 |
+
<?php echo $column->getJs();?>
|
67 |
+
<?php endforeach; ?>
|
68 |
+
//]]>
|
69 |
+
</script>
|
app/design/frontend/rwd/default/template/wishlist/shared.phtml
ADDED
@@ -0,0 +1,85 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Wishlist_Block_Share_Wishlist */
|
27 |
+
?>
|
28 |
+
<div class="my-wishlist">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->escapeHtml($this->getHeader()) ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<?php if ($this->hasWishlistItems()): ?>
|
34 |
+
<form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
|
35 |
+
<div class="fieldset">
|
36 |
+
<table class="data-table" id="wishlist-table">
|
37 |
+
<col width="1" />
|
38 |
+
<col />
|
39 |
+
<col width="1" />
|
40 |
+
<thead>
|
41 |
+
<tr>
|
42 |
+
<th><?php echo $this->__('Product') ?></th>
|
43 |
+
<th><?php echo $this->__('Comment') ?></th>
|
44 |
+
<th> </th>
|
45 |
+
</tr>
|
46 |
+
</thead>
|
47 |
+
<tbody>
|
48 |
+
<?php foreach($this->getWishlistItems() as $item): ?>
|
49 |
+
<?php
|
50 |
+
$product = $item->getProduct();
|
51 |
+
$isVisibleProduct = $product->isVisibleInSiteVisibility();
|
52 |
+
?>
|
53 |
+
<tr>
|
54 |
+
<td>
|
55 |
+
<a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(113, 113); ?>" width="113" height="113" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a>
|
56 |
+
<h2 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></h2>
|
57 |
+
<?php echo $this->getPriceHtml($product) ?>
|
58 |
+
<?php echo $this->getDetailsHtml($item) ?>
|
59 |
+
</td>
|
60 |
+
<td><?php echo $this->getEscapedDescription($item) ?></td>
|
61 |
+
<td class="a-center">
|
62 |
+
<?php if ($product->isSaleable()): ?>
|
63 |
+
<?php if ($isVisibleProduct): ?>
|
64 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="setLocation('<?php echo $this->getSharedItemAddToCartUrl($item) ?>')" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
65 |
+
<?php endif ?>
|
66 |
+
<?php endif; ?>
|
67 |
+
<p><a href="<?php echo $this->getAddToWishlistUrl($item) ?>" onclick="setLocation(this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></p>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<?php endforeach ?>
|
71 |
+
</tbody>
|
72 |
+
</table>
|
73 |
+
<script type="text/javascript">decorateTable('wishlist-table');</script>
|
74 |
+
</div>
|
75 |
+
<div class="buttons-set">
|
76 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
77 |
+
<?php if($this->isSaleable()):?>
|
78 |
+
<button type="button" title="<?php echo $this->__('Add All to Cart') ?>" onclick="setLocation('<?php echo $this->getUrl('*/*/allcart', array('_current'=>true)) ?>')" class="button"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
79 |
+
<?php endif;?>
|
80 |
+
</div>
|
81 |
+
</form>
|
82 |
+
<?php else: ?>
|
83 |
+
<p><?php echo $this->__('Wishlist is empty now.') ?></p>
|
84 |
+
<?php endif ?>
|
85 |
+
</div>
|
app/design/frontend/rwd/default/template/wishlist/sidebar.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Wishlist_Block_Customer_Sidebar */
|
27 |
+
?>
|
28 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
+
<div class="block block-wishlist">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->getTitle(); ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<p class="block-subtitle"><?php echo $this->__('Last Added Items') ?></p>
|
35 |
+
<?php if ($this->hasWishlistItems()): ?>
|
36 |
+
<ol class="mini-products-list" id="wishlist-sidebar">
|
37 |
+
<?php foreach ($this->getWishlistItems() as $_item): ?>
|
38 |
+
<?php $product = $_item->getProduct(); ?>
|
39 |
+
<li class="item">
|
40 |
+
<a href="<?php echo $this->getProductUrl($_item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail')->resize(50); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a>
|
41 |
+
<div class="product-details">
|
42 |
+
<a href="<?php echo $this->getItemRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the wishlist?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
|
43 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></p>
|
44 |
+
<?php if ($product->isSaleable() && $product->isVisibleInSiteVisibility()): ?>
|
45 |
+
<a href="<?php echo $this->getItemAddToCartUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php echo $this->getPriceHtml($product, false, '-wishlist') ?>
|
48 |
+
</div>
|
49 |
+
</li>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</ol>
|
52 |
+
<script type="text/javascript">decorateList('wishlist-sidebar');</script>
|
53 |
+
<div class="actions">
|
54 |
+
<a href="<?php echo $this->helper('wishlist')->getListUrl() ?>"><?php echo $this->__('Go to Wishlist') ?></a>
|
55 |
+
</div>
|
56 |
+
<?php else: ?>
|
57 |
+
<p class="empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
|
58 |
+
<?php endif ?>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
<?php endif ?>
|
app/design/frontend/rwd/default/template/wishlist/view.phtml
ADDED
@@ -0,0 +1,92 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-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 design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist */
|
27 |
+
?>
|
28 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
+
<div class="my-wishlist">
|
30 |
+
<div class="page-title title-buttons">
|
31 |
+
<?php if ($this->helper('wishlist')->isRssAllow() && $this->hasWishlistItems()): ?>
|
32 |
+
<a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistInstance()->getId()); ?>" class="link-rss"><?php echo $this->__('RSS Feed') ?></a>
|
33 |
+
<?php endif; ?>
|
34 |
+
<h1><?php echo $this->getTitle(); ?></h1>
|
35 |
+
</div>
|
36 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
+
|
38 |
+
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
|
39 |
+
<?php echo $this->getChildHtml('top'); ?>
|
40 |
+
<div class="fieldset">
|
41 |
+
<?php if ($this->hasWishlistItems()): ?>
|
42 |
+
<?php echo $this->getBlockHtml('formkey');?>
|
43 |
+
<?php $this->getChild('items')->setItems($this->getWishlistItems()); ?>
|
44 |
+
<?php echo $this->getChildHtml('items');?>
|
45 |
+
<script type="text/javascript">decorateTable('wishlist-table')</script>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
|
48 |
+
<?php endif ?>
|
49 |
+
<div class="buttons-set buttons-set2">
|
50 |
+
<?php echo $this->getChildHtml('control_buttons');?>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
</form>
|
54 |
+
|
55 |
+
<form id="wishlist-allcart-form" action="<?php echo $this->getUrl('*/*/allcart') ?>" method="post">
|
56 |
+
<?php echo $this->getBlockHtml('formkey') ?>
|
57 |
+
<div class="no-display">
|
58 |
+
<input type="hidden" name="wishlist_id" id="wishlist_id" value="<?php echo $this->getWishlistInstance()->getId() ?>" />
|
59 |
+
<input type="hidden" name="qty" id="qty" value="" />
|
60 |
+
</div>
|
61 |
+
</form>
|
62 |
+
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
var wishlistForm = new Validation($('wishlist-view-form'));
|
66 |
+
var wishlistAllCartForm = new Validation($('wishlist-allcart-form'));
|
67 |
+
|
68 |
+
function calculateQty() {
|
69 |
+
var itemQtys = new Array();
|
70 |
+
$$('#wishlist-view-form .qty').each(
|
71 |
+
function (input, index) {
|
72 |
+
var idxStr = input.name;
|
73 |
+
var idx = idxStr.replace( /[^\d.]/g, '' );
|
74 |
+
itemQtys[idx] = input.value;
|
75 |
+
}
|
76 |
+
);
|
77 |
+
|
78 |
+
$$('#qty')[0].value = JSON.stringify(itemQtys);
|
79 |
+
}
|
80 |
+
|
81 |
+
function addAllWItemsToCart() {
|
82 |
+
calculateQty();
|
83 |
+
wishlistAllCartForm.form.submit();
|
84 |
+
}
|
85 |
+
//]]>
|
86 |
+
</script>
|
87 |
+
</div>
|
88 |
+
<?php echo $this->getChildHtml('bottom'); ?>
|
89 |
+
<div class="buttons-set">
|
90 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
91 |
+
</div>
|
92 |
+
<?php endif ?>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Interface_Frontend_Rwd_Default</name>
|
4 |
+
<version>1.9.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>This is a RWD themes base</summary>
|
10 |
+
<description>This is a RWD themes base</description>
|
11 |
+
<notes>1.9.0.0</notes>
|
12 |
+
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
+
<date>2014-05-07</date>
|
14 |
+
<time>14:07:14</time>
|
15 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="etc"><file name="theme.xml" hash="4c6a2d1881e2fd097d353cebf013267f"/><file name="widget.xml" hash="7c3607d15f5ccacf29b0920b7464900c"/></dir><dir name="layout"><file name="bundle.xml" hash="7738e64217ff9cd31c6c53e325fb2a1a"/><file name="captcha.xml" hash="3d27d8d35992736f90fa9d85aeb64780"/><file name="catalog.xml" hash="1a8cf98ba023cfd4f8985fe91af5714b"/><file name="catalog_msrp.xml" hash="4e69c473a985252499737410d793bc20"/><file name="catalogsearch.xml" hash="9bf8ea14c7fa3f58cb550877cd38961d"/><file name="checkout.xml" hash="482902d8fc2c615880e8482bbb6aaeba"/><file name="cms.xml" hash="85b8f21b5129a8f871212aaf57df1d06"/><file name="contacts.xml" hash="f01c82c4afa65a6a16c455f4e61212b7"/><file name="customer.xml" hash="8618f59054be995db596752ab9e8e1db"/><file name="directory.xml" hash="0027d74f0cced6752f626eab895809bc"/><file name="downloadable.xml" hash="b9804fe7c84a1f75e91fcadaa5997491"/><file name="newsletter.xml" hash="fd0aba6d9144588fb9af29659c0f91af"/><file name="oauth.xml" hash="ab860b599f0d5490ff6113b4e3c4786e"/><file name="page.xml" hash="1f1c2913d496a6f1c70df5b50b6a2c06"/><file name="paypal.xml" hash="7337df44cc34ac33098b30cec7ff3c4c"/><file name="persistent.xml" hash="4a2d1bae5048da18e1c7b580e7be988f"/><file name="poll.xml" hash="764b5b73af4fa13aac54b46b139240a2"/><file name="review.xml" hash="e179c73a1c45901a5a29d8c5cee7129f"/><file name="rss.xml" hash="21e7661caedafcf06fe16f1e4de25814"/><file name="sales.xml" hash="643f9cb050705f8e71f3c08e1593af7a"/><file name="tag.xml" hash="0515c0a13a49d9a29bbc32c18cdf695d"/><file name="wishlist.xml" hash="4a503efbc617585adf6fbf3b79afb07f"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="e79a4860bd5f230688b61e5cf46cbbed"/></dir></dir><dir name="template"><dir name="authorizenet"><dir name="directpost"><file name="form.phtml" hash="f19217efd68fbc77432a2f35d3ce7b53"/></dir></dir><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><file name="availability.phtml" hash="2d77a9cee94f6e23fcb47e79e14d54a0"/><dir name="option"><file name="select.phtml" hash="90fbef4f46d47ef3e24a154cb7c7f5b4"/></dir></dir><file name="bundle.phtml" hash="e98f84565cca46070dac1d5151e35203"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="42126415cf5464f44c3fb5e071f10909"/></dir></dir></dir></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="f9b6df048ad6a51700121bb8a24ef70c"/><file name="state.phtml" hash="dbe4ea9c7fa3697fc0361d2f18f3bfb8"/><file name="view.phtml" hash="bc38f5f563f1cff73ef2a13fd2376c1b"/></dir><dir name="msrp"><file name="popup.phtml" hash="4832f1baf4ba096733396afcd7b82c67"/></dir><dir name="navigation"><file name="left.phtml" hash="d7d9367768b2bad9b923a0d804299e0d"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="9ca283337292782b4c9fdadc7e0f4735"/><file name="sidebar.phtml" hash="9502328f7bca025be839f9afc8b0e170"/></dir><dir name="list"><file name="related.phtml" hash="4d0b578da5b30871a892e1b28d7255c4"/><file name="toolbar.phtml" hash="c21a5b4402bc7a1abf9f949d848bc8a6"/><file name="upsell.phtml" hash="dabeb766d71f52df6c0b75e797bb3c72"/></dir><file name="list.phtml" hash="1755230f13467678ea2eb873a6537e24"/><file name="new.phtml" hash="b7238ffe5a75fc3528cb5598e38d1f89"/><dir name="view"><file name="addto.phtml" hash="6490bda46549b7b08de2f1e789fadb2c"/><file name="addtocart.phtml" hash="9c47c506353f55a40b4faaf1aea99d6e"/><file name="media.phtml" hash="2661d59cb2e29d3c488fe4ef1366092c"/><file name="sharing.phtml" hash="dcf02fde973e630c08dbcfcd4d0663e5"/><dir name="type"><dir name="availability"><file name="default.phtml" hash="75723bafa33bf84f86bbe3b48c890481"/><file name="grouped.phtml" hash="690a61f8626fab5a2e5c13cced690375"/></dir><file name="default.phtml" hash="1ee76a4baadc70bcb2923eb8a88d71b6"/><file name="grouped.phtml" hash="da90c5f8fe065e1f45fa0ac1d0e015e1"/><dir name="options"><file name="configurable.phtml" hash="56e3142c6c78c028141dc4a7e3105680"/></dir></dir></dir><file name="view.phtml" hash="a18bb5e7c1cab4df364d9d4f208f1304"/><dir name="widget"><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="ceb3ba9e4b2ca343ce0e1098fc3519ce"/><file name="new_images_list.phtml" hash="6245889bf59e291eec3d01a3402092ad"/><file name="new_names_list.phtml" hash="6a3fee1a64912101388c4638d485e215"/></dir><dir name="content"><file name="new_grid.phtml" hash="933201309b8b5907538c31ea21146e71"/><file name="new_list.phtml" hash="5eedab654892dd9e1cf1ed22c248a39a"/></dir></dir></dir></dir></dir><dir name="cataloginventory"><dir name="stockqty"><file name="composite.phtml" hash="9fc278cfc7317e5e2883001264de1c8f"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="18fd5eb84c2b9ea87223fc5768f0b651"/></dir><file name="form.mini.phtml" hash="9e92408b60d6ad8be68fd3bad9a54ddd"/><file name="result.phtml" hash="c062b609811ab3ecb25d98443ab833a7"/></dir><dir name="centinel"><dir name="authentication"><file name="start.phtml" hash="b550b2b71a485d01b980a8f1cad0f6c3"/></dir></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="f22a16bee649a1f10dcd912fac69b3f3"/><file name="crosssell.phtml" hash="8ee660de951cefbf0352c3957e82953d"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="3cd83b82425a56984f35f551b9d7baa1"/></dir><file name="default.phtml" hash="438e7e9e63333e3a9484e1637b8f78db"/></dir><dir name="minicart"><file name="default.phtml" hash="6c7ca086f6b4b5a23ec45832e0e7a04a"/><file name="items.phtml" hash="3225ec5da6a015e8eaa725bfe99af8bc"/></dir><file name="minicart.phtml" hash="665da0b51ac9e60085ffeaf1ca287761"/><dir name="render"><file name="default.phtml" hash="7173dc7e85b367474d824b657e336b3a"/><file name="simple.phtml" hash="c1aa7c730525533c7e29484e86cc7ae0"/></dir><file name="shipping.phtml" hash="acd74c80abaf510a1c3c090312418b76"/><dir name="sidebar"><file name="default.phtml" hash="ad51b1b4ce6c3a1413a1f02199a8c2e8"/></dir><file name="sidebar.phtml" hash="990581db35b5ad10d594882f795c3fa1"/></dir><file name="cart.phtml" hash="ff2992c0450ad556cfa5e72a016d3d42"/><dir name="multishipping"><file name="billing.phtml" hash="c6b6be7b83aded97c18fccd2f0abbe3a"/><dir name="item"><file name="default.phtml" hash="d346a9e04cd93942e77aba7cbeeb55e7"/></dir></dir><dir name="onepage"><file name="payment.phtml" hash="b44552085091798b4b85fee0e184fe6f"/><file name="progress.phtml" hash="20fd53292a03af013b921d829da5255d"/><dir name="review"><file name="info.phtml" hash="5fa07faa54636f0256777c5447e971d0"/><file name="item.phtml" hash="0bc6d56d47467d363c3b16c540b69365"/></dir><file name="shipping.phtml" hash="6102961fb13b7797ab77cc496ffad007"/></dir><file name="onepage.phtml" hash="110af056d6e3d50fbb94a83314480f10"/></dir><dir name="contacts"><file name="form.phtml" hash="28e3b55cdaec9ed3b7e5a54f232e621b"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="4ad05e802cfe483c5872538df7f3d877"/></dir><file name="dashboard.phtml" hash="bfd8c2e5ff0372a897c133e9426a254d"/><file name="navigation.phtml" hash="c91c4bff65a2e07081ee91836ca17c39"/></dir><dir name="address"><file name="edit.phtml" hash="680ec42f12dfbf551617a3a0b23cbe59"/></dir><dir name="form"><file name="address.phtml" hash="b0843e53188668bef30295c2a6cfaa83"/><file name="changepassword.phtml" hash="de5859fa2fc929355890aeb71b1e7439"/><file name="confirmation.phtml" hash="abe49cd5fa5cab524a7981d5aa0f8ebb"/><file name="edit.phtml" hash="5e1e1525417a5daf19c3d84b7ce3c331"/><file name="forgotpassword.phtml" hash="19f9e91caab19c4985ff8a7837faa1b1"/><file name="mini.login.phtml" hash="04f162ebd8ebb19948d89100ceca2d23"/><file name="resetforgottenpassword.phtml" hash="866ef98a9e3f56c763b6b8c4311db34e"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="da7c7ff68e79828d195f3e221cb430d3"/></dir><dir name="downloadable"><dir name="catalog"><dir name="product"><file name="type.phtml" hash="817816511c8c3388bfe498687b05472a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f0dcb294800332dcd86e7a18a3b22848"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="015da3d314e7cf0a2ab7ae797ddd31bd"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="570770d13ec86da6ed42d32570d0bbbf"/></dir></dir><dir name="sales"><dir name="order"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="706beb74fa4fbc76ecb256e57b9938fe"/></dir></dir></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="a510ad9a021e94e4461e3f6b1ed53049"/></dir><dir name="oauth"><dir name="authorize"><dir name="form"><file name="login-simple.phtml" hash="aa98250f9be9595206179eaa5be9b2d8"/></dir></dir></dir><dir name="page"><file name="1column.phtml" hash="0c1955ade78334db0f4fe2623db5770b"/><file name="2columns-left.phtml" hash="dfbffd9741a164de0f5730e89342ded4"/><file name="2columns-right.phtml" hash="63a72f838e0ab53dca08b293dd2b92f7"/><file name="3columns.phtml" hash="59640da143b7b1fc3dfa465af43a8f90"/><file name="empty.phtml" hash="1a6a1c3abed752d8ee2122266a191393"/><dir name="html"><file name="footer.phtml" hash="d46cb161c4576b64786dd9c3fb64624c"/><file name="header.phtml" hash="11abceddc57066d408d14c02d0483031"/><file name="pager.phtml" hash="37adc6f4ff4b64cebb2817d6efe6a2ad"/><dir name="topmenu"><file name="renderer.phtml" hash="728865a093894a4829e94f0a31c1d6ba"/></dir><file name="topmenu.phtml" hash="153c1dfaeaf7ef89b4c4a57775782ba6"/></dir><file name="popup.phtml" hash="2ae6d968ea9877465fe81c8d9758c9d5"/><file name="print.phtml" hash="f34a95c3057c48b5ed31c514036af55f"/><dir name="template"><file name="links.phtml" hash="b4c1871de5f9fbe8f02094194e1f6077"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="670f3d03701db791b7a14719a2f84d48"/><file name="ccsave.phtml" hash="14acbd0106ffc21e1e73487db834282d"/></dir><dir name="info"><file name="default.phtml" hash="41bf3c1e2a64d6cc11b4c27adc935c96"/></dir></dir><dir name="paypal"><file name="bml.phtml" hash="1b0958715878d48044f9356473385d07"/><dir name="express"><dir name="minicart"><file name="shortcut.phtml" hash="44ead8db61e3e595b92f9f18ac9b7965"/></dir><dir name="product"><file name="shortcut.phtml" hash="8b2301c7028340614f62e9e733382c04"/></dir><dir name="review"><file name="address.phtml" hash="469240557ba76155eb06d1b5ad734f1e"/><file name="details.phtml" hash="09810404b232729a7a43e7b19afdd452"/><dir name="shipping"><file name="method.phtml" hash="31f8dbaddc22a36d1f4692dd4e87a901"/></dir></dir><file name="review.phtml" hash="f9e7d6bf33ff4e4030c88825913ad95c"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="ff2158b0039c0514f3066388abdfa572"/><file name="login.phtml" hash="5c02d00034fa5f8fca22b1decc9d9abe"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="ae9ffe236701c24281e4bdb777afebad"/><file name="register.phtml" hash="41735add33f2b1c12ca237f482a7a887"/></dir></dir><file name="remember_me.phtml" hash="deebe3fc2c582d1ff5e58387ffdeea7f"/><file name="remember_me_tooltip.phtml" hash="498edb2ae5ccb65bdbc02abb2b32fde3"/></dir><dir name="reports"><file name="product_viewed.phtml" hash="07266aefa828a3e70a82a8b79d07d4cf"/><dir name="widget"><dir name="compared"><dir name="column"><file name="compared_default_list.phtml" hash="b1dccc5abe6475f028f497dacf080fcd"/><file name="compared_images_list.phtml" hash="8e1ccc907bb43616e74131b09d6a6c6e"/><file name="compared_names_list.phtml" hash="e5fab7b08f4ac75e2b42f439bef20d14"/></dir><dir name="content"><file name="compared_grid.phtml" hash="ca7ec6ec7be6116aeacd511552d87d54"/><file name="compared_list.phtml" hash="42253cff0455e590f1f97d230adf0942"/></dir></dir><dir name="viewed"><dir name="column"><file name="viewed_default_list.phtml" hash="eee441c2901518bb209e28d63150f6c0"/><file name="viewed_images_list.phtml" hash="50b05395a988160166e021b36330605a"/><file name="viewed_names_list.phtml" hash="eed3822e250bea604e545bbe4918e7d4"/></dir><dir name="content"><file name="viewed_grid.phtml" hash="323051c0524b9389fd6943d3f84a2275"/><file name="viewed_list.phtml" hash="403ce888f91aaf1d5220fabec60d715a"/></dir></dir></dir></dir><dir name="review"><dir name="customer"><file name="view.phtml" hash="f009c0f2b513902fd4faae11ab52759a"/></dir><file name="form.phtml" hash="9cd174c1aeb52c69d4a915696ee206e7"/><dir name="product"><dir name="view"><file name="list.phtml" hash="8445c04579cca60d2bd3507a96f231b6"/></dir></dir><file name="view.phtml" hash="8e866302513f99b43000bb63d820cc2d"/></dir><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="402d718b2193b322c63c1786d2ed50fd"/></dir></dir><file name="items.phtml" hash="0a0ff91f27ec113534a80867e5c1db90"/></dir><file name="history.phtml" hash="ee742641b555eb76628d1c18d3c8e36e"/><dir name="items"><dir name="renderer"><file name="default.phtml" hash="97eec3ad7364ff9efd47134c29c6fa0c"/></dir></dir><file name="items.phtml" hash="c8039476fff393fd803d69d0b423d1bd"/><file name="recent.phtml" hash="82c1848d7187470df3e804a0334f24c3"/><dir name="shipment"><file name="items.phtml" hash="613b7f4c8730f4236b86d61c7471f498"/></dir></dir><dir name="widget"><dir name="guest"><file name="form.phtml" hash="a3b17ce43957d0dc9a823c7c60a4e1f9"/></dir></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="771a9f073d4c4059ab23d70f206176db"/></dir><dir name="wishlist"><dir name="button"><file name="update.phtml" hash="50140863a8cce82bf76dafe645199402"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="274b233d79e6f00d7d415ca28e7150ea"/><file name="info.phtml" hash="3d2cbab6465cf0afa777a1a0e91d7672"/><file name="price.phtml" hash="feabefe9439e968eff7cd7bfd12487a0"/><file name="quantity.phtml" hash="b137e3dd60cd537f346f0d2ebed89497"/></dir><file name="list.phtml" hash="f113634c56863a61785a2ffd52df6468"/></dir><file name="shared.phtml" hash="8822d6fe894a9bff719ef1963bdec7b3"/><file name="sidebar.phtml" hash="2a65ef82e93ff09f5e761a95948313cf"/><file name="view.phtml" hash="c2597619910f1706636ba4380c15e214"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="css"><file name="madisonisland-ie8.css" hash="9785f3622a98d6178f5d814525e8af4f"/><file name="madisonisland.css" hash="920eec6acc79e1ef6ecfe8d675472f62"/><file name="scaffold-forms.css" hash="ccf6d73ee496be6a93c0fa2b80755027"/><file name="styles-ie8.css" hash="01dd9b3a914ef001541adaac5617ad87"/><file name="styles.css" hash="8a874fcb6cdcb82947ee4dbbe1822f3e"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg_x.png" hash="c321c67f6929326129426c9e83207ea3"/><file name="demo-logo.png" hash="c6f4b110e5379547e71d367479f0f945"/><file name="demo_logo.png" hash="7694461c41abb69ca60c086c69e312cc"/><file name="icon_sprite.png" hash="e15f0103ef5ebe3baf48960bb9ccfaab"/><file name="icon_sprite@2x.png" hash="2e9c31d760a33d9f27951210f8311341"/><file name="logo.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_email.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_print.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="homepage_banner_1.jpg" hash="267b2827f3db118d99f7a623ee02ad8f"/><file name="homepage_banner_1@2x.jpg" hash="3baa6702111d6f5f5dd40d96f148fc60"/><file name="homepage_banner_2.jpg" hash="67f70cfb1690b5de6e185769fb55cd28"/><file name="homepage_callout_1.jpg" hash="4b8451e4e99e87b6c60a015f659d32b6"/><file name="homepage_callout_1@2x.jpg" hash="fb5e215f6cb623abf6f0365b5de1541d"/><file name="homepage_callout_2.jpg" hash="057ab6200f6ea05d4a6793969c5edac3"/><file name="homepage_callout_2@2x.jpg" hash="e923c6323d22235876fe61a9c5588c85"/><file name="homepage_callout_3.jpg" hash="b2cf1e73e87b3330df17425044d22f52"/><file name="homepage_callout_3@2x.jpg" hash="8b98dee63a61608b09c26bd60acea65e"/></dir><file name="opc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="social_icons.png" hash="a6d0bdaea0ca0f507bd36628a6ad31a2"/><file name="social_icons@2x.png" hash="531cc696a7b949dbc8121809c1bb4d46"/></dir><dir name="js"><file name="app.js" hash="cef264d4848bef566fa61ca1cad1d94f"/><dir name="lib"><dir name="elevatezoom"><file name="jquery.elevateZoom-3.0.8.min.js" hash="a18ff8649464a0c999f5d063a081da61"/><file name="jquery.elevatezoom.js" hash="76494c5afa372e08d0a8a5f4ba7e58ed"/></dir><file name="enquire.js" hash="c11ca42a1f2bf189d004f9a4f42e3ca2"/><file name="fastclick.js" hash="7f1e1673fa395e43cbdc584c8798541b"/><file name="imagesloaded.js" hash="f70def9bddf45be549ec0575645b8038"/><file name="jquery-1.10.2.js" hash="dd6148c6c9502fdf51b8cc346fca926e"/><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery-1.10.2.min.map" hash="6c3ccfc221d36777d383b6e04d0b8af9"/><file name="jquery.cycle2.min.js" hash="24f809434b3e494cc7b98c6c08404b33"/><file name="jquery.cycle2.swipe.min.js" hash="15747fbd45dd1adcaf8f04a2d8a71d68"/><file name="matchMedia.addListener.js" hash="6f47448212550bd3157c4265e3ebf085"/><file name="matchMedia.js" hash="89f369588d629240d6a8d4f8788490c8"/><file name="modernizr.custom.min.js" hash="e508acbc792b5761fe98dc892a1fd952"/><file name="selectivizr.js" hash="8e596ea5ffac3cf3eb53f75a15cdc7eb"/></dir><file name="minicart.js" hash="df031e03a34adf94d6f0e8a3eb12a972"/><file name="msrp_rwd.js" hash="9f205c7191282027e396af65d6f80add"/><file name="opcheckout_rwd.js" hash="aded4472e726d946914121a5172d3747"/><file name="slideshow.js" hash="0ce8047ea23928fade61a164b67e26cd"/></dir><dir name="scss"><file name="_core.scss" hash="2e191bbec4e15b0b5bdca62c24ac82da"/><file name="_framework.scss" hash="c41af0520d24036c4ef4438d21d246be"/><file name="_var.scss" hash="5b7995d17385dc429007d0960f3f7e24"/><file name="config.rb" hash="5f50b4dc5eefbab9e22abdfb80f4d689"/><dir name="content"><file name="_category.scss" hash="d4205e263e312966ba90fb4c52d94f45"/><file name="_home.scss" hash="7e546fee61b68a8bdf95ce249849597d"/></dir><dir name="core"><file name="_common.scss" hash="d16a8d1c0386d077ec4a078b24a7ea18"/><file name="_form.scss" hash="4814e57d9844fec22d0a186ae6c14396"/><file name="_reset.scss" hash="372423e37d18ca7fab269a6da9b59d70"/><file name="_table.scss" hash="fd2de255b80b2d3d0ffa018dbb090351"/></dir><dir name="function"><file name="_black.scss" hash="9ee3cba664d2f238aca51d91439fdb67"/><file name="_white.scss" hash="d1fac5a394bb4f989ac4b5f32867d123"/></dir><dir name="layout"><file name="_footer.scss" hash="ff81a565734c48b55c255a0d120aa460"/><file name="_global.scss" hash="eb07fc2ae4bcc745df6a15c857ae82fe"/><file name="_header-account.scss" hash="8092c559befa5c514bfc68267e0b0119"/><file name="_header-cart.scss" hash="1541f44eccd1d36d5a7242664c5c492a"/><file name="_header-nav.scss" hash="121ef33d8c6ed745000b854af3cdc341"/><file name="_header-search.scss" hash="0d9e876fb98c412113a9d5a6514764d0"/><file name="_header.scss" hash="f67786fad5d2da55b4afbeb550639796"/></dir><file name="madisonisland-ie8.scss" hash="48c14aa15fecdd28c181ac4dae3e662f"/><file name="madisonisland.scss" hash="a816ddc556bed44e9fbf042cb10ff752"/><dir name="mixin"><file name="_breakpoint.scss" hash="a4260c3d9aad668f180aa2a63ccccc49"/><file name="_clearfix.scss" hash="1c37ad1ae7941a999fc4407ced55b90f"/><file name="_if-resolution.scss" hash="1245c9223fe595dbc973ce10bb820930"/><file name="_image-replacement.scss" hash="6643fe5fab2e97eec77aaad24bbab68c"/><file name="_loading-overlay.scss" hash="bb1564f4504a541d88aaebb56ac8f5ff"/><file name="_menu.scss" hash="95a49c744fc7e3ec7b15796237a39d40"/><file name="_not-selectable.scss" hash="d47f2dcb85cbc4b146fcae9944d609bb"/><file name="_toggle-content.scss" hash="be70eac815e34e1f32a820235928851d"/><file name="_triangle.scss" hash="1aef36e44421accfcfdfac01a3440d2f"/><file name="_typography.scss" hash="04fc00b52bf25d481686e3a308366629"/></dir><dir name="module"><file name="_account-reviews.scss" hash="0628de18db70b4a2902c60b85df6a318"/><file name="_catalog-compare.scss" hash="d4cb3310a5bf5ecf0f6d92ec676b188e"/><file name="_catalog-msrp.scss" hash="38d8caee0c2971d4eb8951ebd1696b63"/><file name="_catalog-product.scss" hash="216d57f37fc7fd673a1d0234c3f9111a"/><file name="_checkout-cart-minicart.scss" hash="5fa464af64b24d18e35e7b504cda6dd9"/><file name="_checkout-cart.scss" hash="d0eafaaa4d6b05e110b2bf120c3430f8"/><file name="_checkout-onepage.scss" hash="32def0da0fc4c6b1213ace044a6cc158"/><file name="_checkout-success.scss" hash="bb7aa88816264a8df527e35f99cde2f5"/><file name="_cms.scss" hash="b93092df8a9540e4103d63e0440add5d"/><file name="_configurableswatches.scss" hash="6758ea88d0c628bb012c16c52d9146d2"/><file name="_contacts.scss" hash="f648f4d0bb9a131c28dffa2f1dec9711"/><file name="_cookies.scss" hash="cc55fb4d671ed8195634ceab9eb556ac"/><file name="_customer.scss" hash="93fb5e1e95aa22487b7c7eb3fead79c8"/><file name="_paypal.scss" hash="554952c624d30fc7e2d7bf5f79adf6ec"/><file name="_pricing_conditions.scss" hash="641397cde1cdd4077a9c68ba9d0d8921"/><file name="_product-list.scss" hash="8161bafadde90191b5f90f01f07ef9ce"/><file name="_review.scss" hash="d8c7e17b62af4b6cfa6787667673756e"/><file name="_search.scss" hash="bb0964f4f4ea47103e9af926bb7031e9"/><file name="_slideshow.scss" hash="bfd88f46967c6cc3d33d0fdf10bddf46"/><file name="_wishlist.scss" hash="f078e4102a29ad63441fde76444da426"/></dir><dir name="override"><file name="_plugin.scss" hash="b9a898ecc70d60a0b0bdf27d2f39d816"/></dir><file name="scaffold-forms.scss" hash="a37b86e783f1cfc519708448fd1f3d77"/><file name="styles-ie8.scss" hash="3e5a49118b4d1eae76e34b6a972f8967"/><file name="styles.scss" hash="8faed1a757f54767479d1e3afb662c08"/><dir name="vendor"><file name="_normalize.scss" hash="288186f9ad9031c64a2495077db799c0"/></dir><file name=".htaccess" hash="72617d60821288133a367f70bf39ad93"/></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.9.0.0</min><max>1.10.0.0</max></package></required></dependencies>
|
18 |
+
</package>
|
skin/frontend/rwd/default/css/madisonisland-ie8.css
ADDED
@@ -0,0 +1,176 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_default
|
22 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/* ============================================ *
|
26 |
+
* Homepage
|
27 |
+
* ============================================ */
|
28 |
+
/* -------------------------------------------- *
|
29 |
+
* Primary Banner
|
30 |
+
*/
|
31 |
+
body.cms-home .main-container {
|
32 |
+
padding-top: 20px;
|
33 |
+
}
|
34 |
+
body.cms-home .slideshow-container {
|
35 |
+
margin-top: 0;
|
36 |
+
}
|
37 |
+
|
38 |
+
.slideshow .banner-msg {
|
39 |
+
position: absolute;
|
40 |
+
text-align: center;
|
41 |
+
text-transform: uppercase;
|
42 |
+
width: 100%;
|
43 |
+
top: 30%;
|
44 |
+
-moz-user-select: none;
|
45 |
+
-ms-user-select: none;
|
46 |
+
-webkit-user-select: none;
|
47 |
+
-o-user-select: none;
|
48 |
+
user-select: none;
|
49 |
+
}
|
50 |
+
|
51 |
+
.slideshow .banner-msg h2 {
|
52 |
+
color: #FFFFFF;
|
53 |
+
font-size: 24px;
|
54 |
+
text-shadow: 1px 1px 3px #555555;
|
55 |
+
}
|
56 |
+
|
57 |
+
.slideshow .banner-msg h2 strong {
|
58 |
+
font-weight: bold;
|
59 |
+
display: block;
|
60 |
+
font-size: 36px;
|
61 |
+
}
|
62 |
+
|
63 |
+
/* -------------------------------------------- *
|
64 |
+
* Promotion Banner Section
|
65 |
+
*/
|
66 |
+
.promos {
|
67 |
+
margin: 0 0 10px 0;
|
68 |
+
padding: 0;
|
69 |
+
width: 100%;
|
70 |
+
}
|
71 |
+
|
72 |
+
.promos:after {
|
73 |
+
content: '';
|
74 |
+
display: table;
|
75 |
+
clear: both;
|
76 |
+
}
|
77 |
+
|
78 |
+
/* Specifying the body only in order to override the .std ul li styling */
|
79 |
+
body .promos > li {
|
80 |
+
margin: 0 0 10px 0;
|
81 |
+
list-style: none;
|
82 |
+
text-align: center;
|
83 |
+
position: relative;
|
84 |
+
border: 1px solid #cccccc;
|
85 |
+
-moz-user-select: none;
|
86 |
+
-ms-user-select: none;
|
87 |
+
-webkit-user-select: none;
|
88 |
+
-o-user-select: none;
|
89 |
+
user-select: none;
|
90 |
+
}
|
91 |
+
|
92 |
+
.promos > li:last-child {
|
93 |
+
margin-bottom: 0;
|
94 |
+
}
|
95 |
+
|
96 |
+
.promos img {
|
97 |
+
max-width: 100%;
|
98 |
+
width: 100%;
|
99 |
+
}
|
100 |
+
|
101 |
+
.promos a:hover {
|
102 |
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
103 |
+
opacity: 0.8;
|
104 |
+
display: block;
|
105 |
+
}
|
106 |
+
|
107 |
+
.promos span {
|
108 |
+
color: #FFFFFF;
|
109 |
+
text-transform: uppercase;
|
110 |
+
position: absolute;
|
111 |
+
display: block;
|
112 |
+
width: 100%;
|
113 |
+
top: 10%;
|
114 |
+
font-weight: 500;
|
115 |
+
font-size: 20px;
|
116 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
117 |
+
text-shadow: 1px 1px 3px #555555;
|
118 |
+
}
|
119 |
+
|
120 |
+
.promos strong {
|
121 |
+
font-weight: 600;
|
122 |
+
font-size: 26px;
|
123 |
+
display: block;
|
124 |
+
}
|
125 |
+
|
126 |
+
.promos span {
|
127 |
+
font-size: 16px;
|
128 |
+
}
|
129 |
+
|
130 |
+
.promos strong {
|
131 |
+
font-size: 17px;
|
132 |
+
}
|
133 |
+
|
134 |
+
/* Config: Three columns + flexible gutter */
|
135 |
+
body .promos > li {
|
136 |
+
float: left;
|
137 |
+
width: 31.74603%;
|
138 |
+
margin-right: 2.38095%;
|
139 |
+
}
|
140 |
+
|
141 |
+
.promos > li:nth-child(3n) {
|
142 |
+
margin-right: 0;
|
143 |
+
}
|
144 |
+
|
145 |
+
.promos span {
|
146 |
+
font-size: 18px;
|
147 |
+
}
|
148 |
+
|
149 |
+
.promos strong {
|
150 |
+
font-size: 24px;
|
151 |
+
}
|
152 |
+
|
153 |
+
/* -------------------------------------------- *
|
154 |
+
* New Products Section
|
155 |
+
*/
|
156 |
+
/* Hiding the reviews content via CSS because we can't modify the template, */
|
157 |
+
/* since it may be used in other places where those elements are needed */
|
158 |
+
.cms-index-index .products-grid .ratings,
|
159 |
+
.cms-index-index .products-grid .actions,
|
160 |
+
.cms-index-noroute .products-grid .ratings,
|
161 |
+
.cms-index-noroute .products-grid .actions {
|
162 |
+
display: none;
|
163 |
+
}
|
164 |
+
|
165 |
+
.cms-index-index h2.subtitle {
|
166 |
+
padding: 6px 0;
|
167 |
+
text-align: center;
|
168 |
+
color: #3399cc;
|
169 |
+
font-weight: 600;
|
170 |
+
border-bottom: 1px solid #cccccc;
|
171 |
+
border-top: 1px solid #cccccc;
|
172 |
+
}
|
173 |
+
|
174 |
+
.cms-index-noroute h2.subtitle {
|
175 |
+
display: none;
|
176 |
+
}
|
skin/frontend/rwd/default/css/madisonisland.css
ADDED
@@ -0,0 +1,350 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_default
|
22 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/* ============================================ *
|
26 |
+
* Homepage
|
27 |
+
* ============================================ */
|
28 |
+
/* -------------------------------------------- *
|
29 |
+
* Primary Banner
|
30 |
+
*/
|
31 |
+
body.cms-home .main-container {
|
32 |
+
padding-top: 20px;
|
33 |
+
}
|
34 |
+
body.cms-home .slideshow-container {
|
35 |
+
margin-top: 0;
|
36 |
+
}
|
37 |
+
|
38 |
+
.slideshow .banner-msg {
|
39 |
+
position: absolute;
|
40 |
+
text-align: center;
|
41 |
+
text-transform: uppercase;
|
42 |
+
width: 100%;
|
43 |
+
top: 30%;
|
44 |
+
-moz-user-select: none;
|
45 |
+
-ms-user-select: none;
|
46 |
+
-webkit-user-select: none;
|
47 |
+
-o-user-select: none;
|
48 |
+
user-select: none;
|
49 |
+
}
|
50 |
+
|
51 |
+
.slideshow .banner-msg h2 {
|
52 |
+
color: #FFFFFF;
|
53 |
+
font-size: 24px;
|
54 |
+
text-shadow: 1px 1px 3px #555555;
|
55 |
+
}
|
56 |
+
|
57 |
+
.slideshow .banner-msg h2 strong {
|
58 |
+
font-weight: bold;
|
59 |
+
display: block;
|
60 |
+
font-size: 36px;
|
61 |
+
}
|
62 |
+
|
63 |
+
@media only screen and (max-width: 770px) {
|
64 |
+
.slideshow .banner-msg h2 {
|
65 |
+
font-size: 20px;
|
66 |
+
}
|
67 |
+
|
68 |
+
.slideshow .banner-msg h2 strong {
|
69 |
+
font-size: 24px;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
@media only screen and (max-width: 479px) {
|
73 |
+
.slideshow .banner-msg {
|
74 |
+
top: 20%;
|
75 |
+
}
|
76 |
+
|
77 |
+
.slideshow .banner-msg h2 {
|
78 |
+
font-size: 14px;
|
79 |
+
}
|
80 |
+
|
81 |
+
.slideshow .banner-msg h2 strong {
|
82 |
+
font-size: 16px;
|
83 |
+
}
|
84 |
+
}
|
85 |
+
/* -------------------------------------------- *
|
86 |
+
* Promotion Banner Section
|
87 |
+
*/
|
88 |
+
.promos {
|
89 |
+
margin: 0 0 10px 0;
|
90 |
+
padding: 0;
|
91 |
+
width: 100%;
|
92 |
+
}
|
93 |
+
|
94 |
+
.promos:after {
|
95 |
+
content: '';
|
96 |
+
display: table;
|
97 |
+
clear: both;
|
98 |
+
}
|
99 |
+
|
100 |
+
/* Specifying the body only in order to override the .std ul li styling */
|
101 |
+
body .promos > li {
|
102 |
+
margin: 0 0 10px 0;
|
103 |
+
list-style: none;
|
104 |
+
text-align: center;
|
105 |
+
position: relative;
|
106 |
+
border: 1px solid #cccccc;
|
107 |
+
-moz-user-select: none;
|
108 |
+
-ms-user-select: none;
|
109 |
+
-webkit-user-select: none;
|
110 |
+
-o-user-select: none;
|
111 |
+
user-select: none;
|
112 |
+
}
|
113 |
+
|
114 |
+
.promos > li:last-child {
|
115 |
+
margin-bottom: 0;
|
116 |
+
}
|
117 |
+
|
118 |
+
.promos img {
|
119 |
+
max-width: 100%;
|
120 |
+
width: 100%;
|
121 |
+
}
|
122 |
+
|
123 |
+
.promos a:hover {
|
124 |
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
125 |
+
opacity: 0.8;
|
126 |
+
display: block;
|
127 |
+
}
|
128 |
+
|
129 |
+
.promos span {
|
130 |
+
color: #FFFFFF;
|
131 |
+
text-transform: uppercase;
|
132 |
+
position: absolute;
|
133 |
+
display: block;
|
134 |
+
width: 100%;
|
135 |
+
top: 10%;
|
136 |
+
font-weight: 500;
|
137 |
+
font-size: 20px;
|
138 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
139 |
+
text-shadow: 1px 1px 3px #555555;
|
140 |
+
}
|
141 |
+
|
142 |
+
.promos strong {
|
143 |
+
font-weight: 600;
|
144 |
+
font-size: 26px;
|
145 |
+
display: block;
|
146 |
+
}
|
147 |
+
|
148 |
+
@media only screen and (min-width: 771px) {
|
149 |
+
.promos span {
|
150 |
+
font-size: 16px;
|
151 |
+
}
|
152 |
+
|
153 |
+
.promos strong {
|
154 |
+
font-size: 17px;
|
155 |
+
}
|
156 |
+
|
157 |
+
/* Config: Three columns + flexible gutter */
|
158 |
+
body .promos > li {
|
159 |
+
float: left;
|
160 |
+
width: 31.74603%;
|
161 |
+
margin-right: 2.38095%;
|
162 |
+
}
|
163 |
+
|
164 |
+
.promos > li:nth-child(3n) {
|
165 |
+
margin-right: 0;
|
166 |
+
}
|
167 |
+
}
|
168 |
+
@media only screen and (min-width: 880px) {
|
169 |
+
.promos span {
|
170 |
+
font-size: 18px;
|
171 |
+
}
|
172 |
+
|
173 |
+
.promos strong {
|
174 |
+
font-size: 24px;
|
175 |
+
}
|
176 |
+
}
|
177 |
+
/* -------------------------------------------- *
|
178 |
+
* New Products Section
|
179 |
+
*/
|
180 |
+
/* Hiding the reviews content via CSS because we can't modify the template, */
|
181 |
+
/* since it may be used in other places where those elements are needed */
|
182 |
+
.cms-index-index .products-grid .ratings,
|
183 |
+
.cms-index-index .products-grid .actions,
|
184 |
+
.cms-index-noroute .products-grid .ratings,
|
185 |
+
.cms-index-noroute .products-grid .actions {
|
186 |
+
display: none;
|
187 |
+
}
|
188 |
+
|
189 |
+
.cms-index-index h2.subtitle {
|
190 |
+
padding: 6px 0;
|
191 |
+
text-align: center;
|
192 |
+
color: #3399cc;
|
193 |
+
font-weight: 600;
|
194 |
+
border-bottom: 1px solid #cccccc;
|
195 |
+
border-top: 1px solid #cccccc;
|
196 |
+
}
|
197 |
+
|
198 |
+
.cms-index-noroute h2.subtitle {
|
199 |
+
display: none;
|
200 |
+
}
|
201 |
+
|
202 |
+
/* ============================================ *
|
203 |
+
* Category Landing Pages
|
204 |
+
* ============================================ */
|
205 |
+
.category-image {
|
206 |
+
position: relative;
|
207 |
+
}
|
208 |
+
|
209 |
+
.categorylandingMainblock {
|
210 |
+
border: 1px solid #E2E2E2;
|
211 |
+
padding: 7px;
|
212 |
+
}
|
213 |
+
|
214 |
+
.catblocks {
|
215 |
+
float: left;
|
216 |
+
padding: 0 0 20px 0;
|
217 |
+
width: 100%;
|
218 |
+
}
|
219 |
+
|
220 |
+
.catblocks li {
|
221 |
+
position: relative;
|
222 |
+
float: left !important;
|
223 |
+
width: 23% !important;
|
224 |
+
margin-right: 2.66667% !important;
|
225 |
+
margin-bottom: 10px;
|
226 |
+
border: 1px solid #cccccc;
|
227 |
+
padding: 10px;
|
228 |
+
}
|
229 |
+
|
230 |
+
.catblocks li:hover {
|
231 |
+
border-color: #3399cc;
|
232 |
+
}
|
233 |
+
|
234 |
+
@media only screen and (max-width: 770px) {
|
235 |
+
.catblocks li {
|
236 |
+
width: 49% !important;
|
237 |
+
margin-right: 2% !important;
|
238 |
+
}
|
239 |
+
|
240 |
+
.catblocks li:nth-child(even) {
|
241 |
+
margin-right: 0 !important;
|
242 |
+
}
|
243 |
+
}
|
244 |
+
@media only screen and (max-width: 479px) {
|
245 |
+
.catblocks li {
|
246 |
+
width: 100% !important;
|
247 |
+
margin-right: 0 !important;
|
248 |
+
float: none;
|
249 |
+
}
|
250 |
+
}
|
251 |
+
.catblocks li:last-child {
|
252 |
+
margin-right: 0 !important;
|
253 |
+
}
|
254 |
+
|
255 |
+
.catblocks li img {
|
256 |
+
width: 100%;
|
257 |
+
max-width: 100%;
|
258 |
+
}
|
259 |
+
|
260 |
+
.catblocks li a span {
|
261 |
+
color: #FFFFFF;
|
262 |
+
position: absolute;
|
263 |
+
background-color: #7B7C7B;
|
264 |
+
font-family: raleway;
|
265 |
+
font-size: 17px;
|
266 |
+
font-weight: bold;
|
267 |
+
text-transform: uppercase;
|
268 |
+
text-align: center;
|
269 |
+
bottom: 0px;
|
270 |
+
left: 0px;
|
271 |
+
width: 100%;
|
272 |
+
padding: 5px 10px;
|
273 |
+
margin-right: 10px;
|
274 |
+
}
|
275 |
+
|
276 |
+
.catblocklinks a {
|
277 |
+
color: #FFFFFF;
|
278 |
+
text-decoration: none;
|
279 |
+
}
|
280 |
+
|
281 |
+
.catlandingbottomPromoblock {
|
282 |
+
float: left;
|
283 |
+
width: 100%;
|
284 |
+
border: 1px solid #E2E2E2;
|
285 |
+
margin-bottom: 100px;
|
286 |
+
}
|
287 |
+
|
288 |
+
.catalog-category-view div.categoryland-caption {
|
289 |
+
display: block;
|
290 |
+
margin: 0;
|
291 |
+
position: absolute;
|
292 |
+
color: #000000;
|
293 |
+
font-size: 30px;
|
294 |
+
font-weight: 500;
|
295 |
+
line-height: 36px;
|
296 |
+
text-align: center;
|
297 |
+
}
|
298 |
+
|
299 |
+
.catalog-category-view div.categoryland-caption span.blue-big-text {
|
300 |
+
color: #3399CC;
|
301 |
+
font-size: 50px;
|
302 |
+
font-weight: 800;
|
303 |
+
padding: 0 0 0 8px;
|
304 |
+
}
|
305 |
+
|
306 |
+
.catalog-category-view div.categoryland-caption span.blue-big-text {
|
307 |
+
padding: 0 !important;
|
308 |
+
}
|
309 |
+
|
310 |
+
.catalog-category-view div.categoryland-caption span.three-dots {
|
311 |
+
background: url(../images/bg_threeDots.png) no-repeat center center;
|
312 |
+
display: block;
|
313 |
+
height: 20px;
|
314 |
+
}
|
315 |
+
|
316 |
+
.catalog-category-view div.categoryland-caption p.desc {
|
317 |
+
font: italic 18px/28px Georgia, "Times New Roman", Times, serif;
|
318 |
+
color: #656565;
|
319 |
+
}
|
320 |
+
|
321 |
+
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption a.link:hover,
|
322 |
+
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.link:hover {
|
323 |
+
text-decoration: underline;
|
324 |
+
color: #1189C5;
|
325 |
+
}
|
326 |
+
|
327 |
+
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.blue-big-text,
|
328 |
+
.catalog-category-view div.categoryland-caption span.blue-big-text {
|
329 |
+
color: #3399CC;
|
330 |
+
font-size: 50px;
|
331 |
+
font-weight: 800;
|
332 |
+
padding: 0 0 0 8px;
|
333 |
+
}
|
334 |
+
|
335 |
+
.catalog-category-view div.categoryland-caption span.blue-big-text {
|
336 |
+
padding: 0 !important;
|
337 |
+
}
|
338 |
+
|
339 |
+
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.three-dots,
|
340 |
+
.catalog-category-view div.categoryland-caption span.three-dots {
|
341 |
+
background: url(../images/bg_threeDots.png) no-repeat center center;
|
342 |
+
display: block;
|
343 |
+
height: 20px;
|
344 |
+
}
|
345 |
+
|
346 |
+
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption p.desc,
|
347 |
+
.catalog-category-view div.categoryland-caption p.desc {
|
348 |
+
font: italic 18px/28px Georgia, "Times New Roman", Times, serif;
|
349 |
+
color: #656565;
|
350 |
+
}
|
skin/frontend/rwd/default/css/scaffold-forms.css
ADDED
@@ -0,0 +1,103 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_default
|
22 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/* ============================================ *
|
26 |
+
* SCAFFOLD FORM
|
27 |
+
* ============================================ */
|
28 |
+
/* Scaffolding can not be applied globally to all forms, since some forms are best displayed in a stacked layout */
|
29 |
+
.scaffold-form .form-list > li {
|
30 |
+
display: block;
|
31 |
+
}
|
32 |
+
.scaffold-form .form-list > li:after {
|
33 |
+
content: '';
|
34 |
+
display: table;
|
35 |
+
clear: both;
|
36 |
+
}
|
37 |
+
.scaffold-form .fields {
|
38 |
+
margin: 0;
|
39 |
+
padding: 0;
|
40 |
+
}
|
41 |
+
.scaffold-form .fields:after {
|
42 |
+
content: '';
|
43 |
+
display: table;
|
44 |
+
clear: both;
|
45 |
+
}
|
46 |
+
.scaffold-form .fields > .fields,
|
47 |
+
.scaffold-form .field,
|
48 |
+
.scaffold-form .wide,
|
49 |
+
.scaffold-form .control {
|
50 |
+
margin-bottom: 7px;
|
51 |
+
}
|
52 |
+
.scaffold-form .fields > .fields:after,
|
53 |
+
.scaffold-form .field:after,
|
54 |
+
.scaffold-form .wide:after,
|
55 |
+
.scaffold-form .control:after {
|
56 |
+
content: '';
|
57 |
+
display: table;
|
58 |
+
clear: both;
|
59 |
+
}
|
60 |
+
.scaffold-form label:first-child {
|
61 |
+
float: left;
|
62 |
+
width: 135px;
|
63 |
+
padding: 7px 8px 0 0;
|
64 |
+
}
|
65 |
+
.scaffold-form select,
|
66 |
+
.scaffold-form textarea,
|
67 |
+
.scaffold-form input[type=email],
|
68 |
+
.scaffold-form input[type=search],
|
69 |
+
.scaffold-form input[type=number],
|
70 |
+
.scaffold-form input[type=password],
|
71 |
+
.scaffold-form input[type=tel],
|
72 |
+
.scaffold-form input[type=text] {
|
73 |
+
width: 330px;
|
74 |
+
max-width: 100%;
|
75 |
+
}
|
76 |
+
.scaffold-form .input-box {
|
77 |
+
float: left;
|
78 |
+
max-width: 350px;
|
79 |
+
}
|
80 |
+
.scaffold-form .buttons-set {
|
81 |
+
padding-top: 5px;
|
82 |
+
}
|
83 |
+
|
84 |
+
@media only screen and (max-width: 599px) {
|
85 |
+
.scaffold-form label:first-child {
|
86 |
+
float: none;
|
87 |
+
width: auto;
|
88 |
+
padding: 0;
|
89 |
+
}
|
90 |
+
.scaffold-form .input-box {
|
91 |
+
float: none;
|
92 |
+
max-width: 100%;
|
93 |
+
}
|
94 |
+
.scaffold-form .control .input-box {
|
95 |
+
clear: none;
|
96 |
+
float: left;
|
97 |
+
display: inline;
|
98 |
+
width: auto;
|
99 |
+
}
|
100 |
+
.scaffold-form .control label:first-child {
|
101 |
+
float: left;
|
102 |
+
}
|
103 |
+
}
|
skin/frontend/rwd/default/css/styles-ie8.css
ADDED
@@ -0,0 +1,7761 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_default
|
22 |
+
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
26 |
+
/* ==========================================================================
|
27 |
+
HTML5 display definitions
|
28 |
+
========================================================================== */
|
29 |
+
/*
|
30 |
+
* Corrects `block` display not defined in IE 8/9.
|
31 |
+
*/
|
32 |
+
article,
|
33 |
+
aside,
|
34 |
+
details,
|
35 |
+
figcaption,
|
36 |
+
figure,
|
37 |
+
footer,
|
38 |
+
header,
|
39 |
+
hgroup,
|
40 |
+
nav,
|
41 |
+
section,
|
42 |
+
summary {
|
43 |
+
display: block;
|
44 |
+
}
|
45 |
+
|
46 |
+
/*
|
47 |
+
* Corrects `inline-block` display not defined in IE 8/9.
|
48 |
+
*/
|
49 |
+
audio,
|
50 |
+
canvas,
|
51 |
+
video {
|
52 |
+
display: inline-block;
|
53 |
+
}
|
54 |
+
|
55 |
+
/*
|
56 |
+
* Prevents modern browsers from displaying `audio` without controls.
|
57 |
+
* Remove excess height in iOS 5 devices.
|
58 |
+
*/
|
59 |
+
audio:not([controls]) {
|
60 |
+
display: none;
|
61 |
+
height: 0;
|
62 |
+
}
|
63 |
+
|
64 |
+
/*
|
65 |
+
* Addresses styling for `hidden` attribute not present in IE 8/9.
|
66 |
+
*/
|
67 |
+
[hidden] {
|
68 |
+
display: none;
|
69 |
+
}
|
70 |
+
|
71 |
+
/* ==========================================================================
|
72 |
+
Base
|
73 |
+
========================================================================== */
|
74 |
+
/*
|
75 |
+
* 1. Sets default font family to sans-serif.
|
76 |
+
* 2. Prevents iOS text size adjust after orientation change, without disabling
|
77 |
+
* user zoom.
|
78 |
+
*/
|
79 |
+
html {
|
80 |
+
font-family: sans-serif;
|
81 |
+
/* 1 */
|
82 |
+
-webkit-text-size-adjust: 100%;
|
83 |
+
/* 2 */
|
84 |
+
-ms-text-size-adjust: 100%;
|
85 |
+
/* 2 */
|
86 |
+
}
|
87 |
+
|
88 |
+
/*
|
89 |
+
* Removes default margin.
|
90 |
+
*/
|
91 |
+
body {
|
92 |
+
margin: 0;
|
93 |
+
}
|
94 |
+
|
95 |
+
/* ==========================================================================
|
96 |
+
Links
|
97 |
+
========================================================================== */
|
98 |
+
/*
|
99 |
+
* Addresses `outline` inconsistency between Chrome and other browsers.
|
100 |
+
*/
|
101 |
+
a:focus {
|
102 |
+
outline: thin dotted;
|
103 |
+
}
|
104 |
+
|
105 |
+
/*
|
106 |
+
* Improves readability when focused and also mouse hovered in all browsers.
|
107 |
+
*/
|
108 |
+
a:active,
|
109 |
+
a:hover {
|
110 |
+
outline: 0;
|
111 |
+
}
|
112 |
+
|
113 |
+
/* ==========================================================================
|
114 |
+
Typography
|
115 |
+
========================================================================== */
|
116 |
+
/*
|
117 |
+
* Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
|
118 |
+
* Safari 5, and Chrome.
|
119 |
+
*/
|
120 |
+
h1 {
|
121 |
+
font-size: 2em;
|
122 |
+
}
|
123 |
+
|
124 |
+
/*
|
125 |
+
* Addresses styling not present in IE 8/9, Safari 5, and Chrome.
|
126 |
+
*/
|
127 |
+
abbr[title] {
|
128 |
+
border-bottom: 1px dotted;
|
129 |
+
}
|
130 |
+
|
131 |
+
/*
|
132 |
+
* Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
133 |
+
*/
|
134 |
+
b,
|
135 |
+
strong {
|
136 |
+
font-weight: bold;
|
137 |
+
}
|
138 |
+
|
139 |
+
/*
|
140 |
+
* Addresses styling not present in Safari 5 and Chrome.
|
141 |
+
*/
|
142 |
+
dfn {
|
143 |
+
font-style: italic;
|
144 |
+
}
|
145 |
+
|
146 |
+
/*
|
147 |
+
* Addresses styling not present in IE 8/9.
|
148 |
+
*/
|
149 |
+
mark {
|
150 |
+
background: #ff0;
|
151 |
+
color: #000;
|
152 |
+
}
|
153 |
+
|
154 |
+
/*
|
155 |
+
* Corrects font family set oddly in Safari 5 and Chrome.
|
156 |
+
*/
|
157 |
+
code,
|
158 |
+
kbd,
|
159 |
+
pre,
|
160 |
+
samp {
|
161 |
+
font-family: monospace, serif;
|
162 |
+
font-size: 1em;
|
163 |
+
}
|
164 |
+
|
165 |
+
/*
|
166 |
+
* Improves readability of pre-formatted text in all browsers.
|
167 |
+
*/
|
168 |
+
pre {
|
169 |
+
white-space: pre;
|
170 |
+
white-space: pre-wrap;
|
171 |
+
word-wrap: break-word;
|
172 |
+
}
|
173 |
+
|
174 |
+
/*
|
175 |
+
* Sets consistent quote types.
|
176 |
+
*/
|
177 |
+
q {
|
178 |
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
179 |
+
}
|
180 |
+
|
181 |
+
/*
|
182 |
+
* Addresses inconsistent and variable font size in all browsers.
|
183 |
+
*/
|
184 |
+
small {
|
185 |
+
font-size: 80%;
|
186 |
+
}
|
187 |
+
|
188 |
+
/*
|
189 |
+
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
190 |
+
*/
|
191 |
+
sub,
|
192 |
+
sup {
|
193 |
+
font-size: 75%;
|
194 |
+
line-height: 0;
|
195 |
+
position: relative;
|
196 |
+
vertical-align: baseline;
|
197 |
+
}
|
198 |
+
|
199 |
+
sup {
|
200 |
+
top: -0.5em;
|
201 |
+
}
|
202 |
+
|
203 |
+
sub {
|
204 |
+
bottom: -0.25em;
|
205 |
+
}
|
206 |
+
|
207 |
+
/* ==========================================================================
|
208 |
+
Embedded content
|
209 |
+
========================================================================== */
|
210 |
+
/*
|
211 |
+
* Removes border when inside `a` element in IE 8/9.
|
212 |
+
*/
|
213 |
+
img {
|
214 |
+
border: 0;
|
215 |
+
}
|
216 |
+
|
217 |
+
/*
|
218 |
+
* Corrects overflow displayed oddly in IE 9.
|
219 |
+
*/
|
220 |
+
svg:not(:root) {
|
221 |
+
overflow: hidden;
|
222 |
+
}
|
223 |
+
|
224 |
+
/* ==========================================================================
|
225 |
+
Figures
|
226 |
+
========================================================================== */
|
227 |
+
/*
|
228 |
+
* Addresses margin not present in IE 8/9 and Safari 5.
|
229 |
+
*/
|
230 |
+
figure {
|
231 |
+
margin: 0;
|
232 |
+
}
|
233 |
+
|
234 |
+
/* ==========================================================================
|
235 |
+
Forms
|
236 |
+
========================================================================== */
|
237 |
+
/*
|
238 |
+
* Define consistent border, margin, and padding.
|
239 |
+
*/
|
240 |
+
fieldset {
|
241 |
+
border: 1px solid #c0c0c0;
|
242 |
+
margin: 0 2px;
|
243 |
+
padding: 0.35em 0.625em 0.75em;
|
244 |
+
}
|
245 |
+
|
246 |
+
/*
|
247 |
+
* 1. Corrects color not being inherited in IE 8/9.
|
248 |
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
249 |
+
*/
|
250 |
+
legend {
|
251 |
+
border: 0;
|
252 |
+
/* 1 */
|
253 |
+
padding: 0;
|
254 |
+
/* 2 */
|
255 |
+
}
|
256 |
+
|
257 |
+
/*
|
258 |
+
* 1. Corrects font family not being inherited in all browsers.
|
259 |
+
* 2. Corrects font size not being inherited in all browsers.
|
260 |
+
* 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
|
261 |
+
*/
|
262 |
+
button,
|
263 |
+
input,
|
264 |
+
select,
|
265 |
+
textarea {
|
266 |
+
font-family: inherit;
|
267 |
+
/* 1 */
|
268 |
+
font-size: 100%;
|
269 |
+
/* 2 */
|
270 |
+
margin: 0;
|
271 |
+
/* 3 */
|
272 |
+
}
|
273 |
+
|
274 |
+
/*
|
275 |
+
* Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
|
276 |
+
* the UA stylesheet.
|
277 |
+
*/
|
278 |
+
button,
|
279 |
+
input {
|
280 |
+
line-height: normal;
|
281 |
+
}
|
282 |
+
|
283 |
+
/*
|
284 |
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
285 |
+
* and `video` controls.
|
286 |
+
* 2. Corrects inability to style clickable `input` types in iOS.
|
287 |
+
* 3. Improves usability and consistency of cursor style between image-type
|
288 |
+
* `input` and others.
|
289 |
+
*/
|
290 |
+
button,
|
291 |
+
html input[type="button"],
|
292 |
+
input[type="reset"],
|
293 |
+
input[type="submit"] {
|
294 |
+
-webkit-appearance: button;
|
295 |
+
/* 2 */
|
296 |
+
cursor: pointer;
|
297 |
+
/* 3 */
|
298 |
+
}
|
299 |
+
|
300 |
+
/*
|
301 |
+
* Re-set default cursor for disabled elements.
|
302 |
+
*/
|
303 |
+
button[disabled],
|
304 |
+
input[disabled] {
|
305 |
+
cursor: default;
|
306 |
+
}
|
307 |
+
|
308 |
+
/*
|
309 |
+
* 1. Addresses box sizing set to `content-box` in IE 8/9.
|
310 |
+
* 2. Removes excess padding in IE 8/9.
|
311 |
+
*/
|
312 |
+
input[type="checkbox"],
|
313 |
+
input[type="radio"] {
|
314 |
+
box-sizing: border-box;
|
315 |
+
/* 1 */
|
316 |
+
padding: 0;
|
317 |
+
/* 2 */
|
318 |
+
}
|
319 |
+
|
320 |
+
/*
|
321 |
+
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
322 |
+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
323 |
+
* (include `-moz` to future-proof).
|
324 |
+
*/
|
325 |
+
input[type="search"] {
|
326 |
+
-webkit-appearance: textfield;
|
327 |
+
/* 1 */
|
328 |
+
-moz-box-sizing: content-box;
|
329 |
+
-webkit-box-sizing: content-box;
|
330 |
+
/* 2 */
|
331 |
+
box-sizing: content-box;
|
332 |
+
}
|
333 |
+
|
334 |
+
/*
|
335 |
+
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
336 |
+
* on OS X.
|
337 |
+
*/
|
338 |
+
input[type="search"]::-webkit-search-cancel-button,
|
339 |
+
input[type="search"]::-webkit-search-decoration {
|
340 |
+
-webkit-appearance: none;
|
341 |
+
}
|
342 |
+
|
343 |
+
/*
|
344 |
+
* Removes inner padding and border in Firefox 4+.
|
345 |
+
*/
|
346 |
+
button::-moz-focus-inner,
|
347 |
+
input::-moz-focus-inner {
|
348 |
+
border: 0;
|
349 |
+
padding: 0;
|
350 |
+
}
|
351 |
+
|
352 |
+
/*
|
353 |
+
* 1. Removes default vertical scrollbar in IE 8/9.
|
354 |
+
* 2. Improves readability and alignment in all browsers.
|
355 |
+
*/
|
356 |
+
textarea {
|
357 |
+
overflow: auto;
|
358 |
+
/* 1 */
|
359 |
+
vertical-align: top;
|
360 |
+
/* 2 */
|
361 |
+
}
|
362 |
+
|
363 |
+
/* ==========================================================================
|
364 |
+
Tables
|
365 |
+
========================================================================== */
|
366 |
+
/*
|
367 |
+
* Remove most spacing between table cells.
|
368 |
+
*/
|
369 |
+
table {
|
370 |
+
border-collapse: collapse;
|
371 |
+
border-spacing: 0;
|
372 |
+
}
|
373 |
+
|
374 |
+
/* ============================================ *
|
375 |
+
* Reset
|
376 |
+
* ============================================ */
|
377 |
+
*,
|
378 |
+
*:before,
|
379 |
+
*:after {
|
380 |
+
-webkit-box-sizing: border-box;
|
381 |
+
-moz-box-sizing: border-box;
|
382 |
+
box-sizing: border-box;
|
383 |
+
margin: 0;
|
384 |
+
padding: 0;
|
385 |
+
}
|
386 |
+
|
387 |
+
html {
|
388 |
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
389 |
+
/* Prevent tap highlight on iOS/Android */
|
390 |
+
-webkit-text-size-adjust: 100%;
|
391 |
+
/* Prevent automatic scaling on iOS */
|
392 |
+
}
|
393 |
+
|
394 |
+
body {
|
395 |
+
background: #FFFFFF;
|
396 |
+
color: #000000;
|
397 |
+
line-height: 1;
|
398 |
+
}
|
399 |
+
|
400 |
+
html,
|
401 |
+
body,
|
402 |
+
img,
|
403 |
+
fieldset,
|
404 |
+
abbr,
|
405 |
+
acronym {
|
406 |
+
border: 0;
|
407 |
+
}
|
408 |
+
|
409 |
+
h1,
|
410 |
+
h2,
|
411 |
+
h3,
|
412 |
+
h4,
|
413 |
+
h5,
|
414 |
+
h6 {
|
415 |
+
font-size: 100%;
|
416 |
+
font-weight: normal;
|
417 |
+
}
|
418 |
+
|
419 |
+
th,
|
420 |
+
code,
|
421 |
+
cite,
|
422 |
+
caption {
|
423 |
+
font-weight: normal;
|
424 |
+
font-style: normal;
|
425 |
+
text-align: left;
|
426 |
+
}
|
427 |
+
|
428 |
+
address {
|
429 |
+
font-style: normal;
|
430 |
+
}
|
431 |
+
|
432 |
+
fieldset {
|
433 |
+
margin: 0;
|
434 |
+
padding: 0;
|
435 |
+
border: 0;
|
436 |
+
}
|
437 |
+
|
438 |
+
img {
|
439 |
+
display: block;
|
440 |
+
}
|
441 |
+
|
442 |
+
ol,
|
443 |
+
ul {
|
444 |
+
list-style: none;
|
445 |
+
}
|
446 |
+
|
447 |
+
q:before,
|
448 |
+
q:after {
|
449 |
+
content: '';
|
450 |
+
}
|
451 |
+
|
452 |
+
input:focus,
|
453 |
+
input[type="search"]:focus {
|
454 |
+
outline-offset: -2px;
|
455 |
+
}
|
456 |
+
|
457 |
+
input[type="search"] {
|
458 |
+
-webkit-appearance: none;
|
459 |
+
/* 1 */
|
460 |
+
-moz-box-sizing: border-box;
|
461 |
+
-webkit-box-sizing: border-box;
|
462 |
+
/* 2 */
|
463 |
+
box-sizing: border-box;
|
464 |
+
}
|
465 |
+
|
466 |
+
/* ============================================ *
|
467 |
+
* Base Styles
|
468 |
+
* ============================================ */
|
469 |
+
@-ms-viewport {
|
470 |
+
width: device-width;
|
471 |
+
}
|
472 |
+
|
473 |
+
@-o-viewport {
|
474 |
+
width: device-width;
|
475 |
+
}
|
476 |
+
|
477 |
+
@viewport {
|
478 |
+
width: device-width;
|
479 |
+
}
|
480 |
+
|
481 |
+
a, button {
|
482 |
+
-ms-touch-action: manipulation;
|
483 |
+
touch-action: manipulation;
|
484 |
+
}
|
485 |
+
|
486 |
+
body,
|
487 |
+
button,
|
488 |
+
input,
|
489 |
+
select,
|
490 |
+
table,
|
491 |
+
textarea {
|
492 |
+
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
493 |
+
color: #636363;
|
494 |
+
font-size: 14px;
|
495 |
+
line-height: 1.5;
|
496 |
+
}
|
497 |
+
|
498 |
+
a {
|
499 |
+
color: #3399cc;
|
500 |
+
text-decoration: none;
|
501 |
+
}
|
502 |
+
|
503 |
+
a:hover {
|
504 |
+
color: #2e8ab8;
|
505 |
+
text-decoration: underline;
|
506 |
+
}
|
507 |
+
|
508 |
+
a:focus {
|
509 |
+
outline-color: #3091c2;
|
510 |
+
color: #143d52;
|
511 |
+
}
|
512 |
+
|
513 |
+
ol,
|
514 |
+
ul {
|
515 |
+
list-style: none;
|
516 |
+
margin: 0;
|
517 |
+
padding: 0;
|
518 |
+
}
|
519 |
+
|
520 |
+
/* ============================================ *
|
521 |
+
* Typography
|
522 |
+
* ============================================ */
|
523 |
+
h1, .h1 {
|
524 |
+
margin: 0;
|
525 |
+
margin-bottom: 0.7em;
|
526 |
+
color: #3399cc;
|
527 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
528 |
+
font-size: 28px;
|
529 |
+
font-weight: 400;
|
530 |
+
font-style: normal;
|
531 |
+
line-height: 1.2;
|
532 |
+
text-rendering: optimizeLegibility;
|
533 |
+
text-transform: uppercase;
|
534 |
+
}
|
535 |
+
|
536 |
+
h2, .h2 {
|
537 |
+
margin: 0;
|
538 |
+
margin-bottom: 0.5em;
|
539 |
+
color: #636363;
|
540 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
541 |
+
font-size: 24px;
|
542 |
+
font-weight: 400;
|
543 |
+
font-style: normal;
|
544 |
+
line-height: 1.2;
|
545 |
+
text-rendering: optimizeLegibility;
|
546 |
+
text-transform: uppercase;
|
547 |
+
}
|
548 |
+
|
549 |
+
h3, .h3 {
|
550 |
+
margin: 0;
|
551 |
+
margin-bottom: 10px;
|
552 |
+
color: #636363;
|
553 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
554 |
+
font-size: 18px;
|
555 |
+
font-weight: 400;
|
556 |
+
font-style: normal;
|
557 |
+
line-height: 1.4;
|
558 |
+
text-rendering: optimizeSpeed;
|
559 |
+
text-transform: uppercase;
|
560 |
+
}
|
561 |
+
|
562 |
+
h4, .h4 {
|
563 |
+
margin: 0;
|
564 |
+
margin-bottom: 10px;
|
565 |
+
color: #636363;
|
566 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
567 |
+
font-size: 14px;
|
568 |
+
font-weight: bold;
|
569 |
+
font-style: normal;
|
570 |
+
line-height: 1.4;
|
571 |
+
text-rendering: optimizeSpeed;
|
572 |
+
text-transform: uppercase;
|
573 |
+
}
|
574 |
+
|
575 |
+
h5, .h5 {
|
576 |
+
margin: 0;
|
577 |
+
margin-bottom: 10px;
|
578 |
+
color: #636363;
|
579 |
+
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
580 |
+
font-size: 13px;
|
581 |
+
font-weight: bold;
|
582 |
+
font-style: normal;
|
583 |
+
line-height: 1.4;
|
584 |
+
text-rendering: optimizeSpeed;
|
585 |
+
text-transform: uppercase;
|
586 |
+
}
|
587 |
+
|
588 |
+
h6, .h6 {
|
589 |
+
margin: 0;
|
590 |
+
margin-bottom: 5px;
|
591 |
+
color: #636363;
|
592 |
+
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
593 |
+
font-size: 12px;
|
594 |
+
font-weight: bold;
|
595 |
+
font-style: normal;
|
596 |
+
line-height: 1.4;
|
597 |
+
text-rendering: optimizeSpeed;
|
598 |
+
text-transform: uppercase;
|
599 |
+
}
|
600 |
+
|
601 |
+
/* ============================================ *
|
602 |
+
* Shared Classes
|
603 |
+
* ============================================ */
|
604 |
+
.address-list address {
|
605 |
+
margin-bottom: 1em;
|
606 |
+
}
|
607 |
+
|
608 |
+
.availability {
|
609 |
+
margin-bottom: 0;
|
610 |
+
font-size: 13px;
|
611 |
+
text-transform: uppercase;
|
612 |
+
}
|
613 |
+
|
614 |
+
.availability .label {
|
615 |
+
display: none;
|
616 |
+
}
|
617 |
+
|
618 |
+
.availability.in-stock {
|
619 |
+
color: #11b400;
|
620 |
+
}
|
621 |
+
|
622 |
+
.availability.available-soon,
|
623 |
+
.availability.out-of-stock {
|
624 |
+
color: red;
|
625 |
+
}
|
626 |
+
|
627 |
+
.availability-only {
|
628 |
+
color: red;
|
629 |
+
margin-bottom: 10px;
|
630 |
+
}
|
631 |
+
|
632 |
+
/* -------------------------------------------- *
|
633 |
+
* Page Titles
|
634 |
+
*/
|
635 |
+
.page-title h1,
|
636 |
+
.page-title h2,
|
637 |
+
.product-name h1,
|
638 |
+
.product-name .h1 {
|
639 |
+
text-transform: uppercase;
|
640 |
+
font-size: 24px;
|
641 |
+
font-weight: 600;
|
642 |
+
color: #636363;
|
643 |
+
border-bottom: 1px solid #ededed;
|
644 |
+
padding-bottom: 3px;
|
645 |
+
margin-bottom: 15px;
|
646 |
+
text-transform: uppercase;
|
647 |
+
}
|
648 |
+
|
649 |
+
/* -------------------------------------------- *
|
650 |
+
* Block Module
|
651 |
+
*/
|
652 |
+
.block,
|
653 |
+
.col-left-first {
|
654 |
+
margin-bottom: 20px;
|
655 |
+
}
|
656 |
+
|
657 |
+
.col-left-first .block:last-of-type {
|
658 |
+
margin-bottom: 0;
|
659 |
+
}
|
660 |
+
|
661 |
+
.block-title {
|
662 |
+
position: relative;
|
663 |
+
padding: 10px 0 0;
|
664 |
+
margin-bottom: 5px;
|
665 |
+
border-top: 1px solid #cccccc;
|
666 |
+
}
|
667 |
+
.block-title h2,
|
668 |
+
.block-title h3,
|
669 |
+
.block-title strong {
|
670 |
+
margin: 0;
|
671 |
+
margin-bottom: 10px;
|
672 |
+
color: #636363;
|
673 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
674 |
+
font-size: 14px;
|
675 |
+
font-weight: bold;
|
676 |
+
font-style: normal;
|
677 |
+
line-height: 1.4;
|
678 |
+
text-rendering: optimizeSpeed;
|
679 |
+
text-transform: uppercase;
|
680 |
+
color: #3399cc;
|
681 |
+
margin-bottom: 0;
|
682 |
+
text-transform: uppercase;
|
683 |
+
font-weight: 600;
|
684 |
+
}
|
685 |
+
.block-title small {
|
686 |
+
font-size: 100%;
|
687 |
+
font-weight: normal;
|
688 |
+
color: #a0a0a0;
|
689 |
+
}
|
690 |
+
|
691 |
+
body:not(.customer-account) .block:first-child .block-title {
|
692 |
+
border-top: none;
|
693 |
+
padding-top: 0;
|
694 |
+
}
|
695 |
+
|
696 |
+
.block-subtitle {
|
697 |
+
font-weight: bold;
|
698 |
+
margin-bottom: 7px;
|
699 |
+
}
|
700 |
+
|
701 |
+
.block-content {
|
702 |
+
margin-top: 5px;
|
703 |
+
}
|
704 |
+
|
705 |
+
.block-content.unpad {
|
706 |
+
padding: 0;
|
707 |
+
}
|
708 |
+
|
709 |
+
.block-content li.item {
|
710 |
+
margin: 0 0 10px 9px;
|
711 |
+
}
|
712 |
+
|
713 |
+
.block-content li.item:last-child {
|
714 |
+
margin-bottom: 0;
|
715 |
+
}
|
716 |
+
|
717 |
+
.block .actions {
|
718 |
+
margin: 10px 0 0;
|
719 |
+
}
|
720 |
+
.block .actions:after {
|
721 |
+
content: '';
|
722 |
+
display: table;
|
723 |
+
clear: both;
|
724 |
+
}
|
725 |
+
.block .actions a {
|
726 |
+
float: left;
|
727 |
+
}
|
728 |
+
.block .actions .button {
|
729 |
+
float: right;
|
730 |
+
}
|
731 |
+
|
732 |
+
.col-left .block .actions .button ~ a,
|
733 |
+
.col-right .block .actions .button ~ a {
|
734 |
+
line-height: 33px;
|
735 |
+
margin-right: 5px;
|
736 |
+
}
|
737 |
+
|
738 |
+
/* -------------------------------------------- *
|
739 |
+
* Secondary Navigation
|
740 |
+
*/
|
741 |
+
.block-account .block-title,
|
742 |
+
.block-cms-menu .block-title {
|
743 |
+
padding-top: 0;
|
744 |
+
border-top: none;
|
745 |
+
}
|
746 |
+
.block-account li,
|
747 |
+
.block-cms-menu li {
|
748 |
+
text-transform: uppercase;
|
749 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
750 |
+
margin: 7px 0;
|
751 |
+
}
|
752 |
+
.block-account li strong,
|
753 |
+
.block-cms-menu li strong {
|
754 |
+
font-weight: 400;
|
755 |
+
color: #3399cc;
|
756 |
+
}
|
757 |
+
.block-account li a,
|
758 |
+
.block-cms-menu li a {
|
759 |
+
color: #636363;
|
760 |
+
}
|
761 |
+
.block-account li a:hover,
|
762 |
+
.block-cms-menu li a:hover {
|
763 |
+
color: #3399cc;
|
764 |
+
}
|
765 |
+
|
766 |
+
/* ============================================ *
|
767 |
+
* Buttons
|
768 |
+
* ============================================ */
|
769 |
+
/* Secondary Buttons */
|
770 |
+
.cart .buttons-set .button,
|
771 |
+
.cart-table .button,
|
772 |
+
.sidebar .actions .button,
|
773 |
+
.button.button-secondary {
|
774 |
+
background: #dddddd;
|
775 |
+
color: #636363;
|
776 |
+
padding: 7px 15px;
|
777 |
+
}
|
778 |
+
.cart .buttons-set .button:hover,
|
779 |
+
.cart-table .button:hover,
|
780 |
+
.sidebar .actions .button:hover,
|
781 |
+
.button.button-secondary:hover {
|
782 |
+
background: #d0d0d0;
|
783 |
+
cursor: pointer;
|
784 |
+
}
|
785 |
+
.cart .buttons-set .button:active,
|
786 |
+
.cart-table .button:active,
|
787 |
+
.sidebar .actions .button:active,
|
788 |
+
.button.button-secondary:active {
|
789 |
+
background: #c4c4c4;
|
790 |
+
color: #636363;
|
791 |
+
}
|
792 |
+
.cart .buttons-set .button:focus,
|
793 |
+
.cart-table .button:focus,
|
794 |
+
.sidebar .actions .button:focus,
|
795 |
+
.button.button-secondary:focus {
|
796 |
+
color: #636363;
|
797 |
+
background: #c4c4c4;
|
798 |
+
outline: none;
|
799 |
+
}
|
800 |
+
|
801 |
+
/* Primary Buttons */
|
802 |
+
.button,
|
803 |
+
.cart-table .product-cart-actions .button,
|
804 |
+
#co-shipping-method-form .buttons-set .button,
|
805 |
+
.footer .button {
|
806 |
+
background: #3399cc;
|
807 |
+
display: inline-block;
|
808 |
+
padding: 7px 15px;
|
809 |
+
border: 0;
|
810 |
+
color: #FFFFFF;
|
811 |
+
font-size: 13px;
|
812 |
+
font-weight: normal;
|
813 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
814 |
+
line-height: 19px;
|
815 |
+
text-align: center;
|
816 |
+
text-transform: uppercase;
|
817 |
+
vertical-align: middle;
|
818 |
+
white-space: nowrap;
|
819 |
+
}
|
820 |
+
.button:hover,
|
821 |
+
.cart-table .product-cart-actions .button:hover,
|
822 |
+
#co-shipping-method-form .buttons-set .button:hover,
|
823 |
+
.footer .button:hover {
|
824 |
+
background: #2e8ab8;
|
825 |
+
cursor: pointer;
|
826 |
+
}
|
827 |
+
.button:active,
|
828 |
+
.cart-table .product-cart-actions .button:active,
|
829 |
+
#co-shipping-method-form .buttons-set .button:active,
|
830 |
+
.footer .button:active {
|
831 |
+
background: #297aa3;
|
832 |
+
color: #FFFFFF;
|
833 |
+
}
|
834 |
+
.button:focus,
|
835 |
+
.cart-table .product-cart-actions .button:focus,
|
836 |
+
#co-shipping-method-form .buttons-set .button:focus,
|
837 |
+
.footer .button:focus {
|
838 |
+
background-color: #297aa3;
|
839 |
+
outline: none;
|
840 |
+
color: #FFFFFF;
|
841 |
+
}
|
842 |
+
|
843 |
+
a.button {
|
844 |
+
text-decoration: none;
|
845 |
+
}
|
846 |
+
|
847 |
+
a.button:hover {
|
848 |
+
color: #FFFFFF;
|
849 |
+
}
|
850 |
+
|
851 |
+
/* Disabled - class for anchor, state for form elements */
|
852 |
+
.button.disabled,
|
853 |
+
.button:disabled {
|
854 |
+
background: #C8C8C8;
|
855 |
+
opacity: 0.6;
|
856 |
+
cursor: not-allowed;
|
857 |
+
}
|
858 |
+
|
859 |
+
/* Adjacent buttons */
|
860 |
+
.button + .button {
|
861 |
+
margin-left: 5px;
|
862 |
+
}
|
863 |
+
|
864 |
+
.button2 {
|
865 |
+
border: 0;
|
866 |
+
padding: 0 5px;
|
867 |
+
margin: 0;
|
868 |
+
background: transparent;
|
869 |
+
cursor: pointer;
|
870 |
+
vertical-align: middle;
|
871 |
+
}
|
872 |
+
|
873 |
+
.button2:focus {
|
874 |
+
outline: none;
|
875 |
+
}
|
876 |
+
|
877 |
+
.button2 span,
|
878 |
+
.button2 span span {
|
879 |
+
line-height: 30px;
|
880 |
+
height: 30px;
|
881 |
+
text-decoration: underline;
|
882 |
+
text-transform: uppercase;
|
883 |
+
display: inline-block;
|
884 |
+
color: #3399cc;
|
885 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
886 |
+
}
|
887 |
+
.button2 span:hover,
|
888 |
+
.button2 span span:hover {
|
889 |
+
text-decoration: none;
|
890 |
+
color: #246b8f;
|
891 |
+
}
|
892 |
+
|
893 |
+
/* -------------------------------------------- *
|
894 |
+
* Paypal Button
|
895 |
+
*/
|
896 |
+
.paypal-logo.paypal-after {
|
897 |
+
float: left;
|
898 |
+
}
|
899 |
+
|
900 |
+
.paypal-after .paypal-or {
|
901 |
+
float: left;
|
902 |
+
}
|
903 |
+
|
904 |
+
.paypal-or {
|
905 |
+
line-height: 40px;
|
906 |
+
margin: 0px 10px 5px;
|
907 |
+
}
|
908 |
+
|
909 |
+
.paypal-after .paypal-button {
|
910 |
+
float: left;
|
911 |
+
}
|
912 |
+
|
913 |
+
.paypal-button {
|
914 |
+
line-height: 0px;
|
915 |
+
}
|
916 |
+
|
917 |
+
.paypal-button img {
|
918 |
+
display: inline;
|
919 |
+
}
|
920 |
+
|
921 |
+
/* -------------------------------------------- *
|
922 |
+
* Button Sets
|
923 |
+
*/
|
924 |
+
.buttons-set {
|
925 |
+
clear: both;
|
926 |
+
margin: 10px 0 0;
|
927 |
+
padding-top: 10px;
|
928 |
+
border-top: 1px solid #ededed;
|
929 |
+
text-align: right;
|
930 |
+
}
|
931 |
+
.buttons-set p.required {
|
932 |
+
margin: 0;
|
933 |
+
margin-left: 10px;
|
934 |
+
line-height: 33px;
|
935 |
+
float: right;
|
936 |
+
}
|
937 |
+
.buttons-set .back-link {
|
938 |
+
float: left;
|
939 |
+
margin: 0;
|
940 |
+
line-height: 33px;
|
941 |
+
}
|
942 |
+
.buttons-set a:not(".button") {
|
943 |
+
line-height: 20px;
|
944 |
+
display: inline-block;
|
945 |
+
padding: 5px;
|
946 |
+
}
|
947 |
+
.buttons-set button.button {
|
948 |
+
float: right;
|
949 |
+
margin-left: 5px;
|
950 |
+
min-width: 140px;
|
951 |
+
}
|
952 |
+
.buttons-set:after {
|
953 |
+
content: '';
|
954 |
+
display: table;
|
955 |
+
clear: both;
|
956 |
+
}
|
957 |
+
|
958 |
+
/* -------------------------------------------- *
|
959 |
+
* Icons
|
960 |
+
*/
|
961 |
+
.icon-sprite, .btn-remove2, .ratings .rating-box, .ratings .rating-box .rating, .sorter > .sort-by .sort-by-switcher, .sorter > .view-mode .grid,
|
962 |
+
.sorter > .view-mode .list, .skip-nav .icon, .skip-search .icon, #search_mini_form .search-button:before, .skip-account .icon, .skip-cart .icon, .product-view .sharing-links a, .review-summary-table .rating-box .rating-number:after, .ratings-table .rating-box, .ratings-table .rating-box .rating {
|
963 |
+
background-image: url(../images/icon_sprite.png);
|
964 |
+
background-repeat: no-repeat;
|
965 |
+
text-indent: -9999px;
|
966 |
+
}
|
967 |
+
|
968 |
+
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 4 / 2), (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
|
969 |
+
.icon-sprite, .btn-remove2, .ratings .rating-box, .ratings .rating-box .rating, .sorter > .sort-by .sort-by-switcher, .sorter > .view-mode .grid,
|
970 |
+
.sorter > .view-mode .list, .skip-nav .icon, .skip-search .icon, #search_mini_form .search-button:before, .skip-account .icon, .skip-cart .icon, .product-view .sharing-links a, .review-summary-table .rating-box .rating-number:after, .ratings-table .rating-box, .ratings-table .rating-box .rating {
|
971 |
+
background-image: url(../images/icon_sprite@2x.png);
|
972 |
+
background-size: 100px 1000px;
|
973 |
+
}
|
974 |
+
}
|
975 |
+
/* -------------------------------------------- *
|
976 |
+
* Breadcrumbs
|
977 |
+
*/
|
978 |
+
.breadcrumbs {
|
979 |
+
overflow: hidden;
|
980 |
+
margin: -15px 0 15px;
|
981 |
+
}
|
982 |
+
|
983 |
+
.breadcrumbs li {
|
984 |
+
float: left;
|
985 |
+
font-size: 12px;
|
986 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
987 |
+
text-transform: uppercase;
|
988 |
+
}
|
989 |
+
|
990 |
+
.breadcrumbs a {
|
991 |
+
float: left;
|
992 |
+
color: #636363;
|
993 |
+
}
|
994 |
+
|
995 |
+
.breadcrumbs a:hover {
|
996 |
+
color: #3399cc;
|
997 |
+
}
|
998 |
+
|
999 |
+
.breadcrumbs strong {
|
1000 |
+
color: #636363;
|
1001 |
+
font-weight: normal;
|
1002 |
+
}
|
1003 |
+
|
1004 |
+
.breadcrumbs span {
|
1005 |
+
float: left;
|
1006 |
+
padding: 0 7px;
|
1007 |
+
}
|
1008 |
+
|
1009 |
+
/* -------------------------------------------- *
|
1010 |
+
* Button - Remove / Previous
|
1011 |
+
*/
|
1012 |
+
.btn-remove,
|
1013 |
+
.btn-previous {
|
1014 |
+
display: inline-block;
|
1015 |
+
width: 20px;
|
1016 |
+
height: 20px;
|
1017 |
+
border: 1px solid #ededed;
|
1018 |
+
text-align: center;
|
1019 |
+
/* Hide text */
|
1020 |
+
font: 0/0 a;
|
1021 |
+
text-shadow: none;
|
1022 |
+
color: transparent;
|
1023 |
+
position: relative;
|
1024 |
+
}
|
1025 |
+
.btn-remove:hover,
|
1026 |
+
.btn-previous:hover {
|
1027 |
+
background-color: #3399cc;
|
1028 |
+
border-color: #3399cc;
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
.btn-remove:after {
|
1032 |
+
content: 'X';
|
1033 |
+
color: #3399cc;
|
1034 |
+
height: 20px;
|
1035 |
+
line-height: 20px;
|
1036 |
+
width: 100%;
|
1037 |
+
font-size: 10px;
|
1038 |
+
font-family: Arial, "Helvetica Neue", Verdana, Arial, sans-serif;
|
1039 |
+
font-weight: bold;
|
1040 |
+
}
|
1041 |
+
.btn-remove:hover:after {
|
1042 |
+
color: #FFFFFF;
|
1043 |
+
text-decoration: none;
|
1044 |
+
}
|
1045 |
+
|
1046 |
+
.btn-remove2 {
|
1047 |
+
background-position: 4px -648px;
|
1048 |
+
border: none;
|
1049 |
+
vertical-align: top;
|
1050 |
+
}
|
1051 |
+
.btn-remove2:after {
|
1052 |
+
display: none;
|
1053 |
+
}
|
1054 |
+
.btn-remove2:hover {
|
1055 |
+
background-color: transparent;
|
1056 |
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
1057 |
+
opacity: 0.8;
|
1058 |
+
}
|
1059 |
+
|
1060 |
+
.btn-previous:after {
|
1061 |
+
content: '';
|
1062 |
+
position: absolute;
|
1063 |
+
width: 0;
|
1064 |
+
height: 0;
|
1065 |
+
display: block;
|
1066 |
+
border-top: 4px solid transparent;
|
1067 |
+
border-bottom: 4px solid transparent;
|
1068 |
+
border-right: 4px solid #3399cc;
|
1069 |
+
border-left: none;
|
1070 |
+
position: absolute;
|
1071 |
+
top: 50%;
|
1072 |
+
left: 50%;
|
1073 |
+
margin-left: -2px;
|
1074 |
+
margin-top: -4px;
|
1075 |
+
}
|
1076 |
+
.btn-previous:hover:after {
|
1077 |
+
content: '';
|
1078 |
+
position: absolute;
|
1079 |
+
width: 0;
|
1080 |
+
height: 0;
|
1081 |
+
display: block;
|
1082 |
+
border-top: 4px solid transparent;
|
1083 |
+
border-bottom: 4px solid transparent;
|
1084 |
+
border-right: 4px solid white;
|
1085 |
+
border-left: none;
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
.block-layered-nav .currently .btn-remove,
|
1089 |
+
.block-layered-nav .currently .btn-previous,
|
1090 |
+
.mini-products-list .btn-remove,
|
1091 |
+
.mini-products-list .btn-previous,
|
1092 |
+
#compare-items .btn-remove,
|
1093 |
+
#compare-items .btn-previous {
|
1094 |
+
float: right;
|
1095 |
+
margin-left: 6px;
|
1096 |
+
}
|
1097 |
+
|
1098 |
+
/* -------------------------------------------- *
|
1099 |
+
* Checkout Agreements
|
1100 |
+
*/
|
1101 |
+
.checkout-agreements li {
|
1102 |
+
margin-bottom: 20px;
|
1103 |
+
}
|
1104 |
+
|
1105 |
+
.checkout-agreements .agreement-content {
|
1106 |
+
overflow-y: auto;
|
1107 |
+
max-width: 670px;
|
1108 |
+
max-height: 125px;
|
1109 |
+
margin-bottom: 10px;
|
1110 |
+
padding: 10px;
|
1111 |
+
border: 1px solid #cccccc;
|
1112 |
+
background: #f4f4f4;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
/* -------------------------------------------- *
|
1116 |
+
* CVV Security Code
|
1117 |
+
*/
|
1118 |
+
.cvv-what-is-this {
|
1119 |
+
margin-left: 10px;
|
1120 |
+
font-size: 13px;
|
1121 |
+
line-height: 24px;
|
1122 |
+
}
|
1123 |
+
|
1124 |
+
/* -------------------------------------------- *
|
1125 |
+
* Container
|
1126 |
+
*/
|
1127 |
+
.main-container,
|
1128 |
+
.footer-container {
|
1129 |
+
position: relative;
|
1130 |
+
max-width: 1260px;
|
1131 |
+
margin: 0 auto;
|
1132 |
+
padding: 15px;
|
1133 |
+
}
|
1134 |
+
.main-container:after,
|
1135 |
+
.footer-container:after {
|
1136 |
+
content: '';
|
1137 |
+
display: table;
|
1138 |
+
clear: both;
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
.main-container,
|
1142 |
+
.footer-container {
|
1143 |
+
padding: 30px;
|
1144 |
+
}
|
1145 |
+
|
1146 |
+
.footer-container {
|
1147 |
+
padding-top: 0px;
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
/* -------------------------------------------- *
|
1151 |
+
* Column Layouts
|
1152 |
+
*/
|
1153 |
+
.main:after,
|
1154 |
+
.col-wrapper:after {
|
1155 |
+
content: '';
|
1156 |
+
display: table;
|
1157 |
+
clear: both;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
.col-left,
|
1161 |
+
.col-right,
|
1162 |
+
.col-main {
|
1163 |
+
padding: 0 10px;
|
1164 |
+
}
|
1165 |
+
|
1166 |
+
.col-left {
|
1167 |
+
float: left;
|
1168 |
+
width: 25%;
|
1169 |
+
padding-left: 0;
|
1170 |
+
/* Remove the 15px padding */
|
1171 |
+
clear: left;
|
1172 |
+
}
|
1173 |
+
.col-left img {
|
1174 |
+
max-width: 100%;
|
1175 |
+
}
|
1176 |
+
|
1177 |
+
.col-right {
|
1178 |
+
float: right;
|
1179 |
+
width: 25%;
|
1180 |
+
padding-right: 0;
|
1181 |
+
/* Remove the 15px padding */
|
1182 |
+
}
|
1183 |
+
.col-right img {
|
1184 |
+
max-width: 100%;
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
.col-main {
|
1188 |
+
float: left;
|
1189 |
+
width: 75%;
|
1190 |
+
}
|
1191 |
+
|
1192 |
+
.col1-layout .col-main {
|
1193 |
+
float: none;
|
1194 |
+
width: auto;
|
1195 |
+
padding: 0;
|
1196 |
+
/* Remove the 15px padding */
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
.col2-left-layout .col-main {
|
1200 |
+
float: right;
|
1201 |
+
padding-right: 0;
|
1202 |
+
/* Remove the 15px padding */
|
1203 |
+
}
|
1204 |
+
|
1205 |
+
.col2-right-layout .col-main {
|
1206 |
+
padding-left: 0;
|
1207 |
+
/* Remove the 15px padding */
|
1208 |
+
}
|
1209 |
+
|
1210 |
+
.col3-layout .col-right {
|
1211 |
+
width: 20.83333%;
|
1212 |
+
}
|
1213 |
+
.col3-layout .col-wrapper {
|
1214 |
+
float: left;
|
1215 |
+
width: 79.16667%;
|
1216 |
+
}
|
1217 |
+
.col3-layout .col-wrapper .col-main {
|
1218 |
+
float: right;
|
1219 |
+
width: 73.68421%;
|
1220 |
+
}
|
1221 |
+
.col3-layout .col-wrapper .col-left {
|
1222 |
+
width: 26.31579%;
|
1223 |
+
}
|
1224 |
+
|
1225 |
+
/* Content Columns */
|
1226 |
+
.col2-set {
|
1227 |
+
width: 100%;
|
1228 |
+
}
|
1229 |
+
.col2-set .col-1,
|
1230 |
+
.col2-set .col-2 {
|
1231 |
+
width: 50%;
|
1232 |
+
padding: 20px;
|
1233 |
+
}
|
1234 |
+
.col2-set .col-1 {
|
1235 |
+
float: left;
|
1236 |
+
padding-left: 0;
|
1237 |
+
}
|
1238 |
+
.col2-set .col-2 {
|
1239 |
+
float: right;
|
1240 |
+
padding-right: 0;
|
1241 |
+
}
|
1242 |
+
.col2-set .narrow {
|
1243 |
+
width: 33%;
|
1244 |
+
}
|
1245 |
+
.col2-set .wide {
|
1246 |
+
width: 65%;
|
1247 |
+
}
|
1248 |
+
.col2-set:after {
|
1249 |
+
content: '';
|
1250 |
+
display: table;
|
1251 |
+
clear: both;
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
/* -------------------------------------------- *
|
1255 |
+
* Top Container
|
1256 |
+
*/
|
1257 |
+
.top-container {
|
1258 |
+
max-width: 1260px;
|
1259 |
+
margin: 0 auto;
|
1260 |
+
padding: 0 30px;
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
/* -------------------------------------------- *
|
1264 |
+
* Global Site Notice
|
1265 |
+
*/
|
1266 |
+
.global-site-notice {
|
1267 |
+
background: #676157;
|
1268 |
+
color: #e6e6e6;
|
1269 |
+
font-size: 11px;
|
1270 |
+
}
|
1271 |
+
.global-site-notice .notice-inner {
|
1272 |
+
padding-left: 120px;
|
1273 |
+
width: 100%;
|
1274 |
+
max-width: 1200px;
|
1275 |
+
margin-left: auto;
|
1276 |
+
margin-right: auto;
|
1277 |
+
line-height: 11px;
|
1278 |
+
min-height: 40px;
|
1279 |
+
padding-top: 14.5px;
|
1280 |
+
padding-bottom: 14.5px;
|
1281 |
+
background-image: url("../images/demo-logo.png");
|
1282 |
+
background-position: left;
|
1283 |
+
background-repeat: no-repeat;
|
1284 |
+
}
|
1285 |
+
.global-site-notice p {
|
1286 |
+
margin-bottom: 0;
|
1287 |
+
}
|
1288 |
+
|
1289 |
+
/* -------------------------------------------- *
|
1290 |
+
* Promotional Message Banner
|
1291 |
+
*/
|
1292 |
+
.promo-msg {
|
1293 |
+
color: #3399cc;
|
1294 |
+
text-align: center;
|
1295 |
+
margin: 10px;
|
1296 |
+
text-transform: uppercase;
|
1297 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
1298 |
+
}
|
1299 |
+
|
1300 |
+
/* -------------------------------------------- *
|
1301 |
+
* Grid
|
1302 |
+
*/
|
1303 |
+
.grid:after {
|
1304 |
+
content: '';
|
1305 |
+
display: table;
|
1306 |
+
clear: both;
|
1307 |
+
}
|
1308 |
+
|
1309 |
+
/* -------------------------------------------- *
|
1310 |
+
* Messages
|
1311 |
+
*/
|
1312 |
+
.success {
|
1313 |
+
color: #11b400;
|
1314 |
+
}
|
1315 |
+
|
1316 |
+
.error {
|
1317 |
+
color: red;
|
1318 |
+
font-weight: bold;
|
1319 |
+
}
|
1320 |
+
|
1321 |
+
.notice {
|
1322 |
+
color: #e26703;
|
1323 |
+
font-weight: bold;
|
1324 |
+
}
|
1325 |
+
|
1326 |
+
/* -------------------------------------------- *
|
1327 |
+
* Messages
|
1328 |
+
*/
|
1329 |
+
.messages {
|
1330 |
+
margin-bottom: 10px;
|
1331 |
+
}
|
1332 |
+
|
1333 |
+
.messages li li {
|
1334 |
+
position: relative;
|
1335 |
+
margin-bottom: 5px;
|
1336 |
+
padding: 7px 10px 7px 20px;
|
1337 |
+
background: #f4f4f4;
|
1338 |
+
}
|
1339 |
+
|
1340 |
+
.messages li li:before {
|
1341 |
+
top: 50%;
|
1342 |
+
left: 0;
|
1343 |
+
margin-top: -6px;
|
1344 |
+
}
|
1345 |
+
|
1346 |
+
.messages .error-msg li {
|
1347 |
+
border-left: 5px solid red;
|
1348 |
+
}
|
1349 |
+
|
1350 |
+
.messages .error-msg li:before {
|
1351 |
+
content: '';
|
1352 |
+
position: absolute;
|
1353 |
+
width: 0;
|
1354 |
+
height: 0;
|
1355 |
+
display: block;
|
1356 |
+
border-top: 6px solid transparent;
|
1357 |
+
border-bottom: 6px solid transparent;
|
1358 |
+
border-left: 6px solid red;
|
1359 |
+
border-right: none;
|
1360 |
+
}
|
1361 |
+
|
1362 |
+
.messages .notice-msg li {
|
1363 |
+
border-left: 5px solid #e26703;
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
.messages .notice-msg li:before {
|
1367 |
+
content: '';
|
1368 |
+
position: absolute;
|
1369 |
+
width: 0;
|
1370 |
+
height: 0;
|
1371 |
+
display: block;
|
1372 |
+
border-top: 6px solid transparent;
|
1373 |
+
border-bottom: 6px solid transparent;
|
1374 |
+
border-left: 6px solid #e26703;
|
1375 |
+
border-right: none;
|
1376 |
+
}
|
1377 |
+
|
1378 |
+
.messages .success-msg li {
|
1379 |
+
border-left: 5px solid #11b400;
|
1380 |
+
}
|
1381 |
+
|
1382 |
+
.messages .success-msg li:before {
|
1383 |
+
content: '';
|
1384 |
+
position: absolute;
|
1385 |
+
width: 0;
|
1386 |
+
height: 0;
|
1387 |
+
display: block;
|
1388 |
+
border-top: 6px solid transparent;
|
1389 |
+
border-bottom: 6px solid transparent;
|
1390 |
+
border-left: 6px solid #11b400;
|
1391 |
+
border-right: none;
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
.order-list-grid .col-1 {
|
1395 |
+
width: 30%;
|
1396 |
+
}
|
1397 |
+
|
1398 |
+
.order-list-grid .col-2 {
|
1399 |
+
width: 50%;
|
1400 |
+
padding-right: 20px;
|
1401 |
+
}
|
1402 |
+
|
1403 |
+
.order-list-grid .col-3 {
|
1404 |
+
clear: none;
|
1405 |
+
width: 20%;
|
1406 |
+
padding-top: 0;
|
1407 |
+
}
|
1408 |
+
|
1409 |
+
/* -------------------------------------------- *
|
1410 |
+
* Page Popup
|
1411 |
+
*/
|
1412 |
+
.page-popup {
|
1413 |
+
padding: 20px;
|
1414 |
+
background: #FFFFFF;
|
1415 |
+
height: auto;
|
1416 |
+
}
|
1417 |
+
|
1418 |
+
.page-popup h1 {
|
1419 |
+
margin: 0 0 0.5em;
|
1420 |
+
font-size: 36px;
|
1421 |
+
}
|
1422 |
+
|
1423 |
+
/* -------------------------------------------- *
|
1424 |
+
* Payment Methods
|
1425 |
+
*/
|
1426 |
+
.payment-methods {
|
1427 |
+
margin-bottom: 20px;
|
1428 |
+
}
|
1429 |
+
|
1430 |
+
.payment-methods dt {
|
1431 |
+
padding: 5px 0;
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
.payment-methods dd {
|
1435 |
+
padding-top: 10px;
|
1436 |
+
}
|
1437 |
+
|
1438 |
+
.payment-methods .form-list {
|
1439 |
+
position: relative;
|
1440 |
+
display: inline-block;
|
1441 |
+
max-width: 100%;
|
1442 |
+
margin: 5px 15px 15px;
|
1443 |
+
padding: 15px;
|
1444 |
+
border: 1px solid #cccccc;
|
1445 |
+
background: #f4f4f4;
|
1446 |
+
}
|
1447 |
+
|
1448 |
+
.payment-methods .form-list:before {
|
1449 |
+
content: '';
|
1450 |
+
position: absolute;
|
1451 |
+
width: 0;
|
1452 |
+
height: 0;
|
1453 |
+
display: block;
|
1454 |
+
border-right: 10px solid transparent;
|
1455 |
+
border-left: 10px solid transparent;
|
1456 |
+
border-bottom: 10px solid #cccccc;
|
1457 |
+
border-top: none;
|
1458 |
+
top: -11px;
|
1459 |
+
left: 30px;
|
1460 |
+
}
|
1461 |
+
|
1462 |
+
.payment-methods .form-list:after {
|
1463 |
+
content: '';
|
1464 |
+
position: absolute;
|
1465 |
+
width: 0;
|
1466 |
+
height: 0;
|
1467 |
+
display: block;
|
1468 |
+
border-right: 10px solid transparent;
|
1469 |
+
border-left: 10px solid transparent;
|
1470 |
+
border-bottom: 10px solid #f4f4f4;
|
1471 |
+
border-top: none;
|
1472 |
+
top: -10px;
|
1473 |
+
left: 30px;
|
1474 |
+
}
|
1475 |
+
|
1476 |
+
.payment-methods .form-list li:last-child {
|
1477 |
+
margin-bottom: 0;
|
1478 |
+
}
|
1479 |
+
|
1480 |
+
/* -------------------------------------------- *
|
1481 |
+
* Please Wait (Loading Indicator)
|
1482 |
+
*/
|
1483 |
+
.please-wait {
|
1484 |
+
display: inline-block;
|
1485 |
+
margin-left: 10px;
|
1486 |
+
margin-top: 5px;
|
1487 |
+
line-height: 24px;
|
1488 |
+
height: 24px;
|
1489 |
+
white-space: nowrap;
|
1490 |
+
/* Prevent the linebreak in the HTML from causing layout issues */
|
1491 |
+
}
|
1492 |
+
.please-wait img {
|
1493 |
+
float: left;
|
1494 |
+
margin-right: 5px;
|
1495 |
+
width: 24px;
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
/* -------------------------------------------- *
|
1499 |
+
* Price Box - Standard
|
1500 |
+
*/
|
1501 |
+
.price-box {
|
1502 |
+
margin: 7px 0;
|
1503 |
+
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1504 |
+
}
|
1505 |
+
|
1506 |
+
.price-box p {
|
1507 |
+
margin-bottom: 0;
|
1508 |
+
}
|
1509 |
+
|
1510 |
+
.price-notice {
|
1511 |
+
color: #a0a0a0;
|
1512 |
+
}
|
1513 |
+
|
1514 |
+
.price-box .price {
|
1515 |
+
color: #3399cc;
|
1516 |
+
font-size: 16px;
|
1517 |
+
}
|
1518 |
+
|
1519 |
+
.price-box .price,
|
1520 |
+
.price {
|
1521 |
+
white-space: nowrap;
|
1522 |
+
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1523 |
+
}
|
1524 |
+
|
1525 |
+
.price-box .price-label {
|
1526 |
+
color: #a0a0a0;
|
1527 |
+
white-space: nowrap;
|
1528 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
1529 |
+
}
|
1530 |
+
|
1531 |
+
.price-box .minimal-price-link {
|
1532 |
+
padding-left: 1em;
|
1533 |
+
color: #3399cc;
|
1534 |
+
display: block;
|
1535 |
+
/* We want this to show on its own line, otherwise the layout looks funky */
|
1536 |
+
}
|
1537 |
+
.price-box .minimal-price-link .label {
|
1538 |
+
color: #a0a0a0;
|
1539 |
+
}
|
1540 |
+
|
1541 |
+
/* -------------------------------------------- *
|
1542 |
+
* Price Box - Special
|
1543 |
+
*/
|
1544 |
+
.price-box .old-price,
|
1545 |
+
.price-box .special-price {
|
1546 |
+
display: inline-block;
|
1547 |
+
}
|
1548 |
+
.price-box .old-price .price-label,
|
1549 |
+
.price-box .special-price .price-label {
|
1550 |
+
display: none;
|
1551 |
+
}
|
1552 |
+
.price-box .old-price .price,
|
1553 |
+
.price-box .special-price .price {
|
1554 |
+
display: inline-block;
|
1555 |
+
}
|
1556 |
+
|
1557 |
+
.price-box .old-price .price {
|
1558 |
+
color: #a0a0a0;
|
1559 |
+
text-decoration: line-through;
|
1560 |
+
}
|
1561 |
+
|
1562 |
+
.price-box .special-price {
|
1563 |
+
color: #3399cc;
|
1564 |
+
padding-left: 1em;
|
1565 |
+
}
|
1566 |
+
.price-box .special-price .price-label {
|
1567 |
+
color: #D84D3C;
|
1568 |
+
}
|
1569 |
+
|
1570 |
+
/* -------------------------------------------- *
|
1571 |
+
* Price Box - Taxes
|
1572 |
+
*/
|
1573 |
+
.price-box .price-excluding-tax,
|
1574 |
+
.price-box .price-including-tax {
|
1575 |
+
display: block;
|
1576 |
+
}
|
1577 |
+
|
1578 |
+
/* -------------------------------------------- *
|
1579 |
+
* Tier Prices
|
1580 |
+
*/
|
1581 |
+
.product-pricing,
|
1582 |
+
.tier-prices,
|
1583 |
+
.tier-prices-grouped {
|
1584 |
+
display: inline-block;
|
1585 |
+
padding: 4px 8px;
|
1586 |
+
background: #FBF4DE;
|
1587 |
+
border: 1px solid #E2D4C7;
|
1588 |
+
margin-top: 7px;
|
1589 |
+
}
|
1590 |
+
.product-pricing li,
|
1591 |
+
.tier-prices li,
|
1592 |
+
.tier-prices-grouped li {
|
1593 |
+
font-size: 12px;
|
1594 |
+
}
|
1595 |
+
.product-pricing .benefit,
|
1596 |
+
.tier-prices .benefit,
|
1597 |
+
.tier-prices-grouped .benefit {
|
1598 |
+
font-style: italic;
|
1599 |
+
}
|
1600 |
+
.product-pricing .price,
|
1601 |
+
.tier-prices .price,
|
1602 |
+
.tier-prices-grouped .price {
|
1603 |
+
font-weight: bold;
|
1604 |
+
}
|
1605 |
+
|
1606 |
+
/* ============================================ *
|
1607 |
+
* Item Options
|
1608 |
+
* ============================================ */
|
1609 |
+
.item-options {
|
1610 |
+
font-size: 14px;
|
1611 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
1612 |
+
}
|
1613 |
+
.item-options:after {
|
1614 |
+
content: '';
|
1615 |
+
display: table;
|
1616 |
+
clear: both;
|
1617 |
+
}
|
1618 |
+
.item-options dt {
|
1619 |
+
float: left;
|
1620 |
+
clear: left;
|
1621 |
+
font-weight: 600;
|
1622 |
+
padding-right: 5px;
|
1623 |
+
font-style: italic;
|
1624 |
+
}
|
1625 |
+
.item-options dt:after {
|
1626 |
+
content: ': ';
|
1627 |
+
}
|
1628 |
+
.item-options dd {
|
1629 |
+
float: left;
|
1630 |
+
padding-left: 10px;
|
1631 |
+
margin: 0 0 6px;
|
1632 |
+
}
|
1633 |
+
|
1634 |
+
.truncated,
|
1635 |
+
.truncated a.dots {
|
1636 |
+
cursor: help;
|
1637 |
+
}
|
1638 |
+
|
1639 |
+
.truncated a.details {
|
1640 |
+
cursor: help;
|
1641 |
+
height: 16px;
|
1642 |
+
line-height: 16px;
|
1643 |
+
}
|
1644 |
+
.truncated a.details:hover {
|
1645 |
+
text-decoration: none;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
.truncated .truncated_full_value {
|
1649 |
+
position: relative;
|
1650 |
+
z-index: 300;
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
.truncated .truncated_full_value .item-options {
|
1654 |
+
display: none;
|
1655 |
+
position: absolute;
|
1656 |
+
z-index: 300;
|
1657 |
+
width: 200px;
|
1658 |
+
padding: 8px;
|
1659 |
+
border: 1px solid #3399cc;
|
1660 |
+
background-color: #F6F6F6;
|
1661 |
+
top: 21px;
|
1662 |
+
left: -100px;
|
1663 |
+
}
|
1664 |
+
.truncated .truncated_full_value .item-options:after {
|
1665 |
+
content: '';
|
1666 |
+
position: absolute;
|
1667 |
+
width: 0;
|
1668 |
+
height: 0;
|
1669 |
+
display: block;
|
1670 |
+
border-right: 7px solid transparent;
|
1671 |
+
border-left: 7px solid transparent;
|
1672 |
+
border-bottom: 7px solid #3399cc;
|
1673 |
+
border-top: none;
|
1674 |
+
left: 97px;
|
1675 |
+
top: -7px;
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
.truncated .truncated_full_value .item-options > p {
|
1679 |
+
font-weight: bold;
|
1680 |
+
text-transform: uppercase;
|
1681 |
+
margin-bottom: 8px;
|
1682 |
+
}
|
1683 |
+
|
1684 |
+
.truncated .show .item-options {
|
1685 |
+
display: block;
|
1686 |
+
}
|
1687 |
+
|
1688 |
+
/* -------------------------------------------- *
|
1689 |
+
* Printer Friendly Page
|
1690 |
+
*/
|
1691 |
+
.page-print {
|
1692 |
+
width: 6.5in;
|
1693 |
+
margin: 20px;
|
1694 |
+
background: #FFFFFF;
|
1695 |
+
}
|
1696 |
+
|
1697 |
+
/* -------------------------------------------- *
|
1698 |
+
* Add to links
|
1699 |
+
*/
|
1700 |
+
.add-to-links {
|
1701 |
+
margin: 7px 0;
|
1702 |
+
}
|
1703 |
+
.add-to-links a {
|
1704 |
+
display: inline-block;
|
1705 |
+
padding: 0px 3px
|