Interface_Frontend_Rwd_Default - Version 1.9.0.0

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

Files changed (170) hide show
  1. app/design/frontend/rwd/default/etc/theme.xml +30 -0
  2. app/design/frontend/rwd/default/etc/widget.xml +166 -0
  3. app/design/frontend/rwd/default/layout/bundle.xml +383 -0
  4. app/design/frontend/rwd/default/layout/captcha.xml +4 -0
  5. app/design/frontend/rwd/default/layout/catalog.xml +447 -0
  6. app/design/frontend/rwd/default/layout/catalog_msrp.xml +109 -0
  7. app/design/frontend/rwd/default/layout/catalogsearch.xml +148 -0
  8. app/design/frontend/rwd/default/layout/checkout.xml +542 -0
  9. app/design/frontend/rwd/default/layout/cms.xml +108 -0
  10. app/design/frontend/rwd/default/layout/contacts.xml +43 -0
  11. app/design/frontend/rwd/default/layout/customer.xml +301 -0
  12. app/design/frontend/rwd/default/layout/directory.xml +43 -0
  13. app/design/frontend/rwd/default/layout/downloadable.xml +232 -0
  14. app/design/frontend/rwd/default/layout/newsletter.xml +67 -0
  15. app/design/frontend/rwd/default/layout/oauth.xml +137 -0
  16. app/design/frontend/rwd/default/layout/page.xml +241 -0
  17. app/design/frontend/rwd/default/layout/paypal.xml +205 -0
  18. app/design/frontend/rwd/default/layout/persistent.xml +63 -0
  19. app/design/frontend/rwd/default/layout/poll.xml +4 -0
  20. app/design/frontend/rwd/default/layout/review.xml +146 -0
  21. app/design/frontend/rwd/default/layout/rss.xml +100 -0
  22. app/design/frontend/rwd/default/layout/sales.xml +526 -0
  23. app/design/frontend/rwd/default/layout/tag.xml +4 -0
  24. app/design/frontend/rwd/default/layout/wishlist.xml +146 -0
  25. app/design/frontend/rwd/default/locale/en_US/translate.csv +20 -0
  26. app/design/frontend/rwd/default/template/authorizenet/directpost/form.phtml +135 -0
  27. app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml +41 -0
  28. app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml +39 -0
  29. app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml +64 -0
  30. app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml +380 -0
  31. app/design/frontend/rwd/default/template/catalog/layer/filter.phtml +55 -0
  32. app/design/frontend/rwd/default/template/catalog/layer/state.phtml +73 -0
  33. app/design/frontend/rwd/default/template/catalog/layer/view.phtml +59 -0
  34. app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml +64 -0
  35. app/design/frontend/rwd/default/template/catalog/navigation/left.phtml +63 -0
  36. app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml +172 -0
  37. app/design/frontend/rwd/default/template/catalog/product/compare/sidebar.phtml +60 -0
  38. app/design/frontend/rwd/default/template/catalog/product/list.phtml +186 -0
  39. app/design/frontend/rwd/default/template/catalog/product/list/related.phtml +94 -0
  40. app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml +99 -0
  41. app/design/frontend/rwd/default/template/catalog/product/list/upsell.phtml +59 -0
  42. app/design/frontend/rwd/default/template/catalog/product/new.phtml +64 -0
  43. app/design/frontend/rwd/default/template/catalog/product/view.phtml +191 -0
  44. app/design/frontend/rwd/default/template/catalog/product/view/addto.phtml +43 -0
  45. app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml +42 -0
  46. app/design/frontend/rwd/default/template/catalog/product/view/media.phtml +88 -0
  47. app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml +50 -0
  48. app/design/frontend/rwd/default/template/catalog/product/view/type/availability/default.phtml +39 -0
  49. app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml +41 -0
  50. app/design/frontend/rwd/default/template/catalog/product/view/type/default.phtml +30 -0
  51. app/design/frontend/rwd/default/template/catalog/product/view/type/grouped.phtml +90 -0
  52. app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml +67 -0
  53. app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml +58 -0
  54. app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml +48 -0
  55. app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
  56. app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_grid.phtml +68 -0
  57. app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml +65 -0
  58. app/design/frontend/rwd/default/template/cataloginventory/stockqty/composite.phtml +66 -0
  59. app/design/frontend/rwd/default/template/catalogsearch/advanced/form.phtml +96 -0
  60. app/design/frontend/rwd/default/template/catalogsearch/form.mini.phtml +45 -0
  61. app/design/frontend/rwd/default/template/catalogsearch/result.phtml +56 -0
  62. app/design/frontend/rwd/default/template/centinel/authentication/start.phtml +40 -0
  63. app/design/frontend/rwd/default/template/checkout/cart.phtml +177 -0
  64. app/design/frontend/rwd/default/template/checkout/cart/coupon.phtml +60 -0
  65. app/design/frontend/rwd/default/template/checkout/cart/crosssell.phtml +61 -0
  66. app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml +43 -0
  67. app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml +330 -0
  68. app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml +50 -0
  69. app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml +189 -0
  70. app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml +108 -0
  71. app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml +70 -0
  72. app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml +70 -0
  73. app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml +150 -0
  74. app/design/frontend/rwd/default/template/checkout/cart/sidebar.phtml +80 -0
  75. app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml +145 -0
  76. app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml +118 -0
  77. app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml +48 -0
  78. app/design/frontend/rwd/default/template/checkout/onepage.phtml +61 -0
  79. app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml +76 -0
  80. app/design/frontend/rwd/default/template/checkout/onepage/progress.phtml +59 -0
  81. app/design/frontend/rwd/default/template/checkout/onepage/review/info.phtml +84 -0
  82. app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml +240 -0
  83. app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml +157 -0
  84. app/design/frontend/rwd/default/template/contacts/form.phtml +73 -0
  85. app/design/frontend/rwd/default/template/customer/account/dashboard.phtml +45 -0
  86. app/design/frontend/rwd/default/template/customer/account/dashboard/address.phtml +56 -0
  87. app/design/frontend/rwd/default/template/customer/account/navigation.phtml +46 -0
  88. app/design/frontend/rwd/default/template/customer/address/edit.phtml +166 -0
  89. app/design/frontend/rwd/default/template/customer/form/address.phtml +144 -0
  90. app/design/frontend/rwd/default/template/customer/form/changepassword.phtml +67 -0
  91. app/design/frontend/rwd/default/template/customer/form/confirmation.phtml +54 -0
  92. app/design/frontend/rwd/default/template/customer/form/edit.phtml +117 -0
  93. app/design/frontend/rwd/default/template/customer/form/forgotpassword.phtml +55 -0
  94. app/design/frontend/rwd/default/template/customer/form/mini.login.phtml +40 -0
  95. app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml +59 -0
  96. app/design/frontend/rwd/default/template/directory/currency.phtml +45 -0
  97. app/design/frontend/rwd/default/template/downloadable/catalog/product/type.phtml +48 -0
  98. app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml +344 -0
  99. app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml +246 -0
  100. app/design/frontend/rwd/default/template/downloadable/customer/products/list.phtml +74 -0
  101. app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml +360 -0
  102. app/design/frontend/rwd/default/template/newsletter/subscribe.phtml +49 -0
  103. app/design/frontend/rwd/default/template/oauth/authorize/form/login-simple.phtml +75 -0
  104. app/design/frontend/rwd/default/template/page/1column.phtml +68 -0
  105. app/design/frontend/rwd/default/template/page/2columns-left.phtml +72 -0
  106. app/design/frontend/rwd/default/template/page/2columns-right.phtml +68 -0
  107. app/design/frontend/rwd/default/template/page/3columns.phtml +75 -0
  108. app/design/frontend/rwd/default/template/page/empty.phtml +53 -0
  109. app/design/frontend/rwd/default/template/page/html/footer.phtml +32 -0
  110. app/design/frontend/rwd/default/template/page/html/header.phtml +114 -0
  111. app/design/frontend/rwd/default/template/page/html/pager.phtml +130 -0
  112. app/design/frontend/rwd/default/template/page/html/topmenu.phtml +42 -0
  113. app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml +82 -0
  114. app/design/frontend/rwd/default/template/page/popup.phtml +52 -0
  115. app/design/frontend/rwd/default/template/page/print.phtml +59 -0
  116. app/design/frontend/rwd/default/template/page/template/links.phtml +48 -0
  117. app/design/frontend/rwd/default/template/payment/form/cc.phtml +139 -0
  118. app/design/frontend/rwd/default/template/payment/form/ccsave.phtml +136 -0
  119. app/design/frontend/rwd/default/template/payment/info/default.phtml +43 -0
  120. app/design/frontend/rwd/default/template/paypal/bml.phtml +49 -0
  121. app/design/frontend/rwd/default/template/paypal/express/minicart/shortcut.phtml +73 -0
  122. app/design/frontend/rwd/default/template/paypal/express/product/shortcut.phtml +69 -0
  123. app/design/frontend/rwd/default/template/paypal/express/review.phtml +177 -0
  124. app/design/frontend/rwd/default/template/paypal/express/review/address.phtml +191 -0
  125. app/design/frontend/rwd/default/template/paypal/express/review/details.phtml +64 -0
  126. app/design/frontend/rwd/default/template/paypal/express/review/shipping/method.phtml +53 -0
  127. app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml +228 -0
  128. app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml +157 -0
  129. app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml +104 -0
  130. app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml +188 -0
  131. app/design/frontend/rwd/default/template/persistent/remember_me.phtml +41 -0
  132. app/design/frontend/rwd/default/template/persistent/remember_me_tooltip.phtml +62 -0
  133. app/design/frontend/rwd/default/template/reports/product_viewed.phtml +53 -0
  134. app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml +57 -0
  135. app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml +47 -0
  136. app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml +46 -0
  137. app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml +67 -0
  138. app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml +64 -0
  139. app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_default_list.phtml +62 -0
  140. app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_images_list.phtml +52 -0
  141. app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_names_list.phtml +51 -0
  142. app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_grid.phtml +70 -0
  143. app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_list.phtml +69 -0
  144. app/design/frontend/rwd/default/template/review/customer/view.phtml +75 -0
  145. app/design/frontend/rwd/default/template/review/form.phtml +165 -0
  146. app/design/frontend/rwd/default/template/review/product/view/list.phtml +85 -0
  147. app/design/frontend/rwd/default/template/review/view.phtml +76 -0
  148. app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml +65 -0
  149. app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml +331 -0
  150. app/design/frontend/rwd/default/template/sales/order/history.phtml +77 -0
  151. app/design/frontend/rwd/default/template/sales/order/items.phtml +69 -0
  152. app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml +323 -0
  153. app/design/frontend/rwd/default/template/sales/order/recent.phtml +75 -0
  154. app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml +89 -0
  155. app/design/frontend/rwd/default/template/sales/widget/guest/form.phtml +105 -0
  156. app/design/frontend/rwd/default/template/sendfriend/send.phtml +143 -0
  157. app/design/frontend/rwd/default/template/wishlist/button/update.phtml +30 -0
  158. app/design/frontend/rwd/default/template/wishlist/item/column/cart.phtml +58 -0
  159. app/design/frontend/rwd/default/template/wishlist/item/column/info.phtml +53 -0
  160. app/design/frontend/rwd/default/template/wishlist/item/column/price.phtml +37 -0
  161. app/design/frontend/rwd/default/template/wishlist/item/column/quantity.phtml +41 -0
  162. app/design/frontend/rwd/default/template/wishlist/item/list.phtml +69 -0
  163. app/design/frontend/rwd/default/template/wishlist/shared.phtml +85 -0
  164. app/design/frontend/rwd/default/template/wishlist/sidebar.phtml +61 -0
  165. app/design/frontend/rwd/default/template/wishlist/view.phtml +92 -0
  166. package.xml +18 -0
  167. skin/frontend/rwd/default/css/madisonisland-ie8.css +176 -0
  168. skin/frontend/rwd/default/css/madisonisland.css +350 -0
  169. skin/frontend/rwd/default/css/scaffold-forms.css +103 -0
  170. 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" />]]>&#10;</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:') ?>&nbsp;</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">&nbsp;</td>
48
+ <td data-rwd-label="Price" class="lin-hide">&nbsp;</td>
49
+ <td data-rwd-label="Qty" class="lin-hide">&nbsp;</td>
50
+ <td data-rwd-label="Subtotal" class="lin-hide">&nbsp;</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
+ &nbsp;
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
+ &nbsp;
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
+ &nbsp;
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">&nbsp;</td>
376
+ <td data-rwd-label="Price">&nbsp;</td>
377
+ <td data-rwd-label="Qty">&nbsp;</td>
378
+ <td data-rwd-label="Subtotal">&nbsp;</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">&times;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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') ?>&nbsp;<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">&nbsp;</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 @@