SVSMagentoStore - Version 1.0.0

Version Notes

Free Magento SVS Store Theme

Download this release

Release Info

Developer SVS WEBSOFT
Extension SVSMagentoStore
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (169) hide show
  1. app/design/frontend/svs_store/default/etc/theme.xml +30 -0
  2. app/design/frontend/svs_store/default/etc/widget.xml +166 -0
  3. app/design/frontend/svs_store/default/layout/bundle.xml +383 -0
  4. app/design/frontend/svs_store/default/layout/catalog.xml +447 -0
  5. app/design/frontend/svs_store/default/layout/catalog_msrp.xml +75 -0
  6. app/design/frontend/svs_store/default/layout/catalogsearch.xml +148 -0
  7. app/design/frontend/svs_store/default/layout/checkout.xml +542 -0
  8. app/design/frontend/svs_store/default/layout/cms.xml +108 -0
  9. app/design/frontend/svs_store/default/layout/configurableswatches.xml +79 -0
  10. app/design/frontend/svs_store/default/layout/contacts.xml +43 -0
  11. app/design/frontend/svs_store/default/layout/customer.xml +301 -0
  12. app/design/frontend/svs_store/default/layout/directory.xml +43 -0
  13. app/design/frontend/svs_store/default/layout/downloadable.xml +232 -0
  14. app/design/frontend/svs_store/default/layout/local.xml +17 -0
  15. app/design/frontend/svs_store/default/layout/newsletter.xml +66 -0
  16. app/design/frontend/svs_store/default/layout/oauth.xml +137 -0
  17. app/design/frontend/svs_store/default/layout/page.xml +242 -0
  18. app/design/frontend/svs_store/default/layout/paypal.xml +205 -0
  19. app/design/frontend/svs_store/default/layout/persistent.xml +63 -0
  20. app/design/frontend/svs_store/default/layout/review.xml +146 -0
  21. app/design/frontend/svs_store/default/layout/rss.xml +100 -0
  22. app/design/frontend/svs_store/default/layout/sales.xml +532 -0
  23. app/design/frontend/svs_store/default/layout/wishlist.xml +147 -0
  24. app/design/frontend/svs_store/default/template/authorizenet/directpost/form.phtml +135 -0
  25. app/design/frontend/svs_store/default/template/bundle/catalog/product/view/type/bundle.phtml +41 -0
  26. app/design/frontend/svs_store/default/template/bundle/catalog/product/view/type/bundle/availability.phtml +39 -0
  27. app/design/frontend/svs_store/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml +64 -0
  28. app/design/frontend/svs_store/default/template/bundle/email/order/items/creditmemo/default.phtml +177 -0
  29. app/design/frontend/svs_store/default/template/bundle/email/order/items/invoice/default.phtml +178 -0
  30. app/design/frontend/svs_store/default/template/bundle/email/order/items/order/default.phtml +175 -0
  31. app/design/frontend/svs_store/default/template/bundle/email/order/items/shipment/default.phtml +100 -0
  32. app/design/frontend/svs_store/default/template/bundle/sales/order/items/renderer.phtml +380 -0
  33. app/design/frontend/svs_store/default/template/captcha/zend.phtml +51 -0
  34. app/design/frontend/svs_store/default/template/catalog/layer/filter.phtml +55 -0
  35. app/design/frontend/svs_store/default/template/catalog/layer/state.phtml +73 -0
  36. app/design/frontend/svs_store/default/template/catalog/layer/view.phtml +59 -0
  37. app/design/frontend/svs_store/default/template/catalog/msrp/popup.phtml +64 -0
  38. app/design/frontend/svs_store/default/template/catalog/navigation/left.phtml +63 -0
  39. app/design/frontend/svs_store/default/template/catalog/product/compare/list.phtml +172 -0
  40. app/design/frontend/svs_store/default/template/catalog/product/compare/sidebar.phtml +60 -0
  41. app/design/frontend/svs_store/default/template/catalog/product/list.phtml +200 -0
  42. app/design/frontend/svs_store/default/template/catalog/product/list/related.phtml +94 -0
  43. app/design/frontend/svs_store/default/template/catalog/product/list/toolbar.phtml +70 -0
  44. app/design/frontend/svs_store/default/template/catalog/product/list/upsell.phtml +59 -0
  45. app/design/frontend/svs_store/default/template/catalog/product/price.phtml +465 -0
  46. app/design/frontend/svs_store/default/template/catalog/product/view.phtml +191 -0
  47. app/design/frontend/svs_store/default/template/catalog/product/view/addto.phtml +43 -0
  48. app/design/frontend/svs_store/default/template/catalog/product/view/addtocart.phtml +42 -0
  49. app/design/frontend/svs_store/default/template/catalog/product/view/media.phtml +76 -0
  50. app/design/frontend/svs_store/default/template/catalog/product/view/sharing.phtml +50 -0
  51. app/design/frontend/svs_store/default/template/catalog/product/view/type/availability/default.phtml +39 -0
  52. app/design/frontend/svs_store/default/template/catalog/product/view/type/availability/grouped.phtml +41 -0
  53. app/design/frontend/svs_store/default/template/catalog/product/view/type/default.phtml +30 -0
  54. app/design/frontend/svs_store/default/template/catalog/product/view/type/grouped.phtml +90 -0
  55. app/design/frontend/svs_store/default/template/catalog/product/view/type/options/configurable.phtml +67 -0
  56. app/design/frontend/svs_store/default/template/catalog/product/widget/new/column/new_default_list.phtml +58 -0
  57. app/design/frontend/svs_store/default/template/catalog/product/widget/new/column/new_images_list.phtml +48 -0
  58. app/design/frontend/svs_store/default/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
  59. app/design/frontend/svs_store/default/template/catalog/product/widget/new/content/new_grid.phtml +69 -0
  60. app/design/frontend/svs_store/default/template/catalog/product/widget/new/content/new_list.phtml +65 -0
  61. app/design/frontend/svs_store/default/template/cataloginventory/stockqty/composite.phtml +66 -0
  62. app/design/frontend/svs_store/default/template/catalogsearch/advanced/form.phtml +96 -0
  63. app/design/frontend/svs_store/default/template/catalogsearch/form.mini.phtml +44 -0
  64. app/design/frontend/svs_store/default/template/catalogsearch/result.phtml +56 -0
  65. app/design/frontend/svs_store/default/template/centinel/authentication/start.phtml +40 -0
  66. app/design/frontend/svs_store/default/template/checkout/cart.phtml +177 -0
  67. app/design/frontend/svs_store/default/template/checkout/cart/coupon.phtml +60 -0
  68. app/design/frontend/svs_store/default/template/checkout/cart/crosssell.phtml +63 -0
  69. app/design/frontend/svs_store/default/template/checkout/cart/item/configure/updatecart.phtml +43 -0
  70. app/design/frontend/svs_store/default/template/checkout/cart/item/default.phtml +330 -0
  71. app/design/frontend/svs_store/default/template/checkout/cart/minicart.phtml +50 -0
  72. app/design/frontend/svs_store/default/template/checkout/cart/minicart/default.phtml +189 -0
  73. app/design/frontend/svs_store/default/template/checkout/cart/minicart/items.phtml +109 -0
  74. app/design/frontend/svs_store/default/template/checkout/cart/render/default.phtml +70 -0
  75. app/design/frontend/svs_store/default/template/checkout/cart/render/simple.phtml +70 -0
  76. app/design/frontend/svs_store/default/template/checkout/cart/shipping.phtml +150 -0
  77. app/design/frontend/svs_store/default/template/checkout/cart/sidebar.phtml +80 -0
  78. app/design/frontend/svs_store/default/template/checkout/cart/sidebar/default.phtml +145 -0
  79. app/design/frontend/svs_store/default/template/checkout/multishipping/addresses.phtml +81 -0
  80. app/design/frontend/svs_store/default/template/checkout/multishipping/billing.phtml +118 -0
  81. app/design/frontend/svs_store/default/template/checkout/multishipping/item/default.phtml +48 -0
  82. app/design/frontend/svs_store/default/template/checkout/multishipping/overview.phtml +245 -0
  83. app/design/frontend/svs_store/default/template/checkout/multishipping/overview/item.phtml +242 -0
  84. app/design/frontend/svs_store/default/template/checkout/onepage.phtml +61 -0
  85. app/design/frontend/svs_store/default/template/checkout/onepage/payment.phtml +76 -0
  86. app/design/frontend/svs_store/default/template/checkout/onepage/progress.phtml +59 -0
  87. app/design/frontend/svs_store/default/template/checkout/onepage/review/info.phtml +85 -0
  88. app/design/frontend/svs_store/default/template/checkout/onepage/review/item.phtml +244 -0
  89. app/design/frontend/svs_store/default/template/checkout/onepage/shipping.phtml +157 -0
  90. app/design/frontend/svs_store/default/template/configurableswatches/catalog/layer/filter/swatches.phtml +75 -0
  91. app/design/frontend/svs_store/default/template/configurableswatches/catalog/layer/state/swatch.phtml +59 -0
  92. app/design/frontend/svs_store/default/template/configurableswatches/catalog/media/js.phtml +39 -0
  93. app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/list/swatches.phtml +77 -0
  94. app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml +31 -0
  95. app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml +86 -0
  96. app/design/frontend/svs_store/default/template/contacts/form.phtml +73 -0
  97. app/design/frontend/svs_store/default/template/customer/account/dashboard.phtml +45 -0
  98. app/design/frontend/svs_store/default/template/customer/account/dashboard/address.phtml +56 -0
  99. app/design/frontend/svs_store/default/template/customer/account/navigation.phtml +46 -0
  100. app/design/frontend/svs_store/default/template/customer/address/edit.phtml +166 -0
  101. app/design/frontend/svs_store/default/template/customer/form/address.phtml +144 -0
  102. app/design/frontend/svs_store/default/template/customer/form/changepassword.phtml +67 -0
  103. app/design/frontend/svs_store/default/template/customer/form/confirmation.phtml +54 -0
  104. app/design/frontend/svs_store/default/template/customer/form/edit.phtml +117 -0
  105. app/design/frontend/svs_store/default/template/customer/form/forgotpassword.phtml +55 -0
  106. app/design/frontend/svs_store/default/template/customer/form/mini.login.phtml +40 -0
  107. app/design/frontend/svs_store/default/template/customer/form/resetforgottenpassword.phtml +59 -0
  108. app/design/frontend/svs_store/default/template/directory/currency.phtml +43 -0
  109. app/design/frontend/svs_store/default/template/downloadable/catalog/product/type.phtml +48 -0
  110. app/design/frontend/svs_store/default/template/downloadable/checkout/cart/item/default.phtml +344 -0
  111. app/design/frontend/svs_store/default/template/downloadable/checkout/onepage/review/item.phtml +246 -0
  112. app/design/frontend/svs_store/default/template/downloadable/customer/products/list.phtml +74 -0
  113. app/design/frontend/svs_store/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml +138 -0
  114. app/design/frontend/svs_store/default/template/downloadable/email/order/items/invoice/downloadable.phtml +146 -0
  115. app/design/frontend/svs_store/default/template/downloadable/email/order/items/order/downloadable.phtml +148 -0
  116. app/design/frontend/svs_store/default/template/downloadable/sales/order/items/renderer/downloadable.phtml +360 -0
  117. app/design/frontend/svs_store/default/template/email/catalog/product/list.phtml +193 -0
  118. app/design/frontend/svs_store/default/template/email/catalog/product/new.phtml +51 -0
  119. app/design/frontend/svs_store/default/template/email/order/creditmemo/items.phtml +59 -0
  120. app/design/frontend/svs_store/default/template/email/order/invoice/items.phtml +58 -0
  121. app/design/frontend/svs_store/default/template/email/order/items.phtml +89 -0
  122. app/design/frontend/svs_store/default/template/email/order/items/creditmemo/default.phtml +126 -0
  123. app/design/frontend/svs_store/default/template/email/order/items/invoice/default.phtml +126 -0
  124. app/design/frontend/svs_store/default/template/email/order/items/order/default.phtml +138 -0
  125. app/design/frontend/svs_store/default/template/email/order/items/shipment/default.phtml +49 -0
  126. app/design/frontend/svs_store/default/template/email/order/shipment/items.phtml +56 -0
  127. app/design/frontend/svs_store/default/template/email/order/shipment/track.phtml +46 -0
  128. app/design/frontend/svs_store/default/template/email/order/totals/wrapper.phtml +35 -0
  129. app/design/frontend/svs_store/default/template/email/productalert/price.phtml +55 -0
  130. app/design/frontend/svs_store/default/template/email/productalert/stock.phtml +55 -0
  131. app/design/frontend/svs_store/default/template/newsletter/subscribe.phtml +50 -0
  132. app/design/frontend/svs_store/default/template/oauth/authorize/form/login-simple.phtml +75 -0
  133. app/design/frontend/svs_store/default/template/page/1column.phtml +68 -0
  134. app/design/frontend/svs_store/default/template/page/2columns-left.phtml +72 -0
  135. app/design/frontend/svs_store/default/template/page/2columns-right.phtml +68 -0
  136. app/design/frontend/svs_store/default/template/page/3columns.phtml +75 -0
  137. app/design/frontend/svs_store/default/template/page/empty.phtml +53 -0
  138. app/design/frontend/svs_store/default/template/page/html/footer.phtml +51 -0
  139. app/design/frontend/svs_store/default/template/page/html/header.phtml +121 -0
  140. app/design/frontend/svs_store/default/template/page/html/pager.phtml +130 -0
  141. app/design/frontend/svs_store/default/template/page/html/topmenu.phtml +42 -0
  142. app/design/frontend/svs_store/default/template/page/html/topmenu/renderer.phtml +77 -0
  143. app/design/frontend/svs_store/default/template/page/popup.phtml +52 -0
  144. app/design/frontend/svs_store/default/template/page/print.phtml +59 -0
  145. app/design/frontend/svs_store/default/template/page/template/links.phtml +48 -0
  146. app/design/frontend/svs_store/default/template/payment/form/cc.phtml +139 -0
  147. app/design/frontend/svs_store/default/template/payment/form/ccsave.phtml +136 -0
  148. app/design/frontend/svs_store/default/template/payment/info/default.phtml +43 -0
  149. app/design/frontend/svs_store/default/template/paypal/bml.phtml +49 -0
  150. app/design/frontend/svs_store/default/template/paypal/express/minicart/shortcut.phtml +73 -0
  151. app/design/frontend/svs_store/default/template/paypal/express/product/shortcut.phtml +69 -0
  152. app/design/frontend/svs_store/default/template/paypal/express/review.phtml +177 -0
  153. app/design/frontend/svs_store/default/template/paypal/express/review/address.phtml +191 -0
  154. app/design/frontend/svs_store/default/template/paypal/express/review/details.phtml +64 -0
  155. app/design/frontend/svs_store/default/template/paypal/express/review/shipping/method.phtml +53 -0
  156. app/design/frontend/svs_store/default/template/paypal/partner/us_logo.phtml +41 -0
  157. app/design/frontend/svs_store/default/template/persistent/checkout/onepage/billing.phtml +228 -0
  158. app/design/frontend/svs_store/default/template/persistent/checkout/onepage/login.phtml +157 -0
  159. app/design/frontend/svs_store/default/template/persistent/customer/form/login.phtml +104 -0
  160. app/design/frontend/svs_store/default/template/persistent/customer/form/register.phtml +188 -0
  161. app/design/frontend/svs_store/default/template/persistent/remember_me.phtml +41 -0
  162. app/design/frontend/svs_store/default/template/persistent/remember_me_tooltip.phtml +62 -0
  163. app/design/frontend/svs_store/default/template/rating/detailed.phtml +48 -0
  164. app/design/frontend/svs_store/default/template/reports/product_viewed.phtml +53 -0
  165. app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_default_list.phtml +57 -0
  166. app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_images_list.phtml +47 -0
  167. app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_names_list.phtml +46 -0
  168. app/design/frontend/svs_store/default/template/reports/widget/compared/content/compared_grid.phtml +67 -0
  169. app/design/frontend/svs_store/default/template/reports/widget/{compared/content/compared_list.phtml → comp} +0 -0
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/layout/catalog_msrp.xml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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_product_view>
34
+ <update handle="MAP_price_msrp_item" />
35
+ </catalog_product_view>
36
+ <wishlist_index_index>
37
+ <update handle="MAP_price_msrp_wishlist_item" />
38
+ </wishlist_index_index>
39
+ <wishlist_shared_index>
40
+ <update handle="MAP_price_msrp_wishlist_item" />
41
+ </wishlist_shared_index>
42
+ <review_product_list>
43
+ <update handle="MAP_price_msrp_item" />
44
+ </review_product_list>
45
+
46
+ <default>
47
+ <reference name="head">
48
+ <action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp.js</name></action>
49
+ <action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp_rwd.js</name></action>
50
+ </reference>
51
+ <reference name="content">
52
+ <block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
53
+ </reference>
54
+ </default>
55
+ <MAP_price_msrp_item>
56
+ <reference name="catalog_product_price_template">
57
+ <action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
58
+ </reference>
59
+ <reference name="product.clone_prices">
60
+ <action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
61
+ </reference>
62
+ </MAP_price_msrp_item>
63
+ <MAP_price_msrp_wishlist_item>
64
+ <reference name="catalog_product_price_template">
65
+ <action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_item.phtml</template></action>
66
+ </reference>
67
+ </MAP_price_msrp_wishlist_item>
68
+ <default>
69
+ <reference name="catalog_product_price_template">
70
+ <action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp.phtml</template></action>
71
+ <action method="addPriceBlockType"><type>msrp_item</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
72
+ <action method="addPriceBlockType"><type>msrp_noform</type><block>catalog/product_price</block><template>catalog/product/price_msrp_noform.phtml</template></action>
73
+ </reference>
74
+ </default>
75
+ </layout>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/layout/configurableswatches.xml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ <product_list>
31
+ <reference name="head">
32
+ <action method="addItem"><type>skin_js</type><name>js/configurableswatches/product-media.js</name></action>
33
+ <action method="addItem"><type>skin_js</type><name>js/configurableswatches/swatches-list.js</name></action>
34
+ </reference>
35
+ <reference name="product_list.name.after">
36
+ <block type="core/template" name="product_list.swatches" template="configurableswatches/catalog/product/list/swatches.phtml" />
37
+ </reference>
38
+ <reference name="product_list.after">
39
+ <block type="configurableswatches/catalog_media_js_list" name="configurableswatches.media.js.list" />
40
+ </reference>
41
+ </product_list>
42
+
43
+ <catalog_category_default>
44
+ <update handle="product_list"/>
45
+ </catalog_category_default>
46
+
47
+ <catalog_category_layered>
48
+ <update handle="product_list"/>
49
+ </catalog_category_layered>
50
+
51
+ <catalogsearch_result_index>
52
+ <update handle="product_list"/>
53
+ </catalogsearch_result_index>
54
+
55
+ <catalogsearch_advanced_result>
56
+ <update handle="product_list"/>
57
+ </catalogsearch_advanced_result>
58
+
59
+ <PRODUCT_TYPE_configurable>
60
+ <reference name="head">
61
+ <action method="addItem"><type>skin_js</type><name>js/configurableswatches/product-media.js</name></action>
62
+ <action method="addItem"><type>skin_js</type><name>js/configurableswatches/swatches-product.js</name></action>
63
+ </reference>
64
+ <reference name="product.info.media">
65
+ <action method="setGalleryFilterHelper"><helper>configurableswatches/productimg</helper></action>
66
+ <action method="setGalleryFilterMethod"><method>filterImageInGallery</method></action>
67
+ </reference>
68
+ <reference name="product.info.media.after">
69
+ <block type="configurableswatches/catalog_media_js_product" name="configurableswatches.media.js.product" />
70
+ </reference>
71
+ <reference name="product.info.options.configurable.renderers">
72
+ <block type="configurableswatches/catalog_product_view_type_configurable_swatches" template="configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml" />
73
+ </reference>
74
+ <reference name="product.info.options.configurable.after">
75
+ <block type="core/template" template="configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml" />
76
+ </reference>
77
+ </PRODUCT_TYPE_configurable>
78
+
79
+ </layout>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/layout/local.xml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout>
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem">
6
+ <type>skin_css</type>
7
+ <name>css/bootstrap.min.css</name>
8
+ </action>
9
+ </reference>
10
+ <reference name="head">
11
+ <action method="addItem">
12
+ <type>skin_js</type>
13
+ <name>js/bootstrap.min.js</name>
14
+ </action>
15
+ </reference>
16
+ </default>
17
+ </layout>
app/design/frontend/svs_store/default/layout/newsletter.xml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ </reference>
40
+ </default>
41
+
42
+ <!--
43
+ Customer account pages, rendered for all tabs in dashboard
44
+ -->
45
+
46
+ <customer_account>
47
+ <!-- Mage_Newsletter -->
48
+ <reference name="customer_account_navigation">
49
+ <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
50
+ </reference>
51
+ <remove name="left.newsletter"/>
52
+ </customer_account>
53
+
54
+ <newsletter_manage_index translate="label">
55
+ <label>Customer My Account Newsletter Subscriptions</label>
56
+ <update handle="customer_account"/>
57
+ <reference name="my.account.wrapper">
58
+ <block type="customer/newsletter" name="customer_newsletter">
59
+ <block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
60
+ <label>Newsletter Subscription Form Before</label>
61
+ </block>
62
+ </block>
63
+ </reference>
64
+ </newsletter_manage_index>
65
+
66
+ </layout>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/layout/page.xml ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/jquery/jquery-1.10.2.min.js</script></action>
40
+ <action method="addJs"><script>lib/jquery/noconflict.js</script></action>
41
+ <action method="addJs"><script>lib/ccard.js</script></action>
42
+ <action method="addJs"><script>prototype/validation.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
45
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
46
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
47
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
48
+ <action method="addJs"><script>varien/js.js</script></action>
49
+ <action method="addJs"><script>varien/form.js</script></action>
50
+ <action method="addJs"><script>mage/translate.js</script></action>
51
+ <action method="addJs"><script>mage/cookies.js</script></action>
52
+
53
+ <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
54
+
55
+ <!-- Remove items which the RWD package is not dependent upon -->
56
+ <action method="removeItem"><type>skin_js</type><name>js/ie6.js</name></action>
57
+
58
+ <!-- Add vendor dependencies -->
59
+ <action method="addItem"><type>skin_js</type><name>js/lib/modernizr.custom.min.js</name></action>
60
+ <action method="addItem"><type>skin_js</type><name>js/lib/selectivizr.js</name></action>
61
+ <action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.js</name></action>
62
+ <action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.addListener.js</name></action>
63
+ <action method="addItem"><type>skin_js</type><name>js/lib/enquire.js</name></action>
64
+ <action method="addItem"><type>skin_js</type><name>js/app.js</name></action>
65
+ <action method="addItem"><type>skin_js</type><name>js/lib/jquery.cycle2.min.js</name></action>
66
+ <action method="addItem"><type>skin_js</type><name>js/lib/jquery.cycle2.swipe.min.js</name></action>
67
+ <action method="addItem"><type>skin_js</type><name>js/slideshow.js</name></action>
68
+ <action method="addItem"><type>skin_js</type><name>js/lib/imagesloaded.js</name></action>
69
+ <action method="addLinkRel"><rel>stylesheet</rel><href>//fonts.googleapis.com/css?family=Raleway:300,400,500,700,600</href></action>
70
+ <action method="addItem"><type>skin_js</type><name>js/minicart.js</name></action>
71
+
72
+ <!-- Add stylesheets with no media queries for use in IE 8 and below -->
73
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie8.css</name><params/><if><![CDATA[ (lte IE 8) & (!IEMobile)]]></if></action>
74
+ <action method="addItem"><type>skin_css</type><name>css/madisonisland-ie8.css</name><params/><if><![CDATA[ (lte IE 8) & (!IEMobile)]]></if></action>
75
+
76
+ <!-- Add stylesheets with media queries for use by modern browsers -->
77
+ <action method="addItem"><type>skin_css</type><name>css/styles.css</name><params/><if><![CDATA[<!--[if (gte IE 9) | (IEMobile)]><!-->]]></if></action>
78
+ <action method="addItem"><type>skin_css</type><name>css/madisonisland.css</name><params/><if><![CDATA[<!--[if (gte IE 9) | (IEMobile)]><!-->]]></if></action>
79
+
80
+ <!-- Sets viewport meta tag using text block -->
81
+ <block type="core/text" name="head.viewport">
82
+ <action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]>&#10;</text></action>
83
+ </block>
84
+ </block>
85
+
86
+ <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
87
+ <label>Page Top</label>
88
+ </block>
89
+ <block type="directory/currency" name="custom_currency_selector" template="currency/currency.phtml"/>
90
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
91
+
92
+ <block type="page/html_header" name="header" as="header">
93
+ <block type="page/template_links" name="top.links" as="topLinks"/>
94
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
95
+ <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
96
+ <label>Navigation Bar</label>
97
+ <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml">
98
+ <block type="page/html_topmenu_renderer" name="catalog.topnav.renderer" template="page/html/topmenu/renderer.phtml"/>
99
+ </block>
100
+ </block>
101
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
102
+ <label>Page Header</label>
103
+ <action method="setElementClass"><value>top-container</value></action>
104
+ </block>
105
+ <block type="page/html_welcome" name="welcome" as="welcome"/>
106
+ </block>
107
+
108
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
109
+
110
+ <block type="core/text_list" name="left_first" as="left_first" translate="label">
111
+ <label>Left Column First (shows above main column on smaller screens)</label>
112
+ </block>
113
+
114
+ <block type="core/text_list" name="left" as="left" translate="label">
115
+ <label>Left Column</label>
116
+ </block>
117
+
118
+ <block type="core/messages" name="global_messages" as="global_messages"/>
119
+ <block type="core/messages" name="messages" as="messages"/>
120
+
121
+ <block type="core/text_list" name="content" as="content" translate="label">
122
+ <label>Main Content Area</label>
123
+ </block>
124
+
125
+ <block type="core/text_list" name="right" as="right" translate="label">
126
+ <label>Right Column</label>
127
+ </block>
128
+
129
+ <block type="page/html_wrapper" name="footer.before" as="footer_before" translate="label">
130
+ <label>Page Footer</label>
131
+ <action method="setElementClass"><value>footer-before-container</value></action>
132
+ </block>
133
+
134
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
135
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
136
+ <label>Page Footer</label>
137
+ <action method="setElementClass"><value>bottom-container</value></action>
138
+ </block>
139
+ <block type="page/switch" name="store_switcher" as="store_switcher" after="*" template="page/switch/stores.phtml"/>
140
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml">
141
+ <action method="setTitle"><title>Quick Links</title></action>
142
+ </block>
143
+ <block type="page/template_links" name="footer_links2" as="footer_links2" template="page/template/links.phtml">
144
+ <action method="setTitle"><title>Account</title></action>
145
+ </block>
146
+ <!-- This static block can be created and populated in admin. The footer_links cms block can be used as a starting point. -->
147
+ <!--<block type="cms/block" name="footer_social_links">
148
+ <action method="setBlockId"><block_id>footer_social_links</block_id></action>
149
+ </block>-->
150
+ </block>
151
+
152
+ <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
153
+ <label>Page Bottom</label>
154
+ <block type="page/html_cookieNotice" name="global_cookie_notice" as ="global_cookie_notice" template="page/html/cookienotice.phtml" before="-" />
155
+ </block>
156
+ </block>
157
+
158
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
159
+ </default>
160
+
161
+ <print translate="label" module="page">
162
+ <label>All Pages (Print Version)</label>
163
+ <!-- Mage_Page -->
164
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
165
+
166
+ <!-- This block allows the print.phtml template to get the logo -->
167
+ <block type="page/html_header" name="header" as="header"/>
168
+
169
+ <block type="page/html_head" name="head" as="head">
170
+ <action method="addJs"><script>prototype/prototype.js</script></action>
171
+ <action method="addJs"><script>mage/translate.js</script></action>
172
+ <action method="addJs"><script>lib/ccard.js</script></action>
173
+ <action method="addJs"><script>prototype/validation.js</script></action>
174
+ <action method="addJs"><script>varien/js.js</script></action>
175
+
176
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
177
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
178
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
179
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
180
+
181
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
182
+ <!--<action method="addItem"><type>skin_js</type><name>js/iehover-fix.js</name><params/><if>lt IE 7</if></action>-->
183
+ </block>
184
+
185
+ <block type="core/text_list" name="content" as="content" translate="label">
186
+ <label>Main Content Area</label>
187
+ </block>
188
+
189
+ </block>
190
+ </print>
191
+
192
+ <!-- Custom page layout handles -->
193
+ <page_empty translate="label">
194
+ <label>All Empty Layout Pages</label>
195
+ <reference name="root">
196
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
197
+ <!-- Mark root page block that template is applied -->
198
+ <action method="setIsHandle"><applied>1</applied></action>
199
+ <action method="setLayoutCode"><name>empty</name></action>
200
+ </reference>
201
+ </page_empty>
202
+
203
+ <page_one_column translate="label">
204
+ <label>All One-Column Layout Pages</label>
205
+ <reference name="root">
206
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
207
+ <!-- Mark root page block that template is applied -->
208
+ <action method="setIsHandle"><applied>1</applied></action>
209
+ <action method="setLayoutCode"><name>one_column</name></action>
210
+ </reference>
211
+ </page_one_column>
212
+
213
+ <page_two_columns_left translate="label">
214
+ <label>All Two-Column Layout Pages (Left Column)</label>
215
+ <reference name="root">
216
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
217
+ <!-- Mark root page block that template is applied -->
218
+ <action method="setIsHandle"><applied>1</applied></action>
219
+ <action method="setLayoutCode"><name>two_columns_left</name></action>
220
+ </reference>
221
+ </page_two_columns_left>
222
+
223
+ <page_two_columns_right translate="label">
224
+ <label>All Two-Column Layout Pages (Right Column)</label>
225
+ <reference name="root">
226
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
227
+ <!-- Mark root page block that template is applied -->
228
+ <action method="setIsHandle"><applied>1</applied></action>
229
+ <action method="setLayoutCode"><name>two_columns_right</name></action>
230
+ </reference>
231
+ </page_two_columns_right>
232
+
233
+ <page_three_columns translate="label">
234
+ <label>All Three-Column Layout Pages</label>
235
+ <reference name="root">
236
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
237
+ <!-- Mark root page block that template is applied -->
238
+ <action method="setIsHandle"><applied>1</applied></action>
239
+ <action method="setLayoutCode"><name>three_columns</name></action>
240
+ </reference>
241
+ </page_three_columns>
242
+ </layout>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/layout/sales.xml ADDED
@@ -0,0 +1,532 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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="core/template" name="order_totals_wrapper" as="order_totals" template="email/order/totals/wrapper.phtml">
277
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
278
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
279
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
280
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
281
+ <action method="setIsPlaneMode"><value>1</value></action>
282
+ </block>
283
+ </block>
284
+ </block>
285
+ </block>
286
+ <block type="core/text_list" name="additional.product.info" />
287
+ </sales_email_order_items>
288
+
289
+ <sales_email_order_invoice_items>
290
+ <block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
291
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
292
+ <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
293
+ <block type="core/template" name="invoice_totals_wrapper" as="invoice_totals" template="email/order/totals/wrapper.phtml">
294
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
295
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
296
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
297
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
298
+ <action method="setIsPlaneMode"><value>1</value></action>
299
+ </block>
300
+ </block>
301
+ </block>
302
+ </block>
303
+ <block type="core/text_list" name="additional.product.info" />
304
+ </sales_email_order_invoice_items>
305
+
306
+ <sales_email_order_shipment_items>
307
+ <block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
308
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
309
+ </block>
310
+ <block type="core/text_list" name="additional.product.info" />
311
+ </sales_email_order_shipment_items>
312
+
313
+ <sales_email_order_creditmemo_items>
314
+ <block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
315
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
316
+ <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
317
+ <block type="core/template" name="creditmemo_totals_wrapper" as="creditmemo_totals" template="email/order/totals/wrapper.phtml">
318
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
319
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
320
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
321
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
322
+ <action method="setIsPlaneMode"><value>1</value></action>
323
+ </block>
324
+ </block>
325
+ </block>
326
+ </block>
327
+ <block type="core/text_list" name="additional.product.info" />
328
+ </sales_email_order_creditmemo_items>
329
+
330
+ <!--
331
+ Guest
332
+ -->
333
+
334
+ <sales_guest_form translate="label">
335
+ <label>Returns</label>
336
+ <reference name="root">
337
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
338
+ </reference>
339
+ <reference name="content">
340
+ <block type="sales/widget_guest_form" name="guest.form" template="sales/guest/form.phtml"/>
341
+ </reference>
342
+ </sales_guest_form>
343
+
344
+
345
+ <sales_guest_view translate="label">
346
+ <label>Customer My Account Order View</label>
347
+ <reference name="root">
348
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
349
+ </reference>
350
+ <reference name="content">
351
+ <block type="sales/order_info" as="info" name="sales.order.info">
352
+ <block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
353
+ </block>
354
+ <block type="sales/order_view" name="sales.order.view">
355
+ <block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
356
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
357
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
358
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
359
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
360
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
361
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
362
+ </block>
363
+ </block>
364
+ </block>
365
+ </reference>
366
+ <reference name="sales.order.info">
367
+ <action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
368
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
369
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
370
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
371
+ </reference>
372
+ </sales_guest_view>
373
+
374
+ <sales_guest_invoice translate="label">
375
+ <label>Customer My Account Order Invoice View</label>
376
+ <reference name="root">
377
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
378
+ </reference>
379
+ <reference name="content">
380
+ <block type="sales/order_info" as="info" name="sales.order.info">
381
+ <block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
382
+ </block>
383
+ <block type="sales/order_invoice" name="sales.order.invoice">
384
+ <block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
385
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
386
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
387
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
388
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
389
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
390
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
391
+ </block>
392
+ <block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
393
+ </block>
394
+ </block>
395
+ </reference>
396
+ <reference name="sales.order.info">
397
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
398
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
399
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
400
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
401
+ </reference>
402
+ </sales_guest_invoice>
403
+
404
+ <sales_guest_shipment translate="label">
405
+ <label>Customer My Account Order Shipment View</label>
406
+ <reference name="root">
407
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
408
+ </reference>
409
+ <reference name="content">
410
+ <block type="sales/order_info" as="info" name="sales.order.info">
411
+ <block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
412
+ </block>
413
+ <block type="sales/order_shipment" name="sales.order.shipment">
414
+ <block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
415
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
416
+ <block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
417
+ </block>
418
+ </block>
419
+ </reference>
420
+ <reference name="sales.order.info">
421
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
422
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
423
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
424
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
425
+ </reference>
426
+ </sales_guest_shipment>
427
+
428
+ <sales_guest_creditmemo translate="label">
429
+ <label>Customer My Account Order Creditmemo View</label>
430
+ <reference name="root">
431
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
432
+ </reference>
433
+ <reference name="content">
434
+ <block type="sales/order_info" as="info" name="sales.order.info">
435
+ <block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
436
+ </block>
437
+ <block type="sales/order_creditmemo" name="sales.order.creditmemo">
438
+ <block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
439
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
440
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
441
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
442
+ <action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
443
+ <action method="setValueProperties"><value>class="a-right"</value></action>
444
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
445
+ </block>
446
+ <block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
447
+ </block>
448
+ </block>
449
+ </reference>
450
+ <reference name="sales.order.info">
451
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
452
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
453
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
454
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
455
+ </reference>
456
+ </sales_guest_creditmemo>
457
+
458
+ <sales_guest_reorder>
459
+ <reference name="root">
460
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
461
+ </reference>
462
+ <reference name="content">
463
+ <block type="sales/order_view" name="sales.order.view"/>
464
+ </reference>
465
+ </sales_guest_reorder>
466
+
467
+ <sales_guest_print translate="label">
468
+ <label>Sales Order Print View</label>
469
+ <reference name="content">
470
+ <block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
471
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
472
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
473
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
474
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
475
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
476
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
477
+ <action method="setIsPlaneMode"><value>1</value></action>
478
+ </block>
479
+ </block>
480
+ </block>
481
+ </reference>
482
+ </sales_guest_print>
483
+
484
+ <sales_guest_printinvoice translate="label">
485
+ <label>Sales Invoice Print View</label>
486
+ <reference name="content">
487
+ <block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
488
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
489
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
490
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
491
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
492
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
493
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
494
+ <action method="setIsPlaneMode"><value>1</value></action>
495
+ </block>
496
+ </block>
497
+ </block>
498
+ </reference>
499
+ </sales_guest_printinvoice>
500
+
501
+ <sales_guest_printshipment translate="label">
502
+ <label>Sales Shipment Print View</label>
503
+ <reference name="content">
504
+ <block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
505
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
506
+ </block>
507
+ </reference>
508
+ </sales_guest_printshipment>
509
+
510
+ <sales_guest_printcreditmemo>
511
+ <reference name="content">
512
+ <block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
513
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
514
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
515
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
516
+ <action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
517
+ <action method="setValueProperties"><value>class="a-right"</value></action>
518
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
519
+ <action method="setIsPlaneMode"><value>1</value></action>
520
+ </block>
521
+ </block>
522
+ </block>
523
+ </reference>
524
+ </sales_guest_printcreditmemo>
525
+
526
+ <default>
527
+ <reference name="footer_links2">
528
+ <block type="sales/guest_links" name="return_link"/>
529
+ <action method="addLinkBlock"><blockName>return_link</blockName></action>
530
+ </reference>
531
+ </default>
532
+ </layout>
app/design/frontend/svs_store/default/layout/wishlist.xml ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
21
+ *
22
+ * @category design
23
+ * @package rwd_default
24
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+
42
+ <!-- Mage_Wishlist -->
43
+ <reference name="right">
44
+ <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
45
+ </reference>
46
+ </default>
47
+
48
+ <!--
49
+ Customer account pages, rendered for all tabs in dashboard
50
+ -->
51
+
52
+ <customer_account>
53
+ <!-- Mage_Wishlist -->
54
+ <reference name="customer_account_navigation">
55
+ <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
56
+ </reference>
57
+ </customer_account>
58
+
59
+ <!--
60
+ Customer account home dashboard layout
61
+ -->
62
+
63
+ <customer_account_index>
64
+ <reference name="right">
65
+ <action method="unsetChild"><name>wishlist</name></action>
66
+ </reference>
67
+ </customer_account_index>
68
+
69
+ <!--
70
+ Wishlist pages
71
+ -->
72
+
73
+ <wishlist_index_index translate="label">
74
+ <label>Customer My Account My Wishlist</label>
75
+ <!-- Mage_Wishlist -->
76
+ <update handle="customer_account" />
77
+ <reference name="my.account.wrapper">
78
+ <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
79
+ <action method="setTitle" translate="title">
80
+ <title>My Wishlist</title>
81
+ </action>
82
+ <block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
83
+ <block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
84
+ <block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
85
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
86
+ </block>
87
+ <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.quantity" template="wishlist/item/column/quantity.phtml">
88
+ <action method="setTitle" translate="title">
89
+ <title>Qty</title>
90
+ </action>
91
+ <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
92
+ </block>
93
+ <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.price" template="wishlist/item/column/price.phtml">
94
+ <action method="setTitle" translate="title">
95
+ <title>Price</title>
96
+ </action>
97
+ <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
98
+ </block>
99
+ <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
100
+ <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
101
+ </block>
102
+ <block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
103
+ </block>
104
+ <block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
105
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
106
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
107
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
108
+ </block>
109
+ </block>
110
+ </reference>
111
+ <reference name="right">
112
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
113
+ </reference>
114
+ </wishlist_index_index>
115
+
116
+ <wishlist_index_share translate="label">
117
+ <label>Customer My Account Wishlist Sharing Form</label>
118
+ <!-- Mage_Wishlist -->
119
+ <update handle="customer_account" />
120
+ <reference name="my.account.wrapper">
121
+ <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
122
+ </reference>
123
+ <reference name="right">
124
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
125
+ </reference>
126
+ </wishlist_index_share>
127
+
128
+ <wishlist_index_configure translate="label">
129
+ <label>Configure Wishlist Item</label>
130
+ <update handle="catalog_product_view" />
131
+ <reference name="product.info">
132
+ <block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
133
+ </reference>
134
+ <reference name="product.info.options.wrapper.bottom">
135
+ <action method="unsetChild"><name>product.info.addto</name></action>
136
+ <action method="append"><block>product.info.addto</block></action>
137
+ </reference>
138
+ </wishlist_index_configure>
139
+
140
+ <wishlist_shared_index translate="label">
141
+ <label>Customer Shared Wishlist View</label>
142
+ <!-- Mage_Wishlist -->
143
+ <reference name="content">
144
+ <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
145
+ </reference>
146
+ </wishlist_shared_index>
147
+ </layout>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/bundle/email/order/items/creditmemo/default.phtml ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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 $_order = $this->getItem()->getOrder(); ?>
29
+
30
+ <?php $items = $this->getChilds($parentItem) ?>
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->getOrderItem()->getParentItem()): ?>
43
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
44
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
45
+ <tr>
46
+ <td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
47
+ <td class="bundle-item">&nbsp;</td>
48
+ <td class="bundle-item">&nbsp;</td>
49
+ </tr>
50
+ <?php $_prevOptionId = $attributes['option_id'] ?>
51
+ <?php endif; ?>
52
+ <?php endif; ?>
53
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
54
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
55
+ <td class="bundle-item-parent product-info">
56
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
57
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
58
+ </td>
59
+ <td class="bundle-item-parent align-center">
60
+ <?php if ($this->canShowPriceInfo($_item)): ?>
61
+ <?php echo $_item->getQty()*1 ?>
62
+ <?php else: ?>
63
+ &nbsp;
64
+ <?php endif; ?>
65
+ </td>
66
+ <td class="bundle-item-parent align-right">
67
+ <?php else: ?>
68
+ <td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
69
+ <td class="bundle-item bundle-details align-center">
70
+ <?php if ($this->canShowPriceInfo($_item)): ?>
71
+ <?php echo $_item->getQty()*1 ?>
72
+ <?php else: ?>
73
+ &nbsp;
74
+ <?php endif; ?>
75
+ </td>
76
+ <td class="bundle-item align-right">
77
+ <?php endif; ?>
78
+ <?php if ($this->canShowPriceInfo($_item)): ?>
79
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
80
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
81
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
82
+ <?php endif; ?>
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
84
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
85
+ <?php else: ?>
86
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
87
+ <?php endif; ?>
88
+
89
+
90
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
91
+ <br />
92
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
93
+ <small>
94
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
95
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
96
+ <?php endforeach; ?>
97
+ </small>
98
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
99
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
100
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
101
+ <?php endforeach; ?>
102
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
103
+ <small>
104
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
105
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
106
+ <?php endforeach; ?>
107
+ </small>
108
+ <?php endif; ?>
109
+
110
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
111
+ <br />
112
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
113
+ <?php endif; ?>
114
+ <?php endif; ?>
115
+ <?php endif; ?>
116
+
117
+
118
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
119
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
120
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
121
+ <?php endif; ?>
122
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
123
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
124
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
125
+ <?php else: ?>
126
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
127
+ <?php endif; ?>
128
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
129
+ <br />
130
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
131
+ <small>
132
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
133
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
134
+ <?php endforeach; ?>
135
+ </small>
136
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
137
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
138
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
139
+ <?php endforeach; ?>
140
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
141
+ <small>
142
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
143
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
144
+ <?php endforeach; ?>
145
+ </small>
146
+ <?php endif; ?>
147
+
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
149
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
150
+ <?php endif; ?>
151
+ <?php endif; ?>
152
+ <?php endif; ?>
153
+ <?php else: ?>
154
+ &nbsp;
155
+ <?php endif; ?>
156
+ </td>
157
+ </tr>
158
+ <?php endforeach; ?>
159
+
160
+ <?php if ($_showlastRow): ?>
161
+ <tr>
162
+ <td align="left" valign="top" style="padding:3px 9px">
163
+ <?php if ($this->getItemOptions()): ?>
164
+ <dl style="margin:0; padding:0;">
165
+ <?php foreach ($this->getItemOptions() as $option): ?>
166
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
167
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
168
+ <?php endforeach; ?>
169
+ </dl>
170
+ <?php endif; ?>
171
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
172
+ </td>
173
+ <td>&nbsp;</td>
174
+ <td>&nbsp;</td>
175
+ <td>&nbsp;</td>
176
+ </tr>
177
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/bundle/email/order/items/invoice/default.phtml ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $parentItem = $this->getItem() ?>
29
+ <?php $items = $this->getChilds($parentItem) ?>
30
+ <?php $_index = 0 ?>
31
+ <?php $_order = $this->getItem()->getOrder(); ?>
32
+
33
+ <?php $_prevOptionId = '' ?>
34
+
35
+ <?php foreach ($items as $_item): ?>
36
+
37
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
38
+ <?php $_showlastRow = true ?>
39
+ <?php else: ?>
40
+ <?php $_showlastRow = false ?>
41
+ <?php endif; ?>
42
+
43
+ <?php if ($_item->getOrderItem()->getParentItem()): ?>
44
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
45
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
46
+ <tr>
47
+ <td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
48
+ <td class="bundle-item">&nbsp;</td>
49
+ <td class="bundle-item">&nbsp;</td>
50
+ </tr>
51
+ <?php $_prevOptionId = $attributes['option_id'] ?>
52
+ <?php endif; ?>
53
+ <?php endif; ?>
54
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
55
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
56
+ <td class="bundle-item-parent product-info">
57
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
58
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
59
+ </td>
60
+ <td class="bundle-item-parent align-center">
61
+ <?php if ($this->canShowPriceInfo($_item)): ?>
62
+ <?php echo $_item->getQty()*1 ?>
63
+ <?php else: ?>
64
+ &nbsp;
65
+ <?php endif; ?>
66
+ </td>
67
+ <td class="bundle-item-parent align-right">
68
+ <?php else: ?>
69
+ <td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
70
+ <td class="bundle-item align-center">
71
+ <?php if ($this->canShowPriceInfo($_item)): ?>
72
+ <?php echo $_item->getQty()*1 ?>
73
+ <?php else: ?>
74
+ &nbsp;
75
+ <?php endif; ?>
76
+ </td>
77
+ <td class="bundle-item align-right">
78
+ <?php endif; ?>
79
+ <?php if ($this->canShowPriceInfo($_item)): ?>
80
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
81
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
82
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
83
+ <?php endif; ?>
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
85
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
86
+ <?php else: ?>
87
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
88
+ <?php endif; ?>
89
+
90
+
91
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
92
+ <br />
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
94
+ <small>
95
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
96
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
97
+ <?php endforeach; ?>
98
+ </small>
99
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
100
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
101
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
102
+ <?php endforeach; ?>
103
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
104
+ <small>
105
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
106
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
107
+ <?php endforeach; ?>
108
+ </small>
109
+ <?php endif; ?>
110
+
111
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
112
+ <br />
113
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
114
+ <?php endif; ?>
115
+ <?php endif; ?>
116
+ <?php endif; ?>
117
+
118
+
119
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
120
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
121
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
122
+ <?php endif; ?>
123
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
124
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
125
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
126
+ <?php else: ?>
127
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
128
+ <?php endif; ?>
129
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
130
+ <br />
131
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
132
+ <small>
133
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
134
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
135
+ <?php endforeach; ?>
136
+ </small>
137
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
138
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
139
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
140
+ <?php endforeach; ?>
141
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
142
+ <small>
143
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
144
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
145
+ <?php endforeach; ?>
146
+ </small>
147
+ <?php endif; ?>
148
+
149
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
150
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_inc + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
151
+ <?php endif; ?>
152
+ <?php endif; ?>
153
+ <?php endif; ?>
154
+ <?php else: ?>
155
+ &nbsp;
156
+ <?php endif; ?>
157
+ </td>
158
+ </tr>
159
+ <?php endforeach; ?>
160
+
161
+ <?php if ($_showlastRow): ?>
162
+ <tr>
163
+ <td align="left" valign="top" style="padding:3px 9px">
164
+ <?php if ($this->getItemOptions()): ?>
165
+ <dl style="margin:0; padding:0;">
166
+ <?php foreach ($this->getItemOptions() as $option): ?>
167
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
168
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
169
+ <?php endforeach; ?>
170
+ </dl>
171
+ <?php endif; ?>
172
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
173
+ </td>
174
+ <td>&nbsp;</td>
175
+ <td>&nbsp;</td>
176
+ <td>&nbsp;</td>
177
+ </tr>
178
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/bundle/email/order/items/order/default.phtml ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order=$this->getOrder() ?>
29
+
30
+ <?php $parentItem = $this->getItem() ?>
31
+ <?php $items = array_merge(array($parentItem), $parentItem->getChildrenItems()); ?>
32
+
33
+ <?php if($this->getItemOptions() || $_item->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
34
+ <?php $_showlastRow = true ?>
35
+ <?php else: ?>
36
+ <?php $_showlastRow = false ?>
37
+ <?php endif; ?>
38
+
39
+ <?php $_prevOptionId = '' ?>
40
+
41
+ <?php foreach ($items as $_item): ?>
42
+
43
+ <?php if ($_item->getParentItem()): ?>
44
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
45
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
46
+ <tr>
47
+ <td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
48
+ <td class="bundle-item">&nbsp;</td>
49
+ <td class="bundle-item">&nbsp;</td>
50
+ </tr>
51
+ <?php $_prevOptionId = $attributes['option_id'] ?>
52
+ <?php endif; ?>
53
+ <?php endif; ?>
54
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
55
+ <?php if (!$_item->getParentItem()): ?>
56
+ <td class="bundle-item-parent product-info">
57
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
58
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
59
+ </td>
60
+ <td class="bundle-item-parent align-center">
61
+ <?php echo $_item->getQtyOrdered()*1 ?>
62
+ </td>
63
+ <td class="bundle-item-parent align-right">
64
+ <?php else: ?>
65
+ <td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
66
+ <td class="bundle-item bundle-details align-center">
67
+ &nbsp;
68
+ </td>
69
+ <td class="bundle-item align-right">
70
+ <?php endif; ?>
71
+ <?php if (!$_item->getParentItem()): ?>
72
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
73
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
74
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
75
+ <?php endif; ?>
76
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
77
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
78
+ <?php else: ?>
79
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
80
+ <?php endif; ?>
81
+
82
+
83
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
84
+ <br />
85
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
86
+ <small>
87
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
88
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
89
+ <?php endforeach; ?>
90
+ </small>
91
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
92
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
93
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
94
+ <?php endforeach; ?>
95
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php endif; ?>
102
+
103
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
104
+ <br />
105
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
106
+ <?php endif; ?>
107
+ <?php endif; ?>
108
+ <?php endif; ?>
109
+
110
+
111
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
112
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
113
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
114
+ <?php endif; ?>
115
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
116
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
117
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
118
+ <?php else: ?>
119
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
120
+ <?php endif; ?>
121
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
122
+ <br />
123
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
124
+ <small>
125
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
126
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
127
+ <?php endforeach; ?>
128
+ </small>
129
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
130
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
131
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
132
+ <?php endforeach; ?>
133
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
134
+ <small>
135
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
136
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
137
+ <?php endforeach; ?>
138
+ </small>
139
+ <?php endif; ?>
140
+
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
142
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
143
+ <?php endif; ?>
144
+ <?php endif; ?>
145
+ <?php endif; ?>
146
+ <?php else: ?>
147
+ &nbsp;
148
+ <?php endif; ?>
149
+ </td>
150
+ </tr>
151
+ <?php endforeach; ?>
152
+
153
+ <?php if ($_showlastRow): ?>
154
+ <tr>
155
+ <td align="left" valign="top" style="padding:3px 9px">
156
+ <?php if ($this->getItemOptions()): ?>
157
+ <dl style="margin:0; padding:0;">
158
+ <?php foreach ($this->getItemOptions() as $option): ?>
159
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
160
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
161
+ <?php endforeach; ?>
162
+ </dl>
163
+ <?php endif; ?>
164
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
165
+ <br /><strong><?php echo $this->__('Gift Message') ?></strong>
166
+ <br /><?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
167
+ <br /><?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
168
+ <br /><?php echo $this->__('Message:'); ?><br /> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
169
+ <?php endif; ?>
170
+ </td>
171
+ <td>&nbsp;</td>
172
+ <td>&nbsp;</td>
173
+ <td>&nbsp;</td>
174
+ </tr>
175
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/bundle/email/order/items/shipment/default.phtml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+
29
+ <?php $items = array_merge(array($parentItem->getOrderItem()), $parentItem->getOrderItem()->getChildrenItems()) ?>
30
+ <?php $shipItems = $this->getChilds($parentItem) ?>
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>
46
+ <td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
47
+ <td class="bundle-item">&nbsp;</td>
48
+ <td class="bundle-item">&nbsp;</td>
49
+ </tr>
50
+ <?php $_prevOptionId = $attributes['option_id'] ?>
51
+ <?php endif; ?>
52
+ <?php endif; ?>
53
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
54
+ <?php if (!$_item->getParentItem()): ?>
55
+ <td class="bundle-item-parent product-info">
56
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
57
+ </td>
58
+ <td class="bundle-item-parent align-center">
59
+ <?php echo $this->escapeHtml($_item->getSku()) ?>
60
+ </td>
61
+ <td class="bundle-item-parent align-right">
62
+ <?php else: ?>
63
+ <td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
64
+ <td class="bundle-item bundle-details align-center">
65
+ <?php echo $this->escapeHtml($_item->getSku()) ?>
66
+ </td>
67
+ <td class="bundle-item align-right">
68
+ <?php endif; ?>
69
+ <?php if (($this->isShipmentSeparately() && $_item->getParentItem()) || (!$this->isShipmentSeparately() && !$_item->getParentItem())): ?>
70
+ <?php if (isset($shipItems[$_item->getId()])): ?>
71
+ <?php echo $shipItems[$_item->getId()]->getQty()*1 ?>
72
+ <?php elseif ($_item->getIsVirtual()): ?>
73
+ <?php echo $this->__('N/A') ?>
74
+ <?php else: ?>
75
+ 0
76
+ <?php endif; ?>
77
+ <?php else: ?>
78
+ &nbsp;
79
+ <?php endif; ?>
80
+ </td>
81
+ </tr>
82
+ <?php endforeach; ?>
83
+
84
+ <?php if ($_showlastRow): ?>
85
+ <tr>
86
+ <td align="left" valign="top" style="padding:3px 9px">
87
+ <?php if ($this->getItemOptions()): ?>
88
+ <dl style="margin:0; padding:0;">
89
+ <?php foreach ($this->getItemOptions() as $option): ?>
90
+ <dt><strong><em><?php echo $option['label'] ?></em></strong>
91
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
92
+ <?php endforeach; ?>
93
+ </dl>
94
+ <?php endif; ?>
95
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
96
+ </td>
97
+ <td>&nbsp;</td>
98
+ <td>&nbsp;</td>
99
+ </tr>
100
+ <?php endif; ?>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/captcha/zend.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /* @var $this Mage_Core_Block_Captcha_Zend */ ?>
28
+
29
+ <?php /* @var $captcha Mage_Core_Model_Captcha_Zend */ ?>
30
+ <?php $captcha = $this->getCaptchaModel() ?>
31
+ <li class="captcha-input-container" id="captcha-input-box-<?php echo $this->getFormId()?>">
32
+ <label for="captcha_<?php echo $this->getFormId() ?>" class="required"><em>*</em><?php echo $this->__('Please type the letters below')?></label>
33
+ <div class="input-box captcha">
34
+ <input name="<?php echo Mage_Captcha_Helper_Data::INPUT_NAME_FIELD_VALUE ?>[<?php echo $this->getFormId()?>]" type="text" class="input-text required-entry" id="captcha_<?php echo $this->getFormId() ?>" />
35
+ </div>
36
+ </li>
37
+ <li class="captcha-img-container">
38
+ <div class="captcha-image" id="captcha-image-box-<?php echo $this->getFormId()?>">
39
+ <img id="captcha-reload" class="captcha-reload" src="<?php echo $this->getSkinUrl('images/reload.png') ?>" alt="<?php echo $this->__('Reload captcha') ?>" onclick="$('<?php echo $this->getFormId()?>').captcha.refresh(this)">
40
+ <img id="<?php echo $this->getFormId() ?>" class="captcha-img" height="<?php echo $this->getImgHeight() ?>" src="<?php echo $captcha->getImgSrc() ?>"/>
41
+ <?php if ($captcha->isCaseSensitive()) :?>
42
+ <div class="captcha-note">
43
+ <?php echo $this->__('<strong>Attention</strong>: Captcha is case sensitive.') ?>
44
+ </div>
45
+ <?php endif; ?>
46
+ </div>
47
+ <script type="text/javascript">//<![CDATA[
48
+ $('<?php echo $this->getFormId() ?>').captcha = new Captcha('<?php echo $this->getRefreshUrl() ?>', '<?php echo $this->getFormId() ?>');
49
+ //]]></script>
50
+ </li>
51
+
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ <?php
73
+ // Provides extra blocks on which to hang some features for products in the list
74
+ // Features providing UI elements targeting this block will display directly below the product name
75
+ if ($this->getChild('name.after')) {
76
+ $_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
77
+ foreach ($_nameAfterChildren as $_nameAfterChildName) {
78
+ $_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
79
+ $_nameAfterChild->setProduct($_product);
80
+ echo $_nameAfterChild->toHtml();
81
+ }
82
+ }
83
+ ?>
84
+ </div>
85
+ <div class="product-secondary">
86
+ <?php echo $this->getPriceHtml($_product, true) ?>
87
+ </div>
88
+ <div class="product-secondary">
89
+ <?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
90
+ <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>
91
+ <?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
92
+ <p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
93
+ <?php else: ?>
94
+ <p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
95
+ <?php endif; ?>
96
+ <ul class="add-to-links">
97
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
98
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
99
+ <?php endif; ?>
100
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
101
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
102
+ <?php endif; ?>
103
+ </ul>
104
+ </div>
105
+ <div class="desc std">
106
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
107
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </li>
112
+ <?php endforeach; ?>
113
+ </ol>
114
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
115
+
116
+ <?php else: ?>
117
+
118
+ <?php // Grid Mode ?>
119
+
120
+ <?php $_collectionSize = $_productCollection->count() ?>
121
+ <?php $_columnCount = $this->getColumnCount(); ?>
122
+ <?php $routeName = Mage::app()->getRequest()->getRouteName();
123
+ $identifier = Mage::getSingleton('cms/page')->getIdentifier(); ?>
124
+ <?php if($routeName == 'cms' && $identifier == 'home') { ?>
125
+ <ul class="products-grid products-grid--max-4-col">
126
+ <?php } else { ?>
127
+ <ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
128
+ <?php } ?>
129
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
130
+ <?php /*if ($i++%$_columnCount==0): ?>
131
+ <?php endif*/ ?>
132
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
133
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
134
+ <?php $_imgSize = 210; ?>
135
+ <img id="product-collection-image-<?php echo $_product->getId(); ?>"
136
+ src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>"
137
+ alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
138
+ </a>
139
+ <div class="product-info">
140
+ <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>
141
+ <p><?php echo $_product->getAttributeText('brand') ?></p>
142
+ <?php
143
+ // Provides extra blocks on which to hang some features for products in the list
144
+ // Features providing UI elements targeting this block will display directly below the product name
145
+ if ($this->getChild('name.after')) {
146
+ $_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
147
+ foreach ($_nameAfterChildren as $_nameAfterChildName) {
148
+ $_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
149
+ $_nameAfterChild->setProduct($_product);
150
+ echo $_nameAfterChild->toHtml();
151
+ }
152
+ }
153
+ ?>
154
+ <?php echo $this->getPriceHtml($_product, true) ?>
155
+ <?php if($_product->getRatingSummary()): ?>
156
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
157
+ <?php endif; ?>
158
+ <div class="actions">
159
+ <?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
160
+ <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>
161
+ <?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
162
+ <a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
163
+ <?php else: ?>
164
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
165
+ <?php endif; ?>
166
+ <ul class="add-to-links">
167
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
168
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
169
+ <?php endif; ?>
170
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
171
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
172
+ <?php endif; ?>
173
+ </ul>
174
+ </div>
175
+ </div>
176
+ </li>
177
+ <?php /*if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
178
+ <?php endif*/ ?>
179
+ <?php endforeach ?>
180
+ </ul>
181
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
182
+ <?php endif; ?>
183
+
184
+ <div class="toolbar-bottom">
185
+ <?php echo $this->getToolbarHtml() ?>
186
+ </div>
187
+ </div>
188
+ <?php endif; ?>
189
+ <?php
190
+ // Provides a block where additional page components may be attached, primarily good for in-page JavaScript
191
+ if ($this->getChild('after')) {
192
+ $_afterChildren = $this->getChild('after')->getSortedChildren();
193
+ foreach ($_afterChildren as $_afterChildName) {
194
+ $_afterChild = $this->getChild('after')->getChild($_afterChildName);
195
+ //set product collection on after blocks
196
+ $_afterChild->setProductCollection($_productCollection);
197
+ echo $_afterChild->toHtml();
198
+ }
199
+ }
200
+ ?>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/catalog/product/list/toolbar.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ <?php foreach ($this->getModes() as $_code=>$_label): ?>
43
+ <?php if($this->isModeActive($_code)): ?>
44
+ <strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>
45
+ <?php else: ?>
46
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
47
+ <?php endif; ?>
48
+ <?php endforeach; ?>
49
+ <?php endif; ?>
50
+ </p>
51
+ <?php endif; ?>
52
+
53
+ <div class="sort-by">
54
+ <select onchange="setLocation(this.value)" title="<?php echo $this->__('Sort By') ?>">
55
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
56
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
57
+ <?php echo $this->__($_order) ?>
58
+ </option>
59
+ <?php endforeach; ?>
60
+ </select>
61
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
62
+ <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>
63
+ <?php else: ?>
64
+ <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>
65
+ <?php endif; ?>
66
+ </div>
67
+ </div>
68
+ <?php endif; ?>
69
+ </div>
70
+ <?php endif ?>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,465 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * Template for displaying product price in different places (products grid, product view page etc)
31
+ *
32
+ * @see Mage_Catalog_Block_Product_Abstract
33
+ */
34
+ ?>
35
+ <?php
36
+ $_coreHelper = $this->helper('core');
37
+ $_weeeHelper = $this->helper('weee');
38
+ $_taxHelper = $this->helper('tax');
39
+ /* @var $_coreHelper Mage_Core_Helper_Data */
40
+ /* @var $_weeeHelper Mage_Weee_Helper_Data */
41
+ /* @var $_taxHelper Mage_Tax_Helper_Data */
42
+
43
+ $_product = $this->getProduct();
44
+ $_storeId = $_product->getStoreId();
45
+ $_store = $_product->getStore();
46
+ $_id = $_product->getId();
47
+ $_weeeSeparator = '';
48
+ $_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
49
+ $_minimalPriceValue = $_product->getMinimalPrice();
50
+ $_minimalPriceValue = $_store->roundPrice($_store->convertPrice($_minimalPriceValue));
51
+ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
52
+ $_convertedFinalPrice = $_store->roundPrice($_store->convertPrice($_product->getFinalPrice()));
53
+ $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
54
+ ?>
55
+
56
+ <?php if (!$_product->isGrouped()): ?>
57
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
58
+ <?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
59
+ <?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
60
+ <?php if ($_weeeHelper->isTaxable()): ?>
61
+ <?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_weeeTaxAttributes); ?>
62
+ <?php endif; ?>
63
+ <?php $_weeeTaxAmount = $_store->roundPrice($_store->convertPrice($_weeeTaxAmount)); ?>
64
+ <?php $_weeeTaxAmountInclTaxes = $_store->roundPrice($_store->convertPrice($_weeeTaxAmountInclTaxes)); ?>
65
+
66
+ <div class="price-box">
67
+ <?php $_convertedPrice = $_store->roundPrice($_store->convertPrice($_product->getPrice())); ?>
68
+ <?php $_price = $_taxHelper->getPrice($_product, $_convertedPrice); ?>
69
+ <?php $_regularPrice = $_taxHelper->getPrice($_product, $_convertedPrice, $_simplePricesTax); ?>
70
+ <?php $_finalPrice = $_taxHelper->getPrice($_product, $_convertedFinalPrice) ?>
71
+ <?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_convertedFinalPrice, true) ?>
72
+ <?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
73
+ <?php if ($_finalPrice >= $_price): ?>
74
+ <?php if ($_taxHelper->displayBothPrices()): ?>
75
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
76
+ <span class="price-excluding-tax">
77
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
78
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
79
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
80
+ </span>
81
+ </span>
82
+ <span class="price-including-tax">
83
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
84
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
85
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
86
+ </span>
87
+ </span>
88
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
89
+ <span class="price-excluding-tax">
90
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
91
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
92
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
93
+ </span>
94
+ </span>
95
+ <span class="weee">(
96
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
97
+ <?php echo $_weeeSeparator; ?>
98
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
99
+ <?php $_weeeSeparator = ' + '; ?>
100
+ <?php endforeach; ?>
101
+ )</span>
102
+ <span class="price-including-tax">
103
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
104
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
105
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
106
+ </span>
107
+ </span>
108
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
109
+ <span class="price-excluding-tax">
110
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
111
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
112
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
113
+ </span>
114
+ </span>
115
+ <span class="price-including-tax">
116
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
117
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
118
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
119
+ </span>
120
+ <span class="weee">(
121
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
122
+ <?php echo $_weeeSeparator; ?>
123
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
124
+ <?php $_weeeSeparator = ' + '; ?>
125
+ <?php endforeach; ?>
126
+ )</span>
127
+ </span>
128
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
129
+ <span class="price-excluding-tax">
130
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
131
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
132
+ <?php echo $_coreHelper->formatPrice($_price, false) ?>
133
+ </span>
134
+ </span>
135
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
136
+ <span class="weee">
137
+ <?php echo $_weeeTaxAttribute->getName(); ?>
138
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
139
+ </span>
140
+ <?php endforeach; ?>
141
+ <span class="price-including-tax">
142
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
143
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
144
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
145
+ </span>
146
+ </span>
147
+ <?php else: ?>
148
+ <span class="price-excluding-tax">
149
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
150
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
151
+ <?php if ($_finalPrice == $_price): ?>
152
+ <?php echo $_coreHelper->formatPrice($_price, false) ?>
153
+ <?php else: ?>
154
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
155
+ <?php endif; ?>
156
+ </span>
157
+ </span>
158
+ <span class="price-including-tax">
159
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
160
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
161
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
162
+ </span>
163
+ </span>
164
+ <?php endif; ?>
165
+ <?php else: ?>
166
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1))): // including ?>
167
+ <?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
168
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
169
+ <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
170
+ </span>
171
+
172
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // show description ?>
173
+ <span class="weee">(
174
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
175
+ <?php echo $_weeeSeparator; ?>
176
+ <?php echo $_weeeTaxAttribute->getName(); ?>
177
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
178
+ <?php $_weeeSeparator = ' + '; ?>
179
+ <?php endforeach; ?>
180
+ )</span>
181
+ <?php endif; ?>
182
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
183
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
184
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, true) ?>
185
+ </span>
186
+ <span class="weee">(
187
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
188
+ <?php echo $_weeeSeparator; ?>
189
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
190
+ <?php $_weeeSeparator = ' + '; ?>
191
+ <?php endforeach; ?>
192
+ )</span>
193
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
194
+ <span class="regular-price"><?php echo $_coreHelper->formatPrice($_price, true) ?></span><br/>
195
+ <?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
196
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
197
+ <span class="weee">
198
+ <?php echo $_weeeTaxAttribute->getName(); ?>
199
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
200
+ </span>
201
+ <?php endforeach; ?>
202
+ <span class="regular-price" id="product-price-weee-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
203
+ <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
204
+ </span>
205
+ <?php else: ?>
206
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
207
+ <?php if ($_finalPrice == $_price): ?>
208
+ <?php echo $_coreHelper->formatPrice($_price, true) ?>
209
+ <?php else: ?>
210
+ <?php echo $_coreHelper->formatPrice($_finalPrice, true) ?>
211
+ <?php endif; ?>
212
+ </span>
213
+ <?php endif; ?>
214
+ <?php endif; ?>
215
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
216
+ <?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
217
+ <?php $_originalWeeeTaxAmount = $_store->roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?>
218
+
219
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
220
+ <p class="old-price">
221
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
222
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
223
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
224
+ </span>
225
+ </p>
226
+
227
+ <?php if ($_taxHelper->displayBothPrices()): ?>
228
+ <p class="special-price">
229
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
230
+ <span class="price-excluding-tax">
231
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
232
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
233
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
234
+ </span>
235
+ </span>
236
+ <span class="price-including-tax">
237
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
238
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
239
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
240
+ </span>
241
+ </span>
242
+ </p>
243
+ <?php else: ?>
244
+ <p class="special-price">
245
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
246
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
247
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
248
+ </span>
249
+ </p>
250
+ <?php endif; ?>
251
+
252
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
253
+ <p class="old-price">
254
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
255
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
256
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
257
+ </span>
258
+ </p>
259
+
260
+ <p class="special-price">
261
+ <?php if ($_taxHelper->displayBothPrices()): ?>
262
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
263
+ <span class="price-excluding-tax">
264
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
265
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
266
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
267
+ </span>
268
+ </span>
269
+ <span class="weee">(
270
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
271
+ <?php echo $_weeeSeparator; ?>
272
+ <?php echo $_weeeTaxAttribute->getName(); ?>
273
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
274
+ <?php $_weeeSeparator = ' + '; ?>
275
+ <?php endforeach; ?>
276
+ )</span>
277
+ <span class="price-including-tax">
278
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
279
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
280
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
281
+ </span>
282
+ </span>
283
+ <?php else: ?>
284
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
285
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
286
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
287
+ </span>
288
+ <span class="weee">(
289
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
290
+ <?php echo $_weeeSeparator; ?>
291
+ <?php echo $_weeeTaxAttribute->getName(); ?>
292
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
293
+ <?php $_weeeSeparator = ' + '; ?>
294
+ <?php endforeach; ?>
295
+ )</span>
296
+ <?php endif; ?>
297
+ </p>
298
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
299
+ <p class="old-price">
300
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
301
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
302
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
303
+ </span>
304
+ </p>
305
+
306
+ <p class="special-price">
307
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
308
+ <span class="price-excluding-tax">
309
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
310
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
311
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
312
+ </span>
313
+ </span>
314
+ <span class="weee">(
315
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
316
+ <?php echo $_weeeSeparator; ?>
317
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
318
+ <?php $_weeeSeparator = ' + '; ?>
319
+ <?php endforeach; ?>
320
+ )</span>
321
+ <span class="price-including-tax">
322
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
323
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
324
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
325
+ </span>
326
+ </span>
327
+ </p>
328
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
329
+ <p class="old-price">
330
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
331
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
332
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
333
+ </span>
334
+ </p>
335
+
336
+ <p class="special-price">
337
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
338
+ <span class="price-excluding-tax">
339
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
340
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
341
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
342
+ </span>
343
+ </span>
344
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
345
+ <span class="weee">
346
+ <?php echo $_weeeTaxAttribute->getName(); ?>
347
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
348
+ </span>
349
+ <?php endforeach; ?>
350
+ <span class="price-including-tax">
351
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
352
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
353
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
354
+ </span>
355
+ </span>
356
+ </p>
357
+ <?php else: // excl. ?>
358
+ <p class="old-price">
359
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
360
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
361
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
362
+ </span>
363
+ </p>
364
+
365
+ <?php if ($_taxHelper->displayBothPrices()): ?>
366
+ <p class="special-price">
367
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
368
+ <span class="price-excluding-tax">
369
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
370
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
371
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
372
+ </span>
373
+ </span>
374
+ <span class="price-including-tax">
375
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
376
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
377
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
378
+ </span>
379
+ </span>
380
+ </p>
381
+ <?php else: ?>
382
+ <p class="special-price">
383
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
384
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
385
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
386
+ </span>
387
+ </p>
388
+ <?php endif; ?>
389
+ <?php endif; ?>
390
+
391
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
392
+
393
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?>
394
+
395
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
396
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
397
+ <?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
398
+ <?php endif; ?>
399
+
400
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
401
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
402
+ <?php else: ?>
403
+ <span class="minimal-price-link">
404
+ <?php endif ?>
405
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
406
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
407
+ <?php echo $_coreHelper->formatPrice($_minimalPriceDisplayValue, false) ?>
408
+ </span>
409
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
410
+ </a>
411
+ <?php else: ?>
412
+ </span>
413
+ <?php endif ?>
414
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
415
+ <div style="clear:both"></div>
416
+ </div>
417
+
418
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
419
+ <?php
420
+ $showMinPrice = $this->getDisplayMinimalPrice();
421
+ if ($showMinPrice && $_minimalPriceValue) {
422
+ $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
423
+ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
424
+ $price = $showMinPrice ? $_minimalPriceValue : 0;
425
+ } else {
426
+ $price = $_convertedFinalPrice;
427
+ $_exclTax = $_taxHelper->getPrice($_product, $price);
428
+ $_inclTax = $_taxHelper->getPrice($_product, $price, true);
429
+ }
430
+ ?>
431
+ <?php if ($price): ?>
432
+ <div class="price-box">
433
+ <p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
434
+ <?php if ($showMinPrice): ?>
435
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
436
+ <?php endif ?>
437
+ <?php if ($_taxHelper->displayBothPrices()): ?>
438
+ <span class="price-excluding-tax">
439
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
440
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
441
+ <?php echo $_coreHelper->formatPrice($_exclTax, false) ?>
442
+ </span>
443
+ </span>
444
+ <span class="price-including-tax">
445
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
446
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
447
+ <?php echo $_coreHelper->formatPrice($_inclTax, false) ?>
448
+ </span>
449
+ </span>
450
+ <?php else: ?>
451
+ <?php
452
+ $_showPrice = $_inclTax;
453
+ if (!$_taxHelper->displayPriceIncludingTax()) {
454
+ $_showPrice = $_exclTax;
455
+ }
456
+ ?>
457
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
458
+ <?php echo $_coreHelper->formatPrice($_showPrice, false) ?>
459
+ </span>
460
+ <?php endif; ?>
461
+ </p>
462
+ </div>
463
+ <div style="clear:both"></div>
464
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
465
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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()->toHtml() ?></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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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 $i=0; foreach ($this->getGalleryImages() as $_image): ?>
48
+ <?php if ($this->isGalleryImageVisible($_image)): ?>
49
+ <img id="image-<?php echo $i; ?>"
50
+ class="gallery-image"
51
+ src="<?php echo $this->getGalleryImageUrl($_image); ?>"
52
+ data-zoom-image="<?php echo $this->getGalleryImageUrl($_image); ?>" />
53
+ <?php endif; ?>
54
+ <?php $i++; endforeach; ?>
55
+ </div>
56
+ </div>
57
+
58
+ <?php if (count($this->getGalleryImages()) > 0): ?>
59
+ <div class="more-views">
60
+ <h2><?php echo $this->__('More Views') ?></h2>
61
+ <ul class="product-image-thumbs">
62
+ <?php $i=0; foreach ($this->getGalleryImages() as $_image): ?>
63
+ <?php if ($this->isGalleryImageVisible($_image)): ?>
64
+ <li>
65
+ <a class="thumb-link" href="#" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>" data-image-index="<?php echo $i; ?>">
66
+ <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(75); ?>"
67
+ width="75" height="75" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
68
+ </a>
69
+ </li>
70
+ <?php endif; ?>
71
+ <?php $i++; endforeach; ?>
72
+ </ul>
73
+ </div>
74
+ <?php endif; ?>
75
+
76
+ <?php echo $this->getChildHtml('after'); ?>
app/design/frontend/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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 />
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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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($_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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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/svs_store/default/template/catalog/product/widget/new/column/new_names_list.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php echo $this->getPagerHtml() ?>
35
+ <?php $suffix = $this->getNameInLayout(); ?>
36
+ <ol id="widget-new-products-<?php echo $suffix; ?>">
37
+ <?php foreach ($_products->getItems() as $_product): ?>
38
+ <li class="item">
39
+ <p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
40
+ </li>
41
+ <?php endforeach; ?>
42
+ </ol>
43
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/catalog/product/widget/new/content/new_grid.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php echo $this->getPagerHtml() ?>
34
+ <?php $_columnCount = $this->getColumnCount(); ?>
35
+ <?php $i=0; ?>
36
+ <ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col-widget">
37
+ <?php foreach ($_products->getItems() as $_product): ?>
38
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
39
+ <?php $_imgSize = 210; ?>
40
+ <?php // The image size is locked at 210 for this for display purposes. CSS has it at 75% which should equate to 278px?>
41
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
42
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(210) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
43
+ </a>
44
+ <div class="product-info">
45
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
46
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
47
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
48
+ <div class="actions">
49
+ <?php if ($_product->isSaleable()): ?>
50
+ <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>
51
+ <?php else: ?>
52
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
53
+ <?php endif; ?>
54
+ <ul class="add-to-links">
55
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
56
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
57
+ <?php endif; ?>
58
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
59
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
60
+ <?php endif; ?>
61
+ </ul>
62
+ </div>
63
+ </div>
64
+ </li>
65
+ <?php endforeach; ?>
66
+ </ul>
67
+ </div>
68
+ </div>
69
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/catalog/product/widget/new/content/new_list.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php echo $this->getPagerHtml() ?>
34
+ <ol class="mini-products-list">
35
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
36
+ <li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
37
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
38
+ <div class="product-details">
39
+ <div class="f-fix">
40
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
41
+ <?php /* Removing this functionality from RWD
42
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
43
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
44
+ <?php if ($_product->isSaleable()): ?>
45
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
46
+ <?php else: ?>
47
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
48
+ <?php endif; ?>
49
+ <ul class="add-to-links">
50
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
51
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
52
+ <?php endif; ?>
53
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
54
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
55
+ <?php endif; ?>
56
+ </ul>
57
+ */ ?>
58
+ </div>
59
+ </div>
60
+ </li>
61
+ <?php endforeach; ?>
62
+ </ol>
63
+ </div>
64
+ </div>
65
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/cataloginventory/stockqty/composite.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @see Mage_CatalogInventory_Block_Stockqty_Composite
29
+ */
30
+ ?>
31
+ <?php if($this->isMsgVisible()): ?>
32
+ <p class="availability-only">
33
+ <a href="#" id="<?php echo $this->getPlaceholderId() ?>" title="<?php echo $this->__('Only %s left', ($this->getStockQty())) ?>"><?php echo $this->__('Only %s left', "<strong>{$this->getStockQty()}</strong>") ?></a>
34
+ </p>
35
+ <table id="<?php echo $this->getDetailsPlaceholderId() ?>" class="availability-only-details no-display data-table">
36
+ <col />
37
+ <col width="1" />
38
+ <thead>
39
+ <tr>
40
+ <th><?php echo $this->__('Product Name') ?></th>
41
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
42
+ </tr>
43
+ </thead>
44
+ <tbody>
45
+ <?php foreach ($this->getChildProducts() as $childProduct) : ?>
46
+ <?php $childProductStockQty = $this->getProductStockQty($childProduct); ?>
47
+ <?php if ($childProductStockQty > 0) : ?>
48
+ <tr>
49
+ <td><?php echo $childProduct->getName() ?></td>
50
+ <td class="a-center"><?php echo $childProductStockQty ?></td>
51
+ </tr>
52
+ <?php endif ?>
53
+ <?php endforeach ?>
54
+ </tbody>
55
+ </table>
56
+ <script type="text/javascript">
57
+ //<![CDATA[
58
+ $('<?php echo $this->getPlaceholderId() ?>').observe('click', function(event){
59
+ this.toggleClassName('expanded');
60
+ $('<?php echo $this->getDetailsPlaceholderId() ?>').toggleClassName('no-display');
61
+ event.stop();
62
+ decorateTable('<?php echo $this->getDetailsPlaceholderId() ?>');
63
+ });
64
+ //]]>
65
+ </script>
66
+ <?php endif ?>
app/design/frontend/svs_store/default/template/catalogsearch/advanced/form.phtml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Catalog advanced search form
30
+ *
31
+ * @see Mage_CatalogSearch_Block_Advanced_Form
32
+ */
33
+ ?>
34
+ <?php $maxQueryLength= $this->helper('catalogsearch')->getMaxQueryLength();?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
39
+ <form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
40
+ <div class="fieldset advanced-search">
41
+ <h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
42
+ <ul class="form-list" id="advanced-search-list">
43
+ <?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
44
+ <?php $_code = $_attribute->getAttributeCode() ?>
45
+ <li>
46
+ <label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label>
47
+ <?php switch($this->getAttributeInputType($_attribute)):
48
+ case 'number': ?>
49
+ <div class="input-range">
50
+ <input type="text" pattern="\d*" name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
51
+ <span class="separator">-</span>
52
+ <input type="text" pattern="\d*" name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
53
+ </div>
54
+ <?php break;
55
+ case 'price': ?>
56
+ <div class="input-range">
57
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" pattern="\d*" maxlength="<?php echo $maxQueryLength;?>" />
58
+ <span class="separator">-</span>
59
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" pattern="\d*" maxlength="<?php echo $maxQueryLength;?>" />
60
+ <small>(<?php echo $this->getCurrency($_attribute); ?>)</small>
61
+ </div>
62
+ <?php break;
63
+ case 'select': ?>
64
+ <div class="input-box">
65
+ <?php echo $this->getAttributeSelectElement($_attribute) ?>
66
+ </div>
67
+ <?php break;
68
+ case 'yesno': ?>
69
+ <?php echo $this->getAttributeYesNoElement($_attribute) ?>
70
+ <?php break;
71
+ case 'date': ?>
72
+ <div class="input-range">
73
+ <?php echo $this->getDateInput($_attribute, 'from') ?>
74
+ <span class="separator">-</span>
75
+ <?php echo $this->getDateInput($_attribute, 'to') ?>
76
+ </div>
77
+ <?php break;
78
+ default: ?>
79
+ <div class="input-box">
80
+ <input type="text" name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" maxlength="<?php echo $maxQueryLength;?>" />
81
+ </div>
82
+ <?php endswitch; ?>
83
+ </li>
84
+ <?php endforeach; ?>
85
+ </ul>
86
+ <script type="text/javascript">decorateList('advanced-search-list')</script>
87
+ </div>
88
+ <div class="buttons-set">
89
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
90
+ </div>
91
+ </form>
92
+ <script type="text/javascript">
93
+ //<![CDATA[
94
+ var dataForm = new VarienForm('form-validate', true);
95
+ //]]>
96
+ </script>
app/design/frontend/svs_store/default/template/catalogsearch/form.mini.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Core_Block_Template */
27
+ /* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
28
+ $catalogSearchHelper = $this->helper('catalogsearch');
29
+ ?>
30
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
31
+ <div class="input-box">
32
+ <label for="search"><?php echo $this->__('Search:') ?></label>
33
+ <input id="search" type="search" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text required-entry" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" placeholder="<?php echo $this->__('Search entire store here...') ?>" />
34
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button search-button"><span><span><?php echo $this->__('Search') ?></span></span></button>
35
+ </div>
36
+
37
+ <div id="search_autocomplete" class="search-autocomplete"></div>
38
+ <script type="text/javascript">
39
+ //<![CDATA[
40
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
41
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
42
+ //]]>
43
+ </script>
44
+ </form>
app/design/frontend/svs_store/default/template/catalogsearch/result.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getResultCount()): ?>
28
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
29
+ <div class="page-title">
30
+ <?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
31
+ <a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
32
+ <?php endif; ?>
33
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
34
+ </div>
35
+ <?php if ($messages = $this->getNoteMessages()):?>
36
+ <p class="note-msg">
37
+ <?php foreach ($messages as $message):?>
38
+ <?php echo $message?><br />
39
+ <?php endforeach;?>
40
+ </p>
41
+ <?php endif; ?>
42
+ <?php echo $this->getProductListHtml() ?>
43
+ <?php else: ?>
44
+ <div class="page-title">
45
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
46
+ </div>
47
+ <p class="note-msg">
48
+ <?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
49
+ <?php echo $this->getAdditionalHtml() ?>
50
+ <?php if ($messages = $this->getNoteMessages()):?>
51
+ <?php foreach ($messages as $message):?>
52
+ <br /><?php echo $message?>
53
+ <?php endforeach;?>
54
+ <?php endif; ?>
55
+ </p>
56
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/centinel/authentication/start.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form name="validation_form" id="validation_form" action="<?php echo $this->getAcsUrl();?>" method="post">
28
+ <div class="fieldset">
29
+ <input type="hidden" name="PaReq" value="<?php echo $this->getPaReq()?>" />
30
+ <input type="hidden" name="TermUrl" value="<?php echo $this->getTermUrl()?>" />
31
+ <input type="hidden" name="MD" value="<?php echo $this->getMd()?>" />
32
+ </div>
33
+ </form>
34
+ <script type="text/javascript">
35
+ //<![CDATA[
36
+ window.onload = function(){
37
+ document.getElementById('validation_form').submit();
38
+ };
39
+ //]]>
40
+ </script>
app/design/frontend/svs_store/default/template/checkout/cart.phtml ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Shopping cart template
30
+ *
31
+ * @var $this Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <?php $_priceDisplay = ($this->helper('tax')->displayCartBothPrices()) ? 'display-both-prices' : 'display-single-price'; ?>
35
+ <div class="cart <?php echo $_priceDisplay; ?>">
36
+ <div class="page-title title-buttons">
37
+ <h1><?php echo $this->__('Shopping Cart') ?></h1>
38
+ <?php if(!$this->hasError()): ?>
39
+ <ul class="checkout-types top">
40
+ <?php foreach ($this->getMethods('top_methods') as $method): ?>
41
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
42
+ <li><?php echo $methodHtml; ?></li>
43
+ <?php endif; ?>
44
+ <?php endforeach; ?>
45
+ </ul>
46
+ <?php endif; ?>
47
+ </div>
48
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
49
+ <?php echo $this->getChildHtml('form_before') ?>
50
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
51
+ <?php echo $this->getBlockHtml('formkey'); ?>
52
+ <table id="shopping-cart-table" class="cart-table data-table">
53
+ <col width="1" />
54
+ <col width="1" />
55
+ <col width="1" />
56
+ <col width="1" />
57
+ <col width="1" />
58
+ <col width="1" />
59
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
60
+ <col width="1" />
61
+ <col width="1" />
62
+ <?php endif; ?>
63
+
64
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
65
+ <thead>
66
+ <tr>
67
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product') ?></span></th>
68
+
69
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
70
+
71
+ <th class="a-center cart-price-head" colspan="<?php echo $mergedCells; ?>">
72
+ <!-- <div class="cart-price-placeholder">-->
73
+ <span class="nobr"><?php echo $this->__('Price') ?></span>
74
+ <!-- </div>-->
75
+ </th>
76
+
77
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">
78
+ <?php echo $this->__('Qty') ?>
79
+
80
+ <?php /*if ($this->helper('wishlist')->isAllowInCart()) : ?>
81
+ <span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span>
82
+ <?php endif*/ ?>
83
+
84
+ </th>
85
+
86
+ <th class="a-center cart-total-head" colspan="<?php echo $mergedCells; ?>">
87
+ <!-- <div class="cart-total-placeholder">-->
88
+ <?php echo $this->__('Subtotal') ?>
89
+ <!-- </div>-->
90
+ </th>
91
+
92
+ <th class="a-center" rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
93
+
94
+ </tr>
95
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
96
+ <tr>
97
+ <th class="a-center cart-price-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
98
+ <th class="a-center cart-price-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
99
+ <th class="a-center cart-total-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
100
+ <th class="a-center cart-total-head"><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
101
+ </tr>
102
+ <?php endif; ?>
103
+ </thead>
104
+ <tfoot>
105
+ <tr>
106
+ <td colspan="50" class="a-right cart-footer-actions">
107
+
108
+ <!-- Make this button the first responder rather than empty cart -->
109
+ <button type="submit" style="visibility:hidden;" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
110
+
111
+ <button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Empty Cart'); ?>" class="button2 btn-empty" id="empty_cart_button"><span><span><?php echo $this->__('Empty Cart'); ?></span></span></button>
112
+
113
+ <button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
114
+
115
+ <span class="or">-<?php echo $this->__('or'); ?>-</span>
116
+
117
+ <?php if($this->getContinueShoppingUrl()): ?>
118
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button2 btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
119
+ <?php endif; ?>
120
+ <!--[if lt IE 8]>
121
+ <input type="hidden" id="update_cart_action_container" />
122
+ <script type="text/javascript">
123
+ //<![CDATA[
124
+ Event.observe(window, 'load', function()
125
+ {
126
+ // Internet Explorer (lt 8) does not support value attribute in button elements
127
+ $emptyCartButton = $('empty_cart_button');
128
+ $cartActionContainer = $('update_cart_action_container');
129
+ if ($emptyCartButton && $cartActionContainer) {
130
+ Event.observe($emptyCartButton, 'click', function()
131
+ {
132
+ $emptyCartButton.setAttribute('name', 'update_cart_action_temp');
133
+ $cartActionContainer.setAttribute('name', 'update_cart_action');
134
+ $cartActionContainer.setValue('empty_cart');
135
+ });
136
+ }
137
+
138
+ });
139
+ //]]>
140
+ </script>
141
+ <![endif]-->
142
+ </td>
143
+ </tr>
144
+ </tfoot>
145
+ <tbody>
146
+ <?php foreach($this->getItems() as $_item): ?>
147
+ <?php echo $this->getItemHtml($_item) ?>
148
+ <?php endforeach ?>
149
+ </tbody>
150
+ </table>
151
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
152
+ </form>
153
+
154
+ <?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
155
+ <div class="cart-forms">
156
+ <?php /* Extensions placeholder */ ?>
157
+ <?php echo $this->getChildHtml('checkout_cart_widget') ?>
158
+ <?php echo $this->getChildHtml('coupon') ?>
159
+ <?php echo $this->getChildHtml('checkout.cart.extra') ?>
160
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
161
+ </div>
162
+ <div class="cart-totals-wrapper">
163
+ <div class="cart-totals">
164
+ <?php echo $this->getChildHtml('totals'); ?>
165
+ <?php if(!$this->hasError()): ?>
166
+ <ul class="checkout-types bottom">
167
+ <?php foreach ($this->getMethods('methods') as $method): ?>
168
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
169
+ <li class="method-<?php echo preg_replace("/[^_a-zA-Z0-9-]/", '-', $method); ?>"><?php echo $methodHtml; ?></li>
170
+ <?php endif; ?>
171
+ <?php endforeach; ?>
172
+ </ul>
173
+ <?php endif; ?>
174
+ </div>
175
+ </div>
176
+ <?php echo $this->getChildHtml('crosssell') ?>
177
+ </div>
app/design/frontend/svs_store/default/template/checkout/cart/coupon.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
28
+ <div class="discount">
29
+ <h2><?php echo $this->__('Discount Codes') ?></h2>
30
+ <div class="discount-form">
31
+ <label for="coupon_code"><?php echo $this->__('Discount Codes') ?></label>
32
+ <input type="hidden" name="remove" id="remove-coupone" value="0" />
33
+ <div class="field-wrapper">
34
+ <input class="input-text" type="text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
35
+ <div class="button-wrapper">
36
+ <button type="button" title="<?php echo $this->__('Apply') ?>" class="button2" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply') ?>"><span><span><?php echo $this->__('Apply') ?></span></span></button>
37
+ <?php if(strlen($this->getCouponCode())): ?>
38
+ <button type="button" title="<?php echo $this->__('Cancel') ?>" class="button2 cancel-coupon" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel') ?>"><span><span><?php echo $this->__('Cancel') ?></span></span>
39
+ </button>
40
+ <?php endif;?>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </form>
46
+ <script type="text/javascript">
47
+ //<![CDATA[
48
+ var discountForm = new VarienForm('discount-coupon-form');
49
+ discountForm.submit = function (isRemove) {
50
+ if (isRemove) {
51
+ $('coupon_code').removeClassName('required-entry');
52
+ $('remove-coupone').value = "1";
53
+ } else {
54
+ $('coupon_code').addClassName('required-entry');
55
+ $('remove-coupone').value = "0";
56
+ }
57
+ return VarienForm.prototype.submit.bind(discountForm)();
58
+ }
59
+ //]]>
60
+ </script>
app/design/frontend/svs_store/default/template/checkout/cart/crosssell.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Cart cross sell items template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Crosssell
32
+ */
33
+ ?>
34
+ <?php if($this->getItemCount()): ?>
35
+ <div class="crosssell">
36
+ <h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
37
+ <ul id="crosssell-products-list" class="products-grid products-grid--max-3-col">
38
+ <?php foreach ($this->getItems() as $_item): ?>
39
+ <li class="item">
40
+ <a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>">
41
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(210); ?>" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" />
42
+ </a>
43
+ <div class="product-info">
44
+ <h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
45
+ <?php echo $this->getPriceHtml($_item, true) ?>
46
+ <div class="actions">
47
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
48
+ <ul class="add-to-links">
49
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
50
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
51
+ <?php endif; ?>
52
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
53
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
54
+ <?php endif; ?>
55
+ </ul>
56
+ </div>
57
+ </div>
58
+ </li>
59
+ <?php endforeach; ?>
60
+ </ul>
61
+ <?php // <script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script> ?>
62
+ </div>
63
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/checkout/cart/item/configure/updatecart.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_product = $this->getProduct(); ?>
29
+ <?php $buttonTitle = $this->__('Update Cart'); ?>
30
+ <?php if ($_product->isSaleable()): ?>
31
+ <div class="add-to-cart">
32
+ <?php if (!$_product->isGrouped()): ?>
33
+ <div class="qty-wrapper">
34
+ <label for="qty"><?php echo $this->__('Qty:') ?></label>
35
+ <input type="text" pattern="\d*" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
36
+ </div>
37
+ <?php endif; ?>
38
+ <div class="add-to-cart-buttons">
39
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
40
+ <?php echo $this->getChildHtml('', true, true) ?>
41
+ </div>
42
+ </div>
43
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <tr>
33
+ <td class="product-cart-image">
34
+ <?php if ($this->hasProductUrl()):?>
35
+ <a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image">
36
+ <?php endif;?>
37
+ <img src="<?php echo $this->getProductThumbnail()->resize(180); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
38
+ <?php if ($this->hasProductUrl()):?>
39
+ </a>
40
+ <?php endif;?>
41
+
42
+ <ul class="cart-links">
43
+ <?php if ($isVisibleProduct): ?>
44
+ <li>
45
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
46
+ </li>
47
+ <?php endif ?>
48
+
49
+ <?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
50
+ <li>
51
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
52
+ </li>
53
+ <?php endif ?>
54
+ </ul>
55
+ </td>
56
+
57
+ <td class="product-cart-info">
58
+
59
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
60
+
61
+ <h2 class="product-name">
62
+ <?php if ($this->hasProductUrl()):?>
63
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
64
+ <?php else: ?>
65
+ <?php echo $this->escapeHtml($this->getProductName()) ?>
66
+ <?php endif; ?>
67
+ </h2>
68
+
69
+ <div class="product-cart-sku">
70
+ <span class="label"><?php echo $this->__('SKU'); ?>:</span> <?php echo $this->escapeHtml($_item->getSku()); ?>
71
+ </div>
72
+
73
+ <?php if ($_options = $this->getOptionList()):?>
74
+ <dl class="item-options">
75
+ <?php foreach ($_options as $_option) : ?>
76
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
77
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
78
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
79
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
80
+ <div class="truncated_full_value">
81
+ <dl class="item-options">
82
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
83
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
84
+ </dl>
85
+ </div>
86
+ <?php endif; ?>
87
+ </dd>
88
+ <?php endforeach; ?>
89
+ </dl>
90
+ <?php endif;?>
91
+
92
+ <?php if ($messages = $this->getMessages()): ?>
93
+ <?php foreach ($messages as $message): ?>
94
+ <p class="item-msg <?php echo $message['type'] ?>">
95
+ * <?php echo $this->escapeHtml($message['text']) ?>
96
+ </p>
97
+ <?php endforeach; ?>
98
+ <?php endif; ?>
99
+
100
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
101
+ <?php if ($addInfoBlock): ?>
102
+ <?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
103
+ <?php endif;?>
104
+
105
+ </td>
106
+
107
+ <?php if ($canApplyMsrp): ?>
108
+ <td class="a-center product-cart-price"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
109
+ <span class="cart-price">
110
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
111
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
112
+ <a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
113
+
114
+ <script type="text/javascript">
115
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What&#39;s this?") ?>");
116
+ </script>
117
+
118
+ </span>
119
+ </td>
120
+ <?php else: ?>
121
+
122
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
123
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Excl. Tax'); ?>">
124
+
125
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
126
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
127
+ <?php else: ?>
128
+ <span class="cart-price">
129
+ <?php endif; ?>
130
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
131
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
132
+ <?php else: ?>
133
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
134
+ <?php endif; ?>
135
+
136
+ </span>
137
+
138
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
139
+
140
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
142
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
143
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
144
+ <?php endforeach; ?>
145
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
146
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
147
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
148
+ <?php endforeach; ?>
149
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
150
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
151
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
152
+ <?php endforeach; ?>
153
+ <?php endif; ?>
154
+ </div>
155
+
156
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
157
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
158
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
159
+ </div>
160
+ <?php endif; ?>
161
+ <?php endif; ?>
162
+ </td>
163
+ <?php endif; ?><!-- inclusive price starts here -->
164
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
165
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Incl. Tax'); ?>">
166
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
167
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
168
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
169
+ <?php else: ?>
170
+ <span class="cart-price">
171
+ <?php endif; ?>
172
+
173
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
174
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
175
+ <?php else: ?>
176
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
177
+ <?php endif; ?>
178
+
179
+ </span>
180
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
181
+
182
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
183
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
184
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
185
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
186
+ <?php endforeach; ?>
187
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
188
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
189
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
190
+ <?php endforeach; ?>
191
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
192
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
193
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
194
+ <?php endforeach; ?>
195
+ <?php endif; ?>
196
+ </div>
197
+
198
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
199
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
200
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
201
+ </div>
202
+ <?php endif; ?>
203
+ <?php endif; ?>
204
+ </td>
205
+ <?php endif; ?>
206
+ <?php endif; ?>
207
+ <td class="product-cart-actions" data-rwd-label="<?php echo $this->__('Qty'); ?>">
208
+ <input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
209
+
210
+ <button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update'); ?></span></span>
211
+ </button>
212
+
213
+ <ul class="cart-links">
214
+ <?php if ($isVisibleProduct): ?>
215
+ <li>
216
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
217
+ </li>
218
+ <?php endif ?>
219
+
220
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
221
+ <li>
222
+ <?php if ($isVisibleProduct): ?>
223
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
224
+ <?php endif ?>
225
+ </li>
226
+ <?php endif ?>
227
+ </ul>
228
+
229
+ </td>
230
+
231
+ <!--Sub total starts here -->
232
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
233
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
234
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
235
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
236
+ <?php else: ?>
237
+ <span class="cart-price">
238
+ <?php endif; ?>
239
+
240
+ <?php if ($canApplyMsrp): ?>
241
+ <span class="cart-msrp-subtotal">--</span>
242
+ <?php else: ?>
243
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
244
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
245
+ <?php else: ?>
246
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
247
+ <?php endif; ?>
248
+ <?php endif; ?>
249
+
250
+ </span>
251
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
252
+
253
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
254
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
255
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
256
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
257
+ <?php endforeach; ?>
258
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
259
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
260
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
261
+ <?php endforeach; ?>
262
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
263
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
264
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
265
+ <?php endforeach; ?>
266
+ <?php endif; ?>
267
+ </div>
268
+
269
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
270
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
271
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
272
+ </div>
273
+ <?php endif; ?>
274
+ <?php endif; ?>
275
+ </td>
276
+ <?php endif; ?>
277
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
278
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
279
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
280
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
281
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
282
+ <?php else: ?>
283
+ <span class="cart-price">
284
+ <?php endif; ?>
285
+
286
+ <?php if ($canApplyMsrp): ?>
287
+ <span class="cart-msrp-subtotal">--</span>
288
+ <?php else: ?>
289
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
290
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
291
+ <?php else: ?>
292
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
293
+ <?php endif; ?>
294
+ <?php endif; ?>
295
+
296
+ </span>
297
+
298
+
299
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
300
+
301
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
302
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
303
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
304
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
305
+ <?php endforeach; ?>
306
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
307
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
308
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
309
+ <?php endforeach; ?>
310
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
311
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
312
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
313
+ <?php endforeach; ?>
314
+ <?php endif; ?>
315
+ </div>
316
+
317
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
318
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
319
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
320
+ </div>
321
+ <?php endif; ?>
322
+ <?php endif; ?>
323
+ </td>
324
+ <?php endif; ?>
325
+ <td class="a-center product-cart-remove">
326
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
327
+ </td>
328
+ </tr>
329
+
330
+
app/design/frontend/svs_store/default/template/checkout/cart/minicart.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Shoping cart sidebar
29
+ *
30
+ * @see Mage_Checkout_Block_Cart_Sidebar
31
+ */
32
+
33
+ ?>
34
+
35
+ <?php
36
+ $_cartQty = $this->getSummaryCount();
37
+ if(empty($_cartQty)) {
38
+ $_cartQty = 0;
39
+ }
40
+ ?>
41
+
42
+ <a href="<?php echo $this->helper('checkout/cart')->getCartUrl(); ?>" data-target-element="#header-cart" class="skip-link skip-cart <?php if($_cartQty <= 0): ?> no-count<?php endif; ?>">
43
+ <span class="icon"></span>
44
+ <span class="label"><?php echo $this->__('Your Cart'); ?></span>
45
+ <span class="count"><?php echo $_cartQty; ?></span>
46
+ </a>
47
+
48
+ <div id="header-cart" class="block block-cart skip-content">
49
+ <?php echo $this->getChildHtml('minicart_content');?>
50
+ </div>
app/design/frontend/svs_store/default/template/checkout/cart/minicart/default.phtml ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item" xmlns="http://www.w3.org/1999/html">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
35
+ <?php else: ?>
36
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
37
+ <?php endif; ?>
38
+ <div class="product-details">
39
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
40
+
41
+ <table class="info-wrapper">
42
+ <tbody>
43
+ <tr>
44
+ <th><?php echo $this->__('Price'); ?></th>
45
+ <td>
46
+ <?php if ($canApplyMsrp): ?>
47
+
48
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
+
50
+ <?php else: ?>
51
+
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
+ <?php echo $this->__('Excl. Tax'); ?>:
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
+ <?php endif; ?>
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+
86
+
87
+
88
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
92
+ <?php endif; ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
+ <br />
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span>
109
+ <?php endforeach; ?>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php endif; ?>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
119
+ <?php endif; ?>
120
+ <?php endif; ?>
121
+ <?php endif; ?>
122
+
123
+ <?php endif; //Can apply MSRP ?>
124
+ </td>
125
+ </tr>
126
+ <tr class="qty-wrapper">
127
+ <th><?php echo $this->__('Qty'); ?></th>
128
+ <td>
129
+ <input
130
+ id="qinput-<?php echo $_item->getId(); ?>"
131
+ data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
132
+ data-item-id="<?php echo $_item->getId(); ?>"
133
+ class="qty cart-item-quantity input-text" name=""
134
+ value="<?php echo $this->getQty()?>"
135
+ <?php if ($this->isOnCheckoutPage()) echo 'disabled'; ?>
136
+ />
137
+
138
+ <button id="qbutton-<?php echo $_item->getId(); ?>"
139
+ data-item-id="<?php echo $_item->getId(); ?>"
140
+ disabled="disabled"
141
+ data-update
142
+ class="button quantity-button">
143
+ <?php echo $this->__('ok'); ?>
144
+ </button>
145
+ </td>
146
+ </tr>
147
+ </tbody>
148
+ </table>
149
+
150
+ <?php if ($isVisibleProduct): ?>
151
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit">
152
+ <?php echo $this->__('Edit item')?>
153
+ </a>
154
+ |
155
+ <?php if (!$this->isOnCheckoutPage()): ?>
156
+ <a href="<?php echo $this->getAjaxDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"
157
+ data-confirm="<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>"
158
+ class="remove">
159
+ <?php echo $this->__('Remove Item') ?>
160
+ </a>
161
+ <?php else: ?>
162
+ <span><?php echo $this->__('Remove Item') ?></span>
163
+ <?php endif; ?>
164
+ <?php endif ?>
165
+
166
+
167
+
168
+ <?php if ($_options = $this->getOptionList()):?>
169
+ <div class="truncated">
170
+ <div class="truncated_full_value">
171
+ <dl class="item-options">
172
+ <?php foreach ($_options as $_option) : ?>
173
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
174
+ <dd>
175
+ <?php if (is_array($_option['value'])): ?>
176
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
177
+ <?php else: ?>
178
+ <?php echo $_option['value'] ?>
179
+ <?php endif; ?>
180
+ </dd>
181
+ <?php endforeach; ?>
182
+ </dl>
183
+ </div>
184
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
185
+ </div>
186
+ <?php endif; ?>
187
+
188
+ </div>
189
+ </li>
app/design/frontend/svs_store/default/template/checkout/cart/minicart/items.phtml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Shoping cart sidebar
29
+ *
30
+ * @var Mage_Checkout_Block_Cart_Minicart $this
31
+ */
32
+ ?>
33
+
34
+ <?php
35
+ $_cartQty = $this->getSummaryCount();
36
+ if(empty($_cartQty)) {
37
+ $_cartQty = 0;
38
+ }
39
+ ?>
40
+ <div id="minicart-error-message" class="minicart-message"></div>
41
+ <div id="minicart-success-message" class="minicart-message"></div>
42
+
43
+ <div class="minicart-wrapper">
44
+
45
+ <p class="block-subtitle">
46
+ <?php echo $this->__('Recently added item(s)') ?>
47
+ <a class="close skip-link-close" href="#" title="<?php echo $this->__('Close'); ?>">&times;</a>
48
+ </p>
49
+
50
+ <?php $_items = $this->getRecentItems() ?>
51
+ <?php $countItems = count($_items); ?>
52
+ <?php if($countItems): ?>
53
+ <div>
54
+ <ul id="cart-sidebar" class="mini-products-list">
55
+ <?php foreach($_items as $_item): ?>
56
+ <?php echo $this->getItemHtml($_item) ?>
57
+ <?php endforeach; ?>
58
+ </ul>
59
+ </div>
60
+ <script type="text/javascript">
61
+ truncateOptions();
62
+ decorateList('cart-sidebar', 'none-recursive');
63
+ $j('document').ready(function() {
64
+ var minicartOptions = {
65
+ formKey: "<?php echo $this->getFormKey();?>"
66
+ }
67
+ var Mini = new Minicart(minicartOptions);
68
+ Mini.init();
69
+ });
70
+ </script>
71
+
72
+ <div id="minicart-widgets">
73
+ <?php echo $this->getChildHtml('cart_promotion') ?>
74
+ </div>
75
+ <div class="block-content">
76
+ <p class="subtotal">
77
+ <?php if ($this->canApplyMsrp()): ?>
78
+ <span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
79
+ <?php else: ?>
80
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
81
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
82
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+ </p>
86
+ </div>
87
+
88
+
89
+ <div class="minicart-actions">
90
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
91
+ <ul class="checkout-types minicart">
92
+ <?php echo $this->getChildHtml('extra_actions') ?>
93
+ <li>
94
+ <a title="<?php echo $this->__('Checkout') ?>" class="button checkout-button" href="<?php echo $this->getCheckoutUrl() ?>">
95
+ <?php echo $this->__('Checkout') ?>
96
+ </a>
97
+ </li>
98
+ </ul>
99
+ <?php endif ?>
100
+ <a class="cart-link" href="<?php echo $this->getUrl('checkout/cart'); ?>">
101
+ <?php echo $this->__('View Shopping Cart'); ?>
102
+ </a>
103
+ </div>
104
+
105
+ <?php else: ?>
106
+ <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
107
+
108
+ <?php endif ?>
109
+ </div>
app/design/frontend/svs_store/default/template/checkout/cart/render/default.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/svs_store/default/template/checkout/cart/render/simple.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/svs_store/default/template/checkout/cart/shipping.phtml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Cart_Shipping */ ?>
28
+ <div class="shipping">
29
+ <h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
30
+ <div class="shipping-form">
31
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
32
+ <p class="shipping-desc"><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
33
+ <ul class="form-list">
34
+ <li class="shipping-country">
35
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
36
+ <div class="input-box">
37
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
38
+ </div>
39
+ </li>
40
+ <?php // if($this->getStateActive()): ?>
41
+ <li class="shipping-region">
42
+ <?php /* Removing the conditional check for whether the region is required, because it doesn't work
43
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
44
+ */ ?>
45
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
46
+ <div class="input-box">
47
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
48
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
49
+ </select>
50
+ <script type="text/javascript">
51
+ //<![CDATA[
52
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
53
+ //]]>
54
+ </script>
55
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
56
+ </div>
57
+ </li>
58
+ <?php // endif; ?>
59
+ <?php if($this->getCityActive()): ?>
60
+ <li class="shipping-region">
61
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
62
+ <div class="input-box">
63
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
64
+ </div>
65
+ </li>
66
+ <?php endif; ?>
67
+ <li class="shipping-postcode">
68
+ <?php /* Removing the conditional check for whether the postal code is required, because it doesn't work
69
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
70
+ */ ?>
71
+ <label for="postcode" class="required"><em>*</em><?php echo $this->__('Zip') ?></label>
72
+ <div class="input-box">
73
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
74
+ </div>
75
+ </li>
76
+ </ul>
77
+ <div class="buttons-set">
78
+ <button type="button" title="<?php echo $this->__('Estimate') ?>" onclick="coShippingMethodForm.submit()" class="button2">
79
+ <span><span><?php echo $this->__('Estimate') ?></span></span>
80
+ </button>
81
+ </div>
82
+ </form>
83
+ <script type="text/javascript">
84
+ //<![CDATA[
85
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
86
+ //]]>
87
+ </script>
88
+
89
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
90
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
91
+ <dl class="sp-methods">
92
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
93
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
94
+ <dd>
95
+ <ul>
96
+ <?php foreach ($_rates as $_rate): ?>
97
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
98
+ <?php if ($_rate->getErrorMessage()): ?>
99
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
100
+ <?php else: ?>
101
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
102
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
103
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
104
+ -
105
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
106
+ <?php echo $_excl; ?>
107
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
108
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
109
+ <?php endif; ?>
110
+ </label>
111
+ <?php endif ?>
112
+ </li>
113
+ <?php endforeach; ?>
114
+ </ul>
115
+ </dd>
116
+ <?php endforeach; ?>
117
+ </dl>
118
+ <div class="buttons-set">
119
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>">
120
+ <span><span><?php echo $this->__('Update Total') ?></span></span>
121
+ </button>
122
+ </div>
123
+ </form>
124
+ <?php endif; ?>
125
+ <script type="text/javascript">
126
+ //<![CDATA[
127
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
128
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
129
+
130
+ coShippingMethodForm.submit = function () {
131
+ var country = $F('country');
132
+ var optionalZip = false;
133
+
134
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
135
+ if (countriesWithOptionalZip[i] == country) {
136
+ optionalZip = true;
137
+ }
138
+ }
139
+ if (optionalZip) {
140
+ $('postcode').removeClassName('required-entry');
141
+ }
142
+ else {
143
+ $('postcode').addClassName('required-entry');
144
+ }
145
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
146
+ }
147
+ //]]>
148
+ </script>
149
+ </div>
150
+ </div>
app/design/frontend/svs_store/default/template/checkout/cart/sidebar.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Shoping cart sidebar
29
+ *
30
+ * @see Mage_Checkout_Block_Cart_Sidebar
31
+ */
32
+
33
+ ?>
34
+ <?php if ($this->getIsNeedToDisplaySideBar()):?>
35
+ <div class="block block-cart">
36
+ <?php $_cartQty = $this->getSummaryCount() ?>
37
+ <div class="block-title">
38
+ <strong><span><?php echo $this->__('My Cart') ?></span></strong>
39
+ </div>
40
+ <div class="block-content">
41
+ <?php if ($_cartQty>0): ?>
42
+ <div class="summary">
43
+ <?php if ($_cartQty==1): ?>
44
+ <p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
45
+ <?php else: ?>
46
+ <p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
47
+ <?php endif ?>
48
+ <p class="subtotal">
49
+ <?php if ($this->canApplyMsrp()): ?>
50
+ <span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
51
+ <?php else: ?>
52
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
53
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
54
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ </p>
58
+ </div>
59
+ <?php endif ?>
60
+ <?php $_items = $this->getRecentItems() ?>
61
+ <?php if(count($_items)): ?>
62
+ <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
63
+ <ol id="cart-sidebar" class="mini-products-list">
64
+ <?php foreach($_items as $_item): ?>
65
+ <?php echo $this->getItemHtml($_item) ?>
66
+ <?php endforeach; ?>
67
+ </ol>
68
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
69
+ <?php else: ?>
70
+ <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
71
+ <?php endif ?>
72
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
73
+ <div class="actions">
74
+ <?php echo $this->getChildHtml('extra_actions') ?>
75
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
76
+ </div>
77
+ <?php endif ?>
78
+ </div>
79
+ </div>
80
+ <?php endif;?>
app/design/frontend/svs_store/default/template/checkout/cart/sidebar/default.phtml ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
35
+ <?php else: ?>
36
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
37
+ <?php endif; ?>
38
+ <div class="product-details">
39
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
40
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
41
+ <?php if ($isVisibleProduct): ?>
42
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
43
+ <?php endif ?>
44
+ <strong><?php echo $this->getQty() ?></strong> x
45
+
46
+ <?php if ($canApplyMsrp): ?>
47
+
48
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
+
50
+ <?php else: ?>
51
+
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
+ <?php echo $this->__('Excl. Tax'); ?>:
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
+ <?php endif; ?>
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+
86
+
87
+
88
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
92
+ <?php endif; ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
+ <br />
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
109
+ <?php endforeach; ?>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php endif; ?>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
119
+ <?php endif; ?>
120
+ <?php endif; ?>
121
+ <?php endif; ?>
122
+
123
+ <?php endif; //Can apply MSRP ?>
124
+
125
+ <?php if ($_options = $this->getOptionList()):?>
126
+ <div class="truncated">
127
+ <div class="truncated_full_value">
128
+ <dl class="item-options">
129
+ <?php foreach ($_options as $_option) : ?>
130
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
131
+ <dd>
132
+ <?php if (is_array($_option['value'])): ?>
133
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
134
+ <?php else: ?>
135
+ <?php echo $_option['value'] ?>
136
+ <?php endif; ?>
137
+ </dd>
138
+ <?php endforeach; ?>
139
+ </dl>
140
+ </div>
141
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
142
+ </div>
143
+ <?php endif; ?>
144
+ </div>
145
+ </li>
app/design/frontend/svs_store/default/template/checkout/multishipping/addresses.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Ship to multiple address template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Addresses
32
+ */
33
+ ?>
34
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
35
+ <form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
36
+ <div class="multiple-checkout">
37
+ <div class="page-title title-buttons">
38
+ <h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
39
+ <button data-action="add-new-customer-address" type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
40
+ </div>
41
+ <input type="hidden" name="continue" value="0" id="can_continue_flag" />
42
+ <input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
43
+ <h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
44
+ <table class="data-table linearize-table" id="multiship-addresses-table">
45
+ <col />
46
+ <col width="1" />
47
+ <col width="1" />
48
+ <col width="1" />
49
+ <thead>
50
+ <tr>
51
+ <th><?php echo $this->__('Product') ?></th>
52
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
53
+ <th><?php echo $this->__('Send To') ?></th>
54
+ <th>&nbsp;</th>
55
+ </tr>
56
+ </thead>
57
+ <tfoot>
58
+ <tr>
59
+ <td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty &amp; Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty &amp; Addresses') ?></span></span></button></td>
60
+ </tr>
61
+ </tfoot>
62
+ <tbody>
63
+ <?php foreach ($this->getItems() as $_index => $_item): ?>
64
+ <?php if ($_item->getQuoteItem()) :?>
65
+ <tr>
66
+ <td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
67
+ <td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
68
+ <td data-rwd-label="Send To"><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
69
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
70
+ </tr>
71
+ <?php endif; ?>
72
+ <?php endforeach; ?>
73
+ </tbody>
74
+ </table>
75
+ <script type="text/javascript">decorateTable('multiship-addresses-table')</script>
76
+ <div class="buttons-set">
77
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
78
+ <button type="submit" data-action="checkout-continue-shipping" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
79
+ </div>
80
+ </div>
81
+ </form>
app/design/frontend/svs_store/default/template/checkout/multishipping/billing.phtml ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Multishipping checkout billing information
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Billing
32
+ */
33
+ ?>
34
+ <div class="multiple-checkout">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Billing Information') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
39
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
41
+ <div class="col2-set">
42
+ <div class="col-1 col-narrow">
43
+ <div class="box">
44
+ <div class="box-title">
45
+ <h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
46
+ </div>
47
+ <div class="box-content">
48
+ <?php $_address=$this->getAddress() ?>
49
+ <address><?php echo $_address->format('html') ?></address>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-2 col-wide">
54
+ <div class="box">
55
+ <div class="box-title">
56
+ <h2><?php echo $this->__('Payment Method') ?></h2>
57
+ </div>
58
+ <div class="box-content">
59
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
60
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
61
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
62
+ </div>
63
+ <?php echo $this->getChildHtml('payment_methods_before') ?>
64
+ <!-- Payment methods forms list -->
65
+ <dl class="sp-methods">
66
+ <?php
67
+ $_methods = $this->getMethods();
68
+ $_methodsCount = count($_methods);
69
+ ?>
70
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
71
+ <dt>
72
+ <?php if ($_methodsCount > 1): ?>
73
+ <input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
74
+ <?php else :?>
75
+ <span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
76
+ <?php endif;?>
77
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($_method->getTitle()) ?></label>
78
+ </dt>
79
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
80
+ <dd>
81
+ <?php echo $html; ?>
82
+ </dd>
83
+ <?php endif; ?>
84
+ <?php endforeach; ?>
85
+ </dl>
86
+ <?php echo $this->getChildHtml('payment_methods_after') ?>
87
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ <div class="buttons-set">
93
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
94
+ <button id="payment-continue" type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
95
+ </div>
96
+ </form>
97
+ <script type="text/javascript">
98
+ //<![CDATA[
99
+ var payment = new paymentForm('multishipping-billing-form');
100
+ function toggleToolTip(event){
101
+ if($('payment-tool-tip')){
102
+ /*$('payment-tool-tip').setStyle({
103
+ top: (Event.pointerY(event)-510)+'px',
104
+ left: (Event.pointerX(event)-800)+'px'
105
+ })*/
106
+ $('payment-tool-tip').toggle();
107
+ }
108
+ Event.stop(event);
109
+ }
110
+ if($('payment-tool-tip-close')){
111
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
112
+ }
113
+ $$('.cvv-what-is-this').each(function(element){
114
+ Event.observe(element, 'click', toggleToolTip);
115
+ });
116
+ //]]>
117
+ </script>
118
+ </div>
app/design/frontend/svs_store/default/template/checkout/multishipping/item/default.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a></h3>
28
+ <?php if ($_options = $this->getOptionList()):?>
29
+ <dl class="item-options">
30
+ <?php foreach ($_options as $_option) : ?>
31
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
32
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
33
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
34
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
35
+ <div class="truncated_full_value">
36
+ <dl class="item-options">
37
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
38
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
39
+ </dl>
40
+ </div>
41
+ <?php endif; ?>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <?php endif; ?>
46
+ <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
47
+ <?php echo $addtInfoBlock->setItem($this->getItem())->toHtml() ?>
48
+ <?php endif;?>
app/design/frontend/svs_store/default/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
28
+ <div class="multiple-checkout">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Order') ?></h1>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <form id="review-order-form" action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
34
+ <?php echo $this->getBlockHtml('formkey'); ?>
35
+ <div class="col2-set">
36
+ <h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
37
+ <div class="col-1">
38
+ <div class="box">
39
+ <?php $_address=$this->getBillingAddress() ?>
40
+ <div class="box-title">
41
+ <h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
42
+ </div>
43
+ <div class="box-content">
44
+ <address>
45
+ <?php echo $_address->format('html') ?>
46
+ </address>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ <div class="col-2">
51
+ <div class="box">
52
+ <div class="box-title">
53
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
54
+ </div>
55
+ <div class="box-content">
56
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
57
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
58
+ <?php echo $this->getPaymentHtml() ?>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
64
+ <div class="col2-set">
65
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
66
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
67
+ <h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
68
+ <div class="col-1 col-narrow">
69
+ <div class="box">
70
+ <div class="box-title">
71
+ <h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
72
+ </div>
73
+ <div class="box-content">
74
+ <address>
75
+ <?php echo $_address->format('html') ?>
76
+ </address>
77
+ </div>
78
+ </div>
79
+ <div class="box">
80
+ <div class="box-title">
81
+ <h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
82
+ </div>
83
+ <div class="box-content">
84
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
85
+ <p>
86
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
87
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
88
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
89
+ <?php echo $_excl; ?>
90
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
91
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
92
+ <?php endif; ?>
93
+ </p>
94
+ <?php endif; ?>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ <div class="col-2 col-wide">
99
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
100
+ <?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
101
+ <table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="overview-table-<?php echo $_address->getId() ?>">
102
+ <col />
103
+ <col width="1" />
104
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
105
+ <col width="1" />
106
+ <?php endif; ?>
107
+ <col width="1" />
108
+ <col width="1" />
109
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
110
+ <col width="1" />
111
+ <?php endif; ?>
112
+ <thead>
113
+ <tr>
114
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
115
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
116
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
117
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
118
+ </tr>
119
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
120
+ <tr>
121
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
122
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
123
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
124
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
125
+ </tr>
126
+ <?php endif; ?>
127
+ </thead>
128
+ <tfoot>
129
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
130
+ </tfoot>
131
+ <tbody>
132
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
133
+ <?php echo $this->getRowItemHtml($_item); ?>
134
+ <?php endforeach; ?>
135
+ </tbody>
136
+ </table>
137
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
138
+ </div>
139
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
140
+ <div class="divider"></div>
141
+ <?php endif; ?>
142
+ <?php endforeach; ?>
143
+ </div>
144
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
145
+ <div class="col2-set">
146
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
147
+ <div class="col-1 col-narrow"></div>
148
+ <div class="col-2 col-wide">
149
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
150
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
151
+ <?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
152
+ <table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="virtual-overview-table">
153
+ <col />
154
+ <col width="1" />
155
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
156
+ <col width="1" />
157
+ <?php endif; ?>
158
+ <col width="1" />
159
+ <col width="1" />
160
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
161
+ <col width="70" />
162
+ <?php endif; ?>
163
+ <thead>
164
+ <tr>
165
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
166
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
167
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
168
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
169
+ </tr>
170
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
171
+ <tr>
172
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
173
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
174
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
175
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
176
+ </tr>
177
+ <?php endif; ?>
178
+ </thead>
179
+ <tfoot>
180
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
181
+ </tfoot>
182
+ <tbody>
183
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
184
+ <?php echo $this->getRowItemHtml($_item); ?>
185
+ <?php endforeach; ?>
186
+ </tbody>
187
+ </table>
188
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
189
+ </div>
190
+ </div>
191
+ <?php endif; ?>
192
+
193
+ <?php echo $this->getChildHtml('items_after'); ?>
194
+
195
+ <div id="checkout-review-submit">
196
+ <?php echo $this->getChildHtml('agreements') ?>
197
+ <div class="place-order">
198
+ <div class="grand-total">
199
+ <div class="inner">
200
+ <big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
201
+ <div id="review-buttons-container">
202
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
203
+ </div>
204
+ </div>
205
+ </div>
206
+ <span class="please-wait" id="review-please-wait" style="display:none;">
207
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
208
+ </span>
209
+ </div>
210
+ </div>
211
+ <div class="buttons-set">
212
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
213
+ </div>
214
+ </form>
215
+ <script type="text/javascript">
216
+ //<![CDATA[
217
+ var submitted = false;
218
+
219
+ function showLoader()
220
+ {
221
+ if (submitted) {
222
+ return false;
223
+ }
224
+ if ($('checkout-agreements')) {
225
+ var checkboxes = $$('#checkout-agreements input');
226
+ for (var i=0, l=checkboxes.length; i<l; i++) {
227
+ if (!checkboxes[i].checked) {
228
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
229
+ return false;
230
+ }
231
+ }
232
+ }
233
+
234
+ submitted = true;
235
+ var step='review';
236
+ Element.show(step+'-please-wait');
237
+ $(step+'-buttons-container').setStyle({opacity:.5});
238
+ $(step+'-buttons-container').descendants().each(function(s) {
239
+ s.disabled = true;
240
+ });
241
+ return true;
242
+ }
243
+ //]]>
244
+ </script>
245
+ </div>
app/design/frontend/svs_store/default/template/checkout/multishipping/overview/item.phtml ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Quote Item row html
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Item_Renderer
32
+ */
33
+ ?>
34
+ <?php $_item = $this->getItem() ?>
35
+ <tr>
36
+ <td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
37
+
38
+ <!--- Excluding Tax -->
39
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
40
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
41
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Price') . $_labelAppend; ?>">
42
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
43
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
44
+ <?php else: ?>
45
+ <div class="cart-price">
46
+ <?php endif; ?>
47
+
48
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
50
+ <?php else: ?>
51
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
52
+ <?php endif; ?>
53
+
54
+ </div>
55
+
56
+
57
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
58
+
59
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
60
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
61
+ <small>
62
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
63
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
64
+ <?php endforeach; ?>
65
+ </small>
66
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
67
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
68
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
69
+ <?php endforeach; ?>
70
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
71
+ <small>
72
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
73
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
74
+ <?php endforeach; ?>
75
+ </small>
76
+ <?php endif; ?>
77
+ </div>
78
+
79
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
80
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ </div>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+ </td>
86
+ <?php endif; ?>
87
+ <!--- // Excluding Tax -->
88
+
89
+ <!--- Including Tax -->
90
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
91
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
92
+ <td data-rwd-label="<?php echo $this->__('Price') . $_labelAppend; ?>">
93
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
94
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
95
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
96
+ <?php else: ?>
97
+ <div class="cart-price">
98
+ <?php endif; ?>
99
+
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
101
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
102
+ <?php else: ?>
103
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
104
+ <?php endif; ?>
105
+
106
+ </div>
107
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
108
+
109
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
110
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
117
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
118
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
119
+ <?php endforeach; ?>
120
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
121
+ <small>
122
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
123
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
124
+ <?php endforeach; ?>
125
+ </small>
126
+ <?php endif; ?>
127
+ </div>
128
+
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
130
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
131
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
132
+ </div>
133
+ <?php endif; ?>
134
+ <?php endif; ?>
135
+
136
+ </td>
137
+ <?php endif; ?>
138
+ <!--- // Including Tax -->
139
+
140
+ <td class="a-center" data-rwd-label="<?php echo $this->__('Quantity'); ?>"><?php echo $_item->getQty()*1 ?></td>
141
+
142
+ <!--- Excluding Tax Subtotal -->
143
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
144
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
145
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend; ?>">
146
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
147
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
148
+ <?php else: ?>
149
+ <div class="cart-price">
150
+ <?php endif; ?>
151
+
152
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
153
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
154
+ <?php else: ?>
155
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
156
+ <?php endif; ?>
157
+
158
+ </div>
159
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
160
+
161
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
162
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
163
+ <small>
164
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
165
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
166
+ <?php endforeach; ?>
167
+ </small>
168
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
169
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
170
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
171
+ <?php endforeach; ?>
172
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
173
+ <small>
174
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
175
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
176
+ <?php endforeach; ?>
177
+ </small>
178
+ <?php endif; ?>
179
+ </div>
180
+
181
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
182
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
183
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
184
+ </div>
185
+ <?php endif; ?>
186
+ <?php endif; ?>
187
+ </td>
188
+ <?php endif; ?>
189
+ <!--- //Excluding Tax Subtotal -->
190
+
191
+ <!--- Including Tax Subtotal -->
192
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
193
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
194
+ <td data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend; ?>">
195
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
196
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
197
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
198
+ <?php else: ?>
199
+ <div class="cart-price">
200
+ <?php endif; ?>
201
+
202
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
203
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
204
+ <?php else: ?>
205
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
206
+ <?php endif; ?>
207
+
208
+ </div>
209
+
210
+
211
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
212
+
213
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
214
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
215
+ <small>
216
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
217
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
218
+ <?php endforeach; ?>
219
+ </small>
220
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
221
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
222
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
223
+ <?php endforeach; ?>
224
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
225
+ <small>
226
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
227
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
228
+ <?php endforeach; ?>
229
+ </small>
230
+ <?php endif; ?>
231
+ </div>
232
+
233
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
234
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
235
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
236
+ </div>
237
+ <?php endif; ?>
238
+ <?php endif; ?>
239
+ </td>
240
+ <?php endif; ?>
241
+ <!--- //Including Tax Subtotal -->
242
+ </tr>
app/design/frontend/svs_store/default/template/checkout/onepage.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Checkout') ?></h1>
29
+ </div>
30
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
31
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
32
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout_rwd.js') ?>"></script>
33
+ <ol class="opc opc-firststep-<?php echo $this->getActiveStep() ?>" id="checkoutSteps">
34
+ <?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
35
+ <?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
36
+ <li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
37
+ <div class="step-title">
38
+ <span class="number"><?php echo $i ?></span>
39
+ <h2><?php echo $_stepInfo['label'] ?></h2>
40
+ <a href="#"><?php echo $this->__('Edit') ?></a>
41
+ </div>
42
+ <div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
43
+ <?php echo $this->getChildHtml($_stepId) ?>
44
+ </div>
45
+ </li>
46
+ <?php endforeach ?>
47
+ </ol>
48
+ <script type="text/javascript">
49
+ //<![CDATA[
50
+ var accordion = new Accordion('checkoutSteps', '.step-title', true);
51
+ <?php if($this->getActiveStep()): ?>
52
+ accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
53
+ <?php endif ?>
54
+ var checkout = new Checkout(accordion,{
55
+ progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
56
+ review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
57
+ saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
58
+ failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
59
+ );
60
+ //]]>
61
+ </script>
app/design/frontend/svs_store/default/template/checkout/onepage/payment.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">
28
+ //<![CDATA[
29
+ var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
30
+ var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
31
+ var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
32
+ var lastPrice;
33
+ //]]>
34
+ </script>
35
+ <form action="" id="co-payment-form">
36
+ <div class="fieldset">
37
+ <?php echo $this->getChildChildHtml('methods_additional', '', true, true) ?>
38
+ <?php echo $this->getChildHtml('methods') ?>
39
+ </div>
40
+ </form>
41
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
42
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
43
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
44
+ </div>
45
+ <?php echo $this->getChildChildHtml('additional') ?>
46
+ <div class="buttons-set" id="payment-buttons-container">
47
+ <?php // Moved to CC form ?>
48
+ <?php /* <p class="required"><?php echo $this->__('* Required Fields') ?></p> */ ?>
49
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
50
+ <button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
51
+ <span class="please-wait" id="payment-please-wait" style="display:none;">
52
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
53
+ </span>
54
+ </div>
55
+ <script type="text/javascript">
56
+ //<![CDATA[
57
+ function toggleToolTip(event){
58
+ if($('payment-tool-tip')){
59
+ $('payment-tool-tip').setStyle({
60
+ top: (Event.pointerY(event)-560)+'px'//,
61
+ //left: (Event.pointerX(event)+100)+'px'
62
+ })
63
+ $('payment-tool-tip').toggle();
64
+ }
65
+ Event.stop(event);
66
+ }
67
+ if($('payment-tool-tip-close')){
68
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
69
+ }
70
+ //]]>
71
+ </script>
72
+ <script type="text/javascript">
73
+ //<![CDATA[
74
+ payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
75
+ //]]>
76
+ </script>
app/design/frontend/svs_store/default/template/checkout/onepage/progress.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-progress opc-block-progress<?php if (!$this->isCustomerLoggedIn()/* && !$this->getCheckout()->getStepData('billing', 'is_show')*/): ?> opc-block-progress-step-login<?php endif; ?>">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <dl>
33
+ <?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
34
+ <div id="billing-progress-opcheckout">
35
+ <?php echo $this->getChildHtml('billing.progress') ?>
36
+ </div>
37
+ <?php endif; ?>
38
+
39
+ <?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
40
+ <div id="shipping-progress-opcheckout">
41
+ <?php echo $this->getChildHtml('shipping.progress') ?>
42
+ </div>
43
+ <?php endif; ?>
44
+
45
+ <?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
46
+ <div id="shipping_method-progress-opcheckout">
47
+ <?php echo $this->getChildHtml('shippingmethod.progress') ?>
48
+ </div>
49
+ <?php endif; ?>
50
+
51
+ <?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
52
+ <div id="payment-progress-opcheckout">
53
+ <?php echo $this->getChildHtml('payment.progress') ?>
54
+ </div>
55
+ <?php endif; ?>
56
+ </dl>
57
+ </div>
58
+ </div>
59
+
app/design/frontend/svs_store/default/template/checkout/onepage/review/info.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getChildHtml('items_before'); ?>
28
+ <div id="checkout-review-table-wrapper">
29
+ <?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
30
+ <table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="checkout-review-table">
31
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
32
+ <col />
33
+ <col width="1" />
34
+ <col width="1" />
35
+ <col width="1" />
36
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
37
+ <col width="1" />
38
+ <col width="1" />
39
+ <?php endif; ?>
40
+ <thead>
41
+ <tr>
42
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product') ?></th>
43
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
44
+ <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
45
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
46
+ </tr>
47
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
48
+ <tr>
49
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
50
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
51
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
52
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
53
+ </tr>
54
+ <?php endif; ?>
55
+ </thead>
56
+ <?php echo $this->getChildHtml('totals'); ?>
57
+ <tbody>
58
+ <?php foreach($this->getItems() as $_item): ?>
59
+ <?php echo $this->getItemHtml($_item)?>
60
+ <?php endforeach ?>
61
+ </tbody>
62
+ </table>
63
+ </div>
64
+ <?php echo $this->getChildHtml('items_after'); ?>
65
+ <script type="text/javascript">
66
+ //<![CDATA[
67
+ decorateTable('checkout-review-table');
68
+ truncateOptions();
69
+ //]]>
70
+ </script>
71
+ <div id="checkout-review-submit">
72
+ <?php echo $this->getChildHtml('agreements') ?>
73
+ <div class="buttons-set" id="review-buttons-container">
74
+ <?php echo $this->getChildHtml('button') ?>
75
+ <span class="please-wait" id="review-please-wait" style="display:none;">
76
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
77
+ </span>
78
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you want to leave this page? You will need to go through the checkout steps again.'); ?>')"><?php echo $this->__('Edit Your Cart') ?></a></p>
79
+ </div>
80
+ <script type="text/javascript">
81
+ //<![CDATA[
82
+ review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
83
+ //]]>
84
+ </script>
85
+ </div>
app/design/frontend/svs_store/default/template/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem()?>
28
+ <tr>
29
+ <td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
30
+ <?php if ($_options = $this->getOptionList()):?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
34
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
35
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
36
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
37
+ <div class="truncated_full_value">
38
+ <dl class="item-options">
39
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
40
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
41
+ </dl>
42
+ </div>
43
+ <?php endif; ?>
44
+ </dd>
45
+ <?php endforeach; ?>
46
+ </dl>
47
+ <?php endif;?>
48
+ <?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
49
+ <?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
50
+ <?php endif;?>
51
+ </td>
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
54
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Price') . $_labelAppend ?>">
55
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
56
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
57
+ <?php else: ?>
58
+ <span class="cart-price">
59
+ <?php endif; ?>
60
+
61
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
63
+ <?php else: ?>
64
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
65
+ <?php endif; ?>
66
+
67
+ </span>
68
+
69
+
70
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
71
+
72
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
73
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
80
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
81
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
82
+ <?php endforeach; ?>
83
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
84
+ <small>
85
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
86
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
87
+ <?php endforeach; ?>
88
+ </small>
89
+ <?php endif; ?>
90
+ </div>
91
+
92
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
93
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
94
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
95
+ </div>
96
+ <?php endif; ?>
97
+ <?php endif; ?>
98
+ </td>
99
+ <?php endif; ?>
100
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
101
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
102
+ <td data-rwd-label="<?php echo $this->__('Price') . $_labelAppend ?>">
103
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
105
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
106
+ <?php else: ?>
107
+ <span class="cart-price">
108
+ <?php endif; ?>
109
+
110
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
111
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
112
+ <?php else: ?>
113
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
114
+ <?php endif; ?>
115
+
116
+ </span>
117
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
118
+
119
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
120
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
121
+ <small>
122
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
123
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
124
+ <?php endforeach; ?>
125
+ </small>
126
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
127
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
128
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
129
+ <?php endforeach; ?>
130
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
131
+ <small>
132
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
133
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
134
+ <?php endforeach; ?>
135
+ </small>
136
+ <?php endif; ?>
137
+ </div>
138
+
139
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
140
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
141
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
142
+ </div>
143
+ <?php endif; ?>
144
+ <?php endif; ?>
145
+ </td>
146
+ <?php endif; ?>
147
+ <td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
148
+ <!-- sub total starts here -->
149
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
150
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
151
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend ?>">
152
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
153
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
154
+ <?php else: ?>
155
+ <span class="cart-price">
156
+ <?php endif; ?>
157
+
158
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
159
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
160
+ <?php else: ?>
161
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
162
+ <?php endif; ?>
163
+
164
+ </span>
165
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
166
+
167
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
168
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
169
+ <small>
170
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
171
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
172
+ <?php endforeach; ?>
173
+ </small>
174
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
175
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
176
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
177
+ <?php endforeach; ?>
178
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
179
+ <small>
180
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
181
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
182
+ <?php endforeach; ?>
183
+ </small>
184
+ <?php endif; ?>
185
+ </div>
186
+
187
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
188
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
189
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
190
+ </div>
191
+ <?php endif; ?>
192
+ <?php endif; ?>
193
+ </td>
194
+ <?php endif; ?>
195
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
196
+ <?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
197
+ <td data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend ?>">
198
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
199
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
200
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
201
+ <?php else: ?>
202
+ <span class="cart-price">
203
+ <?php endif; ?>
204
+
205
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
206
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
207
+ <?php else: ?>
208
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
209
+ <?php endif; ?>
210
+
211
+ </span>
212
+
213
+
214
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
215
+
216
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
217
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
218
+ <small>
219
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
220
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
221
+ <?php endforeach; ?>
222
+ </small>
223
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
224
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
225
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
226
+ <?php endforeach; ?>
227
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
228
+ <small>
229
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
230
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
231
+ <?php endforeach; ?>
232
+ </small>
233
+ <?php endif; ?>
234
+ </div>
235
+
236
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
237
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
238
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
239
+ </div>
240
+ <?php endif; ?>
241
+ <?php endif; ?>
242
+ </td>
243
+ <?php endif; ?>
244
+ </tr>
app/design/frontend/svs_store/default/template/checkout/onepage/shipping.phtml ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="" id="co-shipping-form">
28
+ <ul class="form-list">
29
+ <?php if ($this->customerHasAddresses()): ?>
30
+ <li class="wide">
31
+ <label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
32
+ <div class="input-box">
33
+ <?php echo $this->getAddressesHtmlSelect('shipping') ?>
34
+ </div>
35
+ </li>
36
+ <?php endif ?>
37
+ <li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?> class="scaffold-form">
38
+ <div class="fieldset">
39
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
40
+ <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
41
+ <ul>
42
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
43
+ <li class="fields">
44
+ <div class="fields">
45
+ <label for="shipping:company"><?php echo $this->__('Company') ?></label>
46
+ <div class="input-box">
47
+ <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" onchange="shipping.setSameAsBilling(false);" />
48
+ </div>
49
+ </div>
50
+ </li>
51
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
52
+ <li class="wide">
53
+ <label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
54
+ <div class="input-box">
55
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
56
+ </div>
57
+ </li>
58
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
59
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
60
+ <li class="wide">
61
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Address') ?> <?php echo $_i ?></label>
62
+ <div class="input-box">
63
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" onchange="shipping.setSameAsBilling(false);" />
64
+ </div>
65
+ </li>
66
+ <?php endfor; ?>
67
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
68
+ <li class="wide">
69
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number'); ?></label>
70
+ <div class="input-box">
71
+ <input type="text" id="shipping:vat_id" name="shipping[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()); ?>" title="<?php echo $this->__('VAT Number'); ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
72
+ </div>
73
+ </li>
74
+ <?php endif; ?>
75
+ <li class="fields">
76
+ <div class="field">
77
+ <label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
78
+ <div class="input-box">
79
+ <input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
80
+ </div>
81
+ </div>
82
+ <div class="field">
83
+ <label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
84
+ <div class="input-box">
85
+ <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
86
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
87
+ </select>
88
+ <script type="text/javascript">
89
+ //<![CDATA[
90
+ $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
91
+ //]]>
92
+ </script>
93
+ <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
94
+ </div>
95
+ </div>
96
+ </li>
97
+ <li class="fields">
98
+ <div class="field">
99
+ <label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
100
+ <div class="input-box">
101
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" onchange="shipping.setSameAsBilling(false);" />
102
+ </div>
103
+ </div>
104
+ <div class="field">
105
+ <label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
106
+ <div class="input-box">
107
+ <?php echo $this->getCountryHtmlSelect('shipping') ?>
108
+ </div>
109
+ </div>
110
+ </li>
111
+ <li class="fields">
112
+ <div class="field">
113
+ <label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
114
+ <div class="input-box">
115
+ <input type="tel" name="shipping[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
116
+ </div>
117
+ </div>
118
+ <div class="field">
119
+ <label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
120
+ <div class="input-box">
121
+ <input type="tel" name="shipping[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
122
+ </div>
123
+ </div>
124
+ </li>
125
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
126
+ <li class="control">
127
+ <input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label></li>
128
+ <?php else:?>
129
+ <li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
130
+ <?php endif;?>
131
+ </ul>
132
+ </div>
133
+ </li>
134
+ <li class="control">
135
+ <input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
136
+ </li>
137
+ </ul>
138
+ <div class="buttons-set" id="shipping-buttons-container">
139
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
140
+ <button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
141
+ <span id="shipping-please-wait" class="please-wait" style="display:none;">
142
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
143
+ </span>
144
+ </div>
145
+ </form>
146
+ <script type="text/javascript">
147
+ //<![CDATA[
148
+ var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
149
+ '<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
150
+ var shippingForm = new VarienForm('co-shipping-form');
151
+ shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
152
+ //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
153
+ $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
154
+
155
+ var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'shipping:postcode');
156
+ //]]>
157
+ </script>
app/design/frontend/svs_store/default/template/configurableswatches/catalog/layer/filter/swatches.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ $_dimHelper = Mage::helper('configurableswatches/swatchdimensions');
35
+ $_swatchInnerWidth = $_dimHelper->getInnerWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
36
+ $_swatchInnerHeight = $_dimHelper->getInnerHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
37
+ $_swatchOuterWidth = $_dimHelper->getOuterWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
38
+ $_swatchOuterHeight = $_dimHelper->getOuterHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
39
+ ?>
40
+
41
+ <ol class="configurable-swatch-list">
42
+ <?php foreach ($this->getItems() as $_item): ?>
43
+ <?php
44
+ $_hasItems = ($_item->getCount() > 0);
45
+ $_label = $_item->getLabel();
46
+ $_swatchUrl = Mage::helper('configurableswatches/productimg')->getGlobalSwatchUrl($_item, $_label, $_swatchInnerWidth, $_swatchInnerHeight);
47
+ $_hasImage = (!empty($_swatchUrl));
48
+ $_linkClass = 'swatch-link' . (($_hasImage) ? ' has-image' : '');
49
+ $_linkCss = 'height:' . $_swatchOuterHeight . 'px; ' . ((!$_hasImage) ? 'min-' : '') . 'width:' . $_swatchOuterWidth . 'px;';
50
+ $_lineHeight = $_swatchOuterHeight + 2;
51
+ ?>
52
+ <li<?php if ($_hasImage){ echo ' style="line-height: ' . $_lineHeight . 'px;"'; } ?>>
53
+ <?php if ($_hasItems): ?>
54
+ <a href="<?php echo $this->urlEscape($_item->getUrl()) ?>" class="<?php echo $_linkClass ?>">
55
+ <?php else: ?>
56
+ <span class="<?php echo $_linkClass ?>">
57
+ <?php endif; ?>
58
+ <span class="swatch-label"<?php if ($_hasImage){ echo ' style="' . $_linkCss . '"'; } ?>>
59
+ <?php if ($_hasImage): ?>
60
+ <img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_label; ?>" title="<?php echo $_label ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
61
+ <?php else: ?>
62
+ <?php echo $_label; ?>
63
+ <?php endif; ?>
64
+ </span>
65
+ <?php if ($this->shouldDisplayProductCount()): ?>
66
+ <span class="count">(<?php echo $_item->getCount() ?>)</span>
67
+ <?php endif; ?>
68
+ <?php if ($_hasItems): ?>
69
+ </a>
70
+ <?php else: ?>
71
+ </span>
72
+ <?php endif; ?>
73
+ </li>
74
+ <?php endforeach ?>
75
+ </ol>
app/design/frontend/svs_store/default/template/configurableswatches/catalog/layer/state/swatch.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_filter = $this->getFilter();
29
+ $_label = $this->stripTags($_filter->getLabel());
30
+
31
+ $_swatchInnerWidth = $this->getSwatchInnerWidth();
32
+ $_swatchInnerHeight = $this->getSwatchInnerHeight();
33
+ $_swatchOuterWidth = $this->getSwatchOuterWidth();
34
+ $_swatchOuterHeight = $this->getSwatchOuterHeight();
35
+
36
+ $_lineHeight = $_swatchOuterHeight + 2;
37
+
38
+ $_swatchUrl = $this->getSwatchUrl();
39
+ ?>
40
+
41
+ <li class="swatch-current">
42
+ <?php
43
+ $clearLinkUrl = $_filter->getClearLinkUrl();
44
+ if ($clearLinkUrl):
45
+ ?>
46
+ <a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
47
+ <a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
48
+ <?php else: ?>
49
+ <a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
50
+ <?php endif; ?>
51
+ <span class="label" style="line-height: <?php echo $_lineHeight; ?>px;"><?php echo $this->__($_filter->getName()) ?>:</span>
52
+ <span class="value" style="line-height: <?php echo $_lineHeight; ?>px;">
53
+ <span class="swatch-link" style="height:<?php echo $_swatchOuterHeight ?>px; width:<?php echo $_swatchOuterWidth ?>px;">
54
+ <span class="swatch-label" style="height:<?php echo $_swatchInnerHeight ?>px; width:<?php echo $_swatchInnerWidth ?>px; line-height:<?php echo $_swatchInnerHeight ?>px;">
55
+ <img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_label; ?>" title="<?php echo $_label ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
56
+ </span>
57
+ </span>
58
+ </span>
59
+ </li>
app/design/frontend/svs_store/default/template/configurableswatches/catalog/media/js.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /* @var $this Mage_ConfigurableSwatches_Block_Catalog_Media_Js_Abstract */
29
+ ?>
30
+
31
+ <script type="text/javascript">
32
+ $j(document).on('product-media-loaded', function() {
33
+ ConfigurableMediaImages.init('<?php echo $this->getImageType(); ?>');
34
+ <?php foreach ($this->getProductImageFallbacks() as $imageFallback): ?>
35
+ ConfigurableMediaImages.setImageFallback(<?php echo $imageFallback['product']->getId(); ?>, $j.parseJSON('<?php echo $imageFallback['image_fallback']; ?>'));
36
+ <?php endforeach; ?>
37
+ $j(document).trigger('configurable-media-images-init', ConfigurableMediaImages);
38
+ });
39
+ </script>
app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/list/swatches.phtml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_product = $this->getProduct();
29
+
30
+ if (Mage::helper('configurableswatches')->isEnabled() && $_product && $_product->getId()
31
+ && ($_attrValues = $_product->getListSwatchAttrValues()) && count($_attrValues) > 0):
32
+
33
+ $_swatchAttribute = Mage::helper('configurableswatches/productlist')->getSwatchAttribute();
34
+
35
+ $_dimHelper = Mage::helper('configurableswatches/swatchdimensions');
36
+ $_swatchInnerWidth = $_dimHelper->getInnerWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
37
+ $_swatchInnerHeight = $_dimHelper->getInnerHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
38
+ $_swatchOuterWidth = $_dimHelper->getOuterWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
39
+ $_swatchOuterHeight = $_dimHelper->getOuterHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
40
+ ?>
41
+ <ul class="configurable-swatch-list configurable-swatch-<?php echo $_swatchAttribute->getAttributeCode() ?> clearfix">
42
+ <?php foreach ($_attrValues as $_optionValue => $_optionLabel): ?>
43
+ <?php
44
+ $_optionCode = Mage::helper('configurableswatches')->getHyphenatedString($_optionLabel);
45
+ $_swatchUrl = Mage::helper('configurableswatches/productimg')->getSwatchUrl($_product, $_optionLabel, $_swatchInnerWidth, $_swatchInnerHeight, $_swatchType);
46
+ $_hasImage = !empty($_swatchUrl);
47
+ $_liClasses = array();
48
+ $_aClass = 'swatch-link swatch-link-' . $_swatchAttribute->getId();
49
+ if ($_hasImage) {
50
+ if ($_swatchType == 'media') {
51
+ $_liClasses[] = 'is-media';
52
+ }
53
+ $_aClass .= ' has-image';
54
+ } elseif (strlen($_optionLabel) > 3) {
55
+ $_liClasses[] = 'wide-swatch';
56
+ }
57
+ if (Mage::helper('configurableswatches/productlist')->swatchMatchesFilter($_optionValue)) {
58
+ $_liClasses[] = 'filter-match';
59
+ }
60
+ $_liClass = (!empty($_liClasses)) ? ' ' . implode(' ', $_liClasses) : '';
61
+ ?>
62
+ <li class="option-<?php echo $_optionCode; ?><?php echo $_liClass; ?>" data-product-id="<?php echo $_product->getId() ?>" data-option-label="<?php echo $_optionLabel ?>">
63
+ <a href="javascript:void(0)" name="<?php echo $_optionCode; ?>" class="<?php echo $_aClass ?>" title="<?php echo $_optionLabel; ?>"
64
+ style="height: <?php echo $_swatchOuterHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchOuterWidth ?>px;">
65
+ <span class="swatch-label" style="height: <?php echo $_swatchInnerHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchInnerWidth ?>px; line-height: <?php echo $_swatchInnerHeight ?>px;">
66
+ <?php if ($_hasImage): ?>
67
+ <img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_optionLabel; ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
68
+ <?php else: ?>
69
+ <?php echo $_optionLabel; ?>
70
+ <?php endif; ?>
71
+ </span>
72
+ </a>
73
+ </li>
74
+ <?php endforeach; ?>
75
+ </ul>
76
+ <?php
77
+ endif;
app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">
28
+ document.observe('dom:loaded', function() {
29
+ var swatchesConfig = new Product.ConfigurableSwatches(spConfig);
30
+ });
31
+ </script>
app/design/frontend/svs_store/default/template/configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_product = $this->getProduct();
29
+ $_attribute = $this->getAttributeObj();
30
+ $_jsonConfig = $this->getJsonConfig();
31
+ $_config = json_decode($_jsonConfig);
32
+
33
+ $_swatchInnerWidth = $this->getSwatchInnerWidth();
34
+ $_swatchInnerHeight = $this->getSwatchInnerHeight();
35
+ $_swatchOuterWidth = $this->getSwatchOuterWidth();
36
+ $_swatchOuterHeight = $this->getSwatchOuterHeight();
37
+
38
+ $_attr = $_attribute->getProductAttribute();
39
+ $_attrCode = $_attr->getAttributeCode();
40
+ $_id = $_attribute->getAttributeId();
41
+
42
+ $_swatchArray = $_config->attributes->$_id;
43
+ ?>
44
+ <dt class="swatch-attr">
45
+ <label id="<?php echo $_attrCode ?>_label" class="required">
46
+ <em>*</em><?php echo $_attribute->getLabel() ?>:
47
+ <span id="select_label_<?php echo $_attrCode ?>" class="select-label"></span>
48
+ </label>
49
+ </dt>
50
+ <dd class="clearfix swatch-attr<?php if ($_attribute->decoratedIsLast) echo ' last'; ?>">
51
+ <div class="input-box">
52
+ <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select no-display swatch-select">
53
+ <option><?php echo $this->__('Choose an Option...') ?></option>
54
+ </select>
55
+ <ul id="configurable_swatch_<?php echo $_attrCode ?>" class="configurable-swatch-list clearfix">
56
+ <?php foreach ($_swatchArray->options as $_option): ?>
57
+ <?php
58
+ $_optionCode = Mage::helper('configurableswatches')->getHyphenatedString($_option->label);
59
+ $_swatchUrl = Mage::helper('configurableswatches/productimg')->getSwatchUrl($_product, $_option->label, $_swatchInnerWidth, $_swatchInnerHeight, $_swatchType);
60
+ $_hasImage = !empty($_swatchUrl);
61
+ $_liClass = '';
62
+ $_aClass = 'swatch-link swatch-link-' . $_attribute->getAttributeId();
63
+ if ($_hasImage) {
64
+ $_liClass .= $_swatchType == 'media' ? ' is-media' : '';
65
+ $_aClass .= ' has-image';
66
+ } elseif (strlen($_option->label) > 3) {
67
+ $_liClass .= ' wide-swatch';
68
+ }
69
+ ?>
70
+ <li class="option-<?php echo $_optionCode; ?><?php echo $_liClass; ?>" id="option<?php echo $_option->id; ?>">
71
+ <a href="javascript:void(0)" name="<?php echo $_optionCode; ?>" id="swatch<?php echo $_option->id; ?>" class="<?php echo $_aClass ?>" title="<?php echo $_option->label; ?>"
72
+ style="height: <?php echo $_swatchOuterHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchOuterWidth ?>px;">
73
+ <span class="swatch-label" style="height: <?php echo $_swatchInnerHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchInnerWidth ?>px; line-height: <?php echo $_swatchInnerHeight ?>px;">
74
+ <?php if ($_hasImage): ?>
75
+ <img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_option->label; ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
76
+ <?php else: ?>
77
+ <?php echo $_option->label; ?>
78
+ <?php endif; ?>
79
+ </span>
80
+ <span class="x">X</span>
81
+ </a>
82
+ </li>
83
+ <?php endforeach; ?>
84
+ </ul>
85
+ </div>
86
+ </dd>
app/design/frontend/svs_store/default/template/contacts/form.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
28
+ <div class="page-title">
29
+ <h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
30
+ </div>
31
+ <form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post" class="scaffold-form">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo Mage::helper('contacts')->__('Contact Information') ?></h2>
34
+ <p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
35
+ <ul class="form-list">
36
+ <li class="fields">
37
+ <div class="field">
38
+ <label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
39
+ <div class="input-box">
40
+ <input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
41
+ </div>
42
+ </div>
43
+ <div class="field">
44
+ <label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
45
+ <div class="input-box">
46
+ <input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="email" autocapitalize="off" autocorrect="off" spellcheck="false" />
47
+ </div>
48
+ </div>
49
+ </li>
50
+ <li>
51
+ <label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
52
+ <div class="input-box">
53
+ <input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="tel" />
54
+ </div>
55
+ </li>
56
+ <li class="wide">
57
+ <label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
58
+ <div class="input-box">
59
+ <textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
60
+ </div>
61
+ </li>
62
+ </ul>
63
+ </div>
64
+ <div class="buttons-set">
65
+ <input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
66
+ <button type="submit" title="<?php echo Mage::helper('contacts')->__('Submit') ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
67
+ </div>
68
+ </form>
69
+ <script type="text/javascript">
70
+ //<![CDATA[
71
+ var contactForm = new VarienForm('contactForm', true);
72
+ //]]>
73
+ </script>
app/design/frontend/svs_store/default/template/customer/account/dashboard.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="dashboard">
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('My Dashboard') ?></h1>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
32
+ <?php echo $this->getChildHtml('hello') ?>
33
+ <?php echo $this->getChildHtml('top') ?>
34
+ <div class="box-account box-info">
35
+ <div class="box-head">
36
+ <h2><?php echo $this->__('Account Information') ?></h2>
37
+ </div>
38
+ <?php /* Extensions placeholder */ ?>
39
+ <?php echo $this->getChildHtml('customer.account.dashboard.extra') ?>
40
+ <?php echo $this->getChildHtml('info') ?>
41
+ </div>
42
+ <?php echo $this->getChildHtml('address') ?>
43
+ <?php echo $this->getChildHtml('info1') ?>
44
+ <?php echo $this->getChildHtml('info2') ?>
45
+ </div>
app/design/frontend/svs_store/default/template/customer/account/dashboard/address.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="box-account box-info">
28
+ <div class="box-head">
29
+ <h2><?php echo $this->__('Address Book') ?></h2>
30
+ <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
31
+ </div>
32
+ <div class="col2-set">
33
+ <div class="col-1">
34
+ <div class="box">
35
+ <div class="box-title">
36
+ <h3><?php echo $this->__('Default Billing Address') ?></h3>
37
+ <a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
38
+ </div>
39
+ <div class="box-content">
40
+ <address><?php echo $this->getPrimaryBillingAddressHtml() ?></address>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ <div class="col-2">
45
+ <div class="box">
46
+ <div class="box-title">
47
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
48
+ <a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
49
+ </div>
50
+ <div class="box-content">
51
+ <address><?php echo $this->getPrimaryShippingAddressHtml() ?></address>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
app/design/frontend/svs_store/default/template/customer/account/navigation.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-account">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('My Account'); ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <ul>
33
+ <?php $_links = $this->getLinks(); ?>
34
+ <?php $_index = 1; ?>
35
+ <?php $_count = count($_links); ?>
36
+ <?php foreach ($_links as $_link): ?>
37
+ <?php $_last = ($_index++ >= $_count); ?>
38
+ <?php if ($this->isActive($_link)): ?>
39
+ <li class="current<?php echo ($_last ? ' last' : '') ?>"><a href="<?php echo $_link->getUrl() ?>"><strong><?php echo $_link->getLabel() ?></strong></a></li>
40
+ <?php else: ?>
41
+ <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ </div>
app/design/frontend/svs_store/default/template/customer/address/edit.phtml ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Edit customer address template
30
+ *
31
+ * @see Mage_Customer_Block_Address_Edit
32
+ */
33
+ ?>
34
+ <?php if($this->getTitle()): ?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->getTitle() ?></h1>
37
+ </div>
38
+ <?php endif; ?>
39
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
40
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
41
+ <div class="fieldset">
42
+ <?php echo $this->getBlockHtml('formkey')?>
43
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
+ <h2 class="legend"><?php echo $this->__('Contact Information') ?></h2>
46
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
47
+ <ul class="form-list">
48
+ <li class="fields">
49
+ <?php echo $this->getNameBlockHtml() ?>
50
+ </li>
51
+ <li class="wide">
52
+ <label for="company"><?php echo $this->__('Company') ?></label>
53
+ <div class="input-box">
54
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
55
+ </div>
56
+ </li>
57
+ <li class="fields">
58
+ <div class="field">
59
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
60
+ <div class="input-box">
61
+ <input type="tel" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
62
+ </div>
63
+ </div>
64
+ <div class="field">
65
+ <label for="fax"><?php echo $this->__('Fax') ?></label>
66
+ <div class="input-box">
67
+ <input type="tel" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
68
+ </div>
69
+ </div>
70
+ </li>
71
+ </ul>
72
+ </div>
73
+ <div class="fieldset">
74
+ <h2 class="legend"><?php echo $this->__('Address') ?></h2>
75
+ <ul class="form-list">
76
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
77
+ <li class="wide">
78
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
79
+ <div class="input-box">
80
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
81
+ </div>
82
+ </li>
83
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
84
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
85
+ <li class="wide">
86
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
87
+ <div class="input-box">
88
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
89
+ </div>
90
+ </li>
91
+ <?php endfor; ?>
92
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
93
+ <li class="wide">
94
+ <label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
95
+ <div class="input-box">
96
+ <input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
97
+ </div>
98
+ </li>
99
+ <?php endif; ?>
100
+ <li class="fields">
101
+ <div class="field">
102
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
103
+ <div class="input-box">
104
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
105
+ </div>
106
+ </div>
107
+ <div class="field">
108
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
109
+ <div class="input-box">
110
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
111
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
112
+ </select>
113
+ <script type="text/javascript">
114
+ //<![CDATA[
115
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
116
+ //]]>
117
+ </script>
118
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
119
+ </div>
120
+ </div>
121
+ </li>
122
+ <li class="fields">
123
+ <div class="field">
124
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
125
+ <div class="input-box">
126
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
127
+ </div>
128
+ </div>
129
+ <div class="field">
130
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
131
+ <div class="input-box">
132
+ <?php echo $this->getCountryHtmlSelect() ?>
133
+ </div>
134
+ </div>
135
+ </li>
136
+ <li<?php if($this->canSetAsDefaultBilling()) echo ' class="control"' ?>>
137
+ <?php if($this->isDefaultBilling()): ?>
138
+ <strong><?php echo $this->__('Default Billing Address') ?></strong>
139
+ <?php elseif($this->canSetAsDefaultBilling()): ?>
140
+ <input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as My Default Billing Address') ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
141
+ <?php else: ?>
142
+ <input type="hidden" name="default_billing" value="1" />
143
+ <?php endif; ?>
144
+ </li>
145
+ <li<?php if($this->canSetAsDefaultShipping()) echo ' class="control"' ?>>
146
+ <?php if($this->isDefaultShipping()): ?>
147
+ <strong><?php echo $this->__('Default Shipping Address') ?></strong>
148
+ <?php elseif($this->canSetAsDefaultShipping()): ?>
149
+ <input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as My Default Shipping Address') ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
150
+ <?php else: ?>
151
+ <input type="hidden" name="default_shipping" value="1" />
152
+ <?php endif; ?>
153
+ </li>
154
+ </ul>
155
+ </div>
156
+ <div class="buttons-set">
157
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
158
+ <button type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
159
+ </div>
160
+ </form>
161
+ <script type="text/javascript">
162
+ //<![CDATA[
163
+ var dataForm = new VarienForm('form-validate', true);
164
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
165
+ //]]>
166
+ </script>
app/design/frontend/svs_store/default/template/customer/form/address.phtml ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
28
+
29
+ <div class="page-title">
30
+ <h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
33
+ <form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
34
+ <div class="fieldset">
35
+ <input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
36
+ <input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
37
+ <h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
38
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
39
+ <ul class="form-list">
40
+ <li class="fields">
41
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
42
+ </li>
43
+ <li>
44
+ <label for="company"><?php echo $this->__('Company') ?></label>
45
+ <div class="input-box">
46
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
47
+ </div>
48
+ </li>
49
+ </ul>
50
+ </div>
51
+ <div class="fieldset">
52
+ <h2 class="legend"><?php echo $this->__('Address') ?></h2>
53
+ <ul class="form-list">
54
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
55
+ <li class="wide">
56
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
57
+ <div class="input-box">
58
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
59
+ </div>
60
+ </li>
61
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
62
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
63
+ <li class="wide">
64
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
65
+ <div class="input-box">
66
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
67
+ </div>
68
+ </li>
69
+ <?php endfor; ?>
70
+ <li class="fields">
71
+ <div class="field">
72
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
73
+ <div class="input-box">
74
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
75
+ </div>
76
+ </div>
77
+ <div class="field">
78
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
79
+ <div class="input-box">
80
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
81
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
82
+ </select>
83
+ <script type="text/javascript">
84
+ //<![CDATA[
85
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
86
+ //]]>
87
+ </script>
88
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
89
+ </div>
90
+ </div>
91
+ </li>
92
+ <li class="fields">
93
+ <div class="field">
94
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
95
+ <div class="input-box">
96
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
97
+ </div>
98
+ </div>
99
+ <div class="field">
100
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
101
+ <div class="input-box">
102
+ <select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
103
+ <?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
104
+ </select>
105
+ </div>
106
+ </div>
107
+ </li>
108
+ <li class="fields">
109
+ <div class="field">
110
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
111
+ <div class="input-box">
112
+ <input type="tel" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
113
+ </div>
114
+ </div>
115
+ <div class="field">
116
+ <label for="fax"><?php echo $this->__('Fax') ?></label>
117
+ <div class="input-box">
118
+ <input type="tel" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
119
+ </div>
120
+ </div>
121
+ </li>
122
+ <?php foreach ($primaryTypes as $code=>$type): ?>
123
+ <li<?php if (!$address->isPrimary($type['address_type_id'])) echo ' class="control"' ?>>
124
+ <?php if ($address->isPrimary($type['address_type_id'])): ?>
125
+ <strong><?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?></strong>
126
+ <?php else: ?>
127
+ <input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" /><label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
128
+ <?php endif ?>
129
+ </li>
130
+ <?php endforeach ?>
131
+ </ul>
132
+ </div>
133
+ <div class="buttons-set">
134
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
135
+ <button type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
136
+ </div>
137
+ </form>
138
+ <script type="text/javascript">
139
+ //<![CDATA[
140
+ var dataForm = new VarienForm('form-validate', true);
141
+ //dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
142
+ new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
143
+ //]]>
144
+ </script>
app/design/frontend/svs_store/default/template/customer/form/changepassword.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Change Account Password') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
31
+ <form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
34
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
35
+ <ul class="form-list">
36
+ <li>
37
+ <label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
38
+ <div class="input-box">
39
+ <input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
40
+ </div>
41
+ </li>
42
+ <li class="fields">
43
+ <div class="field">
44
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
45
+ <div class="input-box">
46
+ <input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
47
+ </div>
48
+ </div>
49
+ <div class="field">
50
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
51
+ <div class="input-box">
52
+ <input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
53
+ </div>
54
+ </div>
55
+ </li>
56
+ </ul>
57
+ </div>
58
+ <div class="buttons-set">
59
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
60
+ <button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
61
+ </div>
62
+ </form>
63
+ <script type="text/javascript">
64
+ //<![CDATA[
65
+ var dataForm = new VarienForm('form-validate');
66
+ //]]>
67
+ </script>
app/design/frontend/svs_store/default/template/customer/form/confirmation.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Send confirmation link') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
31
+ <form action="" method="post" id="form-validate">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
34
+ <p><?php echo $this->__('Please enter your email below and we\'ll send you confirmation link for it.') ?></p>
35
+ <ul class="form-list">
36
+ <li>
37
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
38
+ <div class="input-box">
39
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
40
+ </div>
41
+ </li>
42
+ </ul>
43
+ </div>
44
+ <div class="buttons-set">
45
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
46
+ <p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Login') ?></a></p>
47
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
48
+ </div>
49
+ </form>
50
+ <script type="text/javascript">
51
+ //<![CDATA[
52
+ var dataForm = new VarienForm('form-validate', true);
53
+ //]]>
54
+ </script>
app/design/frontend/svs_store/default/template/customer/form/edit.phtml ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Edit Account Information') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
31
+ <form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
32
+ <div class="fieldset">
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <h2 class="legend"><?php echo $this->__('Account Information') ?></h2>
35
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
36
+ <ul class="form-list">
37
+ <li class="fields">
38
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
39
+ </li>
40
+ <li>
41
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
42
+ <div class="input-box">
43
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" />
44
+ </div>
45
+ </li>
46
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
47
+ <?php if ($_dob->isEnabled()): ?>
48
+ <li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
49
+ <?php endif ?>
50
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
51
+ <?php if ($_taxvat->isEnabled()): ?>
52
+ <li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
53
+ <?php endif ?>
54
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
55
+ <?php if ($_gender->isEnabled()): ?>
56
+ <li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
57
+ <?php endif ?>
58
+ <li class="control">
59
+ <input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
60
+ </li>
61
+ </ul>
62
+ </div>
63
+ <div class="fieldset" style="display:none;">
64
+ <h2 class="legend"><?php echo $this->__('Change Password') ?></h2>
65
+ <ul class="form-list">
66
+ <li>
67
+ <label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
68
+ <div class="input-box">
69
+ <!-- This is a dummy hidden field to trick firefox from auto filling the password -->
70
+ <input type="text" class="input-text no-display" name="dummy" id="dummy" />
71
+ <input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text" name="current_password" id="current_password" />
72
+ </div>
73
+ </li>
74
+ <li class="fields">
75
+ <div class="field">
76
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
77
+ <div class="input-box">
78
+ <input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password" name="password" id="password" />
79
+ </div>
80
+ </div>
81
+ <div class="field">
82
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
83
+ <div class="input-box">
84
+ <input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
85
+ </div>
86
+ </div>
87
+ </li>
88
+ </ul>
89
+ </div>
90
+ <div class="buttons-set">
91
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
92
+ <button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
93
+ </div>
94
+ </form>
95
+ <script type="text/javascript">
96
+ //<![CDATA[
97
+ var dataForm = new VarienForm('form-validate', true);
98
+ function setPasswordForm(arg){
99
+ if(arg){
100
+ $('current_password').up(3).show();
101
+ $('current_password').addClassName('required-entry');
102
+ $('password').addClassName('required-entry');
103
+ $('confirmation').addClassName('required-entry');
104
+
105
+ }else{
106
+ $('current_password').up(3).hide();
107
+ $('current_password').removeClassName('required-entry');
108
+ $('password').removeClassName('required-entry');
109
+ $('confirmation').removeClassName('required-entry');
110
+ }
111
+ }
112
+
113
+ <?php if($this->getCustomer()->getChangePassword()): ?>
114
+ setPasswordForm(true);
115
+ <?php endif; ?>
116
+ //]]>
117
+ </script>
app/design/frontend/svs_store/default/template/customer/form/forgotpassword.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Forgot Your Password?') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
31
+ <form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
32
+ <div class="fieldset">
33
+ <h2><?php echo $this->__('Retrieve your password here') ?></h2>
34
+ <p class="form-instructions"><?php echo $this->__('Please enter your email address below. You will receive a link to reset your password.') ?></p>
35
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
36
+ <ul class="form-list">
37
+ <li>
38
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
39
+ <div class="input-box">
40
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmailValue()) ?>" />
41
+ </div>
42
+ </li>
43
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
44
+ </ul>
45
+ </div>
46
+ <div class="buttons-set">
47
+ <p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Login') ?></a></p>
48
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
49
+ </div>
50
+ </form>
51
+ <script type="text/javascript">
52
+ //<![CDATA[
53
+ var dataForm = new VarienForm('form-validate', true);
54
+ //]]>
55
+ </script>
app/design/frontend/svs_store/default/template/customer/form/mini.login.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-login">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Login') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post">
32
+ <div class="block-content">
33
+ <label for="mini-login"><?php echo $this->__('Email:') ?></label><input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="login[username]" id="mini-login" class="input-text" />
34
+ <label for="mini-password"><?php echo $this->__('Password:') ?></label><input type="password" name="login[password]" id="mini-password" class="input-text" />
35
+ <div class="actions">
36
+ <button type="submit" class="button"><span><span><?php echo $this->__('Login') ?></span></span></button>
37
+ </div>
38
+ </div>
39
+ </form>
40
+ </div>
app/design/frontend/svs_store/default/template/customer/form/resetforgottenpassword.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title">
28
+ <h1><?php echo $this->__('Reset a Password'); ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->toHtml(); ?>
31
+ <form action="<?php echo $this->getUrl('*/*/resetpasswordpost', array('_query' => array('id' => $this->getCustomerId(), 'token' => $this->getResetPasswordLinkToken()))); ?>" method="post" id="form-validate" class="scaffold-form">
32
+ <div class="fieldset" style="margin-top: 70px;">
33
+ <p class="required"><?php echo $this->__('* Required Fields'); ?></p>
34
+ <ul class="form-list">
35
+ <li class="fields">
36
+ <div class="field">
37
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password'); ?></label>
38
+ <div class="input-box">
39
+ <input type="password" class="input-text required-entry validate-password" name="password" id="password" />
40
+ </div>
41
+ </div>
42
+ <div class="field">
43
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password'); ?></label>
44
+ <div class="input-box">
45
+ <input type="password" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
46
+ </div>
47
+ </div>
48
+ </li>
49
+ </ul>
50
+ </div>
51
+ <div class="buttons-set">
52
+ <button type="submit" title="<?php echo $this->__('Reset a Password'); ?>" class="button"><span><span><?php echo $this->__('Reset a Password'); ?></span></span></button>
53
+ </div>
54
+ </form>
55
+ <script type="text/javascript">
56
+ /*<![CDATA[*/
57
+ var dataForm = new VarienForm('form-validate', true);
58
+ /*]]>*/
59
+ </script>
app/design/frontend/svs_store/default/template/directory/currency.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Currency switcher
30
+ *
31
+ * @see Mage_Directory_Block_Currency
32
+ */
33
+ ?>
34
+ <?php if($this->getCurrencyCount()>1): ?>
35
+ <a id="currency" class="dropdown-toggle" role="button" href="#" data-toggle="dropdown">Currency</a>
36
+ <ul class="dropdown-menu" role="menu" id="select-currency" name="currency" title="<?php echo $this->__('Your Currency') ?>" onchange="setLocation(this.value)">
37
+ <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
38
+ <li><a href="<?php echo $this->getSwitchCurrencyUrl($_code) ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
39
+ <?php echo $_name ?> (<?php echo $_code ?>)
40
+ </a></li>
41
+ <?php endforeach; ?>
42
+ </ul>
43
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/downloadable/catalog/product/type.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Downloadable product type
29
+ *
30
+ * @see Mage_Downloadable_Block_Catalog_Product_View_Type
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+
35
+ <?php if($_product->isSaleable()): ?>
36
+ <p class="availability in-stock">
37
+ <span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
38
+ <span class="value"><?php echo $this->helper('catalog')->__('In stock') ?></span>
39
+ </p>
40
+ <?php else: ?>
41
+ <p class="availability out-of-stock">
42
+ <span class="label"><?php echo $this->helper('catalog')->__('Availability:') ?></span>
43
+ <span class="value"><?php echo $this->helper('catalog')->__('Out of stock') ?></span>
44
+ </p>
45
+ <?php endif; ?>
46
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
47
+ <?php //echo $this->getPriceHtml($_product) ?>
48
+ <?php //echo $this->getChildHtml('samples') ?>
app/design/frontend/svs_store/default/template/downloadable/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <tr>
33
+ <td class="product-cart-image"><a href="<?php echo $this->getProductUrl() ?>" class="product-image"
34
+ title="<?php echo $this->escapeHtml($this->getProductName()) ?>"><img
35
+ src="<?php echo $this->getProductThumbnail()->resize(180); ?>"
36
+ alt="<?php echo $this->escapeHtml($this->getProductName()) ?>"/></a>
37
+
38
+ <ul class="cart-links">
39
+ <?php if ($isVisibleProduct): ?>
40
+ <li>
41
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
42
+ </li>
43
+ <?php endif ?>
44
+
45
+ <?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
46
+ <li>
47
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
48
+ </li>
49
+ <?php endif ?>
50
+ </ul>
51
+ </td>
52
+ <td class="product-cart-info">
53
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
54
+ <h2 class="product-name"><a
55
+ href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
56
+ </h2>
57
+
58
+ <div class="product-cart-sku">
59
+ <span class="label"><?php echo $this->__('SKU'); ?>:</span> <?php echo $this->escapeHtml($_item->getSku()); ?>
60
+ </div>
61
+
62
+ <?php if ($_options = $this->getOptionList()): ?>
63
+ <dl class="item-options">
64
+ <?php foreach ($_options as $_option) : ?>
65
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
66
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
67
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
68
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
69
+ <div class="truncated_full_value">
70
+ <dl class="item-options">
71
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
72
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
73
+ </dl>
74
+ </div>
75
+ <?php endif; ?>
76
+ </dd>
77
+ <?php endforeach; ?>
78
+ </dl>
79
+ <?php endif; ?>
80
+ <!-- downloadable -->
81
+ <?php if ($links = $this->getLinks()): ?>
82
+ <dl class="item-options">
83
+ <dt><?php echo $this->getLinksTitle() ?></dt>
84
+ <?php foreach ($links as $link): ?>
85
+ <dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
86
+ <?php endforeach; ?>
87
+ </dl>
88
+ <?php endif; ?>
89
+ <!-- EOF downloadable -->
90
+
91
+ <?php if ($messages = $this->getMessages()): ?>
92
+ <?php foreach ($messages as $message): ?>
93
+ <div class="shopping-cart-item-message <?php echo $message['type'] ?>">
94
+ * <?php echo $this->escapeHtml($message['text']) ?>
95
+ </div>
96
+ <?php endforeach; ?>
97
+ <?php endif; ?>
98
+ </td>
99
+ <?php if ($canApplyMsrp): ?>
100
+ <td class="a-right"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
101
+ <span class="cart-price">
102
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
103
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
104
+ <a id="<?php echo $helpLinkId ?>" href="#"
105
+ class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
106
+ <script type="text/javascript">
107
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
108
+ </script>
109
+ </span>
110
+ </td>
111
+ <?php else: ?>
112
+
113
+
114
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
115
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Excl. Tax'); ?>">
116
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
117
+ <div class="cart-tax-total"
118
+ onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
119
+ <?php else: ?>
120
+ <span class="cart-price">
121
+ <?php endif; ?>
122
+
123
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
124
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?>
125
+ <?php else: ?>
126
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
127
+ <?php endif; ?>
128
+
129
+ </span>
130
+
131
+
132
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
133
+
134
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>"
135
+ style="display:none;">
136
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
137
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
138
+ <span class="weee"><?php echo $tax['title']; ?>
139
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
140
+ <?php endforeach; ?>
141
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
142
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
143
+ <span class="weee"><?php echo $tax['title']; ?>
144
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
145
+ <?php endforeach; ?>
146
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
147
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
148
+ <span class="weee"><?php echo $tax['title']; ?>
149
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
150
+ <?php endforeach; ?>
151
+ <?php endif; ?>
152
+ </div>
153
+
154
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
155
+ <div class="cart-tax-total"
156
+ onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
157
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
158
+ : <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?></span>
159
+ </div>
160
+ <?php endif; ?>
161
+ <?php endif; ?>
162
+ </td>
163
+ <?php endif; ?>
164
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
165
+ <td class="product-cart-price" data-rwd-label="<?php echo $this->__('Price'); ?>" data-rwd-tax-label="<?php echo $this->__('Incl. Tax'); ?>">
166
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
167
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
168
+ <div class="cart-tax-total"
169
+ onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
170
+ <?php else: ?>
171
+ <span class="cart-price">
172
+ <?php endif; ?>
173
+
174
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
175
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
176
+ <?php else: ?>
177
+ <?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxDisposition()) ?>
178
+ <?php endif; ?>
179
+
180
+ </span>
181
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
182
+
183
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>"
184
+ style="display:none;">
185
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
186
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
187
+ <span class="weee"><?php echo $tax['title']; ?>
188
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
189
+ <?php endforeach; ?>
190
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
191
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
192
+ <span class="weee"><?php echo $tax['title']; ?>
193
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
194
+ <?php endforeach; ?>
195
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
196
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
197
+ <span class="weee"><?php echo $tax['title']; ?>
198
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
199
+ <?php endforeach; ?>
200
+ <?php endif; ?>
201
+ </div>
202
+
203
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
204
+ <div class="cart-tax-total"
205
+ onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
206
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
207
+ : <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
208
+ </div>
209
+ <?php endif; ?>
210
+ <?php endif; ?>
211
+ </td>
212
+ <?php endif; ?>
213
+ <?php endif; ?>
214
+ <td class="product-cart-actions" data-rwd-label="<?php echo $this->__('Qty'); ?>">
215
+ <input type="text" pattern="\d*" name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
216
+
217
+ <button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update'); ?></span></span>
218
+ </button>
219
+
220
+ <ul class="cart-links">
221
+ <?php if ($isVisibleProduct): ?>
222
+ <li>
223
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
224
+ </li>
225
+ <?php endif ?>
226
+
227
+ <?php if ($this->helper('wishlist')->isAllowInCart() && $isVisibleProduct) : ?>
228
+ <li>
229
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move to wishlist'); ?></a>
230
+ </li>
231
+ <?php endif ?>
232
+ </ul>
233
+
234
+ </td>
235
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
236
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
237
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
238
+ <div class="cart-tax-total"
239
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
240
+ <?php else: ?>
241
+ <div class="cart-price">
242
+ <?php endif; ?>
243
+
244
+ <?php if ($canApplyMsrp): ?>
245
+ <span class="cart-msrp-subtotal">--</span>
246
+ <?php else: ?>
247
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
248
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
249
+ <?php else: ?>
250
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
251
+ <?php endif; ?>
252
+ <?php endif; ?>
253
+
254
+ </div>
255
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
256
+
257
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>"
258
+ style="display:none;">
259
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
260
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
261
+ <span class="weee"><?php echo $tax['title']; ?>
262
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
263
+ <?php endforeach; ?>
264
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
265
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
266
+ <span class="weee"><?php echo $tax['title']; ?>
267
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
268
+ <?php endforeach; ?>
269
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
270
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
271
+ <span class="weee"><?php echo $tax['title']; ?>
272
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
273
+ <?php endforeach; ?>
274
+ <?php endif; ?>
275
+ </div>
276
+
277
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
278
+ <div class="cart-tax-total"
279
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
280
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
281
+ : <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
282
+ </div>
283
+ <?php endif; ?>
284
+ <?php endif; ?>
285
+ </td>
286
+ <?php endif; ?>
287
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
288
+ <td class="product-cart-total" data-rwd-label="<?php echo $this->__('Subtotal'); ?>">
289
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
290
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
291
+ <div class="cart-tax-total"
292
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
293
+ <?php else: ?>
294
+ <div class="cart-price">
295
+ <?php endif; ?>
296
+
297
+ <?php if ($canApplyMsrp): ?>
298
+ <span class="cart-msrp-subtotal">--</span>
299
+ <?php else: ?>
300
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
301
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
302
+ <?php else: ?>
303
+ <?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
304
+ <?php endif; ?>
305
+ <?php endif; ?>
306
+
307
+ </div>
308
+
309
+
310
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
311
+
312
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>"
313
+ style="display:none;">
314
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
315
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
316
+ <span class="weee"><?php echo $tax['title']; ?>
317
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
318
+ <?php endforeach; ?>
319
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
320
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
321
+ <span class="weee"><?php echo $tax['title']; ?>
322
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
323
+ <?php endforeach; ?>
324
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
325
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
326
+ <span class="weee"><?php echo $tax['title']; ?>
327
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
328
+ <?php endforeach; ?>
329
+ <?php endif; ?>
330
+ </div>
331
+
332
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
333
+ <div class="cart-tax-total"
334
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
335
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
336
+ : <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
337
+ </div>
338
+ <?php endif; ?>
339
+ <?php endif; ?>
340
+ </td>
341
+ <?php endif; ?>
342
+ <td class="a-center product-cart-remove"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>"
343
+ class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
344
+ </tr>
app/design/frontend/svs_store/default/template/downloadable/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem()?>
28
+ <tr>
29
+ <td><h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
30
+ <!-- item custom options -->
31
+ <?php if ($_options = $this->getOptionList()):?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
35
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
36
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
37
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
38
+ <div class="truncated_full_value">
39
+ <dl class="item-options">
40
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
41
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
42
+ </dl>
43
+ </div>
44
+ <?php endif; ?>
45
+ </dd>
46
+ <?php endforeach; ?>
47
+ </dl>
48
+ <?php endif;?>
49
+ <?php if ($links = $this->getLinks()): ?>
50
+ <dl class="item-options">
51
+ <dt><?php echo $this->getLinksTitle() ?></dt>
52
+ <?php foreach ($links as $link): ?>
53
+ <dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
54
+ <?php endforeach; ?>
55
+ </dl>
56
+ <?php endif; ?>
57
+ <!-- EOF downloadable -->
58
+ </td>
59
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
60
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
61
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
62
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
63
+ <?php else: ?>
64
+ <span class="cart-price">
65
+ <?php endif; ?>
66
+
67
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
68
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
69
+ <?php else: ?>
70
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
71
+ <?php endif; ?>
72
+
73
+ </span>
74
+
75
+
76
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
77
+
78
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
79
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
80
+ <small>
81
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
82
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
83
+ <?php endforeach; ?>
84
+ </small>
85
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
86
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
87
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
88
+ <?php endforeach; ?>
89
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
90
+ <small>
91
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
92
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
93
+ <?php endforeach; ?>
94
+ </small>
95
+ <?php endif; ?>
96
+ </div>
97
+
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
99
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
100
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
101
+ </div>
102
+ <?php endif; ?>
103
+ <?php endif; ?>
104
+ </td>
105
+ <?php endif; ?>
106
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
107
+ <td data-rwd-label="<?php echo $this->__('Price') ?>">
108
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
109
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
110
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
111
+ <?php else: ?>
112
+ <span class="cart-price">
113
+ <?php endif; ?>
114
+
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
116
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
117
+ <?php else: ?>
118
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
119
+ <?php endif; ?>
120
+
121
+ </span>
122
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
123
+
124
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
125
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
126
+ <small>
127
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
128
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
129
+ <?php endforeach; ?>
130
+ </small>
131
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
132
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
133
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
134
+ <?php endforeach; ?>
135
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
136
+ <small>
137
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
138
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
139
+ <?php endforeach; ?>
140
+ </small>
141
+ <?php endif; ?>
142
+ </div>
143
+
144
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
145
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
146
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
147
+ </div>
148
+ <?php endif; ?>
149
+ <?php endif; ?>
150
+ </td>
151
+ <?php endif; ?>
152
+ <td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
153
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
154
+ <td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
155
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
156
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
157
+ <?php else: ?>
158
+ <span class="cart-price">
159
+ <?php endif; ?>
160
+
161
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
162
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
163
+ <?php else: ?>
164
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
165
+ <?php endif; ?>
166
+
167
+ </span>
168
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
169
+
170
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
171
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
172
+ <small>
173
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
174
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
175
+ <?php endforeach; ?>
176
+ </small>
177
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
178
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
179
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
180
+ <?php endforeach; ?>
181
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
182
+ <small>
183
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
184
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
185
+ <?php endforeach; ?>
186
+ </small>
187
+ <?php endif; ?>
188
+ </div>
189
+
190
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
191
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
192
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
193
+ </div>
194
+ <?php endif; ?>
195
+ <?php endif; ?>
196
+ </td>
197
+ <?php endif; ?>
198
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
199
+ <td data-rwd-label="<?php echo $this->__('Subtotal') ?>">
200
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
201
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
202
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
203
+ <?php else: ?>
204
+ <span class="cart-price">
205
+ <?php endif; ?>
206
+
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
208
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
209
+ <?php else: ?>
210
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
211
+ <?php endif; ?>
212
+
213
+ </span>
214
+
215
+
216
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
217
+
218
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
219
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
220
+ <small>
221
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
222
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
223
+ <?php endforeach; ?>
224
+ </small>
225
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
226
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
227
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
228
+ <?php endforeach; ?>
229
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
230
+ <small>
231
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
232
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
233
+ <?php endforeach; ?>
234
+ </small>
235
+ <?php endif; ?>
236
+ </div>
237
+
238
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
239
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
240
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
241
+ </div>
242
+ <?php endif; ?>
243
+ <?php endif; ?>
244
+ </td>
245
+ <?php endif; ?>
246
+ </tr>
app/design/frontend/svs_store/default/template/downloadable/customer/products/list.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Downloadable_Block_Customer_Products_List
30
+ */
31
+ ?>
32
+ <?php $_items = $this->getItems(); ?>
33
+ <div class="page-title">
34
+ <h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
35
+ </div>
36
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
37
+ <?php echo $this->getChildHtml('pager'); ?>
38
+ <?php if(count($_items)): ?>
39
+ <table class="data-table linearize-table-large" id="my-downloadable-products-table">
40
+ <col width="1" />
41
+ <col width="1" />
42
+ <col />
43
+ <col width="1" />
44
+ <col width="1" />
45
+ <thead>
46
+ <tr>
47
+ <th><?php echo Mage::helper('downloadable')->__('Order #') ?></th>
48
+ <th><?php echo Mage::helper('downloadable')->__('Date') ?></th>
49
+ <th><?php echo Mage::helper('downloadable')->__('Title') ?></th>
50
+ <th><?php echo Mage::helper('downloadable')->__('Status') ?></th>
51
+ <th><span class="nobr"><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></span></th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <?php $_odd = ''; ?>
56
+ <?php foreach ($_items as $_item): ?>
57
+ <tr>
58
+ <td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Order #') ?>"><a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('downloadable')->__('View Order') ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></td>
59
+ <td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Date') ?>"><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
60
+ <td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Title') ?>"><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('downloadable')->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></td>
61
+ <td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Status') ?>"><em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></td>
62
+ <td data-rwd-label="<?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?>"><?php echo $this->getRemainingDownloads($_item) ?></td>
63
+ </tr>
64
+ <?php endforeach; ?>
65
+ </tbody>
66
+ </table>
67
+ <script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
68
+ <?php else: ?>
69
+ <p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
70
+ <?php endif; ?>
71
+ <?php echo $this->getChildHtml('pager'); ?>
72
+ <div class="buttons-set">
73
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
74
+ </div>
app/design/frontend/svs_store/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder(); ?>
29
+ <tr>
30
+ <td class="cell-content product-info">
31
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
32
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
33
+ <?php if ($this->getItemOptions()): ?>
34
+ <dl style="margin:0; padding:0;">
35
+ <?php foreach ($this->getItemOptions() as $option): ?>
36
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
37
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
38
+ <?php endforeach; ?>
39
+ </dl>
40
+ <?php endif; ?>
41
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
42
+ <dl style="margin:0; padding:0;">
43
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
44
+ <?php foreach ($links as $link): ?>
45
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
46
+ <?php endforeach; ?>
47
+ </dl>
48
+ <?php endif; ?>
49
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
50
+ </td>
51
+ <td class="cell-content align-center"><?php echo $_item->getQty() * 1 ?></td>
52
+ <td class="cell-content align-right">
53
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
54
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
55
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
56
+ <?php endif; ?>
57
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
58
+ <?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
59
+ <?php else: ?>
60
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
61
+ <?php endif; ?>
62
+
63
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
64
+ <br/>
65
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
66
+ <small>
67
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
68
+ <span class="nobr"><?php echo $tax['title']; ?>
69
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
70
+ <?php endforeach; ?>
71
+ </small>
72
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
73
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
74
+ <span class="nobr"><small><?php echo $tax['title']; ?>
75
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
76
+ <br/>
77
+ <?php endforeach; ?>
78
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
79
+ <small>
80
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
81
+ <span class="nobr"><?php echo $tax['title']; ?>
82
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
83
+ <?php endforeach; ?>
84
+ </small>
85
+ <?php endif; ?>
86
+
87
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
88
+ <br/>
89
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
90
+ :<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
91
+ <?php endif; ?>
92
+ <?php endif; ?>
93
+ <?php endif; ?>
94
+
95
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
96
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
97
+ <br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
98
+ <?php endif; ?>
99
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
101
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
102
+ <?php else: ?>
103
+ <?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
104
+ <?php endif; ?>
105
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
106
+ <br/>
107
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
108
+ <small>
109
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
110
+ <span class="nobr"><?php echo $tax['title']; ?>
111
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
112
+ <br/>
113
+ <?php endforeach; ?>
114
+ </small>
115
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
116
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
117
+ <span class="nobr"><small><?php echo $tax['title']; ?>
118
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
119
+ <br/>
120
+ <?php endforeach; ?>
121
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
122
+ <small>
123
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
124
+ <span class="nobr"><?php echo $tax['title']; ?>
125
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
126
+ <br/>
127
+ <?php endforeach; ?>
128
+ </small>
129
+ <?php endif; ?>
130
+
131
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
132
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
133
+ :<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
134
+ <?php endif; ?>
135
+ <?php endif; ?>
136
+ <?php endif; ?>
137
+ </td>
138
+ </tr>
app/design/frontend/svs_store/default/template/downloadable/email/order/items/invoice/downloadable.phtml ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder(); ?>
29
+ <?php $taxHelper = $this->helper('tax'); ?>
30
+ <?php $weeHelper = Mage::helper('weee'); ?>
31
+
32
+ <tr>
33
+ <td class="cell-content product-info">
34
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
35
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
36
+ <?php if ($this->getItemOptions()): ?>
37
+ <dl style="margin:0; padding:0;">
38
+ <?php foreach ($this->getItemOptions() as $option): ?>
39
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
40
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
41
+ <?php endforeach; ?>
42
+ </dl>
43
+ <?php endif; ?>
44
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
45
+ <dl style="margin:0; padding:0;">
46
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
47
+ <?php foreach ($links as $link): ?>
48
+ <dd style="margin:0; padding:0 0 0 9px;">
49
+ <?php echo $this->escapeHtml($link->getLinkTitle()); ?>&nbsp;
50
+ (<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>"
51
+ style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
52
+ </dd>
53
+ <?php endforeach; ?>
54
+ </dl>
55
+ <?php endif; ?>
56
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
57
+ </td>
58
+ <td class="cell-content align-center"><?php echo $_item->getQty() * 1 ?></td>
59
+ <td class="cell-content align-right">
60
+ <?php if ($taxHelper->displayCartPriceExclTax($_order->getStore()) || $taxHelper->displayCartBothPrices($_order->getStore())): ?>
61
+ <?php if ($taxHelper->displayCartBothPrices($_order->getStore())): ?>
62
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
63
+ <?php endif; ?>
64
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
65
+ <?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
66
+ <?php else: ?>
67
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
68
+ <?php endif; ?>
69
+
70
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
71
+ <br/>
72
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
73
+ <small>
74
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
75
+ <span class="nobr"><?php echo $tax['title']; ?>
76
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
80
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
81
+ <span class="nobr"><small><?php echo $tax['title']; ?>
82
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
83
+ <br/>
84
+ <?php endforeach; ?>
85
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
86
+ <small>
87
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
88
+ <span class="nobr"><?php echo $tax['title']; ?>
89
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
90
+ <?php endforeach; ?>
91
+ </small>
92
+ <?php endif; ?>
93
+
94
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
95
+ <br/>
96
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
97
+ :<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
98
+ <?php endif; ?>
99
+ <?php endif; ?>
100
+ <?php endif; ?>
101
+
102
+
103
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
104
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
105
+ <br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
106
+ <?php endif; ?>
107
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
109
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
110
+ <?php else: ?>
111
+ <?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
112
+ <?php endif; ?>
113
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
114
+ <br/>
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
116
+ <small>
117
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
118
+ <span class="nobr"><?php echo $tax['title']; ?>
119
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
120
+ <br/>
121
+ <?php endforeach; ?>
122
+ </small>
123
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
124
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
125
+ <span class="nobr"><small><?php echo $tax['title']; ?>
126
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
127
+ <br/>
128
+ <?php endforeach; ?>
129
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
130
+ <small>
131
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
132
+ <span class="nobr"><?php echo $tax['title']; ?>
133
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
134
+ <br/>
135
+ <?php endforeach; ?>
136
+ </small>
137
+ <?php endif; ?>
138
+
139
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
140
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
141
+ :<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
142
+ <?php endif; ?>
143
+ <?php endif; ?>
144
+ <?php endif; ?>
145
+ </td>
146
+ </tr>
app/design/frontend/svs_store/default/template/downloadable/email/order/items/order/downloadable.phtml ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder() ?>
29
+ <tr>
30
+ <td class="cell-content product-info">
31
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
32
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
33
+ <?php if ($this->getItemOptions()): ?>
34
+ <dl style="margin:0; padding:0;">
35
+ <?php foreach ($this->getItemOptions() as $option): ?>
36
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
37
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
38
+ <?php endforeach; ?>
39
+ </dl>
40
+ <?php endif; ?>
41
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
42
+ <dl style="margin:0; padding:0;">
43
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
44
+ <?php foreach ($links as $link): ?>
45
+ <dd style="margin:0; padding:0 0 0 9px;">
46
+ <?php echo $this->escapeHtml($link->getLinkTitle()); ?>&nbsp;
47
+ (<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>"
48
+ style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
49
+ </dd>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
54
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
55
+ <br/><strong><?php echo $this->__('Gift Message') ?></strong>
56
+ <br/><?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
57
+ <br/><?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
58
+ <br/><?php echo $this->__('Message:'); ?><br/> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
59
+ <?php endif; ?>
60
+ </td>
61
+ <td class="cell-content align-center"><?php echo $_item->getQtyOrdered() * 1 ?></td>
62
+ <td class="cell-content align-right">
63
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
64
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
65
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
66
+ <?php endif; ?>
67
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
68
+ <?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
69
+ <?php else: ?>
70
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
71
+ <?php endif; ?>
72
+
73
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
74
+ <br/>
75
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
76
+ <small>
77
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
78
+ <span class="nobr"><?php echo $tax['title']; ?>
79
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
80
+ <?php endforeach; ?>
81
+ </small>
82
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
83
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
84
+ <span class="nobr"><small><?php echo $tax['title']; ?>
85
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
86
+ <br/>
87
+ <?php endforeach; ?>
88
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
89
+ <small>
90
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
91
+ <span class="nobr"><?php echo $tax['title']; ?>
92
+ : <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
93
+ <?php endforeach; ?>
94
+ </small>
95
+ <?php endif; ?>
96
+
97
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
98
+ <br/>
99
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
100
+ :<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
101
+ <?php endif; ?>
102
+ <?php endif; ?>
103
+ <?php endif; ?>
104
+
105
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
106
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
107
+ <br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
108
+ <?php endif; ?>
109
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
110
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
111
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
112
+ <?php else: ?>
113
+ <?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
114
+ <?php endif; ?>
115
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
116
+ <br/>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
118
+ <small>
119
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
120
+ <span class="nobr"><?php echo $tax['title']; ?>
121
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
122
+ <br/>
123
+ <?php endforeach; ?>
124
+ </small>
125
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
126
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
127
+ <span class="nobr"><small><?php echo $tax['title']; ?>
128
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
129
+ <br/>
130
+ <?php endforeach; ?>
131
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
132
+ <small>
133
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
134
+ <span class="nobr"><?php echo $tax['title']; ?>
135
+ : <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
136
+ <br/>
137
+ <?php endforeach; ?>
138
+ </small>
139
+ <?php endif; ?>
140
+
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
142
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
143
+ :<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
144
+ <?php endif; ?>
145
+ <?php endif; ?>
146
+ <?php endif; ?>
147
+ </td>
148
+ </tr>
app/design/frontend/svs_store/default/template/downloadable/sales/order/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
+ <td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3>
30
+ <?php if ($_options = $this->getItemOptions()): ?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
34
+ <?php if (!$this->getPrintStatus()): ?>
35
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
36
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
37
+ <?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd><?php echo $this->escapeHtml((isset($_option['print_value']) ? $_option['print_value'] : $_option['value'])) ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+
54
+ <!-- downloadable -->
55
+ <?php if ($links = $this->getLinks()): ?>
56
+ <dl class="item-options">
57
+ <dt><?php echo $this->getLinksTitle() ?></dt>
58
+ <?php foreach ($links->getPurchasedItems() as $link): ?>
59
+ <dd><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
60
+ <?php endforeach; ?>
61
+ </dl>
62
+ <?php endif; ?>
63
+ <!-- EOF downloadable -->
64
+
65
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
66
+ <?php if ($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
67
+ <br/><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>"
68
+ class="giftmessage-preview-link expand"
69
+ onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
70
+ <?php endif; ?>
71
+ </td>
72
+ <td data-rwd-label="<?php echo $this->__('SKU') ?>"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
73
+
74
+ <td class="a-right nowrap<?php if (!$this->helper('tax')->displayCartBothPrices() && !$this->helper('tax')->displayCartPriceExclTax()): ?> lin-hide<?php endif; ?>" data-rwd-label="<?php echo $this->__('Price') ?>">
75
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
76
+ <span class="price-excl-tax">
77
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
78
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
79
+ <span class="cart-price">
80
+ <?php endif; ?>
81
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
82
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
83
+ </span>
84
+ <?php endif; ?>
85
+ <?php endif; ?>
86
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
87
+ <span class="cart-tax-total"
88
+ onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
89
+ <?php else: ?>
90
+ <span class="cart-price">
91
+ <?php endif; ?>
92
+
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
94
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
97
+ <?php endif; ?>
98
+ </span>
99
+
100
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
101
+
102
+ <span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
103
+ style="display:none;">
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
105
+ <small>
106
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
107
+ <span class="nobr"><?php echo $tax['title']; ?>
108
+ : <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
109
+ <?php endforeach; ?>
110
+ </small>
111
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
112
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
113
+ <span class="nobr"><small><?php echo $tax['title']; ?>
114
+ : <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
115
+ <?php endforeach; ?>
116
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
117
+ <small>
118
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
119
+ <span class="nobr"><?php echo $tax['title']; ?>
120
+ : <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
121
+ <?php endforeach; ?>
122
+ </small>
123
+ <?php endif; ?>
124
+ </span>
125
+
126
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
127
+ <span class="cart-tax-total"
128
+ onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
129
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
130
+ :<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?></span>
131
+ </span>
132
+ <?php endif; ?>
133
+ <?php endif; ?>
134
+ </span>
135
+ <br/>
136
+ <?php endif; ?>
137
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
138
+ <span class="price-incl-tax">
139
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
140
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
141
+ <span class="cart-price">
142
+ <?php endif; ?>
143
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
144
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
145
+ </span>
146
+ <?php endif; ?>
147
+ <?php endif; ?>
148
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
149
+
150
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
151
+ <span class="cart-tax-total"
152
+ onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
153
+ <?php else: ?>
154
+ <span class="cart-price">
155
+ <?php endif; ?>
156
+
157
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
158
+ <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
159
+ <?php else: ?>
160
+ <?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxDisposition()) ?>
161
+ <?php endif; ?>
162
+
163
+ </span>
164
+
165
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
166
+
167
+ <span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
168
+ style="display:none;">
169
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
170
+ <small>
171
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
172
+ <span class="nobr"><?php echo $tax['title']; ?>
173
+ : <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
174
+ <?php endforeach; ?>
175
+ </small>
176
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
177
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
178
+ <span class="nobr"><small><?php echo $tax['title']; ?>
179
+ : <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
180
+ <?php endforeach; ?>
181
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
182
+ <small>
183
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
184
+ <span class="nobr"><?php echo $tax['title']; ?>
185
+ : <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
186
+ <?php endforeach; ?>
187
+ </small>
188
+ <?php endif; ?>
189
+ </span>
190
+
191
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
192
+ <span class="cart-tax-total"
193
+ onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
194
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
195
+ :<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
196
+ </span>
197
+ <?php endif; ?>
198
+ <?php endif; ?>
199
+ </span>
200
+ <?php endif; ?>
201
+ </td>
202
+
203
+ <td class="a-right nowrap" data-rwd-label="<?php echo $this->__('Qty') ?>">
204
+ <span class="nobr">
205
+ <?php if ($this->getItem()->getQtyOrdered() > 0): ?>
206
+ <?php echo $this->__('Ordered'); ?>:
207
+ <strong><?php echo $this->getItem()->getQtyOrdered() * 1 ?></strong><br/>
208
+ <?php endif; ?>
209
+ <?php if ($this->getItem()->getQtyShipped() > 0): ?>
210
+ <?php echo $this->__('Shipped'); ?>:
211
+ <strong><?php echo $this->getItem()->getQtyShipped() * 1 ?></strong><br/>
212
+ <?php endif; ?>
213
+ <?php if ($this->getItem()->getQtyCanceled() > 0): ?>
214
+ <?php echo $this->__('Canceled'); ?>:
215
+ <strong><?php echo $this->getItem()->getQtyCanceled() * 1 ?></strong><br/>
216
+ <?php endif; ?>
217
+ <?php if ($this->getItem()->getQtyRefunded() > 0): ?>
218
+ <?php echo $this->__('Refunded'); ?>:
219
+ <strong><?php echo $this->getItem()->getQtyRefunded() * 1 ?></strong><br/>
220
+ <?php endif; ?>
221
+ </span>
222
+ </td>
223
+ <td class="a-right nowrap<?php if (!$this->helper('tax')->displayCartBothPrices() && !$this->helper('tax')->displayCartPriceExclTax()): ?> lin-hide<?php endif; ?>" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
224
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
225
+ <span class="price-excl-tax">
226
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
227
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
228
+ <span class="cart-price">
229
+ <?php endif; ?>
230
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
231
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
232
+ </span>
233
+ <?php endif; ?>
234
+ <?php endif; ?>
235
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
236
+ <span class="cart-tax-total"
237
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
238
+ <?php else: ?>
239
+ <span class="cart-price">
240
+ <?php endif; ?>
241
+
242
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
243
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?>
244
+ <?php else: ?>
245
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
246
+ <?php endif; ?>
247
+
248
+ </span>
249
+
250
+
251
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
252
+
253
+ <span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
254
+ style="display:none;">
255
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
256
+ <small>
257
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
258
+ <span class="nobr"><?php echo $tax['title']; ?>
259
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
260
+ <?php endforeach; ?>
261
+ </small>
262
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
263
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
264
+ <span class="nobr"><small><?php echo $tax['title']; ?>
265
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
266
+ <?php endforeach; ?>
267
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
268
+ <small>
269
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
270
+ <span class="nobr"><?php echo $tax['title']; ?>
271
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
272
+ <?php endforeach; ?>
273
+ </small>
274
+ <?php endif; ?>
275
+ </span>
276
+
277
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
278
+ <span class="cart-tax-total"
279
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
280
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
281
+ :<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?></span>
282
+ </span>
283
+ <?php endif; ?>
284
+ <?php endif; ?>
285
+ </span>
286
+ <br/>
287
+ <?php endif; ?>
288
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
289
+ <span class="price-incl-tax">
290
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
291
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
292
+ <span class="cart-price">
293
+ <?php endif; ?>
294
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
295
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
296
+ </span>
297
+ <?php endif; ?>
298
+ <?php endif; ?>
299
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
300
+
301
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
302
+ <span class="cart-tax-total"
303
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
304
+ <?php else: ?>
305
+ <span class="cart-price">
306
+ <?php endif; ?>
307
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
308
+ <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
309
+ <?php else: ?>
310
+ <?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxRowDisposition()) ?>
311
+ <?php endif; ?>
312
+
313
+ </span>
314
+
315
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
316
+
317
+ <span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
318
+ style="display:none;">
319
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
320
+ <small>
321
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
322
+ <span class="nobr"><?php echo $tax['title']; ?>
323
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
324
+ <?php endforeach; ?>
325
+ </small>
326
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
327
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
328
+ <span class="nobr"><small><?php echo $tax['title']; ?>
329
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
330
+ <?php endforeach; ?>
331
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
332
+ <small>
333
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
334
+ <span class="nobr"><?php echo $tax['title']; ?>
335
+ : <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
336
+ <?php endforeach; ?>
337
+ </small>
338
+ <?php endif; ?>
339
+ </span>
340
+
341
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
342
+ <span class="cart-tax-total"
343
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
344
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
345
+ :<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
346
+ </span>
347
+ <?php endif; ?>
348
+ <?php endif; ?>
349
+ </span>
350
+ <?php endif; ?>
351
+ </td>
352
+ <!--
353
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
354
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
355
+ <?php endif; ?>
356
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
357
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
358
+ <?php endif; ?>
359
+ -->
360
+ </tr>
app/design/frontend/svs_store/default/template/email/catalog/product/list.phtml ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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
+ <?php
73
+ // Provides extra blocks on which to hang some features for products in the list
74
+ // Features providing UI elements targeting this block will display directly below the product name
75
+ if ($this->getChild('name.after')) {
76
+ $_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
77
+ foreach ($_nameAfterChildren as $_nameAfterChildName) {
78
+ $_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
79
+ $_nameAfterChild->setProduct($_product);
80
+ echo $_nameAfterChild->toHtml();
81
+ }
82
+ }
83
+ ?>
84
+ </div>
85
+ <div class="product-secondary">
86
+ <?php echo $this->getPriceHtml($_product, true) ?>
87
+ </div>
88
+ <div class="product-secondary">
89
+ <?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
90
+ <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>
91
+ <?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
92
+ <p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
93
+ <?php else: ?>
94
+ <p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
95
+ <?php endif; ?>
96
+ <ul class="add-to-links">
97
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
98
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
99
+ <?php endif; ?>
100
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
101
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
102
+ <?php endif; ?>
103
+ </ul>
104
+ </div>
105
+ <div class="desc std">
106
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
107
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </li>
112
+ <?php endforeach; ?>
113
+ </ol>
114
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
115
+
116
+ <?php else: ?>
117
+
118
+ <?php // Grid Mode ?>
119
+
120
+ <?php $_collectionSize = $_productCollection->count() ?>
121
+ <?php $_columnCount = $this->getColumnCount(); ?>
122
+ <ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
123
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
124
+ <?php /*if ($i++%$_columnCount==0): ?>
125
+ <?php endif*/ ?>
126
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
127
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
128
+ <?php $_imgSize = 210; ?>
129
+ <img id="product-collection-image-<?php echo $_product->getId(); ?>"
130
+ src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>"
131
+ alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
132
+ </a>
133
+ <div class="product-info">
134
+ <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>
135
+ <?php
136
+ // Provides extra blocks on which to hang some features for products in the list
137
+ // Features providing UI elements targeting this block will display directly below the product name
138
+ if ($this->getChild('name.after')) {
139
+ $_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
140
+ foreach ($_nameAfterChildren as $_nameAfterChildName) {
141
+ $_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
142
+ $_nameAfterChild->setProduct($_product);
143
+ echo $_nameAfterChild->toHtml();
144
+ }
145
+ }
146
+ ?>
147
+ <?php echo $this->getPriceHtml($_product, true) ?>
148
+ <?php if($_product->getRatingSummary()): ?>
149
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
150
+ <?php endif; ?>
151
+ <div class="actions">
152
+ <?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
153
+ <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>
154
+ <?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
155
+ <a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
156
+ <?php else: ?>
157
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
158
+ <?php endif; ?>
159
+ <ul class="add-to-links">
160
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
161
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
162
+ <?php endif; ?>
163
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
164
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
165
+ <?php endif; ?>
166
+ </ul>
167
+ </div>
168
+ </div>
169
+ </li>
170
+ <?php /*if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
171
+ <?php endif*/ ?>
172
+ <?php endforeach ?>
173
+ </ul>
174
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
175
+ <?php endif; ?>
176
+
177
+ <div class="toolbar-bottom">
178
+ <?php echo $this->getToolbarHtml() ?>
179
+ </div>
180
+ </div>
181
+ <?php endif; ?>
182
+ <?php
183
+ // Provides a block where additional page components may be attached, primarily good for in-page JavaScript
184
+ if ($this->getChild('after')) {
185
+ $_afterChildren = $this->getChild('after')->getSortedChildren();
186
+ foreach ($_afterChildren as $_afterChildName) {
187
+ $_afterChild = $this->getChild('after')->getChild($_afterChildName);
188
+ //set product collection on after blocks
189
+ $_afterChild->setProductCollection($_productCollection);
190
+ echo $_afterChild->toHtml();
191
+ }
192
+ }
193
+ ?>
app/design/frontend/svs_store/default/template/email/catalog/product/new.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.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 products"><?php echo $this->__('New Products') ?></h2>
29
+ <?php $_columnCount = $this->getColumnCount(); ?>
30
+ <table class="products-grid">
31
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
32
+ <?php if ($i++%$_columnCount==0): ?>
33
+ <tr>
34
+ <?php endif ?>
35
+ <td>
36
+ <div class="product-wrapper">
37
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
38
+ <?php $_imgSize = 260; ?>
39
+ <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) ?>" />
40
+ </a>
41
+ <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>
42
+ <?php // echo $this->getReviewsSummaryHtml($_product, 'short') ?>
43
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
44
+ </div>
45
+ </td>
46
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
47
+ <tr>
48
+ <?php endif ?>
49
+ <?php endforeach; ?>
50
+ </table>
51
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/creditmemo/items.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_creditmemo = $this->getCreditmemo() ?>
29
+ <?php $_order = $this->getOrder() ?>
30
+
31
+ <?php if ($_creditmemo && $_order): ?>
32
+
33
+ <?php $_items = $_order->getAllItems() ?>
34
+ <?php $_itemCount = count($_items) ?>
35
+ <table class="items" cellpadding="0" cellspacing="0" border="0">
36
+ <thead>
37
+ <tr>
38
+ <th class="cell-name">
39
+ <?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
40
+ </th>
41
+ <th class="cell-name align-center">
42
+ <?php echo $this->__('Qty'); ?>
43
+ </th>
44
+ <th class="cell-name align-right">
45
+ <?php echo $this->__('Price'); ?>
46
+ </th>
47
+ </tr>
48
+ </thead>
49
+
50
+ <?php $i=0; foreach ($_creditmemo->getAllItems() as $_item): ?>
51
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
52
+ <?php echo $this->getItemHtml($_item) ?>
53
+ <?php endforeach; ?>
54
+
55
+ <tfoot>
56
+ <?php echo $this->getChildHtml('creditmemo_totals');?>
57
+ </tfoot>
58
+ </table>
59
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/invoice/items.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_invoice = $this->getInvoice() ?>
28
+ <?php $_order = $this->getOrder() ?>
29
+
30
+ <?php if ($_invoice && $_order): ?>
31
+
32
+ <?php $_items = $_order->getAllItems() ?>
33
+ <?php $_itemCount = count($_items) ?>
34
+ <table class="items" cellpadding="0" cellspacing="0" border="0">
35
+ <thead>
36
+ <tr>
37
+ <th class="cell-name">
38
+ <?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
39
+ </th>
40
+ <th class="cell-name align-center">
41
+ <?php echo $this->__('Qty'); ?>
42
+ </th>
43
+ <th class="cell-name align-right">
44
+ <?php echo $this->__('Price'); ?>
45
+ </th>
46
+ </tr>
47
+ </thead>
48
+
49
+ <?php $i=0; foreach ($_invoice->getAllItems() as $_item): ?>
50
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
51
+ <?php echo $this->getItemHtml($_item) ?>
52
+ <?php endforeach; ?>
53
+
54
+ <tfoot>
55
+ <?php echo $this->getChildHtml('invoice_totals')?>
56
+ </tfoot>
57
+ </table>
58
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/items.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_order = $this->getOrder(); ?>
29
+
30
+ <?php if ($_order): ?>
31
+ <?php $_items = $_order->getAllItems(); ?>
32
+ <?php $_itemCount = count($_items); ?>
33
+ <tr>
34
+ <td>
35
+ <table class="items" cellpadding="0" cellspacing="0" border="0">
36
+ <thead>
37
+ <tr>
38
+ <th class="cell-name">
39
+ <?php if($_itemCount > 1): ?>
40
+ <?php echo $this->__('Items in your order'); ?>
41
+ <?php else: ?>
42
+ <?php echo $this->__('Item in your order'); ?>
43
+ <?php endif; ?>
44
+ </th>
45
+ <th class="cell-name align-center">
46
+ <?php echo $this->__('Qty'); ?>
47
+ </th>
48
+ <th class="cell-name align-right">
49
+ <?php echo $this->__('Price'); ?>
50
+ </th>
51
+ </tr>
52
+ </thead>
53
+ <?php $i=0; foreach ($_order->getAllItems() as $_item): ?>
54
+ <?php if($_item->getParentItem()) continue; else $i++; ?>
55
+ <?php echo $this->getItemHtml($_item) ?>
56
+ <?php endforeach; ?>
57
+ </table>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td>
62
+ <?php echo $this->getChildHtml('order_totals') ?>
63
+ </td>
64
+ </tr>
65
+ <?php if ($this->helper('giftmessage/message')->isMessagesAvailable('order', $_order, $_order->getStore()) && $_order->getGiftMessageId()): ?>
66
+ <?php $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_order->getGiftMessageId()); ?>
67
+ <?php if ($_giftMessage): ?>
68
+ <br />
69
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #EAEAEA;">
70
+ <thead>
71
+ <tr>
72
+ <th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><strong><?php echo $this->__('Gift Message for this Order') ?></strong></th>
73
+ </tr>
74
+ </thead>
75
+
76
+ <tbody>
77
+
78
+ <tr>
79
+ <td colspan="4" align="left" style="padding:3px 9px">
80
+ <strong><?php echo $this->__('From:'); ?></strong> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
81
+ <br /><strong><?php echo $this->__('To:'); ?></strong> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
82
+ <br /><strong><?php echo $this->__('Message:'); ?></strong><br /> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
83
+ </td>
84
+ </tr>
85
+ </tbody>
86
+ </table>
87
+ <?php endif; ?>
88
+ <?php endif; ?>
89
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/items/creditmemo/default.phtml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder(); ?>
29
+ <tbody>
30
+ <tr>
31
+ <td class="cell-content product-info">
32
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
33
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
34
+ <?php if ($this->getItemOptions()): ?>
35
+ <dl style="margin:0; padding:0;">
36
+ <?php foreach ($this->getItemOptions() as $option): ?>
37
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
38
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
39
+ <?php endforeach; ?>
40
+ </dl>
41
+ <?php endif; ?>
42
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
43
+ <?php if ($addInfoBlock) :?>
44
+ <?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
45
+ <?php endif; ?>
46
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
47
+ </td>
48
+ <td class="cell-content align-center"><?php echo $_item->getQty()*1 ?></td>
49
+ <td class="cell-content align-right">
50
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
51
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
52
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
53
+ <?php endif; ?>
54
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
55
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
56
+ <?php else: ?>
57
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
58
+ <?php endif; ?>
59
+
60
+
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+
81
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
82
+ <br />
83
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
84
+ <?php endif; ?>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+
88
+
89
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
90
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
91
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
92
+ <?php endif; ?>
93
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
94
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
95
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
96
+ <?php else: ?>
97
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
98
+ <?php endif; ?>
99
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
100
+ <br />
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
102
+ <small>
103
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
104
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
105
+ <?php endforeach; ?>
106
+ </small>
107
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
108
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
109
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
110
+ <?php endforeach; ?>
111
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
112
+ <small>
113
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
114
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
115
+ <?php endforeach; ?>
116
+ </small>
117
+ <?php endif; ?>
118
+
119
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
120
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
121
+ <?php endif; ?>
122
+ <?php endif; ?>
123
+ <?php endif; ?>
124
+ </td>
125
+ </tr>
126
+ </tbody>
app/design/frontend/svs_store/default/template/email/order/items/invoice/default.phtml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder(); ?>
29
+ <tbody>
30
+ <tr>
31
+ <td class="cell-content product-info">
32
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
33
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
34
+ <?php if ($this->getItemOptions()): ?>
35
+ <dl style="margin:0; padding:0;">
36
+ <?php foreach ($this->getItemOptions() as $option): ?>
37
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
38
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
39
+ <?php endforeach; ?>
40
+ </dl>
41
+ <?php endif; ?>
42
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
43
+ <?php if ($addInfoBlock) :?>
44
+ <?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
45
+ <?php endif; ?>
46
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
47
+ </td>
48
+ <td class="cell-content align-center"><?php echo $_item->getQty()*1 ?></td>
49
+ <td class="cell-content align-right">
50
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
51
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
52
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
53
+ <?php endif; ?>
54
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
55
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
56
+ <?php else: ?>
57
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
58
+ <?php endif; ?>
59
+
60
+
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+
81
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
82
+ <br />
83
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
84
+ <?php endif; ?>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+
88
+
89
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
90
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
91
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
92
+ <?php endif; ?>
93
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
94
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
95
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
96
+ <?php else: ?>
97
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
98
+ <?php endif; ?>
99
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
100
+ <br />
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
102
+ <small>
103
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
104
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
105
+ <?php endforeach; ?>
106
+ </small>
107
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
108
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
109
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
110
+ <?php endforeach; ?>
111
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
112
+ <small>
113
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
114
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
115
+ <?php endforeach; ?>
116
+ </small>
117
+ <?php endif; ?>
118
+
119
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
120
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
121
+ <?php endif; ?>
122
+ <?php endif; ?>
123
+ <?php endif; ?>
124
+ </td>
125
+ </tr>
126
+ </tbody>
app/design/frontend/svs_store/default/template/email/order/items/order/default.phtml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrder() ?>
29
+ <tbody>
30
+ <tr>
31
+ <td class="cell-content product-info">
32
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
33
+ <p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
34
+ <?php if ($this->getItemOptions()): ?>
35
+ <dl style="margin:0; padding:0;">
36
+ <?php foreach ($this->getItemOptions() as $option): ?>
37
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
38
+ <dd style="margin:0; padding:0 0 0 9px;">
39
+ <?php echo nl2br($option['value']) ?>
40
+ </dd>
41
+ <?php endforeach; ?>
42
+ </dl>
43
+ <?php endif; ?>
44
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
45
+ <?php if ($addInfoBlock) :?>
46
+ <?php echo $addInfoBlock->setItem($_item)->toHtml(); ?>
47
+ <?php endif; ?>
48
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
49
+ </td>
50
+ <td class="cell-content align-center"><?php echo $_item->getQtyOrdered()*1 ?></td>
51
+ <td class="cell-content align-right">
52
+ <?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
53
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
54
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
57
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
60
+ <?php endif; ?>
61
+
62
+
63
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
64
+ <br />
65
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
66
+ <small>
67
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
68
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
69
+ <?php endforeach; ?>
70
+ </small>
71
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
72
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
73
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
74
+ <?php endforeach; ?>
75
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
76
+ <small>
77
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
78
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
79
+ <?php endforeach; ?>
80
+ </small>
81
+ <?php endif; ?>
82
+
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
84
+ <br />
85
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
86
+ <?php endif; ?>
87
+ <?php endif; ?>
88
+ <?php endif; ?>
89
+
90
+
91
+ <?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
92
+ <?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
93
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
94
+ <?php endif; ?>
95
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
96
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
97
+ <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
98
+ <?php else: ?>
99
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
100
+ <?php endif; ?>
101
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
102
+ <br />
103
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
104
+ <small>
105
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
106
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
107
+ <?php endforeach; ?>
108
+ </small>
109
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
110
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
111
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
112
+ <?php endforeach; ?>
113
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
114
+ <small>
115
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
116
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
117
+ <?php endforeach; ?>
118
+ </small>
119
+ <?php endif; ?>
120
+
121
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
122
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
123
+ <?php endif; ?>
124
+ <?php endif; ?>
125
+ <?php endif; ?>
126
+ </td>
127
+ </tr>
128
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
129
+ <tr>
130
+ <td colspan="4" style=" border-bottom:2px solid #CCCCCC; padding:3px 9px;">
131
+ <strong style="color:#444444; font-size:11px;"><?php echo $this->__('Gift Message') ?></strong>
132
+ <?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?><br />
133
+ <?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?><br />
134
+ <strong><?php echo $this->__('Message:'); ?></strong><br /><?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
135
+ </td>
136
+ </tr>
137
+ <?php endif; ?>
138
+ </tbody>
app/design/frontend/svs_store/default/template/email/order/items/shipment/default.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tbody>
29
+ <tr>
30
+ <td class="cell-content product-info">
31
+ <p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
32
+ <?php if ($this->getItemOptions()): ?>
33
+ <dl style="margin:0; padding:0;">
34
+ <?php foreach ($this->getItemOptions() as $option): ?>
35
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
36
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
41
+ <?php if ($addInfoBlock) :?>
42
+ <?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
43
+ <?php endif; ?>
44
+ <?php echo $this->escapeHtml($_item->getDescription()) ?>
45
+ </td>
46
+ <td class="cell-content align-center"><?php echo $this->escapeHtml($this->getSku($_item)) ?></td>
47
+ <td class="cell-content align-right"><?php echo $_item->getQty()*1 ?></td>
48
+ </tr>
49
+ </tbody>
app/design/frontend/svs_store/default/template/email/order/shipment/items.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_shipment = $this->getShipment() ?>
29
+ <?php $_order = $this->getOrder() ?>
30
+
31
+ <?php if ($_shipment && $_order): ?>
32
+
33
+ <?php $_items = $_order->getAllItems() ?>
34
+ <?php $_itemCount = count($_items) ?>
35
+ <table class="items" cellpadding="0" cellspacing="0" border="0">
36
+ <thead>
37
+ <tr>
38
+ <th class="cell-name">
39
+ <?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
40
+ </th>
41
+ <th class="cell-name align-center">
42
+ <?php echo $this->__('Sku'); ?>
43
+ </th>
44
+ <th class="cell-name align-right">
45
+ <?php echo $this->__('Qty'); ?>
46
+ </th>
47
+ </tr>
48
+ </thead>
49
+
50
+ <?php $i=0; foreach ($_shipment->getAllItems() as $_item): ?>
51
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
52
+ <?php echo $this->getItemHtml($_item) ?>
53
+ <?php endforeach; ?>
54
+
55
+ </table>
56
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/shipment/track.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_shipment=$this->getShipment() ?>
28
+ <?php $_order=$this->getOrder() ?>
29
+ <?php if ($_shipment && $_order && $_shipment->getAllTracks()): ?>
30
+ <table cellspacing="0" cellpadding="0" border="0" width="650" style="border:1px solid #EAEAEA;">
31
+ <thead>
32
+ <tr>
33
+ <th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><?php echo $this->__('Shipped By') ?></th>
34
+ <th align="center" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><?php echo $this->__('Tracking Number') ?></th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <?php $i=0; foreach ($_shipment->getAllTracks() as $_item): $i++ ?>
39
+ <tbody>
40
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->escapeHtml($_item->getTitle()) ?></td>
41
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $this->escapeHtml($_item->getNumber()) ?></td>
42
+ </tr>
43
+ <?php endforeach ?>
44
+ </tbody>
45
+ </table>
46
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/order/totals/wrapper.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <table class="table-totals" cellpadding="0" cellspacing="0" border="0">
28
+ <tr>
29
+ <td class="padding-totals">
30
+ <table cellpadding="0" cellspacing="0" border="0">
31
+ <?php echo $this->getChildHtml(); ?>
32
+ </table>
33
+ </td>
34
+ </tr>
35
+ </table>
app/design/frontend/svs_store/default/template/email/productalert/price.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @var $this Mage_ProductAlert_Block_Email_Price
29
+ */
30
+ ?>
31
+ <?php if ($products = $this->getProducts()): ?>
32
+ <p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the prices for the following products changed:') ?></p>
33
+ <table>
34
+ <?php foreach ($products as $product): ?>
35
+ <tr>
36
+ <td><a href="<?php echo $product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $product->getThumbnailUrl() ?>" border="0" align="left" height="75" width="75" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a></td>
37
+ <td>
38
+ <p><a href="<?php echo $product->getProductUrl() ?>"><strong><?php echo $this->escapeHtml($product->getName()) ?></strong></a></p>
39
+ <?php $shortDescription = $this->_getFilteredProductShortDescription($product) ?>
40
+ <?php if ($shortDescription): ?>
41
+ <p><small><?php echo $shortDescription ?></small></p>
42
+ <?php endif; ?>
43
+ <p><?php if ($product->getPrice() != $product->getFinalPrice()): ?>
44
+ <?php echo $this->__('Regular Price:') ?> <strong style="text-decoration:line-through;"><?php echo Mage::helper('core')->currency($product->getPrice()) ?></strong><br />
45
+ <strong><?php echo $this->__('Special price:') ?> <span style="color:#FF0000;"><?php echo Mage::helper('core')->currency($product->getFinalPrice()) ?></span></strong>
46
+ <?php else: ?>
47
+ <strong><?php echo $this->__('Price:') ?></strong> <?php echo Mage::helper('core')->currency($product->getPrice()) ?>
48
+ <?php endif; ?></p>
49
+ <p><small><a href="<?php echo $this->getProductUnsubscribeUrl($product->getId()) ?>"><?php echo $this->__('Click here not to receive alerts for this product') ?></a></small></p>
50
+ </td>
51
+ </tr>
52
+ <?php endforeach; ?>
53
+ </table>
54
+ <p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all price alerts') ?></a></p>
55
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/email/productalert/stock.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @var $this Mage_ProductAlert_Block_Email_Stock
29
+ */
30
+ ?>
31
+ <?php if ($products = $this->getProducts()): ?>
32
+ <p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the following products are back in stock:') ?></p>
33
+ <table>
34
+ <?php foreach ($products as $product): ?>
35
+ <tr>
36
+ <td><a href="<?php echo $product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail')->resize(75, 75) ?>" border="0" align="left" height="75" width="75" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a></td>
37
+ <td>
38
+ <p><a href="<?php echo $product->getProductUrl() ?>"><strong><?php echo $this->escapeHtml($product->getName()) ?></strong></a></p>
39
+ <?php $shortDescription = $this->_getFilteredProductShortDescription($product) ?>
40
+ <?php if ($shortDescription): ?>
41
+ <p><small><?php echo $shortDescription ?></small></p>
42
+ <?php endif; ?>
43
+ <p><?php if ($product->getPrice() != $product->getFinalPrice()): ?>
44
+ <?php echo $this->__('Regular Price:') ?> <strong style="text-decoration:line-through;"><?php echo Mage::helper('core')->currency($product->getPrice()) ?></strong><br />
45
+ <strong><?php echo $this->__('Special price:') ?> <span style="color:#FF0000;"><?php echo Mage::helper('core')->currency($product->getFinalPrice()) ?></span></strong>
46
+ <?php else: ?>
47
+ <strong><?php echo $this->__('Price:') ?></strong> <?php echo Mage::helper('core')->currency($product->getPrice()) ?>
48
+ <?php endif; ?></p>
49
+ <p><small><a href="<?php echo $this->getProductUnsubscribeUrl($product->getId()) ?>"><?php echo $this->__('Click here not to receive alerts for this product') ?></a></small></p>
50
+ </td>
51
+ </tr>
52
+ <?php endforeach; ?>
53
+ </table>
54
+ <p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all stock alerts') ?></a></p>
55
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/newsletter/subscribe.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-subscribe">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Newsletter') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
32
+ <div class="block-content">
33
+ <div class="form-subscribe-header">
34
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
35
+ </div>
36
+ <div class="input-box">
37
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
38
+ </div>
39
+ <div class="actions">
40
+ <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
41
+ </div>
42
+ <div style="clear:both"></div>
43
+ </div>
44
+ </form>
45
+ <script type="text/javascript">
46
+ //<![CDATA[
47
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
48
+ //]]>
49
+ </script>
50
+ </div>
app/design/frontend/svs_store/default/template/oauth/authorize/form/login-simple.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Simple login form template
29
+ *
30
+ * @var $this Mage_Oauth_Block_Authorize
31
+ */
32
+ ?>
33
+ <div class="content-container">
34
+ <div class="login-box">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Log In') ?></h1>
37
+ </div>
38
+ <div class="form-box">
39
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
40
+ <?php if (!$this->getHasException()) : ?>
41
+ <form method="post" action="<?php echo $this->getPostActionUrl() ?>" id="loginForm">
42
+ <div class="fieldset" class="fieldset">
43
+ <h2 class="legend"><?php echo $this->getFormTitle() ?></h2>
44
+ <p class="description"><?php echo $this->__('Log in to use <strong>%s</strong>', $this->getConsumer()->getName()) ?></p>
45
+ <div class="login-form simple">
46
+ <input type="hidden" name="oauth_token" value="<?php echo $this->escapeHtml($this->getToken()) ?>"/>
47
+ <div class="input-box input-left">
48
+ <label for="username">
49
+ <em class="required">*</em>&nbsp;<?php echo $this->getIdentityLabel(); ?>
50
+ </label>
51
+ <input type="text" id="username" name="login[username]" value="" class="required-entry input-text"/>
52
+ </div>
53
+ <div class="clear"></div>
54
+ <div class="input-box input-right">
55
+ <label for="login">
56
+ <em class="required">*</em>&nbsp;<?php echo $this->__('Password') ?>
57
+ </label>
58
+ <input type="password" id="login" name="login[password]" class="required-entry input-text"
59
+ value=""/></div>
60
+ <div class="clear"></div>
61
+ <div class="form-buttons">
62
+ <button type="submit" class="form-button"
63
+ title="<?php echo $this->__('Login') ?>"/><?php echo $this->__('Login') ?></button>
64
+ <button type="button" onclick="document.location.href='<?php echo $this->getRejectUrl(); ?>';"
65
+ title="<?php echo $this->__('Reject') ?>"><?php echo $this->__('Reject') ?></button>
66
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </form>
71
+ <?php endif; ?>
72
+ </div>
73
+ <div class="bottom"></div>
74
+ </div>
75
+ </div>
app/design/frontend/svs_store/default/template/page/1column.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
45
+ <?php echo $this->getChildHtml('after_body_start') ?>
46
+ <div class="wrapper">
47
+ <?php echo $this->getChildHtml('global_notices') ?>
48
+ <div class="page">
49
+ <?php echo $this->getChildHtml('header') ?>
50
+ <div class="main-container col1-layout">
51
+ <div class="main">
52
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
53
+ <div class="col-main">
54
+ <?php echo $this->getChildHtml('global_messages') ?>
55
+ <?php echo $this->getChildHtml('content') ?>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <?php echo $this->getChildHtml('footer_before') ?>
60
+ <?php echo $this->getChildHtml('footer') ?>
61
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
62
+ <?php echo $this->getChildHtml('before_body_end') ?>
63
+ </div>
64
+ </div>
65
+ <?php echo $this->getAbsoluteFooter() ?>
66
+ </body>
67
+ </html>
68
+
app/design/frontend/svs_store/default/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
45
+ <?php echo $this->getChildHtml('after_body_start') ?>
46
+ <div class="wrapper">
47
+ <?php echo $this->getChildHtml('global_notices') ?>
48
+ <div class="page">
49
+ <?php echo $this->getChildHtml('header') ?>
50
+ <div class="main-container col2-left-layout">
51
+ <div class="main">
52
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
53
+ <?php // This left_first block will display above the main content on smaller viewports ?>
54
+ <?php if ($_leftContent = $this->getChildHtml('left_first')): ?>
55
+ <div class="col-left sidebar col-left-first"><?php echo $_leftContent; ?></div>
56
+ <?php endif; ?>
57
+ <div class="col-main">
58
+ <?php echo $this->getChildHtml('global_messages') ?>
59
+ <?php echo $this->getChildHtml('content') ?>
60
+ </div>
61
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
62
+ </div>
63
+ </div>
64
+ <?php echo $this->getChildHtml('footer_before') ?>
65
+ <?php echo $this->getChildHtml('footer') ?>
66
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
67
+ <?php echo $this->getChildHtml('before_body_end') ?>
68
+ </div>
69
+ </div>
70
+ <?php echo $this->getAbsoluteFooter() ?>
71
+ </body>
72
+ </html>
app/design/frontend/svs_store/default/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
45
+ <?php echo $this->getChildHtml('after_body_start') ?>
46
+ <div class="wrapper">
47
+ <?php echo $this->getChildHtml('global_notices') ?>
48
+ <div class="page">
49
+ <?php echo $this->getChildHtml('header') ?>
50
+ <div class="main-container col2-right-layout">
51
+ <div class="main">
52
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
53
+ <div class="col-main">
54
+ <?php echo $this->getChildHtml('global_messages') ?>
55
+ <?php echo $this->getChildHtml('content') ?>
56
+ </div>
57
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
58
+ </div>
59
+ </div>
60
+ <?php echo $this->getChildHtml('footer_before') ?>
61
+ <?php echo $this->getChildHtml('footer') ?>
62
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
63
+ <?php echo $this->getChildHtml('before_body_end') ?>
64
+ </div>
65
+ </div>
66
+ <?php echo $this->getAbsoluteFooter() ?>
67
+ </body>
68
+ </html>
app/design/frontend/svs_store/default/template/page/3columns.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
45
+ <?php echo $this->getChildHtml('after_body_start') ?>
46
+ <div class="wrapper">
47
+ <?php echo $this->getChildHtml('global_notices') ?>
48
+ <div class="page">
49
+ <?php echo $this->getChildHtml('header') ?>
50
+ <div class="main-container col3-layout">
51
+ <div class="main">
52
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
53
+ <div class="col-wrapper">
54
+ <?php // This left_first block will display above the main content on smaller viewports ?>
55
+ <?php if ($_leftContent = $this->getChildHtml('left_first')): ?>
56
+ <div class="col-left sidebar col-left-first"><?php echo $_leftContent; ?></div>
57
+ <?php endif; ?>
58
+ <div class="col-main">
59
+ <?php echo $this->getChildHtml('global_messages') ?>
60
+ <?php echo $this->getChildHtml('content') ?>
61
+ </div>
62
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
63
+ </div>
64
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
65
+ </div>
66
+ </div>
67
+ <?php echo $this->getChildHtml('footer_before') ?>
68
+ <?php echo $this->getChildHtml('footer') ?>
69
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
70
+ <?php echo $this->getChildHtml('before_body_end') ?>
71
+ </div>
72
+ </div>
73
+ <?php echo $this->getAbsoluteFooter() ?>
74
+ </body>
75
+ </html>
app/design/frontend/svs_store/default/template/page/empty.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
45
+ <div>
46
+ <?php echo $this->getChildHtml('after_body_start') ?>
47
+ <?php echo $this->getChildHtml('global_messages') ?>
48
+ <?php echo $this->getChildHtml('content') ?>
49
+ <?php echo $this->getChildHtml('before_body_end') ?>
50
+ <?php echo $this->getAbsoluteFooter() ?>
51
+ </div>
52
+ </body>
53
+ </html>
app/design/frontend/svs_store/default/template/page/html/footer.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="footer-container">
28
+ <div class="subscribe_container">
29
+ <?php echo $this->getLayout()->createBlock('newsletter/subscribe')->setTemplate('newsletter/subscribe.phtml')->toHtml(); ?>
30
+ </div>
31
+ <div class="footer">
32
+ <?php echo $this->getChildHtml() ?>
33
+ <address class="copyright"><?php echo $this->getCopyright() ?></address>
34
+ <p>Designed by <a href="http://svs-websoft.com/" target="_blank">SVS-Websoft</a></p>
35
+ </div>
36
+ <div id="back_top" style="display: block;">Top</div>
37
+ </div>
38
+ <script type="text/javascript">
39
+ jQuery(function() {
40
+ jQuery(window).scroll(function() {
41
+ if(jQuery(this).scrollTop() > 300) {
42
+ jQuery('#back_top').fadeIn();
43
+ } else {
44
+ jQuery('#back_top').fadeOut();
45
+ }
46
+ });
47
+ jQuery('#back_top').click(function() {
48
+ jQuery('body,html').animate({scrollTop:0},500);
49
+ });
50
+ });
51
+ </script>
app/design/frontend/svs_store/default/template/page/html/header.phtml ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var Mage_Page_Block_Html_Header $this
28
+ */
29
+ ?>
30
+
31
+ <div class="header-language-background">
32
+ <nav class="navbar navbar-default">
33
+ <div class="container-fluid">
34
+ <div class="navbar-header">
35
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
36
+ <span class="sr-only">Toggle Menu</span>
37
+ <span class="icon-bar"></span>
38
+ <span class="icon-bar"></span>
39
+ <span class="icon-bar"></span>
40
+ </button>
41
+ </div>
42
+ <!-- Collect the nav links, forms, and other content for toggling -->
43
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
44
+ <?php
45
+ echo $this->getLayout()->createBlock('cms/block')->setBlockId('top_menu_left')->toHtml()
46
+ ?>
47
+ <?php
48
+ echo $this->getLayout()->createBlock('cms/block')->setBlockId('top_menu_right')->toHtml()
49
+ ?>
50
+ </ul>
51
+ </div><!-- /.navbar-collapse -->
52
+ </div><!-- /.container-fluid -->
53
+ </nav>
54
+ </div>
55
+
56
+ <header id="header" class="page-header">
57
+ <div class="header_border_bottom">
58
+ <div class="page-header-container">
59
+ <a class="logo" href="<?php echo $this->getUrl('') ?>">
60
+ <img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="large" />
61
+ <img src="<?php echo $this->getLogoSrcSmall() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="small" />
62
+ </a>
63
+
64
+ <?php // In order for the language switcher to display next to logo on smaller viewports, it will be moved here.
65
+ // See app.js for details ?>
66
+
67
+ <div class="skip-links">
68
+ <a href="#header-nav" class="skip-link skip-nav">
69
+ <span class="icon"></span>
70
+ <span class="label"><?php echo $this->__('Menu'); ?></span>
71
+ </a>
72
+
73
+ <a href="#header-search" class="skip-link skip-search">
74
+ <span class="icon"></span>
75
+ <span class="label"><?php echo $this->__('Search'); ?></span>
76
+ </a>
77
+
78
+ <div class="account-cart-wrapper">
79
+ <a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" class="skip_link skip-account">
80
+ <span class="icon"></span>
81
+ <span class="label"><?php echo $this->__('Account'); ?></span>
82
+ </a>
83
+
84
+ <!-- Cart -->
85
+
86
+ <div class="header-minicart">
87
+ <?php echo $this->getChildHtml('minicart_head'); ?>
88
+ </div>
89
+ </div>
90
+
91
+
92
+ <!-- Search -->
93
+ <div id="header-search" class="skip-content">
94
+ <?php
95
+ echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact_row')->toHtml()
96
+ ?>
97
+ <?php echo $this->getChildHtml('topSearch') ?>
98
+ </div>
99
+
100
+
101
+ </div>
102
+
103
+ <!-- Navigation -->
104
+
105
+ <div id="header-nav" class="skip-content">
106
+ <?php echo $this->getChildHtml('topMenu') ?>
107
+ </div>
108
+
109
+ </div>
110
+ </div>
111
+ <div class="page-header-container">
112
+ <div id="content_carousel" class="col-md-9">
113
+ <?php
114
+ echo $this->getLayout()->createBlock('cms/block')->setBlockId('carousel')->toHtml()
115
+ ?>
116
+ </div>
117
+ <div style="clear:both;"></div>
118
+ </div>
119
+ </header>
120
+
121
+ <?php echo $this->getChildHtml('topContainer'); ?>
app/design/frontend/svs_store/default/template/page/html/pager.phtml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Pager template
30
+ *
31
+ * @see Mage_Page_Block_Html_Pager
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+
36
+ <?php if($this->getUseContainer()): ?>
37
+ <div class="pager pager-no-toolbar">
38
+ <?php endif ?>
39
+
40
+ <?php if($this->getShowAmounts() || $this->getShowPerPage()): ?>
41
+ <div class="count-container">
42
+ <?php if($this->getShowAmounts()): ?>
43
+ <?php if($this->getLastPageNum()>1): ?>
44
+ <p class="amount amount--has-pages">
45
+ <?php echo $this->__('%s-%s of %s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
46
+ </p>
47
+ <?php else: ?>
48
+ <p class="amount amount--no-pages">
49
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
50
+ </p>
51
+ <?php endif; ?>
52
+ <?php endif ?>
53
+
54
+ <?php if($this->getShowPerPage()): ?>
55
+ <div class="limiter">
56
+ <label><?php echo $this->__('Show') ?></label>
57
+ <select onchange="setLocation(this.value)" title="<?php echo $this->__('Results per page'); ?>">
58
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
59
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
60
+ <?php echo $_limit ?>
61
+ </option>
62
+ <?php endforeach; ?>
63
+ </select>
64
+ </div>
65
+ <?php endif ?>
66
+ </div>
67
+ <?php endif; ?>
68
+
69
+ <?php if($this->getLastPageNum()>1): ?>
70
+ <div class="pages">
71
+ <strong><?php echo $this->__('Page:') ?></strong>
72
+ <ol>
73
+ <?php if (!$this->isFirstPage()): ?>
74
+ <li>
75
+ <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
76
+ <?php if(!$this->getAnchorTextForPrevious()): ?>
77
+ <?php echo $this->__('Previous') ?>
78
+ <?php else: ?>
79
+ <?php echo $this->getAnchorTextForPrevious() ?>
80
+ <?php endif;?>
81
+ </a>
82
+ </li>
83
+ <?php endif;?>
84
+
85
+ <?php if ($this->canShowFirst()): ?>
86
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
87
+ <?php endif;?>
88
+
89
+ <?php if ($this->canShowPreviousJump()): ?>
90
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
91
+ <?php endif;?>
92
+
93
+ <?php foreach ($this->getFramePages() as $_page): ?>
94
+ <?php if ($this->isPageCurrent($_page)): ?>
95
+ <li class="current"><?php echo $_page ?></li>
96
+ <?php else: ?>
97
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
98
+ <?php endif;?>
99
+ <?php endforeach;?>
100
+
101
+
102
+ <?php if ($this->canShowNextJump()): ?>
103
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
104
+ <?php endif;?>
105
+
106
+ <?php if ($this->canShowLast()): ?>
107
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
108
+ <?php endif;?>
109
+
110
+ <?php if (!$this->isLastPage()): ?>
111
+ <li>
112
+ <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
113
+ <?php if(!$this->getAnchorTextForNext()): ?>
114
+ <?php echo $this->__('Next') ?>
115
+ <?php else: ?>
116
+ <?php echo $this->getAnchorTextForNext() ?>
117
+ <?php endif;?>
118
+ </a>
119
+ </li>
120
+ <?php endif;?>
121
+ </ol>
122
+
123
+ </div>
124
+ <?php endif; ?>
125
+
126
+ <?php if($this->getUseContainer()): ?>
127
+ </div>
128
+ <?php endif ?>
129
+
130
+ <?php endif ?>
app/design/frontend/svs_store/default/template/page/html/topmenu.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Top menu for store
30
+ *
31
+ * @see Mage_Page_Block_Html_Topmenu
32
+ */
33
+ ?>
34
+ <?php $_menu = $this->getHtml('level-top') ?>
35
+
36
+ <?php if($_menu): ?>
37
+ <nav id="nav">
38
+ <ol class="nav-primary">
39
+ <?php echo $_menu ?>
40
+ </ol>
41
+ </nav>
42
+ <?php endif ?>
app/design/frontend/svs_store/default/template/page/html/topmenu/renderer.phtml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /** @var Mage_Page_Block_Html_Topmenu_Renderer $this */
28
+ /** @var Varien_Data_Tree_Node $menuTree */
29
+ /** @var string $childrenWrapClass */
30
+
31
+ $html = '';
32
+
33
+ $children = $menuTree->getChildren();
34
+ $parentLevel = $menuTree->getLevel();
35
+ $childLevel = is_null($parentLevel) ? 0 : $parentLevel + 1;
36
+
37
+ $counter = 1;
38
+ $childrenCount = $children->count();
39
+
40
+ $parentPositionClass = $menuTree->getPositionClass();
41
+ $itemPositionClassPrefix = $parentPositionClass ? $parentPositionClass . '-' : 'nav-';
42
+
43
+ foreach ($children as $child) {
44
+ $child->setLevel($childLevel);
45
+ $child->setIsFirst($counter == 1);
46
+ $child->setIsLast($counter == $childrenCount);
47
+ $child->setPositionClass($itemPositionClassPrefix . $counter);
48
+
49
+ $outermostClassCode = 'level'. $childLevel;
50
+ $_hasChildren = ($child->hasChildren()) ? 'has-children' : '';
51
+
52
+ $html .= '<li '. $this->_getRenderedMenuItemAttributes($child) .'>';
53
+
54
+ $html .= '<a href="'. $child->getUrl() .'" class="'. $outermostClassCode .' '. $_hasChildren .'">'. $this->escapeHtml($this->__($child->getName())) .'</a>';
55
+
56
+ if (!empty($childrenWrapClass)) {
57
+ $html .= '<div class="'. $childrenWrapClass .'">';
58
+ }
59
+
60
+ $nextChildLevel = $childLevel + 1;
61
+
62
+ if (!empty($_hasChildren)) {
63
+ $html .= '<ul class="level'. $childLevel .'">';
64
+ $html .= $this->render($child, $childrenWrapClass);
65
+ $html .= '</ul>';
66
+ }
67
+
68
+ if (!empty($childrenWrapClass)) {
69
+ $html .= '</div>';
70
+ }
71
+
72
+ $html .= '</li>';
73
+
74
+ $counter++;
75
+ }
76
+
77
+ return $html;
app/design/frontend/svs_store/default/template/page/popup.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body class="page-popup<?php echo $this->getBodyClass()?$this->getBodyClass() : ''?>">
45
+ <div>
46
+ <?php echo $this->getChildHtml('after_body_start') ?>
47
+ <?php echo $this->getChildHtml('content') ?>
48
+ <?php echo $this->getChildHtml('before_body_end') ?>
49
+ </div>
50
+ <?php echo $this->getAbsoluteFooter() ?>
51
+ </body>
52
+ </html>
app/design/frontend/svs_store/default/template/page/print.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+
33
+ <!DOCTYPE html>
34
+
35
+ <!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
36
+ <!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
37
+ <!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
38
+ <!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
39
+ <!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
40
+
41
+ <head>
42
+ <?php echo $this->getChildHtml('head') ?>
43
+ </head>
44
+ <body class="page-print<?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
45
+ <div>
46
+ <div class="print-head">
47
+ <img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getChild('header')->getLogoSrc() ?>" class="logo" alt="" />
48
+ <?php if ($this->getPrintLogoText()):?>
49
+ <address><?php echo nl2br($this->escapeHtml($this->getPrintLogoText())) ?></address>
50
+ <?php endif;?>
51
+ </div>
52
+ <?php echo $this->getChildHtml('content') ?>
53
+ <div class="buttons-set">
54
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
55
+ </div>
56
+ <?php echo $this->getAbsoluteFooter() ?>
57
+ </div>
58
+ </body>
59
+ </html>
app/design/frontend/svs_store/default/template/page/template/links.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Page_Block_Template_Links
30
+ */
31
+ ?>
32
+ <?php $_links = $this->getLinks(); ?>
33
+ <?php if(count($_links)>0): ?>
34
+ <div class="links">
35
+ <?php if($this->getTitle()): ?>
36
+ <div class="block-title"><strong><span><?php echo $this->__($this->getTitle()); ?></span></strong></div>
37
+ <?php endif; ?>
38
+ <ul<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
39
+ <?php foreach($_links as $_link): ?>
40
+ <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
41
+ <?php echo $_link->toHtml() ?>
42
+ <?php else: ?>
43
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
44
+ <?php endif;?>
45
+ <?php endforeach; ?>
46
+ </ul>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/payment/form/cc.phtml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_code=$this->getMethodCode() ?>
28
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
29
+ <?php /*
30
+ <li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
33
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
34
+ </div>
35
+ </li>
36
+ */ ?>
37
+ <li>
38
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
39
+ <label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
40
+ <div class="input-box">
41
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select" title="<?php echo $this->__('Credit Card Type') ?>">
42
+ <option value=""><?php echo $this->__('--Please Select--')?></option>
43
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
44
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
45
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
46
+ <?php endforeach ?>
47
+ </select>
48
+ </div>
49
+ </li>
50
+ <li>
51
+ <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
52
+ <div class="input-box">
53
+ <input type="text" pattern="\d*" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
54
+ </div>
55
+ </li>
56
+ <li id="<?php echo $_code ?>_cc_type_exp_div">
57
+ <label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
58
+ <div class="input-box">
59
+ <div class="v-fix">
60
+ <select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
61
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
62
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
63
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
64
+ <?php endforeach ?>
65
+ </select>
66
+ </div>
67
+ <div class="v-fix">
68
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
69
+ <select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
70
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
71
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
72
+ <?php endforeach ?>
73
+ </select>
74
+ </div>
75
+ </div>
76
+ </li>
77
+ <?php echo $this->getChildHtml() ?>
78
+ <?php if($this->hasVerification()): ?>
79
+ <li id="<?php echo $_code ?>_cc_type_cvv_div">
80
+ <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
81
+ <div class="input-box">
82
+ <div class="v-fix">
83
+ <input type="text" pattern="\d*" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
84
+ </div>
85
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
86
+ </div>
87
+ </li>
88
+ <?php endif; ?>
89
+
90
+ <?php if ($this->hasSsCardType()): ?>
91
+ <li id="<?php echo $_code ?>_cc_type_ss_div">
92
+ <ul class="inner-form">
93
+ <li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
94
+ <li>
95
+ <label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
96
+ <span class="input-box">
97
+ <input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
98
+ </span>
99
+ </li>
100
+
101
+ <li>
102
+ <label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
103
+ <div class="input-box">
104
+ <div class="v-fix">
105
+ <select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
106
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
107
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
108
+ <?php endforeach ?>
109
+ </select>
110
+ </div>
111
+ <div class="v-fix">
112
+ <select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
113
+ <?php foreach ($this->getSsStartYears() as $k=>$v): ?>
114
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
115
+ <?php endforeach ?>
116
+ </select>
117
+ </div>
118
+ </div>
119
+ </li>
120
+ <li class="adv-container">&nbsp;</li>
121
+ </ul>
122
+ <script type="text/javascript">
123
+ //<![CDATA[
124
+ var SSChecked<?php echo $_code ?> = function() {
125
+ var elm = $('<?php echo $_code ?>_cc_type');
126
+ if (['SS','SM','SO'].indexOf(elm.value) != -1) {
127
+ $('<?php echo $_code ?>_cc_type_ss_div').show();
128
+ } else {
129
+ $('<?php echo $_code ?>_cc_type_ss_div').hide();
130
+ }
131
+ };
132
+
133
+ Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
134
+ SSChecked<?php echo $_code ?>();
135
+ //]]>
136
+ </script>
137
+ </li>
138
+ <?php endif; ?>
139
+ </ul>
app/design/frontend/svs_store/default/template/payment/form/ccsave.phtml ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_code=$this->getMethodCode() ?>
28
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
29
+ <li>
30
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
31
+ <label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
32
+ <div class="input-box">
33
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
34
+ </div>
35
+ </li>
36
+ <li>
37
+ <label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
38
+ <div class="input-box">
39
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-cc-type-select">
40
+ <option value=""><?php echo $this->__('--Please Select--') ?></option>
41
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
42
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
43
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
44
+ <?php endforeach ?>
45
+ </select>
46
+ </div>
47
+ </li>
48
+ <li>
49
+ <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
50
+ <div class="input-box">
51
+ <input type="text" pattern="\d*" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
52
+ </div>
53
+ </li>
54
+ <li>
55
+ <label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
56
+ <div class="input-box">
57
+ <div class="v-fix">
58
+ <select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
59
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
60
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
61
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
62
+ <?php endforeach ?>
63
+ </select>
64
+ </div>
65
+ <div class="v-fix">
66
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
67
+ <select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
68
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
69
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
70
+ <?php endforeach ?>
71
+ </select>
72
+ </div>
73
+ </div>
74
+ </li>
75
+ <?php echo $this->getChildHtml() ?>
76
+ <?php if($this->hasVerification()): ?>
77
+ <li>
78
+ <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
79
+ <div class="input-box">
80
+ <div class="v-fix">
81
+ <input type="text" pattern="\d*" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
82
+ </div>
83
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
84
+ </div>
85
+ </li>
86
+ <?php endif; ?>
87
+ <?php if ($this->hasSsCardType()): ?>
88
+ <li id="<?php echo $_code ?>_cc_type_ss_div">
89
+ <ul class="inner-form">
90
+ <li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
91
+ <li>
92
+ <label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
93
+ <span class="input-box">
94
+ <input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
95
+ </span>
96
+ </li>
97
+
98
+ <li>
99
+ <label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
100
+ <div class="input-box">
101
+ <div class="v-fix">
102
+ <select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
103
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
104
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
105
+ <?php endforeach ?>
106
+ </select>
107
+ </div>
108
+ <div class="v-fix">
109
+ <select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
110
+ <?php foreach ($this->getSsStartYears() as $k=>$v): ?>
111
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
112
+ <?php endforeach ?>
113
+ </select>
114
+ </div>
115
+ </div>
116
+ </li>
117
+ <li class="adv-container">&nbsp;</li>
118
+ </ul>
119
+ <script type="text/javascript">
120
+ //<![CDATA[
121
+ var SSChecked<?php echo $_code ?> = function() {
122
+ var elm = $('<?php echo $_code ?>_cc_type');
123
+ if (['SS','SM','SO'].indexOf(elm.value) != -1) {
124
+ $('<?php echo $_code ?>_cc_type_ss_div').show();
125
+ } else {
126
+ $('<?php echo $_code ?>_cc_type_ss_div').hide();
127
+ }
128
+ };
129
+
130
+ Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
131
+ SSChecked<?php echo $_code ?>();
132
+ //]]>
133
+ </script>
134
+ </li>
135
+ <?php endif; ?>
136
+ </ul>
app/design/frontend/svs_store/default/template/payment/info/default.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Payment_Block_Info
30
+ */
31
+ ?>
32
+ <p class="subtitle"><strong><?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?></strong></p>
33
+
34
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
35
+ <dl class="payment-info">
36
+ <?php foreach ($_specificInfo as $_label => $_value):?>
37
+ <dt><?php echo $this->escapeHtml($_label)?></dt>
38
+ <dd><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></dd>
39
+ <?php endforeach; ?>
40
+ </dl>
41
+ <?php endif;?>
42
+
43
+ <?php echo $this->getChildHtml()?>
app/design/frontend/svs_store/default/template/paypal/bml.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Paypal_Block_Bml_Banners
30
+ */
31
+ ?>
32
+ <div class="bml-ad large">
33
+ <script type="text/javascript" data-pp-pubid="<?php echo $this->escapeHtml($this->getPublisherId()) ?>" data-pp-placementtype="<?php echo $this->escapeHtml($this->getSize()) ?>"> (function (d, t) {
34
+ "use strict";
35
+ var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
36
+ n.src = "//paypal.adtag.where.com/merchant.js";
37
+ s.parentNode.insertBefore(n, s);
38
+ }(document, "script"));
39
+ </script>
40
+ </div>
41
+ <div class="bml-ad small">
42
+ <script type="text/javascript" data-pp-pubid="<?php echo $this->escapeHtml($this->getPublisherId()) ?>" data-pp-placementtype="300x50"> (function (d, t) {
43
+ "use strict";
44
+ var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
45
+ n.src = "//paypal.adtag.where.com/merchant.js";
46
+ s.parentNode.insertBefore(n, s);
47
+ }(document, "script"));
48
+ </script>
49
+ </div>
app/design/frontend/svs_store/default/template/paypal/express/minicart/shortcut.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @var $this Mage_Paypal_Block_Express_Shortcut
30
+ */
31
+ ?>
32
+ <li>
33
+ <p class="paypal-logo">
34
+ <?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
35
+ <?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
36
+ <a class="paypal-button" data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" /></a>
37
+
38
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
39
+ </p>
40
+ </li>
41
+ <?php if ($this->getIsBmlEnabled()): ?>
42
+ <li class="bml-checkout-type">
43
+ <p class="paypal-logo">
44
+ <span class="bml_button">
45
+ <a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" /></a>
46
+ <a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
47
+ </span>
48
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
49
+ </p>
50
+ </li>
51
+ <?php endif;?>
52
+
53
+ <?php if ($this->getConfirmationUrl() || $this->getIsInCatalogProduct()): ?>
54
+ <?php if ($this->getIsInCatalogProduct()): ?>
55
+ <input type="hidden" id="pp_checkout_url" name="return_url" value="" />
56
+ <?php endif; ?>
57
+ <script type="text/javascript">
58
+ //<![CDATA[
59
+ $$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
60
+ <?php if ($this->getConfirmationUrl()): ?>
61
+ if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage())?>')) {
62
+ this.href = '<?php echo $this->getConfirmationUrl() ?>';
63
+ }
64
+ <?php endif; ?>
65
+ <?php if ($this->getIsInCatalogProduct()): ?>
66
+ $('pp_checkout_url').value = this.href;
67
+ productAddToCartForm.submit(this);
68
+ event.stop();
69
+ <?php endif; ?>
70
+ });
71
+ //]]>
72
+ </script>
73
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/paypal/express/product/shortcut.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @var $this Mage_Paypal_Block_Express_Shortcut
30
+ */
31
+ ?>
32
+ <p class="paypal-logo<?php if (!$this->getIsBmlEnabled()): ?> no-bml<?php endif; ?>">
33
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
34
+
35
+ <?php $shortcutHtmlId = $this->getShortcutHtmlId() ?>
36
+ <?php $bmlShortcutHtmlId = $this->getBmlShortcutHtmlId() ?>
37
+ <a class="paypal-button" data-action="checkout-form-submit" id="<?php echo $shortcutHtmlId ?>" href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal');?>" /></a>
38
+ </p>
39
+ <?php if ($this->getIsBmlEnabled()): ?>
40
+ <p class="paypal-logo">
41
+ <span class="paypal-or"><?php echo $this->__('-OR-');?></span>
42
+ <span class="bml_button">
43
+ <a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" /></a>
44
+ <a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
45
+ </span>
46
+ </p>
47
+ <?php endif;?>
48
+
49
+ <?php if ($this->getConfirmationUrl() || $this->getIsInCatalogProduct()): ?>
50
+ <?php if ($this->getIsInCatalogProduct()): ?>
51
+ <input type="hidden" id="pp_checkout_url" name="return_url" value="" />
52
+ <?php endif; ?>
53
+ <script type="text/javascript">
54
+ //<![CDATA[
55
+ $$('#<?php echo $shortcutHtmlId ?>','#<?php echo $bmlShortcutHtmlId ?>').invoke('observe', 'click', function(event) {
56
+ <?php if ($this->getConfirmationUrl()): ?>
57
+ if (confirm('<?php echo Mage::helper('core')->jsQuoteEscape($this->getConfirmationMessage())?>')) {
58
+ this.href = '<?php echo $this->getConfirmationUrl() ?>';
59
+ }
60
+ <?php endif; ?>
61
+ <?php if ($this->getIsInCatalogProduct()): ?>
62
+ $('pp_checkout_url').value = this.href;
63
+ productAddToCartForm.submit(this);
64
+ event.stop();
65
+ <?php endif; ?>
66
+ });
67
+ //]]>
68
+ </script>
69
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/paypal/express/review.phtml ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /** @var $this Mage_Paypal_Block_Express_Review */
27
+ ?>
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('Review Order') ?></h1>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
32
+ <?php if ($this->getShippingAddress()): ?>
33
+ <div class="info-set col2-set">
34
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
35
+ <div class="col-1">
36
+ <div class="box">
37
+ <div class="box-title">
38
+ <h3><?php echo $this->__('Shipping Address') ?><span class="separator"><?php if ($this->getCanEditShippingAddress()):?> | </span><a href="<?php echo $this->getEditUrl() ?>"><?php echo $this->__('Edit') ?></a><?php endif;?></h3>
39
+ </div>
40
+ <div class="box-content">
41
+ <address><?php echo $this->renderAddress($this->getShippingAddress())?></address>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="col-2">
46
+ <div class="box">
47
+ <div class="box-title">
48
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
49
+ </div>
50
+ <div class="box-content">
51
+ <form method="post" id="shipping_method_form" action="<?php echo $this->escapeHtml($this->getShippingMethodSubmitUrl()) ?>">
52
+ <?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
53
+ <?php if ($groups = $this->getShippingRateGroups()):?>
54
+ <?php $currentRate = $this->getCurrentShippingRate(); ?>
55
+ <fieldset>
56
+ <select name="shipping_method" id="shipping_method" style="width:250px;" class="required-entry">
57
+ <?php if (!$currentRate):?>
58
+ <option value=""><?php echo $this->__('Please select a shipping method...') ?></option>
59
+ <?php endif;?>
60
+ <?php foreach ($groups as $code => $rates):?>
61
+ <optgroup label="<?php echo $this->escapeHtml($this->getCarrierName($code)) ?>" style="font-style:normal;">
62
+ <?php foreach ($rates as $rate):?>
63
+ <option value="<?php echo $this->renderShippingRateValue($rate)?>"<?php echo ($currentRate === $rate) ? ' selected="selected"' : '' ;?>>
64
+ <?php echo $this->renderShippingRateOption($rate)?>
65
+ </option>
66
+ <?php endforeach;?>
67
+ </optgroup>
68
+ <?php endforeach;?>
69
+ </select>
70
+ </fieldset>
71
+ <p class="actions">
72
+ <button id="update_shipping_method_submit" type="submit" class="button"><span><span><?php echo $this->__('Update Shipping Method') ?></span></span></button>
73
+ </p>
74
+ <?php else: ?>
75
+ <p><strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong></p>
76
+ <?php endif;?>
77
+ <?php else: ?>
78
+ <p><strong><?php echo $this->renderShippingRateOption($this->getCurrentShippingRate())?></strong></p>
79
+ <?php endif; ?>
80
+ </form>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <?php endif; ?>
86
+
87
+ <div class="info-set col2-set">
88
+ <h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
89
+ <div class="col-1">
90
+ <div class="box">
91
+ <div class="box-title">
92
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span>
93
+ <?php if($this->getEditUrl()):?><a href="<?php echo $this->getEditUrl() ?>"><?php echo $this->__('Edit Payment Information') ?></a> <?php endif ?>
94
+ </h3>
95
+ </div>
96
+ <div class="box-content">
97
+ <?php echo $this->escapeHtml($this->getPaymentMethodTitle()) ?>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+
103
+ <div class="info-set">
104
+ <h2 class="legend"><?php echo $this->__('Items in Your Shopping Cart') ?><span class="separator"> | </span><a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Shopping Cart') ?></a></h2>
105
+ <div id="details-reload">
106
+ <?php echo $this->getChildHtml('details') ?>
107
+ </div>
108
+ </div>
109
+ <form method="post" id="order_review_form" action="<?php echo $this->getPlaceOrderUrl() ?>">
110
+ <?php echo $this->getChildHtml('agreements'); ?>
111
+ <div class="buttons-set buttons-set-order" id="review-buttons-container">
112
+ <button type="button" id="review_button" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
113
+ <button type="button" id="review_submit" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
114
+ <span class="please-wait" id="review-please-wait" style="display:none;">
115
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
116
+ </span>
117
+ </div>
118
+ </form>
119
+ <script type="text/javascript">
120
+ //<![CDATA[
121
+ // submit buttons are not needed when submitting with ajax
122
+ $('review_submit').hide();
123
+ if ($('update_shipping_method_submit')) {
124
+ $('update_shipping_method_submit').hide();
125
+ }
126
+
127
+ <?php if ($this->getUseAjax()):?>
128
+ OrderReviewController.prototype._submitOrder = function() {
129
+ if (this._canSubmitOrder) {
130
+ if (this._pleaseWait) {
131
+ this._pleaseWait.show();
132
+ }
133
+ new Ajax.Request(this.form.action, {
134
+ parameters: {isAjax: 1, method: 'POST'},
135
+ onSuccess: function(transport) {
136
+ try{
137
+ response = eval('(' + transport.responseText + ')');
138
+ } catch (e) {
139
+ response = {};
140
+ }
141
+ if (response.redirect) {
142
+ setLocation(response.redirect);
143
+ return;
144
+ }
145
+ if (response.success) {
146
+ setLocation('<?php echo $this->getSuccessUrl()?>');
147
+ return;
148
+ } else {
149
+ var msg = response.error_messages;
150
+ if (typeof(msg)=='object') {
151
+ msg = msg.join("\n");
152
+ }
153
+ if (msg) {
154
+ $('review-please-wait').hide();
155
+ alert(msg);
156
+ return;
157
+ }
158
+ }
159
+ $('review-please-wait').hide();
160
+ alert('<?php echo $this->jsQuoteEscape($this->__('Unknown Error. Please try again later.')); ?>');
161
+ return;
162
+ },
163
+ onFailure: function(){
164
+ alert('<?php echo $this->jsQuoteEscape($this->__('Server Error. Please try again.')) ?>');
165
+ $('review-please-wait').hide();
166
+ }
167
+ });
168
+ }
169
+ }
170
+ <?php endif ?>
171
+
172
+ PayPalExpressAjax = new OrderReviewController($('order_review_form'), $('review_button'),
173
+ $('shipping_method'), $('shipping_method_form'), 'details-reload'
174
+ );
175
+ PayPalExpressAjax.addPleaseWait($('review-please-wait'));
176
+ //]]>
177
+ </script>
app/design/frontend/svs_store/default/template/paypal/express/review/address.phtml ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $prefix = $this->getFieldNamePrefix();?>
28
+ <div class="fieldset">
29
+ <ul class="form-list form-list-narrow">
30
+ <li id="<?php echo $prefix ?>-address-form" class="address-form">
31
+ <div class="fieldset">
32
+ <input type="hidden" name="<?php echo $prefix ?>[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="<?php echo $prefix ?>:address_id" />
33
+ <ul>
34
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat($prefix . ':%s')->setFieldNameFormat($prefix . '[%s]')->toHtml() ?></li>
35
+ <li class="fields">
36
+ <div class="field">
37
+ <label for="<?php echo $prefix ?>:company"><?php echo $this->__('Company') ?></label>
38
+ <div class="input-box">
39
+ <input type="text" id="<?php echo $prefix ?>:company" name="<?php echo $prefix ?>[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
40
+ </div>
41
+ </div>
42
+ <?php if(!$this->isCustomerLoggedIn() && !$this->getHideEmailAddress()): ?>
43
+ <div class="field">
44
+ <label for="<?php echo $prefix ?>:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
45
+ <div class="input-box">
46
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="<?php echo $prefix ?>[email]" id="<?php echo $prefix ?>:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
47
+ </div>
48
+ </div>
49
+ <?php endif; ?>
50
+ </li>
51
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
52
+ <li class="fields">
53
+ <div class="field">
54
+ <label for="<?php echo $prefix ?>:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
55
+ <div class="input-box">
56
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="<?php echo $prefix ?>[street][]" id="<?php echo $prefix ?>:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
57
+ </div>
58
+ </div>
59
+ </li>
60
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
61
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
62
+ <li class="fields">
63
+ <div class="field">
64
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
65
+ <div class="input-box">
66
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="<?php echo $prefix ?>[street][]" id="<?php echo $prefix ?>:street<?php echo $_i?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
67
+ </div>
68
+ </div>
69
+ </li>
70
+ <?php endfor; ?>
71
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
72
+ <li class="fields">
73
+ <div class="field">
74
+ <label for="<?php echo $prefix ?>:vat_id"><?php echo $this->__('VAT Number') ?></label>
75
+ <div class="input-box">
76
+ <input type="text" id="<?php echo $prefix ?>:vat_id" name="<?php echo $prefix ?>[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
77
+ </div>
78
+ </div>
79
+ </li>
80
+ <?php endif; ?>
81
+ <li class="fields">
82
+ <div class="field">
83
+ <label for="<?php echo $prefix ?>:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
84
+ <div class="input-box">
85
+ <input type="text" title="<?php echo $this->__('City') ?>" name="<?php echo $prefix ?>[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="<?php echo $prefix ?>:city" />
86
+ </div>
87
+ </div>
88
+ <div class="field">
89
+ <label for="<?php echo $prefix ?>:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
90
+ <div class="input-box">
91
+ <select id="<?php echo $prefix ?>:region_id" name="<?php echo $prefix ?>[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
92
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
93
+ </select>
94
+ <script type="text/javascript">
95
+ //<![CDATA[
96
+ $('<?php echo $prefix ?>:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
97
+ //]]>
98
+ </script>
99
+ <input type="text" id="<?php echo $prefix ?>:region" name="<?php echo $prefix ?>[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
100
+ </div>
101
+ </div>
102
+ </li>
103
+ <li class="fields">
104
+ <div class="field">
105
+ <label for="<?php echo $prefix ?>:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
106
+ <div class="input-box">
107
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="<?php echo $prefix ?>[postcode]" id="<?php echo $prefix ?>:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
108
+ </div>
109
+ </div>
110
+ <div class="field">
111
+ <label for="<?php echo $prefix ?>:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
112
+ <div class="input-box">
113
+ <?php echo $this->getCountryHtmlSelect($prefix) ?>
114
+ </div>
115
+ </div>
116
+ </li>
117
+ <li class="fields">
118
+ <div class="field">
119
+ <label for="<?php echo $prefix ?>:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
120
+ <div class="input-box">
121
+ <input type="tel" name="<?php echo $prefix ?>[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="<?php echo $prefix ?>:telephone" />
122
+ </div>
123
+ </div>
124
+ <div class="field">
125
+ <label for="<?php echo $prefix ?>:fax"><?php echo $this->__('Fax') ?></label>
126
+ <div class="input-box">
127
+ <input type="tel" name="<?php echo $prefix ?>[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="<?php echo $prefix ?>:fax" />
128
+ </div>
129
+ </div>
130
+ </li>
131
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
132
+ <?php if ($this->getShowAsShippingCheckbox()): ?>
133
+ <li class="control">
134
+ <div class="field">
135
+ <div class="input-box">
136
+ <input type="checkbox" name="<?php echo $prefix ?>[as_shipping]" class="checkbox" value="1" title="<?php echo $this->__('Same as shipping') ?>" id="<?php echo $prefix ?>:as_shipping" <?php if ($this->getAddress()->getSameAsBilling()):?>checked="checked"<?php endif;?>/>
137
+ </div>
138
+ <label for="<?php echo $prefix ?>:as_shipping"><?php echo $this->__('Same as shipping') ?></label>
139
+ </div>
140
+ </li>
141
+ <?php endif; ?>
142
+ </ul>
143
+ </div>
144
+ </li>
145
+ </ul>
146
+ </div>
147
+ <script type="text/javascript">
148
+ //<![CDATA[
149
+ var <?php echo $prefix ?>RegionUpdater = new RegionUpdater('<?php echo $prefix ?>:country_id', '<?php echo $prefix ?>:region', '<?php echo $prefix ?>:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, '<?php echo $prefix ?>:postcode');
150
+ <?php echo $prefix ?>RegionUpdater.update();
151
+ //]]>
152
+ </script>
153
+ <?php if ($this->getShowAsShippingCheckbox()): ?>
154
+ <script type="text/javascript">
155
+ //<![CDATA[
156
+ OrderReviewController.prototype._copyShippingToBilling_parent = OrderReviewController.prototype._copyShippingToBilling;
157
+ OrderReviewController.prototype._copyShippingToBilling = function (event) {
158
+ this._copyShippingToBilling_parent(event);
159
+
160
+ if (!this._copyElement) {
161
+ return;
162
+ }
163
+
164
+ if (this._copyElement.checked) {
165
+ if (this.copyShippingToBilling_allowScrollTo && Modernizr.mq && Modernizr.mq("only screen and (max-width: 767px)")) {
166
+ $('shipping-address').scrollTo();
167
+ }
168
+ } else {
169
+ $$('[id^="billing:"]').each(function (el) {
170
+ if ($(el).up('.field')) {
171
+ $(el).up('.field').removeClassName('inactive');
172
+ }
173
+ })
174
+ }
175
+ }
176
+
177
+ OrderReviewController.prototype._copyElementValue_parent = OrderReviewController.prototype._copyElementValue;
178
+ OrderReviewController.prototype._copyElementValue = function (el) {
179
+ <?php // Note: We cannot call this._copyElementValue_parent because review.js is using each() to iterate without giving it context ?>
180
+ OrderReviewController.prototype._copyElementValue_parent(el);
181
+
182
+ var newId = el.id.replace('shipping:','billing:');
183
+ if (newId && $(newId) && $(newId).type != 'hidden') {
184
+ if ($(newId).up('.field')) {
185
+ $(newId).up('.field').addClassName('inactive');
186
+ }
187
+ }
188
+ }
189
+ //]]>
190
+ </script>
191
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/paypal/express/review/details.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @see Mage_Paypal_Block_Express_Review_Details
29
+ */
30
+ ?>
31
+ <table id="details-table" class="data-table linearize-table">
32
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
33
+ <col />
34
+ <col width="1" />
35
+ <col width="1" />
36
+ <col width="1" />
37
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
38
+ <col width="1" />
39
+ <col width="1" />
40
+ <?php endif; ?>
41
+ <thead>
42
+ <tr>
43
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product') ?></th>
44
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
45
+ <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
46
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
47
+ </tr>
48
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
49
+ <tr>
50
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
51
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
52
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
53
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
54
+ </tr>
55
+ <?php endif; ?>
56
+ </thead>
57
+ <?php echo $this->getChildHtml('totals'); ?>
58
+ <tbody>
59
+ <?php foreach($this->getItems() as $_item): ?>
60
+ <?php echo $this->getItemHtml($_item) ?>
61
+ <?php endforeach ?>
62
+ </tbody>
63
+ </table>
64
+ <script type="text/javascript">decorateTable('details-table');</script>
app/design/frontend/svs_store/default/template/paypal/express/review/shipping/method.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /** @var $this Mage_Paypal_Block_Express_Review */
27
+ ?>
28
+ <div class="fieldset" id="shipping-method-container">
29
+ <?php if ($this->getCanEditShippingMethod() || !$this->getCurrentShippingRate()):?>
30
+ <?php if ($groups = $this->getShippingRateGroups()):?>
31
+ <?php $currentRate = $this->getCurrentShippingRate(); ?>
32
+ <select name="shipping_method" id="shipping_method" style="width:250px;" class="required-entry">
33
+ <?php if (!$currentRate):?>
34
+ <option value=""><?php echo $this->__('Please select a shipping method...') ?></option>
35
+ <?php endif;?>
36
+ <?php foreach ($groups as $code => $rates):?>
37
+ <optgroup label="<?php echo $this->escapeHtml($this->getCarrierName($code)) ?>" style="font-style:normal;">
38
+ <?php foreach ($rates as $rate):?>
39
+ <option value="<?php echo $this->renderShippingRateValue($rate)?>"<?php echo ($currentRate === $rate) ? ' selected="selected"' : '' ;?>>
40
+ <?php echo $this->renderShippingRateOption($rate)?>
41
+ </option>
42
+ <?php endforeach;?>
43
+ </optgroup>
44
+ <?php endforeach;?>
45
+ </select>
46
+ <?php else: ?>
47
+ <p><strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong></p>
48
+ <?php endif;?>
49
+ <?php else: ?>
50
+ <p><strong><?php echo $this->renderShippingRateOption($this->getCurrentShippingRate())?></strong></p>
51
+ <?php endif; ?>
52
+ </div>
53
+ <div style="display:none" id="shipping_method_update"><p><?php echo $this->__('Please update order data to get shipping methods and rates') ?></p></div>
app/design/frontend/svs_store/default/template/paypal/partner/us_logo.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * @see Mage_Paypal_Block_Logo
30
+ */
31
+ ?>
32
+ <div class="paypal-logo">
33
+ <!-- PayPal Logo -->
34
+ <a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="How PayPal Works" onclick="javascript:window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;">
35
+ <img src="https://www.paypalobjects.com/webstatic/mktg/logo/bdg_now_accepting_pp_2line_w.png" border="0" alt="Now accepting PayPal">
36
+ </a>
37
+ <div class="label">
38
+ <a href="https://www.paypal.com/webapps/mpp/how-paypal-works">How PayPal Works</a>
39
+ </div>
40
+ <!-- PayPal Logo -->
41
+ </div>
app/design/frontend/svs_store/default/template/persistent/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /** @var Mage_Checkout_Block_Onepage_Billing $this */
27
+ ?>
28
+ <form id="co-billing-form" action="">
29
+ <div class="fieldset">
30
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
31
+ <ul class="form-list">
32
+ <?php if ($this->customerHasAddresses()): ?>
33
+ <li class="wide">
34
+ <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
35
+ <div class="input-box">
36
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
37
+ </div>
38
+ </li>
39
+ <?php endif; ?>
40
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?> class="scaffold-form">
41
+ <div class="fieldset">
42
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
43
+ <ul>
44
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
45
+ <li class="fields">
46
+ <div class="field">
47
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
48
+ <div class="input-box">
49
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
50
+ </div>
51
+ </div>
52
+ <?php if(!$this->isCustomerLoggedIn()): ?>
53
+ <div class="field">
54
+ <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
55
+ <div class="input-box">
56
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
57
+ </div>
58
+ </div>
59
+ <?php endif; ?>
60
+ </li>
61
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
62
+ <li class="wide">
63
+ <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
64
+ <div class="input-box">
65
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
66
+ </div>
67
+ </li>
68
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
69
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
70
+ <li class="wide">
71
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
72
+ <div class="input-box">
73
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
74
+ </div>
75
+ </li>
76
+ <?php endfor; ?>
77
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
78
+ <li class="wide">
79
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
80
+ <div class="input-box">
81
+ <input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
82
+ </div>
83
+ </li>
84
+ <?php endif; ?>
85
+ <li class="fields">
86
+ <div class="field">
87
+ <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
88
+ <div class="input-box">
89
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
90
+ </div>
91
+ </div>
92
+ <div class="field">
93
+ <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
94
+ <div class="input-box">
95
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
96
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
97
+ </select>
98
+ <script type="text/javascript">
99
+ //<![CDATA[
100
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
101
+ //]]>
102
+ </script>
103
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
104
+ </div>
105
+ </div>
106
+ </li>
107
+ <li class="fields">
108
+ <div class="field">
109
+ <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
110
+ <div class="input-box">
111
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
112
+ </div>
113
+ </div>
114
+ <div class="field">
115
+ <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
116
+ <div class="input-box">
117
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
118
+ </div>
119
+ </div>
120
+ </li>
121
+ <li class="fields">
122
+ <div class="field">
123
+ <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
124
+ <div class="input-box">
125
+ <input type="tel" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
126
+ </div>
127
+ </div>
128
+ <div class="field">
129
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
130
+ <div class="input-box">
131
+ <input type="tel" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
132
+ </div>
133
+ </div>
134
+ </li>
135
+
136
+ <?php if(!$this->isCustomerLoggedIn()): ?>
137
+
138
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
139
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
140
+ <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
141
+ <li class="fields">
142
+ <?php if ($_dob->isEnabled()): ?>
143
+ <div class="field">
144
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
145
+ </div>
146
+ <?php endif; ?>
147
+ <?php if ($_gender->isEnabled()): ?>
148
+ <div class="field">
149
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
150
+ </div>
151
+ <?php endif ?>
152
+ </li>
153
+ <?php endif ?>
154
+
155
+ <?php if ($this->isTaxvatEnabled()):?>
156
+ <li><?php echo $this->getTaxvatHtml() ?></li>
157
+ <?php endif; ?>
158
+
159
+ <li class="fields" id="register-customer-password">
160
+ <div class="field">
161
+ <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
162
+ <div class="input-box">
163
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
164
+ </div>
165
+ </div>
166
+ <div class="field">
167
+ <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
168
+ <div class="input-box">
169
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
170
+ </div>
171
+ </div>
172
+ </li>
173
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
174
+ <?php endif; ?>
175
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
176
+ <li class="control">
177
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
178
+ </li>
179
+ <?php else:?>
180
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
181
+ <?php endif; ?>
182
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
183
+ </ul>
184
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
185
+ </div>
186
+ </li>
187
+ <?php if ($this->canShip()): ?>
188
+ <li class="control">
189
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
190
+ <li class="control">
191
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
192
+ </li>
193
+ <?php endif; ?>
194
+ </ul>
195
+ <?php if (!$this->canShip()): ?>
196
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
197
+ <?php endif; ?>
198
+ <div class="buttons-set" id="billing-buttons-container">
199
+ <button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
200
+ <span class="please-wait" id="billing-please-wait" style="display:none;">
201
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
202
+ </span>
203
+ </div>
204
+ </div>
205
+ </form>
206
+ <script type="text/javascript">
207
+ //<![CDATA[
208
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
209
+ var billingForm = new VarienForm('co-billing-form');
210
+
211
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
212
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
213
+
214
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
215
+ if ($('onepage-guest-register-button')) {
216
+ Event.observe($('onepage-guest-register-button'), 'click', function(event) {
217
+ var billingRememberMe = $('co-billing-form').select('#remember-me-box');
218
+ if (billingRememberMe.length > 0) {
219
+ if ($('login:guest') && $('login:guest').checked) {
220
+ billingRememberMe[0].hide();
221
+ } else if ($('login:register') && ($('login:register').checked || $('login:register').type == 'hidden')) {
222
+ billingRememberMe[0].show();
223
+ }
224
+ }
225
+ });
226
+ }
227
+ //]]>
228
+ </script>
app/design/frontend/svs_store/default/template/persistent/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer onepage checkout login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
32
+ */
33
+ /** @var $this Mage_Checkout_Block_Onepage_Login */
34
+ ?>
35
+ <?php echo $this->getChildHtml('login_before') ?>
36
+ <div class="col2-set<?php if (!$this->helper('customer')->isRegistrationAllowed() && !$this->getQuote()->isAllowedGuestCheckout()) echo ' login-only' ?>">
37
+ <div class="col-1">
38
+ <h3>
39
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
40
+ <?php echo $this->__('Checkout as a Guest or Register') ?>
41
+ <?php elseif ( $this->getQuote()->isAllowedGuestCheckout() && !$this->helper('customer')->isRegistrationAllowed() ): ?>
42
+ <?php echo $this->__('Checkout as a Guest') ?>
43
+ <?php else: ?>
44
+ <?php echo $this->__('Register to Create an Account') ?>
45
+ <?php endif; ?>
46
+ </h3>
47
+ <?php if( !$this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
48
+ <p class="description"><?php echo $this->__('Register and save time!') ?></strong><br />
49
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
50
+ <ul>
51
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
52
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
53
+ </ul>
54
+ <?php elseif( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
55
+ <p class="description"><?php echo $this->__('Register with us for future convenience:') ?></p>
56
+ <?php endif ?>
57
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
58
+ <ul class="form-list">
59
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
60
+ <li class="control">
61
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()!=Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
62
+ </li>
63
+ <?php endif; ?>
64
+ <?php if( $this->helper('customer')->isRegistrationAllowed() ): ?>
65
+ <li class="control">
66
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" />
67
+ <label for="login:register"><?php echo $this->__('Register and Checkout') ?></label>
68
+ </li>
69
+ <?php endif; ?>
70
+ </ul>
71
+ <?php else: ?>
72
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
73
+ <?php endif; ?>
74
+ <div class="buttons-set">
75
+ <p class="required">&nbsp;</p>
76
+ <?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
77
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
78
+ <?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
79
+ <button id="onepage-guest-register-button" type="button" class="button" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
80
+ <?php else: ?>
81
+ <form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
82
+ <button id="onepage-guest-register-button" type="submit" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
83
+ </form>
84
+ <?php endif; ?>
85
+ </div>
86
+ </div>
87
+ <div class="col-2">
88
+ <h3><?php echo $this->__('Returning Customers') ?></h3>
89
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
90
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
91
+ <div class="fieldset">
92
+ <?php echo $this->getBlockHtml('formkey'); ?>
93
+ <p class="description"><?php echo $this->__('Sign in to speed up your checkout process') ?></p>
94
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
95
+ <ul class="form-list">
96
+ <li>
97
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
98
+ <div class="input-box">
99
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
100
+ </div>
101
+ </li>
102
+ <li>
103
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
104
+ <div class="input-box">
105
+ <input type="password" class="input-text validate-password required-entry" id="login-password" name="login[password]" />
106
+ </div>
107
+ </li>
108
+ <li>
109
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
110
+ </li>
111
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
112
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
113
+ </ul>
114
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
115
+ <input name="context" type="hidden" value="checkout" />
116
+ </div>
117
+ </form>
118
+ <div class="buttons-set">
119
+ <button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
120
+ </div>
121
+ </div>
122
+ </div>
123
+
124
+ <script type="text/javascript">
125
+ //<![CDATA[
126
+ var loginForm = new VarienForm('login-form', true);
127
+ $('login-email').observe('keypress', bindLoginPost);
128
+ $('login-password').observe('keypress', bindLoginPost);
129
+ function bindLoginPost(evt){
130
+ if (evt.keyCode == Event.KEY_RETURN) {
131
+ loginForm.submit();
132
+ }
133
+ }
134
+ function onepageLogin(button)
135
+ {
136
+ if(loginForm.validator && loginForm.validator.validate()){
137
+ button.disabled = true;
138
+ loginForm.submit();
139
+ }
140
+ }
141
+ //]]>
142
+ </script>
143
+ <?php
144
+ $registerParam = $this->getRequest()->getParam('register');
145
+ if ($registerParam || $registerParam === ''):
146
+ ?>
147
+ <script type="text/javascript">
148
+ //<![CDATA[
149
+ document.observe("dom:loaded", function() {
150
+ if($('login:register')) {
151
+ $('login:register').checked = true;
152
+ checkout.setMethod();
153
+ }
154
+ })
155
+ //]]>
156
+ </script>
157
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/persistent/customer/form/login.phtml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/customer/form/login.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Login */
34
+ ?>
35
+ <div class="account-login<?php if (!$this->helper('customer')->isRegistrationAllowed()) echo ' login-only' ?>">
36
+ <div class="page-title">
37
+ <h1><?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
38
+ <?php echo $this->__('Login or Create an Account') ?>
39
+ <?php else: ?>
40
+ <?php echo $this->__('Login'); ?>
41
+ <?php endif; ?></h1>
42
+ </div>
43
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
44
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form" class="scaffold-form">
45
+ <?php echo $this->getBlockHtml('formkey'); ?>
46
+ <div class="col2-set">
47
+ <?php if ($this->helper('customer')->isRegistrationAllowed()): ?>
48
+ <div class="col-1 new-users">
49
+ <div class="content">
50
+ <h2><?php echo $this->__('New Here?') ?></h2>
51
+ <p class="form-instructions"><?php echo $this->__('Registration is free and easy!') ?></p>
52
+ <ul class="benefits">
53
+ <li><?php echo $this->__('Faster checkout') ?></li>
54
+ <li><?php echo $this->__('Save multiple shipping addresses') ?></li>
55
+ <li><?php echo $this->__('View and track orders and more') ?></li>
56
+ </ul>
57
+ </div>
58
+ <div class="buttons-set">
59
+ <a title="<?php echo $this->__('Create an Account') ?>" class="button" href="<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>"><span><span><?php echo $this->__('Create an Account') ?></span></span></a>
60
+ </div>
61
+ </div>
62
+ <?php endif; ?>
63
+ <?php // This column should be col-1 if the registration column is not displayed ?>
64
+ <div class="<?php if ($this->helper('customer')->isRegistrationAllowed()): ?>col-2<?php else: ?>col-1<?php endif; ?> registered-users">
65
+ <div class="content fieldset">
66
+ <h2><?php echo $this->__('Already registered?') ?></h2>
67
+ <p class="form-instructions"><?php echo $this->__('If you have an account with us, please log in.') ?></p>
68
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
69
+ <ul class="form-list">
70
+ <li>
71
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
72
+ <div class="input-box">
73
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
74
+ </div>
75
+ </li>
76
+ <li>
77
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
78
+ <div class="input-box">
79
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
80
+ </div>
81
+ </li>
82
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
83
+ <li>
84
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
85
+ </li>
86
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
87
+ </ul>
88
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
89
+ </div>
90
+ <div class="buttons-set">
91
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
92
+ </div>
93
+ </div>
94
+ </div>
95
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
96
+ <input name="context" type="hidden" value="checkout" />
97
+ <?php endif; ?>
98
+ </form>
99
+ <script type="text/javascript">
100
+ //<![CDATA[
101
+ var dataForm = new VarienForm('login-form', true);
102
+ //]]>
103
+ </script>
104
+ </div>
app/design/frontend/svs_store/default/template/persistent/customer/form/register.phtml ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Create account form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/customer/form/register.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Register */
34
+ ?>
35
+ <div class="account-create">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Create an Account') ?></h1>
38
+ </div>
39
+ <?php echo $this->getChildHtml('form_fields_before')?>
40
+ <?php echo $this->getMessagesBlock()->toHtml() ?>
41
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
42
+ <div class="fieldset">
43
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
+ <p class="form-instructions"><?php echo $this->__('Please enter the following information to create your account.') ?></p>
46
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
47
+ <ul class="form-list">
48
+ <li class="fields">
49
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->setForceUseCustomerAttributes(true)->toHtml() ?>
50
+ </li>
51
+ <li>
52
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
53
+ <div class="input-box">
54
+ <input type="email" autocapitalize="off" autocorrect="off" spellcheck="false" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
55
+ </div>
56
+ </li>
57
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
58
+ <?php if ($_dob->isEnabled()): ?>
59
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
60
+ <?php endif ?>
61
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
62
+ <?php if ($_taxvat->isEnabled()): ?>
63
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
64
+ <?php endif ?>
65
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
66
+ <?php if ($_gender->isEnabled()): ?>
67
+ <li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
68
+ <?php endif ?>
69
+
70
+ <?php if($this->getShowAddressFields()): ?>
71
+ <li class="hidden">
72
+ <input type="hidden" name="create_address" value="1" />
73
+ </li>
74
+ <li class="fields">
75
+ <div class="field">
76
+ <label for="company"><?php echo $this->__('Company') ?></label>
77
+ <div class="input-box">
78
+ <input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
79
+ </div>
80
+ </div>
81
+ <div class="field">
82
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
83
+ <div class="input-box">
84
+ <input type="tel" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
85
+ </div>
86
+ </div>
87
+ </li>
88
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
89
+ <li class="wide">
90
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
91
+ <div class="input-box">
92
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(0)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
93
+ </div>
94
+ </li>
95
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
96
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
97
+ <li class="wide">
98
+ <label for="billing:street<?php echo $_i ?>"><?php echo $this->__('Street Address %s', $_i) ?></label>
99
+ <div class="input-box">
100
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i - 1)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
101
+ </div>
102
+ </li>
103
+ <?php endfor; ?>
104
+ <li class="fields">
105
+ <div class="field">
106
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
107
+ <div class="input-box">
108
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
109
+ </div>
110
+ </div>
111
+ <div class="field">
112
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
113
+ <div class="input-box">
114
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
115
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
116
+ </select>
117
+ <script type="text/javascript">
118
+ //<![CDATA[
119
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
120
+ //]]>
121
+ </script>
122
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
123
+ </div>
124
+ </div>
125
+ </li>
126
+ <li class="fields">
127
+ <div class="field">
128
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
129
+ <div class="input-box">
130
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
131
+ </div>
132
+ </div>
133
+ <div class="field">
134
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
135
+ <div class="input-box">
136
+ <?php echo $this->getCountryHtmlSelect() ?>
137
+ </div>
138
+ </div>
139
+ </li>
140
+ <li class="hidden">
141
+ <input type="hidden" name="default_billing" value="1" />
142
+ <input type="hidden" name="default_shipping" value="1" />
143
+ </li>
144
+ <?php endif; ?>
145
+ <li class="fields">
146
+ <div class="field">
147
+ <label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
148
+ <div class="input-box">
149
+ <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
150
+ </div>
151
+ </div>
152
+ <div class="field">
153
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
154
+ <div class="input-box">
155
+ <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
156
+ </div>
157
+ </div>
158
+ </li>
159
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
160
+ <?php if ($this->isNewsletterEnabled()): ?>
161
+ <li class="control">
162
+ <div class="input-box">
163
+ <input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
164
+ </div>
165
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
166
+ </li>
167
+ <?php endif ?>
168
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
169
+ </ul>
170
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
171
+ </div>
172
+ <div class="buttons-set">
173
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
174
+ <button type="submit" title="<?php echo $this->__('Register') ?>" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
175
+ </div>
176
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
177
+ <input name="context" type="hidden" value="checkout" />
178
+ <?php endif; ?>
179
+ </form>
180
+ <script type="text/javascript">
181
+ //<![CDATA[
182
+ var dataForm = new VarienForm('form-validate', true);
183
+ <?php if($this->getShowAddressFields()): ?>
184
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
185
+ <?php endif; ?>
186
+ //]]>
187
+ </script>
188
+ </div>
app/design/frontend/svs_store/default/template/persistent/remember_me.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer "Remember Me" template
30
+ *
31
+ * @var $this Mage_Persistent_Block_Form_Remember
32
+ */
33
+ ?>
34
+ <li class="control remember-me-box">
35
+ <?php $rememberMeId = 'remember_me' . Mage::helper('core')->getRandomString(10); ?>
36
+ <div class="input-box">
37
+ <input type="checkbox" name="persistent_remember_me" class="checkbox" id="<?php echo $rememberMeId; ?>"<?php if ($this->isRememberMeChecked()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Remember Me') ?>" />
38
+ </div>
39
+ <label for="<?php echo $rememberMeId; ?>"><?php echo $this->__('Remember Me') ?></label>
40
+ <a class="link-tip" href="#"><?php echo $this->__('What\'s this?') ?></a>
41
+ </li>
app/design/frontend/svs_store/default/template/persistent/remember_me_tooltip.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * "Remember Me" popup template (when click on "What's this?")
30
+ *
31
+ */
32
+ /** @var $this Mage_Core_Block_Template */
33
+ ?>
34
+ <div class="remember-me-popup">
35
+ <div class="remember-me-popup-head">
36
+ <h3><?php echo $this->__("What's this?"); ?></h3>
37
+ <a href="#" class="remember-me-popup-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
38
+ </div>
39
+ <div class="remember-me-popup-body">
40
+ <p><?php echo $this->__('Checking &quot;Remember Me&quot; will let you access your shopping cart on this computer when you are logged out'); ?></p>
41
+ <div class="remember-me-popup-close-button a-right">
42
+ <a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><span><?php echo $this->__('Close') ?></span></a>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <script type="text/javascript">
47
+ //<![CDATA[
48
+ function toggleRememberMePopup() {
49
+ var formParent = jQuery(this).parents('form:first');
50
+ formParent.find('.remember-me-box a').toggleClass('hide');
51
+ formParent.find('.remember-me-popup').toggleClass('show');
52
+ return false;
53
+ }
54
+ var rememberMeToggleSetup = false;
55
+ jQuery(document).ready(function(){
56
+ if (!rememberMeToggleSetup) {
57
+ jQuery('.remember-me-box a, .remember-me-popup a').on('click', toggleRememberMePopup);
58
+ rememberMeToggleSetup = true;
59
+ }
60
+ });
61
+ //]]>
62
+ </script>
app/design/frontend/svs_store/default/template/rating/detailed.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@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!empty($collection) && $collection->getSize()): ?>
28
+ <table class="ratings-table">
29
+ <colgroup>
30
+ <col class="review-label" />
31
+ <col class="review-value" />
32
+ </colgroup>
33
+ <tbody>
34
+ <?php foreach ($collection as $_rating): ?>
35
+ <?php if($_rating->getSummary()): ?>
36
+ <tr>
37
+ <th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
38
+ <td>
39
+ <div class="rating-box">
40
+ <div class="rating" style="width:<?php echo ceil($_rating->getSummary()) ?>%;"></div>
41
+ </div>
42
+ </td>
43
+ </tr>
44
+ <?php endif; ?>
45
+ <?php endforeach; ?>
46
+ </tbody>
47
+ </table>
48
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/product_viewed.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Reports_Block_Product_Viewed */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyViewedProducts()): ?>
29
+ <div class="block block-list block-viewed">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Viewed Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <ol id="recently-viewed-items" class="mini-products-list">
35
+ <?php foreach ($_products as $_item): ?>
36
+ <li class="item">
37
+ <a href="<?php echo $this->getProductUrl($_item) ?>">
38
+ <span class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
39
+ </a>
40
+ <div class="product-details">
41
+ <p class="product-name">
42
+ <a href="<?php echo $this->getProductUrl($_item) ?>">
43
+ <?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?>
44
+ </a>
45
+ </p>
46
+ </div>
47
+ </li>
48
+ <?php endforeach; ?>
49
+ </ol>
50
+ <script type="text/javascript">decorateList('recently-viewed-items');</script>
51
+ </div>
52
+ </div>
53
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_default_list.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
28
+ <div class="widget widget-compared">
29
+ <div class="block block-products">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol class="mini-products-list" id="widget-compared-<?php echo $suffix; ?>">
36
+ <?php foreach ($_products as $_product): ?>
37
+ <li class="item">
38
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
39
+ <div class="product-details">
40
+ <p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
41
+ <?php /* Removing this functionality from RWD
42
+ <?php echo $this->getPriceHtml($_product, true, '-widget-compared-'.$suffix) ?>
43
+ <?php if($_product->isSaleable()): ?>
44
+ <a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
45
+ <?php else: ?>
46
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
47
+ <?php endif; ?>
48
+ */ ?>
49
+ </div>
50
+ </li>
51
+ <?php endforeach; ?>
52
+ </ol>
53
+ <script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_images_list.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
28
+ <div class="widget widget-compared">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol class="mini-products-images-list" id="widget-compared-<?php echo $suffix; ?>">
36
+ <?php $i=0; foreach ($_products as $_product): ?>
37
+ <li class="item">
38
+ <? $_imgSize = 310; // Images will be displayed at roughly this size when viewed at less than the medium breakpoint ?>
39
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
40
+ </li>
41
+ <?php endforeach; ?>
42
+ </ol>
43
+ <script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/widget/compared/column/compared_names_list.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
28
+ <div class="widget widget-compared">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('Recently Compared') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php $suffix = $this->getNameInLayout(); ?>
35
+ <ol id="widget-compared-<?php echo $suffix; ?>">
36
+ <?php $i=0; foreach ($_products as $_product): ?>
37
+ <li class="item">
38
+ <p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
39
+ </li>
40
+ <?php endforeach; ?>
41
+ </ol>
42
+ <script type="text/javascript">decorateList('widget-compared-<?php echo $suffix; ?>', 'none-recursive')</script>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/widget/compared/content/compared_grid.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magento.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.magento.com for more information.
20
+ *
21
+ * @category design
22
+ * @package rwd_default
23
+ * @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
28
+ <div class="widget widget-compared">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('Recently Compared') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php $_columnCount = $this->getColumnCount(); ?>
34
+ <?php $i=0; ?>
35
+ <ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col-widget">
36
+ <?php foreach ($_products as $_product): ?>
37
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
38
+ <?php $_imgSize = 210; ?>
39
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
40
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
41
+ </a>
42
+ <div class="product-info">
43
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
44
+ <?php echo $this->getPriceHtml($_product, true, '-widget-compared-grid') ?>
45
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
46
+ <div class="actions">
47
+ <?php if($_product->isSaleable()): ?>
48
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
49
+ <?php else: ?>
50
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
51
+ <?php endif; ?>
52
+ <ul class="add-to-links">
53
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
54
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
55
+ <?php endif; ?>
56
+ <?php if($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
57
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
58
+ <?php endif; ?>
59
+ </ul>
60
+ </div>
61
+ </div>
62
+ </li>
63
+ <?php endforeach; ?>
64
+ </ul>
65
+ </div>
66
+ </div>
67
+ <?php endif; ?>
app/design/frontend/svs_store/default/template/reports/widget/{compared/content/compared_list.phtml → comp} RENAMED
File without changes