mMagezon - Version 1.0.2

Version Notes

Release for Magento 1.4.x and 1.5.x

Download this release

Release Info

Developer Magento Core Team
Extension mMagezon
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

Files changed (240) hide show
  1. app/design/frontend/default/magezon/layout/_customer.xml +247 -0
  2. app/design/frontend/default/magezon/layout/amazonpayments.xml +61 -0
  3. app/design/frontend/default/magezon/layout/bundle.xml +297 -0
  4. app/design/frontend/default/magezon/layout/catalog.xml +390 -0
  5. app/design/frontend/default/magezon/layout/catalogsearch.xml +145 -0
  6. app/design/frontend/default/magezon/layout/checkout.xml +379 -0
  7. app/design/frontend/default/magezon/layout/cms.xml +78 -0
  8. app/design/frontend/default/magezon/layout/contacts.xml +50 -0
  9. app/design/frontend/default/magezon/layout/core.xml +33 -0
  10. app/design/frontend/default/magezon/layout/customer.xml +266 -0
  11. app/design/frontend/default/magezon/layout/directory.xml +73 -0
  12. app/design/frontend/default/magezon/layout/downloadable.xml +167 -0
  13. app/design/frontend/default/magezon/layout/easybanner.xml +22 -0
  14. app/design/frontend/default/magezon/layout/giftmessage.xml +71 -0
  15. app/design/frontend/default/magezon/layout/googleanalytics.xml +41 -0
  16. app/design/frontend/default/magezon/layout/googlecheckout.xml +53 -0
  17. app/design/frontend/default/magezon/layout/googleoptimizer.xml +153 -0
  18. app/design/frontend/default/magezon/layout/newsletter.xml +69 -0
  19. app/design/frontend/default/magezon/layout/page.xml +141 -0
  20. app/design/frontend/default/magezon/layout/paypal.xml +70 -0
  21. app/design/frontend/default/magezon/layout/paypaluk.xml +70 -0
  22. app/design/frontend/default/magezon/layout/poll.xml +57 -0
  23. app/design/frontend/default/magezon/layout/productalert.xml +40 -0
  24. app/design/frontend/default/magezon/layout/reports.xml +37 -0
  25. app/design/frontend/default/magezon/layout/review.xml +117 -0
  26. app/design/frontend/default/magezon/layout/rss.xml +99 -0
  27. app/design/frontend/default/magezon/layout/sales.xml +220 -0
  28. app/design/frontend/default/magezon/layout/sendfriend.xml +40 -0
  29. app/design/frontend/default/magezon/layout/shipping.xml +51 -0
  30. app/design/frontend/default/magezon/layout/smartmenu.xml +57 -0
  31. app/design/frontend/default/magezon/layout/tag.xml +128 -0
  32. app/design/frontend/default/magezon/layout/wishlist.xml +104 -0
  33. app/design/frontend/default/magezon/locale/en_US/translate.csv +1 -0
  34. app/design/frontend/default/magezon/template/amazonpayments/asp/form.phtml +35 -0
  35. app/design/frontend/default/magezon/template/amazonpayments/asp/redirect.phtml +37 -0
  36. app/design/frontend/default/magezon/template/amazonpayments/asp/shortcut.phtml +33 -0
  37. app/design/frontend/default/magezon/template/amazonpayments/cba/form.phtml +35 -0
  38. app/design/frontend/default/magezon/template/amazonpayments/cba/success.phtml +35 -0
  39. app/design/frontend/default/magezon/template/amazonpayments/form.phtml +30 -0
  40. app/design/frontend/default/magezon/template/amazonpayments/link.phtml +49 -0
  41. app/design/frontend/default/magezon/template/bundle/catalog/product/list/partof.phtml +52 -0
  42. app/design/frontend/default/magezon/template/bundle/catalog/product/price.phtml +262 -0
  43. app/design/frontend/default/magezon/template/bundle/catalog/product/view/price.phtml +93 -0
  44. app/design/frontend/default/magezon/template/bundle/catalog/product/view/tierprices.phtml +41 -0
  45. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle.phtml +44 -0
  46. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/checkbox.phtml +48 -0
  47. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/multi.phtml +46 -0
  48. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/radio.phtml +72 -0
  49. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/select.phtml +61 -0
  50. app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/options.phtml +45 -0
  51. app/design/frontend/default/magezon/template/bundle/email/order/items/creditmemo/default.phtml +168 -0
  52. app/design/frontend/default/magezon/template/bundle/email/order/items/invoice/default.phtml +169 -0
  53. app/design/frontend/default/magezon/template/bundle/email/order/items/order/default.phtml +174 -0
  54. app/design/frontend/default/magezon/template/bundle/email/order/items/shipment/default.phtml +92 -0
  55. app/design/frontend/default/magezon/template/bundle/sales/order/creditmemo/items/renderer.phtml +328 -0
  56. app/design/frontend/default/magezon/template/bundle/sales/order/invoice/items/renderer.phtml +352 -0
  57. app/design/frontend/default/magezon/template/bundle/sales/order/items/renderer.phtml +375 -0
  58. app/design/frontend/default/magezon/template/bundle/sales/order/shipment/items/renderer.phtml +111 -0
  59. app/design/frontend/default/magezon/template/callouts/left_col.phtml +39 -0
  60. app/design/frontend/default/magezon/template/callouts/right_col.phtml +31 -0
  61. app/design/frontend/default/magezon/template/catalog/category/page.phtml +32 -0
  62. app/design/frontend/default/magezon/template/catalog/category/view.phtml +95 -0
  63. app/design/frontend/default/magezon/template/catalog/layer/filter.phtml +42 -0
  64. app/design/frontend/default/magezon/template/catalog/layer/state.phtml +48 -0
  65. app/design/frontend/default/magezon/template/catalog/layer/view.phtml +55 -0
  66. app/design/frontend/default/magezon/template/catalog/navigation/left.phtml +58 -0
  67. app/design/frontend/default/magezon/template/catalog/navigation/top.phtml +51 -0
  68. app/design/frontend/default/magezon/template/catalog/product/compare/list.phtml +133 -0
  69. app/design/frontend/default/magezon/template/catalog/product/compare/sidebar.phtml +55 -0
  70. app/design/frontend/default/magezon/template/catalog/product/gallery.phtml +63 -0
  71. app/design/frontend/default/magezon/template/catalog/product/list.phtml +150 -0
  72. app/design/frontend/default/magezon/template/catalog/product/list/_upsell.phtml +56 -0
  73. app/design/frontend/default/magezon/template/catalog/product/list/related.phtml +94 -0
  74. app/design/frontend/default/magezon/template/catalog/product/list/toolbar.phtml +185 -0
  75. app/design/frontend/default/magezon/template/catalog/product/list/upsell.phtml +56 -0
  76. app/design/frontend/default/magezon/template/catalog/product/new.phtml +60 -0
  77. app/design/frontend/default/magezon/template/catalog/product/newproduct.phtml +64 -0
  78. app/design/frontend/default/magezon/template/catalog/product/price.phtml +344 -0
  79. app/design/frontend/default/magezon/template/catalog/product/view.phtml +130 -0
  80. app/design/frontend/default/magezon/template/catalog/product/view/additional.phtml +29 -0
  81. app/design/frontend/default/magezon/template/catalog/product/view/addto.phtml +37 -0
  82. app/design/frontend/default/magezon/template/catalog/product/view/addtocart.phtml +39 -0
  83. app/design/frontend/default/magezon/template/catalog/product/view/attributes.phtml +49 -0
  84. app/design/frontend/default/magezon/template/catalog/product/view/description.phtml +35 -0
  85. app/design/frontend/default/magezon/template/catalog/product/view/media.phtml +78 -0
  86. app/design/frontend/default/magezon/template/catalog/product/view/options.phtml +176 -0
  87. app/design/frontend/default/magezon/template/catalog/product/view/options/js.phtml +60 -0
  88. app/design/frontend/default/magezon/template/catalog/product/view/options/type/date.phtml +70 -0
  89. app/design/frontend/default/magezon/template/catalog/product/view/options/type/default.phtml +30 -0
  90. app/design/frontend/default/magezon/template/catalog/product/view/options/type/file.phtml +41 -0
  91. app/design/frontend/default/magezon/template/catalog/product/view/options/type/select.phtml +37 -0
  92. app/design/frontend/default/magezon/template/catalog/product/view/options/type/text.phtml +39 -0
  93. app/design/frontend/default/magezon/template/catalog/product/view/options/wrapper.phtml +33 -0
  94. app/design/frontend/default/magezon/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
  95. app/design/frontend/default/magezon/template/catalog/product/view/price.phtml +30 -0
  96. app/design/frontend/default/magezon/template/catalog/product/view/price_clone.phtml +28 -0
  97. app/design/frontend/default/magezon/template/catalog/product/view/tierprices.phtml +181 -0
  98. app/design/frontend/default/magezon/template/catalog/product/view/type/configurable.phtml +39 -0
  99. app/design/frontend/default/magezon/template/catalog/product/view/type/grouped.phtml +80 -0
  100. app/design/frontend/default/magezon/template/catalog/product/view/type/options/configurable.phtml +46 -0
  101. app/design/frontend/default/magezon/template/catalog/product/view/type/simple.phtml +40 -0
  102. app/design/frontend/default/magezon/template/catalog/product/view/type/virtual.phtml +40 -0
  103. app/design/frontend/default/magezon/template/catalog/seo/sitemap.phtml +43 -0
  104. app/design/frontend/default/magezon/template/catalog/seo/sitemap/container.phtml +33 -0
  105. app/design/frontend/default/magezon/template/catalog/seo/tree.phtml +43 -0
  106. app/design/frontend/default/magezon/template/catalogsearch/advanced/form.phtml +91 -0
  107. app/design/frontend/default/magezon/template/catalogsearch/advanced/result.phtml +61 -0
  108. app/design/frontend/default/magezon/template/catalogsearch/form.mini.phtml +45 -0
  109. app/design/frontend/default/magezon/template/catalogsearch/result.phtml +43 -0
  110. app/design/frontend/default/magezon/template/catalogsearch/term.phtml +38 -0
  111. app/design/frontend/default/magezon/template/checkout/cart.phtml +125 -0
  112. app/design/frontend/default/magezon/template/checkout/cart/coupon.phtml +58 -0
  113. app/design/frontend/default/magezon/template/checkout/cart/crosssell.phtml +61 -0
  114. app/design/frontend/default/magezon/template/checkout/cart/item/default.phtml +251 -0
  115. app/design/frontend/default/magezon/template/checkout/cart/noItems.phtml +32 -0
  116. app/design/frontend/default/magezon/template/checkout/cart/render/default.phtml +66 -0
  117. app/design/frontend/default/magezon/template/checkout/cart/render/simple.phtml +66 -0
  118. app/design/frontend/default/magezon/template/checkout/cart/shipping.phtml +131 -0
  119. app/design/frontend/default/magezon/template/checkout/cart/sidebar.phtml +70 -0
  120. app/design/frontend/default/magezon/template/checkout/cart/sidebar/default.phtml +127 -0
  121. app/design/frontend/default/magezon/template/checkout/cart/totals.phtml +43 -0
  122. app/design/frontend/default/magezon/template/checkout/links.phtml +26 -0
  123. app/design/frontend/default/magezon/template/checkout/multishipping/address/select.phtml +58 -0
  124. app/design/frontend/default/magezon/template/checkout/multishipping/addresses.phtml +79 -0
  125. app/design/frontend/default/magezon/template/checkout/multishipping/agreements.phtml +50 -0
  126. app/design/frontend/default/magezon/template/checkout/multishipping/billing.phtml +102 -0
  127. app/design/frontend/default/magezon/template/checkout/multishipping/billing/items.phtml +54 -0
  128. app/design/frontend/default/magezon/template/checkout/multishipping/item/default.phtml +45 -0
  129. app/design/frontend/default/magezon/template/checkout/multishipping/link.phtml +27 -0
  130. app/design/frontend/default/magezon/template/checkout/multishipping/overview.phtml +253 -0
  131. app/design/frontend/default/magezon/template/checkout/multishipping/shipping.phtml +112 -0
  132. app/design/frontend/default/magezon/template/checkout/multishipping/state.phtml +38 -0
  133. app/design/frontend/default/magezon/template/checkout/multishipping/success.phtml +46 -0
  134. app/design/frontend/default/magezon/template/checkout/onepage.phtml +61 -0
  135. app/design/frontend/default/magezon/template/checkout/onepage/agreements.phtml +52 -0
  136. app/design/frontend/default/magezon/template/checkout/onepage/billing.phtml +152 -0
  137. app/design/frontend/default/magezon/template/checkout/onepage/failure.phtml +32 -0
  138. app/design/frontend/default/magezon/template/checkout/onepage/link.phtml +31 -0
  139. app/design/frontend/default/magezon/template/checkout/onepage/login.phtml +120 -0
  140. app/design/frontend/default/magezon/template/checkout/onepage/payment.phtml +70 -0
  141. app/design/frontend/default/magezon/template/checkout/onepage/payment/methods.phtml +51 -0
  142. app/design/frontend/default/magezon/template/checkout/onepage/progress.phtml +110 -0
  143. app/design/frontend/default/magezon/template/checkout/onepage/review.phtml +42 -0
  144. app/design/frontend/default/magezon/template/checkout/onepage/review/info.phtml +65 -0
  145. app/design/frontend/default/magezon/template/checkout/onepage/review/item.phtml +236 -0
  146. app/design/frontend/default/magezon/template/checkout/onepage/review/totals.phtml +33 -0
  147. app/design/frontend/default/magezon/template/checkout/onepage/shipping.phtml +112 -0
  148. app/design/frontend/default/magezon/template/checkout/onepage/shipping_method.phtml +48 -0
  149. app/design/frontend/default/magezon/template/checkout/onepage/shipping_method/additional.phtml +27 -0
  150. app/design/frontend/default/magezon/template/checkout/onepage/shipping_method/available.phtml +56 -0
  151. app/design/frontend/default/magezon/template/checkout/success.phtml +46 -0
  152. app/design/frontend/default/magezon/template/checkout/total/default.phtml +38 -0
  153. app/design/frontend/default/magezon/template/checkout/total/tax.phtml +68 -0
  154. app/design/frontend/default/magezon/template/cms/content.phtml +27 -0
  155. app/design/frontend/default/magezon/template/cms/default/home.phtml +27 -0
  156. app/design/frontend/default/magezon/template/cms/default/no-route.phtml +27 -0
  157. app/design/frontend/default/magezon/template/cms/meta.phtml +32 -0
  158. app/design/frontend/default/magezon/template/cms/wrapper.phtml +58 -0
  159. app/design/frontend/default/magezon/template/contacts/form.phtml +67 -0
  160. app/design/frontend/default/magezon/template/core/formkey.phtml +27 -0
  161. app/design/frontend/default/magezon/template/core/messages.phtml +47 -0
  162. app/design/frontend/default/magezon/template/customer/account/dashboard.phtml +39 -0
  163. app/design/frontend/default/magezon/template/customer/account/dashboard/address.phtml +44 -0
  164. app/design/frontend/default/magezon/template/customer/account/dashboard/hello.phtml +30 -0
  165. app/design/frontend/default/magezon/template/customer/account/dashboard/info.phtml +50 -0
  166. app/design/frontend/default/magezon/template/customer/account/dashboard/newsletter.phtml +31 -0
  167. app/design/frontend/default/magezon/template/customer/account/dashboard/sidebar.phtml +26 -0
  168. app/design/frontend/default/magezon/template/customer/account/link/back.phtml +29 -0
  169. app/design/frontend/default/magezon/template/customer/account/navigation.phtml +46 -0
  170. app/design/frontend/default/magezon/template/customer/address.phtml +94 -0
  171. app/design/frontend/default/magezon/template/customer/address/book.phtml +117 -0
  172. app/design/frontend/default/magezon/template/customer/address/edit.phtml +137 -0
  173. app/design/frontend/default/magezon/template/customer/balance.phtml +31 -0
  174. app/design/frontend/default/magezon/template/customer/form/address.phtml +123 -0
  175. app/design/frontend/default/magezon/template/customer/form/changepassword.phtml +60 -0
  176. app/design/frontend/default/magezon/template/customer/form/confirmation.phtml +51 -0
  177. app/design/frontend/default/magezon/template/customer/form/edit.phtml +106 -0
  178. app/design/frontend/default/magezon/template/customer/form/forgotpassword.phtml +54 -0
  179. app/design/frontend/default/magezon/template/customer/form/login.phtml +83 -0
  180. app/design/frontend/default/magezon/template/customer/form/mini.login.phtml +33 -0
  181. app/design/frontend/default/magezon/template/customer/form/newsletter.phtml +47 -0
  182. app/design/frontend/default/magezon/template/customer/form/register.phtml +154 -0
  183. app/design/frontend/default/magezon/template/customer/logout.phtml +35 -0
  184. app/design/frontend/default/magezon/template/customer/order/view.phtml +85 -0
  185. app/design/frontend/default/magezon/template/customer/orders.phtml +61 -0
  186. app/design/frontend/default/magezon/template/customer/widget/dob.phtml +79 -0
  187. app/design/frontend/default/magezon/template/customer/widget/name.phtml +113 -0
  188. app/design/frontend/default/magezon/template/customer/widget/taxvat.phtml +33 -0
  189. app/design/frontend/default/magezon/template/customer/wishlist.phtml +67 -0
  190. app/design/frontend/default/magezon/template/directory/currency.phtml +58 -0
  191. app/design/frontend/default/magezon/template/directory/currency/switch.phtml +31 -0
  192. app/design/frontend/default/magezon/template/downloadable/catalog/product/links.phtml +115 -0
  193. app/design/frontend/default/magezon/template/downloadable/catalog/product/samples.phtml +45 -0
  194. app/design/frontend/default/magezon/template/downloadable/catalog/product/type.phtml +41 -0
  195. app/design/frontend/default/magezon/template/downloadable/checkout/cart/item/default.phtml +98 -0
  196. app/design/frontend/default/magezon/template/downloadable/checkout/multishipping/item/downloadable.phtml +57 -0
  197. app/design/frontend/default/magezon/template/downloadable/checkout/onepage/review/item.phtml +72 -0
  198. app/design/frontend/default/magezon/template/downloadable/checkout/success.phtml +29 -0
  199. app/design/frontend/default/magezon/template/downloadable/customer/products/list.phtml +74 -0
  200. app/design/frontend/default/magezon/template/downloadable/email/order/items/creditmemo/downloadable.phtml +128 -0
  201. app/design/frontend/default/magezon/template/downloadable/email/order/items/invoice/downloadable.phtml +131 -0
  202. app/design/frontend/default/magezon/template/downloadable/email/order/items/order/downloadable.phtml +137 -0
  203. app/design/frontend/default/magezon/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml +112 -0
  204. app/design/frontend/default/magezon/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml +109 -0
  205. app/design/frontend/default/magezon/template/downloadable/sales/order/items/renderer/downloadable.phtml +131 -0
  206. app/design/frontend/default/magezon/template/easybanner/cycleslider.phtml +38 -0
  207. app/design/frontend/default/magezon/template/easybanner/galleryview.phtml +61 -0
  208. app/design/frontend/default/magezon/template/easybanner/simpleslider.phtml +42 -0
  209. app/design/frontend/default/magezon/template/easybanner/staticview.phtml +25 -0
  210. app/design/frontend/default/magezon/template/email/order/creditmemo/items.phtml +89 -0
  211. app/design/frontend/default/magezon/template/email/order/invoice/items.phtml +76 -0
  212. app/design/frontend/default/magezon/template/email/order/items.phtml +84 -0
  213. app/design/frontend/default/magezon/template/email/order/items/creditmemo/default.phtml +120 -0
  214. app/design/frontend/default/magezon/template/email/order/items/invoice/default.phtml +120 -0
  215. app/design/frontend/default/magezon/template/email/order/items/order/default.phtml +126 -0
  216. app/design/frontend/default/magezon/template/email/order/items/shipment/default.phtml +43 -0
  217. app/design/frontend/default/magezon/template/email/order/shipment/items.phtml +47 -0
  218. app/design/frontend/default/magezon/template/email/order/shipment/track.phtml +46 -0
  219. app/design/frontend/default/magezon/template/email/productalert/price.phtml +50 -0
  220. app/design/frontend/default/magezon/template/email/productalert/stock.phtml +50 -0
  221. app/design/frontend/default/magezon/template/giftmessage/form.phtml +81 -0
  222. app/design/frontend/default/magezon/template/giftmessage/helper.phtml +80 -0
  223. app/design/frontend/default/magezon/template/giftmessage/inline.phtml +275 -0
  224. app/design/frontend/default/magezon/template/googlecheckout/form.phtml +30 -0
  225. app/design/frontend/default/magezon/template/googlecheckout/link.phtml +38 -0
  226. app/design/frontend/default/magezon/template/newsletter/subscribe.phtml +54 -0
  227. app/design/frontend/default/magezon/template/page/1column.phtml +57 -0
  228. app/design/frontend/default/magezon/template/page/2columns-left.phtml +58 -0
  229. app/design/frontend/default/magezon/template/page/2columns-right.phtml +58 -0
  230. app/design/frontend/default/magezon/template/page/3columns.phtml +60 -0
  231. app/design/frontend/default/magezon/template/page/html/breadcrumbs.phtml +47 -0
  232. app/design/frontend/default/magezon/template/page/html/footer.phtml +39 -0
  233. app/design/frontend/default/magezon/template/page/html/head-translator.phtml +30 -0
  234. app/design/frontend/default/magezon/template/page/html/head.phtml +56 -0
  235. app/design/frontend/default/magezon/template/page/html/header-home.phtml +34 -0
  236. app/design/frontend/default/magezon/template/page/html/header.phtml +40 -0
  237. app/design/frontend/default/magezon/template/page/html/logo-home.phtml +27 -0
  238. app/design/frontend/default/magezon/template/page/html/logo.phtml +27 -0
  239. app/design/frontend/default/magezon/template/page/html/notices.phtml +44 -0
  240. app/design/frontend/default/magezon/template/page/html/pager.phtml +68 -0
app/design/frontend/default/magezon/layout/_customer.xml ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+
51
+ <!-- Mage_Customer -->
52
+ <reference name="top.links">
53
+ <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>
54
+ </reference>
55
+ </default>
56
+
57
+ <!--
58
+ Load this update on every page when customer is logged in
59
+ -->
60
+
61
+ <customer_logged_in>
62
+ <reference name="top.links">
63
+ <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>
64
+ </reference>
65
+ </customer_logged_in>
66
+
67
+ <!--
68
+ Load this update on every page when customer is logged out
69
+ -->
70
+
71
+ <customer_logged_out>
72
+ <reference name="top.links">
73
+ <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>
74
+ </reference>
75
+ <remove name="wishlist_sidebar"></remove>
76
+ <remove name="reorder"></remove>
77
+ </customer_logged_out>
78
+
79
+ <!--
80
+ Layout for customer login page
81
+ -->
82
+
83
+ <customer_account_login>
84
+ <!-- Mage_Customer -->
85
+ <remove name="right"/>
86
+ <remove name="left"/>
87
+
88
+ <reference name="root">
89
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
90
+ </reference>
91
+ <reference name="content">
92
+ <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
93
+ </reference>
94
+ </customer_account_login>
95
+
96
+ <!--
97
+ Layout for customer log out page
98
+ -->
99
+
100
+ <customer_account_logoutsuccess>
101
+ <!-- Mage_Customer -->
102
+ <remove name="right"/>
103
+ <remove name="left"/>
104
+
105
+ <reference name="root">
106
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
107
+ </reference>
108
+ <reference name="content">
109
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
110
+ </reference>
111
+ </customer_account_logoutsuccess>
112
+
113
+ <!--
114
+ New customer registration
115
+ -->
116
+
117
+ <customer_account_create>
118
+ <!-- Mage_Customer -->
119
+ <remove name="right"/>
120
+ <remove name="left"/>
121
+
122
+ <reference name="root">
123
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
124
+ </reference>
125
+ <reference name="content">
126
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"/>
127
+ </reference>
128
+ </customer_account_create>
129
+
130
+ <customer_account_forgotpassword>
131
+ <remove name="right"/>
132
+ <remove name="left"/>
133
+
134
+ <reference name="root">
135
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
136
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
137
+ </reference>
138
+ <reference name="content">
139
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
140
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
141
+ </reference>
142
+ </customer_account_forgotpassword>
143
+
144
+ <customer_account_confirmation>
145
+ <remove name="right"/>
146
+ <remove name="left"/>
147
+
148
+ <reference name="root">
149
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
150
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
151
+ </reference>
152
+ <reference name="content">
153
+ <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
154
+ </reference>
155
+ </customer_account_confirmation>
156
+
157
+ <customer_account_edit>
158
+ <update handle="customer_account"/>
159
+ <reference name="root">
160
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
161
+ </reference>
162
+ <reference name="content">
163
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
164
+ </reference>
165
+
166
+ <reference name="left">
167
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
168
+ </reference>
169
+ </customer_account_edit>
170
+
171
+ <!--
172
+ Customer account pages, rendered for all tabs in dashboard
173
+ -->
174
+
175
+ <customer_account>
176
+ <!-- Mage_Customer -->
177
+ <reference name="root">
178
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
179
+ </reference>
180
+
181
+ <reference name="left">
182
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
183
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
184
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
185
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
186
+ </block>
187
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
188
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
189
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
190
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
191
+ </block>
192
+ <block type="core/template" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
193
+ <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
194
+ <remove name="tags_popular"/>
195
+
196
+ </reference>
197
+ </customer_account>
198
+
199
+ <!--
200
+ Customer account home dashboard layout
201
+ -->
202
+
203
+ <customer_account_index>
204
+ <update handle="customer_account"/>
205
+ <!-- Mage_Customer -->
206
+ <reference name="root">
207
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
208
+ </reference>
209
+ <reference name="content">
210
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
211
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
212
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
213
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
214
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
215
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
216
+ <block type="core/template" name="customer_account_dashboard_info1" as="info1" />
217
+ <block type="core/template" name="customer_account_dashboard_info2" as="info2" />
218
+ </block>
219
+ </reference>
220
+
221
+ </customer_account_index>
222
+
223
+ <!--
224
+ Customer account address book
225
+ -->
226
+
227
+ <customer_address_index>
228
+ <!-- Mage_Customer -->
229
+ <update handle="customer_account"/>
230
+ <reference name="content">
231
+ <block type="customer/address_book" name="address_book" before="-" template="customer/address/book.phtml"/>
232
+ </reference>
233
+ </customer_address_index>
234
+
235
+ <!--
236
+ Customer account address edit page
237
+ -->
238
+
239
+ <customer_address_form>
240
+ <!-- Mage_Customer -->
241
+ <update handle="customer_account"/>
242
+ <reference name="content">
243
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
244
+ </reference>
245
+ </customer_address_form>
246
+
247
+ </layout>
app/design/frontend/default/magezon/layout/amazonpayments.xml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_blank
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ Shopping cart
33
+ -->
34
+
35
+ <checkout_cart_index>
36
+ <!-- Mage_AmazonPayments -->
37
+ <reference name="checkout.cart.methods">
38
+ <block type="amazonpayments/link_shortcut" name="checkout.cart.methods.amazon_cba" template="amazonpayments/link.phtml"/>
39
+ </reference>
40
+ </checkout_cart_index>
41
+
42
+ <amazonpayments_cba_success>
43
+ <reference name="root">
44
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
45
+ </reference>
46
+ <reference name="content">
47
+ <block type="amazonpayments/cba_success" name="amazonpayments_cba_success" template="amazonpayments/cba/success.phtml"></block>
48
+ </reference>
49
+ </amazonpayments_cba_success>
50
+
51
+
52
+ <amazonpayments_asp_pay>
53
+ <reference name="root">
54
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
55
+ </reference>
56
+ <reference name="content">
57
+ <!-- block type="amazonpayments/asp_redirect" name="amazonpayments_asp_redirect" template="page/redirect.phtml" / -->
58
+ <block type="amazonpayments/asp_redirect" name="amazonpayments_asp_redirect" template="amazonpayments/asp/redirect.phtml" />
59
+ </reference>
60
+ </amazonpayments_asp_pay>
61
+ </layout>
app/design/frontend/default/magezon/layout/bundle.xml ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage_Bundle
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="wishlist_sidebar">
85
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
86
+ </reference>
87
+ </default>
88
+
89
+ <wishlist_index_index>
90
+ <reference name="customer.wishlist">
91
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
92
+ </reference>
93
+ </wishlist_index_index>
94
+
95
+ <wishlist_shared_index>
96
+ <reference name="customer.wishlist">
97
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
98
+ </reference>
99
+ </wishlist_shared_index>
100
+
101
+ <catalog_product_view>
102
+ <reference name="catalog.product.related">
103
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
104
+ </reference>
105
+ </catalog_product_view>
106
+
107
+ <!--
108
+ Partof block for simple products
109
+ -->
110
+
111
+ <PRODUCT_TYPE_simple>
112
+ <!--
113
+ <reference name="product.info.additional">
114
+
115
+ <block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
116
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
117
+ </block>
118
+ -->
119
+ <reference name="product.info.upsell">
120
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
121
+ <action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
122
+ </reference>
123
+ </PRODUCT_TYPE_simple>
124
+
125
+ <!--
126
+ Shopping cart item renderer (sidebar)
127
+ -->
128
+
129
+ <default>
130
+ <reference name="cart_sidebar">
131
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
132
+ </reference>
133
+ </default>
134
+
135
+ <customer_account>
136
+ <reference name="cart_sidebar">
137
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
138
+ </reference>
139
+ </customer_account>
140
+
141
+ <!--
142
+ Shopping cart item renderer
143
+ -->
144
+
145
+ <checkout_cart_index>
146
+ <reference name="checkout.cart">
147
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
148
+ </reference>
149
+ <reference name="checkout.cart.crosssell">
150
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
151
+ </reference>
152
+ </checkout_cart_index>
153
+
154
+ <!--
155
+ Onepage Checkout Review Page
156
+ -->
157
+
158
+ <checkout_onepage_review>
159
+ <reference name="root">
160
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
161
+ </reference>
162
+ </checkout_onepage_review>
163
+
164
+ <checkout_multishipping_addresses>
165
+ <reference name="checkout_addresses">
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_addresses>
169
+
170
+ <checkout_multishipping_shipping>
171
+ <reference name="checkout_shipping">
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
+ <reference name="checkout_billing_items">
175
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
176
+ </reference>
177
+ </checkout_multishipping_shipping>
178
+
179
+ <checkout_multishipping_overview>
180
+ <reference name="checkout_overview">
181
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
182
+ </reference>
183
+ </checkout_multishipping_overview>
184
+
185
+ <!--
186
+ Additional block for bundle product type
187
+ -->
188
+
189
+ <PRODUCT_TYPE_bundle>
190
+ <reference name="head">
191
+ <action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
192
+ </reference>
193
+ <reference name="product.info">
194
+ <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
195
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
196
+ <block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml" />
197
+ </block>
198
+ </reference>
199
+ <reference name="product.info.options.wrapper">
200
+ <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">
201
+ <action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
202
+ <action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
203
+ <action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
204
+ <action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
205
+ </block>
206
+ <action method="insert"><block>product.info.bundle.options</block></action>
207
+ </reference>
208
+ <reference name="product.info.options.wrapper.bottom">
209
+ <remove name="product.tierprices" />
210
+ <block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
211
+ </reference>
212
+ <reference name="product.clone_prices">
213
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
214
+ </reference>
215
+ </PRODUCT_TYPE_bundle>
216
+
217
+ <sales_order_view>
218
+ <reference name="order_items">
219
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
220
+ </reference>
221
+ </sales_order_view>
222
+
223
+ <sales_order_invoice>
224
+ <reference name="invoice_items">
225
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
226
+ </reference>
227
+ </sales_order_invoice>
228
+
229
+ <sales_order_shipment>
230
+ <reference name="shipment_items">
231
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
232
+ </reference>
233
+ </sales_order_shipment>
234
+
235
+ <sales_order_creditmemo>
236
+ <reference name="creditmemo_items">
237
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
238
+ </reference>
239
+ </sales_order_creditmemo>
240
+
241
+ <!--
242
+ Print pages
243
+ -->
244
+
245
+ <sales_order_print>
246
+ <reference name="sales.order.print">
247
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
248
+ </reference>
249
+ </sales_order_print>
250
+
251
+ <sales_order_printinvoice>
252
+ <reference name="sales.order.print.invoice">
253
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
254
+ </reference>
255
+ </sales_order_printinvoice>
256
+
257
+ <sales_order_printshipment>
258
+ <reference name="sales.order.print.shipment">
259
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
260
+ </reference>
261
+ </sales_order_printshipment>
262
+
263
+ <sales_order_printcreditmemo>
264
+ <reference name="sales.order.print.creditmemo">
265
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
266
+ </reference>
267
+ </sales_order_printcreditmemo>
268
+
269
+ <!--
270
+ Emails
271
+ -->
272
+ <sales_email_order_items>
273
+ <reference name="items">
274
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
275
+ </reference>
276
+ </sales_email_order_items>
277
+
278
+ <sales_email_order_invoice_items>
279
+ <reference name="items">
280
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
281
+ </reference>
282
+ </sales_email_order_invoice_items>
283
+
284
+
285
+ <sales_email_order_shipment_items>
286
+ <reference name="items">
287
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
288
+ </reference>
289
+ </sales_email_order_shipment_items>
290
+
291
+ <sales_email_order_creditmemo_items>
292
+ <reference name="items">
293
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
294
+ </reference>
295
+ </sales_email_order_creditmemo_items>
296
+
297
+ </layout>
app/design/frontend/default/magezon/layout/catalog.xml ADDED
@@ -0,0 +1,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="header">
49
+ <block type="catalog/navigation" name="catalog.topnav" as="topnav" template="catalog/navigation/top.phtml"/>
50
+ </reference>
51
+
52
+ <reference name="left">
53
+ <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
54
+ <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
55
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
56
+ <action method="setLinkUrl"><url>checkout/cart</url></action>
57
+ </block>
58
+ </reference>
59
+ <reference name="right">
60
+ <block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
61
+ <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
62
+ </reference>
63
+ <reference name="footer_links">
64
+ <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>
65
+ </reference>
66
+
67
+ </default>
68
+
69
+ <!--
70
+ Add rel="follow" to sitemap link on home
71
+ -->
72
+
73
+ <cms_index_index>
74
+ <reference name="footer_links_follow">
75
+ <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>
76
+ </reference>
77
+ </cms_index_index>
78
+
79
+
80
+ <!--
81
+ Category default layout
82
+ -->
83
+
84
+ <catalog_category_default>
85
+ <reference name="left">
86
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
87
+ </reference>
88
+ <reference name="content">
89
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
90
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
91
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
92
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
93
+ <!-- The following code shows how to set your own pager increments -->
94
+ <!--
95
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
96
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
97
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
98
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
99
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
100
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
101
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
102
+ -->
103
+ </block>
104
+
105
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
106
+ </block>
107
+ </block>
108
+ </reference>
109
+ </catalog_category_default>
110
+
111
+ <!--
112
+ Category layered navigation layout
113
+ -->
114
+
115
+ <catalog_category_layered>
116
+ <reference name="left">
117
+ <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
118
+ </reference>
119
+ <reference name="content">
120
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
121
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
122
+ <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
123
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
124
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
125
+ <!-- The following code shows how to set your own pager increments -->
126
+ <!--
127
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
128
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
129
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
130
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
131
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
132
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
133
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
134
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
135
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
136
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
137
+ <action method="addPagerLimit"><mode>grid</mode><limit>all</limit><label>All</label></action>
138
+ -->
139
+ </block>
140
+
141
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
142
+ </block>
143
+ </block>
144
+ </reference>
145
+ </catalog_category_layered>
146
+
147
+ <catalog_category_layered_nochildren>
148
+ <remove name="right.reports.product.viewed" />
149
+ <reference name="right">
150
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
151
+ </reference>
152
+ </catalog_category_layered_nochildren>
153
+
154
+ <!--
155
+ Compare products page
156
+ -->
157
+
158
+ <catalog_product_compare_index>
159
+ <!-- Mage_Catalog -->
160
+ <reference name="root">
161
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
162
+ </reference>
163
+ <reference name="head">
164
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
165
+ <action method="addJs"><script>varien/product.js</script></action>
166
+ </reference>
167
+ <reference name="content">
168
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
169
+ </reference>
170
+ </catalog_product_compare_index>
171
+
172
+ <customer_account_index>
173
+
174
+ <reference name="right">
175
+ <action method="unsetChild"><name>catalog_compare_sidebar</name></action>
176
+ </reference>
177
+ </customer_account_index>
178
+
179
+ <!--
180
+ Product view
181
+ -->
182
+
183
+ <catalog_product_view>
184
+ <!-- Mage_Catalog -->
185
+ <reference name="root">
186
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
187
+ </reference>
188
+ <reference name="head">
189
+ <action method="addJs"><script>varien/product.js</script></action>
190
+
191
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
192
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
193
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
194
+ </reference>
195
+ <reference name="content">
196
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
197
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
198
+ <block type="core/text_list" name="alert.urls" as="alert_urls" />
199
+ <block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
200
+
201
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
202
+ <action method="setColumnCount"><columns>4</columns></action>
203
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
204
+ </block>
205
+
206
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
207
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml"/>
208
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml"/>
209
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
210
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
211
+
212
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml">
213
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
214
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
215
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
216
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
217
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
218
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
219
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
220
+ </block>
221
+ </block>
222
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml">
223
+ <action method="insert"><block>product.tierprices</block></action>
224
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
225
+ <action method="append"><block>product.info.addtocart</block></action>
226
+ </block>
227
+
228
+ <block type="core/template_facade" name="product.info.container1" as="container1">
229
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
230
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
231
+ <action method="append"><block>product.info.options.wrapper</block></action>
232
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
233
+ </block>
234
+ <block type="core/template_facade" name="product.info.container2" as="container2">
235
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
236
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
237
+ <action method="append"><block>product.info.options.wrapper</block></action>
238
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
239
+ </block>
240
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
241
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
242
+ </block>
243
+ </reference>
244
+ <reference name="right">
245
+ <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
246
+ </reference>
247
+ </catalog_product_view>
248
+
249
+ <!--
250
+ Additional block dependant on product type
251
+ -->
252
+ <PRODUCT_TYPE_simple>
253
+ <reference name="product.info">
254
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/simple.phtml"/>
255
+ </reference>
256
+ </PRODUCT_TYPE_simple>
257
+ <PRODUCT_TYPE_configurable>
258
+ <reference name="product.info">
259
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/configurable.phtml"/>
260
+ </reference>
261
+ <reference name="product.info.options.wrapper">
262
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
263
+ </reference>
264
+ </PRODUCT_TYPE_configurable>
265
+ <PRODUCT_TYPE_grouped>
266
+ <reference name="product.info">
267
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml"/>
268
+ </reference>
269
+ </PRODUCT_TYPE_grouped>
270
+ <PRODUCT_TYPE_virtual>
271
+ <reference name="product.info">
272
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/virtual.phtml"/>
273
+ </reference>
274
+ </PRODUCT_TYPE_virtual>
275
+
276
+
277
+
278
+ <!--
279
+ Product send to friend
280
+ -->
281
+
282
+ <catalog_product_send>
283
+ <!-- Mage_Catalog -->
284
+ <reference name="root">
285
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
286
+ </reference>
287
+ <reference name="head">
288
+ <action method="addJs"><script>varien/product.js</script></action>
289
+ </reference>
290
+ <reference name="content">
291
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
292
+ </block>
293
+ </reference>
294
+ </catalog_product_send>
295
+
296
+ <!--
297
+ Product additional images gallery popup
298
+ -->
299
+
300
+ <catalog_product_gallery>
301
+ <!-- Mage_Catalog -->
302
+ <reference name="root">
303
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
304
+ </reference>
305
+ <reference name="content">
306
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
307
+ </reference>
308
+ </catalog_product_gallery>
309
+
310
+ <!--
311
+ SEO Site Map
312
+ -->
313
+
314
+ <catalog_seo_sitemap>
315
+ <remove name="right"/>
316
+ <remove name="left"/>
317
+
318
+ <reference name="root">
319
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
320
+ </reference>
321
+ <reference name="content">
322
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
323
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links-follow.phtml"/>
324
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
325
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
326
+ </block>
327
+ </reference>
328
+ </catalog_seo_sitemap>
329
+
330
+ <catalog_seo_sitemap_category>
331
+ <update handle="catalog_seo_sitemap" />
332
+ <reference name="seo.sitemap.container">
333
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
334
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
335
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
336
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
337
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
338
+ </block>
339
+ </reference>
340
+ <reference name="seo.sitemap.links">
341
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
342
+ </reference>
343
+ </catalog_seo_sitemap_category>
344
+
345
+ <catalog_seo_sitemap_category_tree>
346
+ <reference name="seo.sitemap.container">
347
+ <remove name="seo.sitemap.pager.top" />
348
+ <remove name="seo.sitemap.pager.bottom" />
349
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
350
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
351
+ <remove name="seo.sitemap.sitemap" />
352
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
353
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
354
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
355
+ </block>
356
+ </reference>
357
+ </catalog_seo_sitemap_category_tree>
358
+
359
+ <catalog_seo_sitemap_product>
360
+ <update handle="catalog_seo_sitemap" />
361
+ <reference name="seo.sitemap.container">
362
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
363
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
364
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
365
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
366
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
367
+ </block>
368
+ </reference>
369
+ <reference name="seo.sitemap.links">
370
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
371
+ </reference>
372
+ </catalog_seo_sitemap_product>
373
+
374
+
375
+ <!--
376
+ Catalog search terms block
377
+ -->
378
+
379
+ <catalog_seo_searchterm_popular>
380
+ <remove name="right"/>
381
+ <remove name="left"/>
382
+ <reference name="root">
383
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
384
+ </reference>
385
+ <reference name="content">
386
+ <block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
387
+ </reference>
388
+ </catalog_seo_searchterm_popular>
389
+
390
+ </layout>
app/design/frontend/default/magezon/layout/catalogsearch.xml ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <remove name="right.newsletter" />
52
+ <remove name="right.reports.product.viewed" />
53
+ <reference name="root">
54
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
55
+ </reference>
56
+ <reference name="left">
57
+ <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
58
+ <block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
59
+ </reference>
60
+ <reference name="content">
61
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
62
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
63
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
64
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
65
+ </block>
66
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
67
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
68
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
69
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
70
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
71
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
72
+ </block>
73
+ <action method="setListOrders"/>
74
+ <action method="setListModes"/>
75
+ <action method="setListCollection"/>
76
+ </block>
77
+ </reference>
78
+
79
+ <reference name="right">
80
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
81
+ </reference>
82
+ </catalogsearch_result_index>
83
+
84
+ <catalogsearch_advanced_index translate="label">
85
+ <label>Advanced Search Form</label>
86
+ <!-- Mage_Catalogsearch -->
87
+ <reference name="root">
88
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
89
+ </reference>
90
+ <reference name="head">
91
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
92
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
93
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
94
+ </reference>
95
+ <reference name="content">
96
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
97
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
98
+ </reference>
99
+ </catalogsearch_advanced_index>
100
+
101
+ <!--
102
+ Advanced search results
103
+ -->
104
+
105
+ <catalogsearch_advanced_result translate="label">
106
+ <label>Advanced Search Result</label>
107
+ <update handle="page_two_columns_right" />
108
+ <!-- Mage_Catalogsearch -->
109
+ <reference name="root">
110
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
111
+ </reference>
112
+ <reference name="content">
113
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
114
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
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="root">
138
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
139
+ </reference>
140
+ <reference name="content">
141
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
142
+ </reference>
143
+ </catalogsearch_term_popular>
144
+
145
+ </layout>
app/design/frontend/default/magezon/layout/checkout.xml ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <reference name="right">
45
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
46
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
47
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
48
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
49
+ </block>
50
+ </reference>
51
+
52
+ </default>
53
+
54
+ <checkout_cart_index>
55
+ <remove name="right"/>
56
+ <remove name="left"/>
57
+ <!-- Mage_Checkout -->
58
+ <reference name="root">
59
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
60
+ </reference>
61
+ <reference name="content">
62
+ <block type="checkout/cart" name="checkout.cart">
63
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
64
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
65
+ <action method="chooseTemplate"/>
66
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
67
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
68
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
69
+
70
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods">
71
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
72
+ </block>
73
+
74
+ <block type="core/text_list" name="checkout.cart.methods" as="methods">
75
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
76
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
77
+ </block>
78
+
79
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
80
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
81
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
82
+
83
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
84
+ </block>
85
+ </reference>
86
+ </checkout_cart_index>
87
+
88
+ <!--
89
+ Multi address shipping checkout main layout,
90
+ will be rendered on all checkout pages
91
+ -->
92
+
93
+ <checkout_multishipping>
94
+ <!-- Mage_Checkout -->
95
+ <remove name="right"/>
96
+ <remove name="left"/>
97
+
98
+ <reference name="root">
99
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
100
+ </reference>
101
+ <reference name="content">
102
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
103
+ </reference>
104
+ </checkout_multishipping>
105
+
106
+ <checkout_multishipping_login>
107
+ <update handle="customer_account_login"/>
108
+ </checkout_multishipping_login>
109
+
110
+ <checkout_multishipping_register>
111
+ <update handle="customer_account_create"/>
112
+ </checkout_multishipping_register>
113
+
114
+ <!--
115
+ Multi address shipping checkout selection of address per item page
116
+ -->
117
+
118
+ <checkout_multishipping_address_select>
119
+ <update handle="checkout_multishipping"/>
120
+ <!-- Mage_Checkout -->
121
+ <reference name="content">
122
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
123
+ </reference>
124
+ </checkout_multishipping_address_select>
125
+
126
+ <checkout_multishipping_address_selectbilling>
127
+ <update handle="checkout_multishipping"/>
128
+ <!-- Mage_Checkout -->
129
+ <reference name="content">
130
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
131
+ </reference>
132
+ </checkout_multishipping_address_selectbilling>
133
+
134
+
135
+ <checkout_multishipping_address_newshipping>
136
+ <update handle="checkout_multishipping"/>
137
+ <update handle="checkout_multishipping_customer_address"/>
138
+ </checkout_multishipping_address_newshipping>
139
+
140
+ <checkout_multishipping_address_newbilling>
141
+ <update handle="checkout_multishipping"/>
142
+ <update handle="checkout_multishipping_customer_address"/>
143
+ </checkout_multishipping_address_newbilling>
144
+
145
+ <checkout_multishipping_address_editshipping>
146
+ <update handle="checkout_multishipping"/>
147
+ <update handle="checkout_multishipping_customer_address"/>
148
+ </checkout_multishipping_address_editshipping>
149
+
150
+ <checkout_multishipping_address_editaddress>
151
+ <update handle="checkout_multishipping"/>
152
+ <update handle="checkout_multishipping_customer_address"/>
153
+ </checkout_multishipping_address_editaddress>
154
+
155
+ <checkout_multishipping_address_editbilling>
156
+ <update handle="checkout_multishipping"/>
157
+ <update handle="checkout_multishipping_customer_address"/>
158
+ </checkout_multishipping_address_editbilling>
159
+
160
+ <checkout_multishipping_customer_address>
161
+ <reference name="content">
162
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
163
+ </reference>
164
+ </checkout_multishipping_customer_address>
165
+
166
+ <!--
167
+ Multi address shipping checkout address page
168
+ -->
169
+
170
+ <checkout_multishipping_addresses>
171
+ <update handle="checkout_multishipping"/>
172
+ <!-- Mage_Checkout -->
173
+ <reference name="content">
174
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
175
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
176
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
177
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
178
+ </block>
179
+ </reference>
180
+ </checkout_multishipping_addresses>
181
+
182
+ <!--
183
+ Multi address shipping checkout shipping information
184
+ -->
185
+
186
+ <checkout_multishipping_shipping>
187
+ <update handle="checkout_multishipping"/>
188
+ <!-- Mage_Checkout -->
189
+ <reference name="content">
190
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
191
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
192
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
193
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
194
+
195
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
196
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
197
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
198
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
199
+ </block>
200
+ </block>
201
+ </reference>
202
+ </checkout_multishipping_shipping>
203
+
204
+ <!--
205
+ Multi address shipping checkout billing information
206
+ -->
207
+
208
+ <checkout_multishipping_billing>
209
+ <update handle="checkout_multishipping"/>
210
+ <!-- Mage_Checkout -->
211
+ <reference name="content">
212
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
213
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
214
+
215
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
216
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
217
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
218
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
219
+ </block>-->
220
+
221
+ </block>
222
+ </reference>
223
+ </checkout_multishipping_billing>
224
+
225
+ <!--
226
+ Multi address shipping checkout overview
227
+ -->
228
+
229
+ <checkout_multishipping_overview>
230
+ <update handle="checkout_multishipping"/>
231
+ <!-- Mage_Checkout -->
232
+ <reference name="content">
233
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
234
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
235
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
236
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
237
+ <block type="checkout/multishipping_payment_info" name="payment_info">
238
+ <action method="setInfoTemplate"><method></method><template></template></action>
239
+ </block>
240
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
241
+ <block type="checkout/cart_totals" name="totals" />
242
+ </block>
243
+ </reference>
244
+ </checkout_multishipping_overview>
245
+
246
+ <!--
247
+ Multi address shipping checkout success
248
+ -->
249
+
250
+ <checkout_multishipping_success>
251
+ <update handle="checkout_multishipping"/>
252
+ <!-- Mage_Checkout -->
253
+ <reference name="content">
254
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
255
+ </reference>
256
+ </checkout_multishipping_success>
257
+
258
+ <!--
259
+ One page checkout main layout
260
+ -->
261
+
262
+ <checkout_onepage_index>
263
+ <!-- Mage_Checkout -->
264
+ <remove name="left"/>
265
+
266
+ <reference name="root">
267
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
268
+ </reference>
269
+ <reference name="right">
270
+ <action method="unsetChildren"></action>
271
+
272
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
273
+ </reference>
274
+ <reference name="content">
275
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
276
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml"/>
277
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
278
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
279
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
280
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
281
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
282
+ </block>
283
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
284
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
285
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
286
+ </block>
287
+ </block>
288
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
289
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
290
+ </block>
291
+ </block>
292
+ </reference>
293
+ </checkout_onepage_index>
294
+
295
+ <!--
296
+ One page checkout progress block
297
+ -->
298
+
299
+ <checkout_onepage_progress>
300
+ <!-- Mage_Checkout -->
301
+ <remove name="right"/>
302
+ <remove name="left"/>
303
+
304
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
305
+ <block type="checkout/onepage_payment_info" name="payment_info">
306
+ <action method="setInfoTemplate"><method></method><template></template></action>
307
+ </block>
308
+ </block>
309
+ </checkout_onepage_progress>
310
+
311
+ <!--
312
+ One page checkout payment methods block
313
+ -->
314
+ <checkout_onepage_paymentmethod>
315
+ <remove name="right"/>
316
+ <remove name="left"/>
317
+
318
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
319
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
320
+ </block>
321
+ </checkout_onepage_paymentmethod>
322
+
323
+
324
+ <!--
325
+ One page checkout shipping methods block
326
+ -->
327
+
328
+ <checkout_onepage_shippingmethod>
329
+ <!-- Mage_Checkout -->
330
+ <remove name="right"/>
331
+ <remove name="left"/>
332
+
333
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
334
+ </checkout_onepage_shippingmethod>
335
+
336
+ <checkout_onepage_additional>
337
+ <!-- Mage_Checkout -->
338
+ <remove name="right"/>
339
+ <remove name="left"/>
340
+
341
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
342
+ <action method="setDontDisplayContainer"><param>1</param></action>
343
+ </block>
344
+ </checkout_onepage_additional>
345
+
346
+ <!--
347
+ One page checkout order review block
348
+ -->
349
+
350
+ <checkout_onepage_review>
351
+ <!-- Mage_Checkout -->
352
+ <remove name="right"/>
353
+ <remove name="left"/>
354
+
355
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
356
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
357
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
358
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
359
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
360
+ </block>
361
+ </checkout_onepage_review>
362
+
363
+ <checkout_onepage_success>
364
+ <reference name="root">
365
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
366
+ </reference>
367
+ <reference name="content">
368
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
369
+ </reference>
370
+ </checkout_onepage_success>
371
+ <checkout_onepage_failure>
372
+ <reference name="root">
373
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
374
+ </reference>
375
+ <reference name="content">
376
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
377
+ </reference>
378
+ </checkout_onepage_failure>
379
+ </layout>
app/design/frontend/default/magezon/layout/cms.xml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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</block_id></action>
41
+ </block>
42
+ </reference>
43
+ </default>
44
+
45
+ <cms_page>
46
+ <reference name="content">
47
+ <block type="core/template" name="cms.wrapper" template="cms/wrapper.phtml">
48
+ <block type="cms/page" name="cms_page"/>
49
+ </block>
50
+ </reference>
51
+ </cms_page>
52
+
53
+
54
+ <cms_index_defaultindex>
55
+ <remove name="right"/>
56
+ <remove name="left"/>
57
+
58
+ <reference name="root">
59
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
60
+ </reference>
61
+ <reference name="content">
62
+ <block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
63
+ </reference>
64
+ </cms_index_defaultindex>
65
+
66
+ <cms_index_defaultnoroute>
67
+ <remove name="right"/>
68
+ <remove name="left"/>
69
+
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
72
+ </reference>
73
+ <reference name="content">
74
+ <block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
75
+ </reference>
76
+ </cms_index_defaultnoroute>
77
+
78
+ </layout>
app/design/frontend/default/magezon/layout/contacts.xml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <default>
30
+ <reference name="footer_links">
31
+ <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
32
+ </reference>
33
+ </default>
34
+
35
+ <cms_index_index>
36
+ <reference name="footer_links_follow">
37
+ <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
38
+ </reference>
39
+ </cms_index_index>
40
+
41
+ <contacts_index_index>
42
+ <reference name="root">
43
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
44
+ <action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
45
+ </reference>
46
+ <reference name="content">
47
+ <block type="core/template" name="contactForm" template="contacts/form.phtml"/>
48
+ </reference>
49
+ </contacts_index_index>
50
+ </layout>
app/design/frontend/default/magezon/layout/core.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <block name="formkey" type="core/template" template="core/formkey.phtml" />
32
+ </default>
33
+ </layout>
app/design/frontend/default/magezon/layout/customer.xml ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package base_default
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ Supported layout update handles (action):
29
+ - customer_account_index
30
+ - customer_address_index
31
+ - customer_address_view
32
+ - customer_account_login
33
+ - customer_account_logoutsuccess
34
+ - customer_account_create
35
+ - customer_account_forgotpassword
36
+ - customer_account_confirmation
37
+ - customer_account_edit
38
+
39
+ Supported layout update handles (special):
40
+ - default
41
+
42
+ -->
43
+ <layout version="0.1.0">
44
+
45
+ <!--
46
+ Default layout, loads most of the pages
47
+ -->
48
+
49
+ <default>
50
+ <!-- Mage_Customer -->
51
+ <reference name="top.links">
52
+ <action method="addLink" translate="label title" module="customer"><label>My Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>10</position></action>
53
+ </reference>
54
+ </default>
55
+
56
+ <!--
57
+ Load this update on every page when customer is logged in
58
+ -->
59
+
60
+ <customer_logged_in>
61
+ <reference name="top.links">
62
+ <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>
63
+ </reference>
64
+ </customer_logged_in>
65
+
66
+ <!--
67
+ Load this update on every page when customer is logged out
68
+ -->
69
+
70
+ <customer_logged_out>
71
+ <!---<reference name="right">
72
+ <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
73
+ </reference>-->
74
+ <reference name="top.links">
75
+ <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>
76
+ </reference>
77
+ <remove name="wishlist_sidebar"></remove>
78
+ <remove name="reorder"></remove>
79
+ </customer_logged_out>
80
+
81
+ <!--
82
+ Layout for customer login page
83
+ -->
84
+
85
+ <customer_account_login translate="label">
86
+ <label>Customer Account Login Form</label>
87
+ <!-- Mage_Customer -->
88
+ <remove name="right"/>
89
+ <remove name="left"/>
90
+
91
+ <reference name="root">
92
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
93
+ </reference>
94
+ <reference name="content">
95
+ <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
96
+ </reference>
97
+ </customer_account_login>
98
+
99
+ <!--
100
+ Layout for customer log out page
101
+ -->
102
+
103
+ <customer_account_logoutsuccess translate="label">
104
+ <label>Customer Account Logout Success</label>
105
+ <!-- Mage_Customer -->
106
+ <remove name="right"/>
107
+ <remove name="left"/>
108
+
109
+ <reference name="root">
110
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
111
+ </reference>
112
+ <reference name="content">
113
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
114
+ </reference>
115
+ </customer_account_logoutsuccess>
116
+
117
+ <!--
118
+ New customer registration
119
+ -->
120
+
121
+ <customer_account_create translate="label">
122
+ <label>Customer Account Registration Form</label>
123
+ <!-- Mage_Customer -->
124
+ <remove name="right"/>
125
+ <remove name="left"/>
126
+
127
+ <reference name="root">
128
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
129
+ </reference>
130
+ <reference name="content">
131
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
132
+ <block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before"/>
133
+ </block>
134
+ </reference>
135
+ </customer_account_create>
136
+
137
+ <customer_account_forgotpassword translate="label">
138
+ <label>Customer Forgot Password Form</label>
139
+ <remove name="right"/>
140
+ <remove name="left"/>
141
+
142
+ <reference name="root">
143
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
144
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
145
+ </reference>
146
+ <reference name="content">
147
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
148
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
149
+ </reference>
150
+ </customer_account_forgotpassword>
151
+
152
+ <customer_account_confirmation>
153
+ <remove name="right"/>
154
+ <remove name="left"/>
155
+
156
+ <reference name="root">
157
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
158
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
159
+ </reference>
160
+ <reference name="content">
161
+ <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
162
+ </reference>
163
+ </customer_account_confirmation>
164
+
165
+ <customer_account_edit translate="label">
166
+ <label>Customer Account Edit Form</label>
167
+ <update handle="customer_account"/>
168
+ <reference name="root">
169
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
170
+ </reference>
171
+ <reference name="my.account.wrapper">
172
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
173
+ </reference>
174
+
175
+ <reference name="left">
176
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
177
+ </reference>
178
+ </customer_account_edit>
179
+
180
+ <!--
181
+ Customer account pages, rendered for all tabs in dashboard
182
+ -->
183
+
184
+ <customer_account translate="label">
185
+ <label>Customer My Account (All Pages)</label>
186
+ <!--remove name="catalog.compare.sidebar"/>
187
+ <remove name="sale.reorder.sidebar"/-->
188
+ <!-- Mage_Customer -->
189
+ <reference name="root">
190
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
191
+ </reference>
192
+
193
+ <reference name="content">
194
+ <block type="page/html_wrapper" name="my.account.wrapper">
195
+ <action method="setElementClass"><value>my-account</value></action>
196
+ </block>
197
+ </reference>
198
+
199
+ <reference name="left">
200
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
201
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
202
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
203
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
204
+ </block>
205
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
206
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
207
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
208
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
209
+ </block>
210
+ <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
211
+ <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
212
+ <remove name="tags_popular"/>
213
+
214
+ </reference>
215
+ </customer_account>
216
+
217
+ <!--
218
+ Customer account home dashboard layout
219
+ -->
220
+
221
+ <customer_account_index translate="label">
222
+ <label>Customer My Account Dashboard</label>
223
+ <update handle="customer_account"/>
224
+ <!-- Mage_Customer -->
225
+ <reference name="root">
226
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
227
+ </reference>
228
+ <reference name="my.account.wrapper">
229
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
230
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
231
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
232
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
233
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
234
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
235
+ </block>
236
+ </reference>
237
+
238
+ </customer_account_index>
239
+
240
+ <!--
241
+ Customer account address book
242
+ -->
243
+
244
+ <customer_address_index translate="label">
245
+ <label>Customer My Account Address Book</label>
246
+ <!-- Mage_Customer -->
247
+ <update handle="customer_account"/>
248
+ <reference name="my.account.wrapper">
249
+ <block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
250
+ </reference>
251
+ </customer_address_index>
252
+
253
+ <!--
254
+ Customer account address edit page
255
+ -->
256
+
257
+ <customer_address_form translate="label">
258
+ <label>Customer My Account Address Edit Form</label>
259
+ <!-- Mage_Customer -->
260
+ <update handle="customer_account"/>
261
+ <reference name="my.account.wrapper">
262
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
263
+ </reference>
264
+ </customer_address_form>
265
+
266
+ </layout>
app/design/frontend/default/magezon/layout/directory.xml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ Category default layout
33
+ -->
34
+
35
+ <catalog_category_default>
36
+ <reference name="left">
37
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
38
+ </reference>
39
+ </catalog_category_default>
40
+
41
+ <!--
42
+ Category layered navigation layout
43
+ -->
44
+
45
+ <catalog_category_layered>
46
+ <reference name="left">
47
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
48
+ </reference>
49
+ </catalog_category_layered>
50
+
51
+ <!--
52
+ Catalog Search layout
53
+ -->
54
+
55
+ <catalogsearch_advanced_index>
56
+ <reference name="right">
57
+ <block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
58
+ </reference>
59
+ </catalogsearch_advanced_index>
60
+
61
+ <catalogsearch_result_index>
62
+ <reference name="left">
63
+ <block type="directory/currency" name="currency" before="-" template="directory/currency.phtml"/>
64
+ </reference>
65
+ </catalogsearch_result_index>
66
+
67
+ <catalogsearch_advanced_result>
68
+ <reference name="right">
69
+ <block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
70
+ </reference>
71
+ </catalogsearch_advanced_result>
72
+
73
+ </layout>
app/design/frontend/default/magezon/layout/downloadable.xml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage_Downloadable
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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>
38
+ <update handle="customer_account"/>
39
+ <reference name="content">
40
+ <block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
41
+ </reference>
42
+ <reference name="root">
43
+ <action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
44
+ </reference>
45
+ </downloadable_customer_products>
46
+
47
+ <checkout_cart_index>
48
+ <reference name="checkout.cart">
49
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
50
+ </reference>
51
+ </checkout_cart_index>
52
+
53
+ <checkout_onepage_review>
54
+ <reference name="root">
55
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
56
+ </reference>
57
+ </checkout_onepage_review>
58
+
59
+ <checkout_onepage_success>
60
+ <reference name="checkout.success">
61
+ <block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
62
+ </reference>
63
+ </checkout_onepage_success>
64
+
65
+ <checkout_multishipping_addresses>
66
+ <reference name="checkout_addresses">
67
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
68
+ </reference>
69
+ </checkout_multishipping_addresses>
70
+
71
+ <checkout_multishipping_shipping>
72
+ <reference name="checkout_billing_items">
73
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
74
+ </reference>
75
+ </checkout_multishipping_shipping>
76
+
77
+ <checkout_multishipping_overview>
78
+ <reference name="checkout_overview">
79
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
80
+ </reference>
81
+ </checkout_multishipping_overview>
82
+
83
+ <checkout_multishipping_success>
84
+ <reference name="checkout_success">
85
+ <block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
86
+ </reference>
87
+ </checkout_multishipping_success>
88
+
89
+ <sales_order_view>
90
+ <reference name="order_items">
91
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
92
+ </reference>
93
+ </sales_order_view>
94
+
95
+ <sales_order_invoice>
96
+ <reference name="invoice_items">
97
+ <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>
98
+ </reference>
99
+ </sales_order_invoice>
100
+
101
+ <sales_order_creditmemo>
102
+ <reference name="creditmemo_items">
103
+ <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>
104
+ </reference>
105
+ </sales_order_creditmemo>
106
+
107
+ <!--
108
+ Print pages
109
+ -->
110
+
111
+ <sales_order_print>
112
+ <reference name="sales.order.print">
113
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
114
+ </reference>
115
+ </sales_order_print>
116
+
117
+ <sales_order_printinvoice>
118
+ <reference name="sales.order.print.invoice">
119
+ <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>
120
+ </reference>
121
+ </sales_order_printinvoice>
122
+
123
+ <sales_order_printcreditmemo>
124
+ <reference name="sales.order.print.creditmemo">
125
+ <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>
126
+ </reference>
127
+ </sales_order_printcreditmemo>
128
+
129
+ <!--
130
+ EOF Print pages
131
+ -->
132
+
133
+ <!--
134
+ Emails
135
+ -->
136
+
137
+ <sales_email_order_items>
138
+ <reference name="items">
139
+ <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>
140
+ </reference>
141
+ </sales_email_order_items>
142
+
143
+ <sales_email_order_invoice_items>
144
+ <reference name="items">
145
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
146
+ </reference>
147
+ </sales_email_order_invoice_items>
148
+
149
+ <sales_email_order_creditmemo_items>
150
+ <reference name="items">
151
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
152
+ </reference>
153
+ </sales_email_order_creditmemo_items>
154
+
155
+ <PRODUCT_TYPE_downloadable>
156
+ <reference name="product.info">
157
+ <block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">
158
+ <block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="samples" template="downloadable/catalog/product/samples.phtml"/>
159
+ </block>
160
+ </reference>
161
+ <reference name="product.info.options.wrapper">
162
+ <block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
163
+ <action method="insert"><block>product.info.downloadable.options</block></action>
164
+ </reference>
165
+ </PRODUCT_TYPE_downloadable>
166
+
167
+ </layout>
app/design/frontend/default/magezon/layout/easybanner.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addCss"><stylesheet>css/easybanner.css</stylesheet></action>
6
+ <action method="addJs"><script>mw_js/jquery.js</script></action>
7
+ <action method="addJs"><script>mw_js/jquery_noconflict.js</script></action>
8
+ <action method="addItem"><type>skin_js</type><name>js/easybanner/jquery.lightbox-0.5.js</name></action>
9
+ <action method="addItem"><type>skin_js</type><name>js/easybanner/plugins.init.js</name></action>
10
+ </reference>
11
+ </default>
12
+ <easybanner_index_index>
13
+ <reference name="root">
14
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
15
+ </reference>
16
+ <reference name="content">
17
+ <block type="easybanner/banner" name="banner" template="easybanner/simpleslider.phtml">
18
+ <action method="setBannerId"><banner_id>home</banner_id></action>
19
+ </block>
20
+ </reference>
21
+ </easybanner_index_index>
22
+ </layout>
app/design/frontend/default/magezon/layout/giftmessage.xml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ Gift message add/edit form
33
+ -->
34
+ <giftmessage_index_edit>
35
+ <reference name="root">
36
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
37
+ </reference>
38
+ <reference name="content">
39
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml"/>
40
+ </reference>
41
+ </giftmessage_index_edit>
42
+
43
+ <!--
44
+ Gift message save result
45
+ -->
46
+ <giftmessage_index_save>
47
+ <reference name="root">
48
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
49
+ </reference>
50
+ <reference name="content">
51
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml" >
52
+ <action method="setSaveMode"><mode>save</mode></action>
53
+ </block>
54
+ </reference>
55
+ </giftmessage_index_save>
56
+
57
+ <!--
58
+ Gift message remove result
59
+ -->
60
+ <giftmessage_index_remove>
61
+ <reference name="root">
62
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
63
+ </reference>
64
+ <reference name="content">
65
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml" >
66
+ <action method="setSaveMode"><mode>remove</mode></action>
67
+ </block>
68
+ </reference>
69
+ </giftmessage_index_remove>
70
+
71
+ </layout>
app/design/frontend/default/magezon/layout/googleanalytics.xml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!-- Mage_GoogleAnalytics -->
37
+ <reference name="before_body_end">
38
+ <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" />
39
+ </reference>
40
+ </default>
41
+ </layout>
app/design/frontend/default/magezon/layout/googlecheckout.xml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <checkout_cart_index>
32
+ <reference name="checkout.cart.top_methods">
33
+ <block type="googlecheckout/link" name="checkout.cart.methods.googlecheckout" template="googlecheckout/link.phtml" before="-"/>
34
+ </reference>
35
+
36
+ <reference name="checkout.cart.methods">
37
+ <block type="googlecheckout/link" name="checkout.cart.methods.googlecheckout" template="googlecheckout/link.phtml"/>
38
+ </reference>
39
+
40
+ <reference name="google_analytics">
41
+ <action method="setGoogleCheckout"><flag>true</flag></action>
42
+ </reference>
43
+ </checkout_cart_index>
44
+
45
+ <googlecheckout_redirect_redirect>
46
+ <reference name="root">
47
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
48
+ </reference>
49
+ <reference name="content">
50
+ <block type="googlecheckout/redirect" name="googlecheckout_redirect" template="page/redirect.phtml"></block>
51
+ </reference>
52
+ </googlecheckout_redirect_redirect>
53
+ </layout>
app/design/frontend/default/magezon/layout/googleoptimizer.xml ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!--
31
+ Product view
32
+ -->
33
+
34
+ <catalog_product_view>
35
+ <reference name="head">
36
+ <block type="googleoptimizer/code_product" before="-" name="googleoptimizer.control.script">
37
+ <action method="setScriptType"><scriptType>control_script</scriptType></action>
38
+ </block>
39
+ </reference>
40
+ <reference name="before_body_end">
41
+ <block type="googleoptimizer/code_product" after="-" name="googleoptimizer.tracking.script">
42
+ <action method="setScriptType"><scriptType>tracking_script</scriptType></action>
43
+ </block>
44
+ </reference>
45
+ </catalog_product_view>
46
+
47
+ <catalog_category_default>
48
+ <reference name="head">
49
+ <block type="googleoptimizer/code_category" before="-" name="googleoptimizer.control.script">
50
+ <action method="setScriptType"><scriptType>control_script</scriptType></action>
51
+ </block>
52
+ </reference>
53
+ <reference name="before_body_end">
54
+ <block type="googleoptimizer/code_category" after="-" name="googleoptimizer.tracking.script">
55
+ <action method="setScriptType"><scriptType>tracking_script</scriptType></action>
56
+ </block>
57
+ </reference>
58
+ </catalog_category_default>
59
+
60
+ <catalog_category_layered>
61
+ <reference name="head">
62
+ <block type="googleoptimizer/code_category" before="-" name="googleoptimizer.control.script">
63
+ <action method="setScriptType"><scriptType>control_script</scriptType></action>
64
+ </block>
65
+ </reference>
66
+ <reference name="before_body_end">
67
+ <block type="googleoptimizer/code_category" after="-" name="googleoptimizer.tracking.script">
68
+ <action method="setScriptType"><scriptType>tracking_script</scriptType></action>
69
+ </block>
70
+ </reference>
71
+ </catalog_category_layered>
72
+
73
+ <cms_page>
74
+ <reference name="head">
75
+ <block type="googleoptimizer/code_page" before="-" name="googleoptimizer.control.script">
76
+ <action method="setScriptType"><scriptType>control_script</scriptType></action>
77
+ </block>
78
+ </reference>
79
+ <reference name="before_body_end">
80
+ <block type="googleoptimizer/code_page" after="-" name="googleoptimizer.tracking.script">
81
+ <action method="setScriptType"><scriptType>tracking_script</scriptType></action>
82
+ </block>
83
+ </reference>
84
+ </cms_page>
85
+
86
+ <cms_page>
87
+ <reference name="head">
88
+ <block type="googleoptimizer/code_page" before="-" name="googleoptimizer.control.script">
89
+ <action method="setScriptType"><scriptType>control_script</scriptType></action>
90
+ </block>
91
+ </reference>
92
+ <reference name="before_body_end">
93
+ <block type="googleoptimizer/code_page" after="-" name="googleoptimizer.tracking.script">
94
+ <action method="setScriptType"><scriptType>tracking_script</scriptType></action>
95
+ </block>
96
+ </reference>
97
+ </cms_page>
98
+
99
+ <checkout_cart_index>
100
+ <reference name="before_body_end">
101
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
102
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
103
+ <action method="setPageType"><pageType>checkout_cart</pageType></action>
104
+ </block>
105
+ </reference>
106
+ </checkout_cart_index>
107
+
108
+ <checkout_onepage_index>
109
+ <reference name="before_body_end">
110
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
111
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
112
+ <action method="setPageType"><pageType>checkout_onepage</pageType></action>
113
+ </block>
114
+ </reference>
115
+ </checkout_onepage_index>
116
+
117
+ <checkout_onepage_success>
118
+ <reference name="before_body_end">
119
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
120
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
121
+ <action method="setPageType"><pageType>checkout_onepage_success</pageType></action>
122
+ </block>
123
+ </reference>
124
+ </checkout_onepage_success>
125
+
126
+ <checkout_multishipping_success>
127
+ <reference name="before_body_end">
128
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
129
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
130
+ <action method="setPageType"><pageType>checkout_multishipping_success</pageType></action>
131
+ </block>
132
+ </reference>
133
+ </checkout_multishipping_success>
134
+
135
+ <checkout_multishipping>
136
+ <reference name="before_body_end">
137
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
138
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
139
+ <action method="setPageType"><pageType>checkout_multishipping</pageType></action>
140
+ </block>
141
+ </reference>
142
+ </checkout_multishipping>
143
+
144
+ <customer_account_create>
145
+ <reference name="before_body_end">
146
+ <block type="googleoptimizer/code_conversion" after="-" name="googleoptimizer.conversion.script">
147
+ <action method="setScriptType"><scriptType>conversion_script</scriptType></action>
148
+ <action method="setPageType"><pageType>customer_account_create</pageType></action>
149
+ </block>
150
+ </reference>
151
+ </customer_account_create>
152
+
153
+ </layout>
app/design/frontend/default/magezon/layout/newsletter.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="left">
39
+ <block type="newsletter/subscribe" name="right.newsletter" template="newsletter/subscribe.phtml"/>
40
+ </reference>
41
+
42
+ </default>
43
+
44
+ <!--
45
+ Customer account pages, rendered for all tabs in dashboard
46
+ -->
47
+
48
+ <customer_account>
49
+ <!-- Mage_Newsletter -->
50
+ <reference name="customer_account_navigation">
51
+ <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
52
+ </reference>
53
+ </customer_account>
54
+
55
+ <customer_account_index>
56
+
57
+ <reference name="right">
58
+ <action method="unsetChild"><name>right.newsletter</name></action>
59
+ </reference>
60
+ </customer_account_index>
61
+
62
+ <newsletter_manage_index>
63
+ <update handle="customer_account"/>
64
+ <reference name="content">
65
+ <block type="customer/newsletter" name="customer_newsletter"/>
66
+ </reference>
67
+ </newsletter_manage_index>
68
+
69
+ </layout>
app/design/frontend/default/magezon/layout/page.xml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
35
+
36
+ <block type="page/html_head" name="head" as="head">
37
+ <action method="addJs"><script>prototype/prototype.js</script></action>
38
+ <action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
39
+ <action method="addJs"><script>prototype/validation.js</script></action>
40
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
41
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
42
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
45
+ <action method="addJs"><script>varien/js.js</script></action>
46
+ <action method="addJs"><script>varien/form.js</script></action>
47
+ <action method="addJs"><script>varien/menu.js</script></action>
48
+ <action method="addJs" ifconfig="dev/translate_inline/active"><script>mage/translate.js</script></action>
49
+ <action method="addJs"><script>mage/cookies.js</script></action>
50
+ <action method="addCss"><stylesheet>css/screen.css</stylesheet></action>
51
+
52
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
53
+
54
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
55
+ <action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
56
+
57
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
58
+ <block type="page/html" name="store_language_js" as="store_language_js" template="page/html/head-translator.phtml"/>
59
+ </block>
60
+
61
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
62
+
63
+ <block type="page/html_header" name="header" as="header">
64
+ <block type="page/html_header" name="logo" as="logo" template="page/html/logo.phtml"/>
65
+ <block type="page/template_links" name="top.links" as="topLinks"/>
66
+ <block type="page/template_links" name="top.links" as="topLinks"/>
67
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
68
+ </block>
69
+
70
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
71
+
72
+ <block type="core/text_list" name="left" as="left"/>
73
+
74
+ <block type="core/messages" name="global_messages" as="global_messages"/>
75
+ <block type="core/messages" name="messages" as="messages"/>
76
+
77
+ <block type="core/text_list" name="content" as="content"/>
78
+
79
+ <block type="core/text_list" name="right" as="right"/>
80
+
81
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
82
+ <block type="core/text_list" name="top.menu" as="topMenu"/>
83
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
84
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links-follow.phtml"/>
85
+
86
+ </block>
87
+
88
+ <block type="core/text_list" name="before_body_end" as="before_body_end"/>
89
+ </block>
90
+
91
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
92
+ </default>
93
+
94
+ <print>
95
+ <!-- Mage_Page -->
96
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
97
+
98
+ <block type="page/html_head" name="head" as="head">
99
+ <action method="addJs"><script>prototype/prototype.js</script></action>
100
+ <action method="addJs"><script>mage/translate.js</script></action>
101
+ <action method="addJs"><script>prototype/validation.js</script></action>
102
+ <action method="addJs"><script>varien/js.js</script></action>
103
+
104
+ <action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
105
+ <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
106
+ <action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
107
+
108
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
109
+
110
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
111
+ <action method="addItem"><type>js</type><name>varien/iehover-fix.js</name><params/><if>lt IE 7</if></action>
112
+
113
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
114
+ </block>
115
+
116
+ <block type="core/text_list" name="content" as="content"/>
117
+
118
+ </block>
119
+ </print>
120
+
121
+ <cms_index_index>
122
+
123
+ <reference name="header">
124
+ <action method="unsetChild"><name>logo</name></action>
125
+ <block type="page/html_header" name="logo" as="logo" template="page/html/logo-home.phtml"/>
126
+ </reference>
127
+
128
+ <!-- <block type="page/html_header-home" name="header-home" as="header-home">
129
+ <block type="page/template_links" name="top.links" as="topLinks"/>
130
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
131
+ <block type="core/text_list" name="top.menu" as="topMenu"/>
132
+ </block>-->
133
+
134
+ <!-- <reference name="footer">
135
+ <action method="unsetChild"><alias>footer_links</alias></action>
136
+ <block type="page/template_links" name="footer_links_follow" as="footer_links_follow" template="page/template/links-follow.phtml"/>
137
+ </reference> -->
138
+ </cms_index_index>
139
+
140
+
141
+ </layout>
app/design/frontend/default/magezon/layout/paypal.xml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ Shopping cart
33
+ -->
34
+
35
+ <checkout_cart_index>
36
+ <!-- Mage_Paypal -->
37
+ <reference name="checkout.cart.methods">
38
+ <block type="paypal/link_shortcut" name="checkout.cart.methods.paypal_express" template="paypal/link.phtml"/>
39
+ </reference>
40
+ </checkout_cart_index>
41
+
42
+ <!--
43
+ PayPal Express Review page after shortcut link invocation
44
+ -->
45
+
46
+ <paypal_express_review>
47
+ <!-- Mage_Paypal -->
48
+ <remove name="right"/>
49
+ <remove name="left"/>
50
+
51
+ <reference name="root">
52
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
53
+ </reference>
54
+ <reference name="content">
55
+ <block type="paypal/express_review" name="paypal_express_review" template="paypal/express/review.phtml">
56
+ <block type="paypal/express_review_details" name="paypal_express_review_details" as="details" template="paypal/express/review/details.phtml"/>
57
+ </block>
58
+ </reference>
59
+ </paypal_express_review>
60
+
61
+ <!--
62
+ PayPal Express Review details block
63
+ -->
64
+
65
+ <paypal_express_review_details>
66
+ <!-- Mage_Paypal -->
67
+ <block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml"/>
68
+ </paypal_express_review_details>
69
+
70
+ </layout>
app/design/frontend/default/magezon/layout/paypaluk.xml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ Shopping cart
33
+ -->
34
+
35
+ <checkout_cart_index>
36
+ <!-- Mage_Paypal -->
37
+ <reference name="checkout.cart.methods">
38
+ <block type="paypaluk/link_shortcut" name="checkout.cart.methods.paypaluk_express" template="paypaluk/link.phtml"/>
39
+ </reference>
40
+ </checkout_cart_index>
41
+
42
+ <!--
43
+ PayPal Express Review page after shortcut link invocation and after getting express checkout details
44
+ -->
45
+
46
+ <paypaluk_express_review>
47
+ <!-- Mage_Paypal -->
48
+ <remove name="right"/>
49
+ <remove name="left"/>
50
+
51
+ <reference name="root">
52
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
53
+ </reference>
54
+ <reference name="content">
55
+ <block type="paypaluk/express_review" name="paypaluk_express_review" template="paypaluk/express/review.phtml">
56
+ <block type="paypaluk/express_review_details" name="paypaluk_express_review_details" as="details" template="paypaluk/express/review/details.phtml"/>
57
+ </block>
58
+ </reference>
59
+ </paypaluk_express_review>
60
+
61
+ <!--
62
+ PayPalUk Express Review details block
63
+ -->
64
+
65
+ <paypaluk_express_review_details>
66
+ <!-- Mage_Paypal -->
67
+ <block type="paypaluk/express_review_details" name="root" output="toHtml" template="paypaluk/express/review/details.phtml"/>
68
+ </paypaluk_express_review_details>
69
+
70
+ </layout>
app/design/frontend/default/magezon/layout/poll.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Poll -->
38
+ <reference name="right">
39
+ <block type="poll/activePoll" name="right.poll">
40
+ <action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
41
+ <action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
42
+ </block>
43
+ </reference>
44
+
45
+ </default>
46
+
47
+ <!--
48
+ Customer account home dashboard layout
49
+ -->
50
+
51
+ <customer_account_index>
52
+ <reference name="right">
53
+ <action method="unsetChild"><name>right.poll</name></action>
54
+ </reference>
55
+ </customer_account_index>
56
+
57
+ </layout>
app/design/frontend/default/magezon/layout/productalert.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <catalog_product_view>
31
+ <reference name="content">
32
+ <reference name="product.info">
33
+ <reference name="alert.urls">
34
+ <block type="productalert/price" name="productalert.price" as="productalert_price" template="productalert/price.phtml" />
35
+ <block type="productalert/stock" name="productalert.stock" as="productalert_stock" />
36
+ </reference>
37
+ </reference>
38
+ </reference>
39
+ </catalog_product_view>
40
+ </layout>
app/design/frontend/default/magezon/layout/reports.xml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!-- Mage_Reports -->
32
+ <reference name="right">
33
+ <block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
34
+ <block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml" />
35
+ </reference>
36
+ </default>
37
+ </layout>
app/design/frontend/default/magezon/layout/review.xml ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <action method="unsetChild"><name>customer_account_dashboard_info1</name></action>
48
+ <block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
49
+ </reference>
50
+
51
+ </customer_account_index>
52
+
53
+
54
+ <!--
55
+ Product reviews page (?)
56
+ -->
57
+
58
+ <reviews>
59
+ <!-- Mage_Review -->
60
+ <reference name="root">
61
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
62
+ </reference>
63
+ </reviews>
64
+
65
+ <!--
66
+ Product reviews page
67
+ -->
68
+
69
+ <review_product_list>
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
72
+ </reference>
73
+ <reference name="head">
74
+ <action method="addJs"><script>varien/product.js</script></action>
75
+ </reference>
76
+ <reference name="content">
77
+ <block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
78
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
79
+ <action method="disableGallery"/>
80
+ </block>
81
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
82
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
83
+ <block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
84
+ <block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
85
+ <block type="page/html_pager" name="product_review_list.toolbar" />
86
+ <block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
87
+ <block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
88
+ <block type="review/form" name="product.review.form" as="review_form"/>
89
+ </block>
90
+ </block>
91
+ </reference>
92
+ </review_product_list>
93
+
94
+ <review_product_view>
95
+ <reference name="root">
96
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
97
+ </reference>
98
+ <reference name="content">
99
+ <block type="review/view" name="review_view"/>
100
+ </reference>
101
+ </review_product_view>
102
+
103
+ <review_customer_index>
104
+ <update handle="customer_account"/>
105
+ <reference name="content">
106
+ <block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
107
+ </reference>
108
+ </review_customer_index>
109
+
110
+ <review_customer_view>
111
+ <update handle="customer_account"/>
112
+ <reference name="content">
113
+ <block type="review/customer_view" name="customers_review"/>
114
+ </reference>
115
+ </review_customer_view>
116
+
117
+ </layout>
app/design/frontend/default/magezon/layout/rss.xml ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <default>
30
+ <reference name="footer_links">
31
+ <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS testing</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-feed" </a></action>
32
+ </reference>
33
+ </default>
34
+
35
+ <cms_index_index>
36
+ <reference name="footer_links_follow">
37
+ <action method="addLink" translate="label title" module="rss" ifconfig="rss/config/active"><label>RSS</label><url>rss</url><title>RSS testing</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-feed" rel="nofollow" </a></action>
38
+ </reference>
39
+ </cms_index_index>
40
+
41
+ <!--
42
+ Default layout, loads most of the pages
43
+ -->
44
+ <rss_index_index>
45
+ <reference name="root">
46
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
47
+ </reference>
48
+ <reference name="content">
49
+ <block type="rss/list" name="rss.list" template="rss/list.phtml"/>
50
+ </reference>
51
+ </rss_index_index>
52
+
53
+ <rss_index_nofeed>
54
+ <block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
55
+ </rss_index_nofeed>
56
+
57
+ <rss_index_wishlist>
58
+ <block type="rss/wishlist" name="rss.wishlist" output="toHtml"/>
59
+ </rss_index_wishlist>
60
+ <!--
61
+ Catalog layout
62
+ -->
63
+ <rss_catalog_new>
64
+ <block type="rss/catalog_new" output="toHtml" name="rss.catalog.new"/>
65
+ </rss_catalog_new>
66
+
67
+ <rss_catalog_special>
68
+ <block type="rss/catalog_special" output="toHtml" name="rss.catalog.special"/>
69
+ </rss_catalog_special>
70
+
71
+ <rss_catalog_salesrule>
72
+ <block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule"/>
73
+ </rss_catalog_salesrule>
74
+
75
+ <rss_catalog_tag>
76
+ <block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag" />
77
+ </rss_catalog_tag>
78
+
79
+ <rss_catalog_notifystock>
80
+ <block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
81
+ </rss_catalog_notifystock>
82
+
83
+ <rss_catalog_review>
84
+ <block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
85
+ </rss_catalog_review>
86
+
87
+ <rss_catalog_category>
88
+ <block type="rss/catalog_category" output="toHtml" name="rss.catalog.category" />
89
+ </rss_catalog_category>
90
+ <!--
91
+ Order layout
92
+ -->
93
+ <rss_order_new>
94
+ <block type="rss/order_new" output="toHtml" name="rss.order.new"/>
95
+ </rss_order_new>
96
+ <rss_order_status>
97
+ <block type="rss/order_status" output="toHtml" name="rss.order.status"/>
98
+ </rss_order_status>
99
+ </layout>
app/design/frontend/default/magezon/layout/sales.xml ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+
56
+ </customer_account>
57
+
58
+ <!--
59
+ Customer account home dashboard layout
60
+ -->
61
+
62
+ <customer_account_index>
63
+ <!-- Mage_Sales -->
64
+ <reference name="customer_account_dashboard">
65
+ <action method="unsetChild"><name>top</name></action>
66
+ <block type="sales/order_recent" name="customer_account_dashboard_top" as="top" template="sales/order/recent.phtml"/>
67
+ </reference>
68
+
69
+ </customer_account_index>
70
+
71
+ <sales_order_history>
72
+ <update handle="customer_account"/>
73
+ <reference name="content">
74
+ <block type="sales/order_history" name="sales.order.history"/>
75
+ <block type="customer/account_dashboard" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
76
+ </reference>
77
+ </sales_order_history>
78
+
79
+
80
+ <sales_order_view>
81
+ <update handle="customer_account"/>
82
+ <reference name="content">
83
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
84
+ <block type="sales/order_view" name="sales.order.view">
85
+ <block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
86
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
87
+ <block type="sales/order_tax" name="tax" template="sales/order/tax.phtml" />
88
+ </block>
89
+ </block>
90
+ </reference>
91
+ <reference name="sales.order.info">
92
+ <action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
93
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
94
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
95
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
96
+ </reference>
97
+ </sales_order_view>
98
+
99
+ <sales_order_invoice>
100
+ <update handle="customer_account"/>
101
+ <reference name="content">
102
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
103
+ <block type="sales/order_invoice" name="sales.order.invoice">
104
+ <block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
105
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
106
+ </block>
107
+ </block>
108
+ </reference>
109
+ <reference name="sales.order.info">
110
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
111
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
112
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
113
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
114
+ </reference>
115
+ </sales_order_invoice>
116
+
117
+ <sales_order_shipment>
118
+ <update handle="customer_account"/>
119
+ <reference name="content">
120
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
121
+ <block type="sales/order_shipment" name="sales.order.shipment">
122
+ <block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
123
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
124
+ </block>
125
+ </block>
126
+ </reference>
127
+ <reference name="sales.order.info">
128
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
129
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
130
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
131
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
132
+ </reference>
133
+ </sales_order_shipment>
134
+
135
+ <sales_order_creditmemo>
136
+ <update handle="customer_account"/>
137
+ <reference name="content">
138
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
139
+ <block type="sales/order_creditmemo" name="sales.order.creditmemo">
140
+ <block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
141
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
142
+ </block>
143
+ </block>
144
+ </reference>
145
+ <reference name="sales.order.info">
146
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
147
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
148
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
149
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
150
+ </reference>
151
+ </sales_order_creditmemo>
152
+
153
+ <sales_order_reorder>
154
+ <update handle="customer_account"/>
155
+ <reference name="content">
156
+ <block type="sales/order_view" name="sales.order.view"/>
157
+ </reference>
158
+ </sales_order_reorder>
159
+
160
+ <sales_order_print>
161
+ <reference name="content">
162
+ <block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
163
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
164
+ <block type="sales/order_tax" name="tax" template="sales/order/print/tax.phtml" />
165
+ </block>
166
+ </reference>
167
+ </sales_order_print>
168
+
169
+ <sales_order_printinvoice>
170
+ <reference name="content">
171
+ <block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
172
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
173
+ </block>
174
+ </reference>
175
+ </sales_order_printinvoice>
176
+
177
+ <sales_order_printshipment>
178
+ <reference name="content">
179
+ <block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
180
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
181
+ </block>
182
+ </reference>
183
+ </sales_order_printshipment>
184
+
185
+ <sales_order_printcreditmemo>
186
+ <reference name="content">
187
+ <block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
188
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
189
+ </block>
190
+ </reference>
191
+ </sales_order_printcreditmemo>
192
+
193
+ <!--
194
+ Email layouts section
195
+ -->
196
+ <sales_email_order_items>
197
+ <block type="sales/order_email_items" name="items" template="email/order/items.phtml">
198
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
199
+ </block>
200
+ </sales_email_order_items>
201
+
202
+ <sales_email_order_invoice_items>
203
+ <block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
204
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
205
+ </block>
206
+ </sales_email_order_invoice_items>
207
+
208
+ <sales_email_order_shipment_items>
209
+ <block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
210
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
211
+ </block>
212
+ </sales_email_order_shipment_items>
213
+
214
+ <sales_email_order_creditmemo_items>
215
+ <block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
216
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
217
+ </block>
218
+ </sales_email_order_creditmemo_items>
219
+
220
+ </layout>
app/design/frontend/default/magezon/layout/sendfriend.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <sendfriend_product_send>
30
+ <reference name="root">
31
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
32
+ </reference>
33
+ <reference name="head">
34
+ <action method="addJs"><script>varien/product.js</script></action>
35
+ </reference>
36
+ <reference name="content">
37
+ <block type="sendfriend/send" name="sendfriend.send" template="sendfriend/send.phtml" />
38
+ </reference>
39
+ </sendfriend_product_send>
40
+ </layout>
app/design/frontend/default/magezon/layout/shipping.xml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <shipping_tracking_ajax>
32
+ <reference name="root">
33
+ <action method="setTemplate"><template></template></action>
34
+ </reference>
35
+ <reference name="content">
36
+ <block type="shipping/tracking_ajax" name="shipping.tracking.ajax" template="shipping/tracking/ajax.phtml" />
37
+ </reference>
38
+ </shipping_tracking_ajax>
39
+ <shipping_tracking_popup>
40
+ <reference name="root">
41
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
42
+ </reference>
43
+ <!--<reference name="head">
44
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
45
+ </reference>-->
46
+ <reference name="content">
47
+ <block type="shipping/tracking_popup" name="shipping.tracking.popup" template="shipping/tracking/popup.phtml" />
48
+ </reference>
49
+ </shipping_tracking_popup>
50
+ </layout>
51
+
app/design/frontend/default/magezon/layout/smartmenu.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addJs"><script>mw_js/jquery.js</script></action>
6
+ <action method="addJs"><script>mw_js/jquery_noconflict.js</script></action>
7
+
8
+ <action method="addItem"><type>skin_js</type><name>smartmenu/js/accordion.js</name></action>
9
+ <action method="addItem"><type>skin_js</type><name>smartmenu/js/accordion_menu.js</name></action>
10
+ <action method="addItem"><type>skin_js</type><name>smartmenu/js/hoverIntent.js</name></action>
11
+ <action method="addItem"><type>skin_js</type><name>smartmenu/js/superfish.js</name></action>
12
+ <action method="addItem"><type>skin_js</type><name>smartmenu/js/jquery-accordion-menu.js</name></action>
13
+ <action method="addCss"><stylesheet>smartmenu/css/smartmenu.css</stylesheet></action>
14
+ <action method="addCss"><stylesheet>smartmenu/css/superfish.css</stylesheet></action>
15
+ <action method="addCss"><stylesheet>smartmenu/css/superfish-vertical.css</stylesheet></action>
16
+ </reference>
17
+
18
+ <reference name="left">
19
+ <block type="catalog/navigation" before="-" name="left_navigation" template="">
20
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/leftmenu" ifvalue="2">
21
+ <template>smartmenu/dropdown_left.phtml</template>
22
+ </action>
23
+ </block>
24
+ <block type="catalog/navigation" before="-" name="left_smartmenu" template="">
25
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/leftmenu" ifvalue="1">
26
+ <template>smartmenu/accordion_left.phtml</template>
27
+ </action>
28
+ </block>
29
+ </reference>
30
+
31
+ <reference name="right">
32
+ <block type="catalog/navigation" before="-" name="right_navigation" template="">
33
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/rightmenu" ifvalue="1">
34
+ <template>smartmenu/accordion_right.phtml</template>
35
+ </action>
36
+ </block>
37
+ <block type="catalog/navigation" before="-" name="right_smartmenu" template="">
38
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/rightmenu" ifvalue="2">
39
+ <template>smartmenu/dropdown_right.phtml</template>
40
+ </action>
41
+ </block>
42
+ </reference>
43
+ </default>
44
+
45
+ <catalog_category_default>
46
+ </catalog_category_default>
47
+ <catalog_category_layered>
48
+ <reference name="catalog.leftnav">
49
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/override"><template>smartmenu/shopby.phtml</template></action>
50
+ </reference>
51
+ </catalog_category_layered>
52
+ <catalogsearch_result_index>
53
+ <reference name="catalogsearch.leftnav">
54
+ <action method="setTemplate" ifconfig="smartmenu/smartmenu/override"><template>smartmenu/shopby.phtml</template></action>
55
+ </reference>
56
+ </catalogsearch_result_index>
57
+ </layout>
app/design/frontend/default/magezon/layout/tag.xml ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!-- Mage_Tag -->
37
+ <reference name="left">
38
+ <block type="tag/popular" name="tags_popular" template="tag/popular.phtml" />
39
+ </reference>
40
+
41
+ </default>
42
+
43
+ <!--
44
+ Customer account pages, rendered for all tabs in dashboard
45
+ -->
46
+
47
+ <customer_account>
48
+ <!-- Mage_Tag -->
49
+ <reference name="customer_account_navigation">
50
+ <action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
51
+ </reference>
52
+ </customer_account>
53
+
54
+ <!--
55
+ Customer account home dashboard layout
56
+ -->
57
+
58
+ <customer_account_index>
59
+ <!-- Mage_Tag -->
60
+ <reference name="customer_account_dashboard">
61
+ <action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
62
+ <block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
63
+ </reference>
64
+ </customer_account_index>
65
+
66
+ <catalog_product_view>
67
+ <!-- Mage_Tag -->
68
+ <reference name="product.info.additional">
69
+ <block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml"></block>
70
+ </reference>
71
+ </catalog_product_view>
72
+
73
+ <!--
74
+ All tags page
75
+ -->
76
+
77
+ <tag_list_index>
78
+ <!-- Mage_Tag -->
79
+ <reference name="root">
80
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
81
+ </reference>
82
+ <reference name="content">
83
+ <block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
84
+ </reference>
85
+ </tag_list_index>
86
+
87
+ <tag_product_list>
88
+ <!-- Mage_Tag -->
89
+ <reference name="content">
90
+ <block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
91
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
92
+ <action method="setListOrders"/>
93
+ <action method="setListModes"/>
94
+ <action method="setListCollection"/>
95
+ </block>
96
+ </reference>
97
+ </tag_product_list>
98
+
99
+ <tag_customer_index>
100
+ <update handle="customer_account"/>
101
+ <reference name="root">
102
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
103
+ </reference>
104
+ <reference name="content">
105
+ <block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
106
+ </reference>
107
+ </tag_customer_index>
108
+
109
+ <tag_customer_view>
110
+ <update handle="customer_account"/>
111
+ <reference name="root">
112
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
113
+ </reference>
114
+ <reference name="content">
115
+ <block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
116
+ </reference>
117
+ </tag_customer_view>
118
+
119
+ <tag_customer_edit>
120
+ <update handle="customer_account"/>
121
+ <reference name="root">
122
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
123
+ </reference>
124
+ <reference name="content">
125
+ <block type="tag/customer_edit" name="customer_edit" template="tag/customer/edit.phtml"/>
126
+ </reference>
127
+ </tag_customer_edit>
128
+ </layout>
app/design/frontend/default/magezon/layout/wishlist.xml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design_default
23
+ * @package Mage
24
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <reference name="top.links">
38
+ <block type="wishlist/links" name="wishlist_link">
39
+ <action method="addWishlistLink"></action>
40
+ </block>
41
+ </reference>
42
+
43
+ <!-- Mage_Wishlist -->
44
+ <reference name="right">
45
+ <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml"/>
46
+ </reference>
47
+
48
+ </default>
49
+
50
+ <!--
51
+ Customer account pages, rendered for all tabs in dashboard
52
+ -->
53
+
54
+ <customer_account>
55
+ <!-- Mage_Wishlist -->
56
+ <reference name="customer_account_navigation">
57
+ <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
58
+ </reference>
59
+ </customer_account>
60
+
61
+ <!--
62
+ Customer account home dashboard layout
63
+ -->
64
+
65
+ <customer_account_index>
66
+
67
+ <reference name="right">
68
+ <action method="unsetChild"><name>wishlist</name></action>
69
+ </reference>
70
+ </customer_account_index>
71
+
72
+ <!--
73
+ Wishlist pages
74
+ -->
75
+
76
+ <wishlist_index_index>
77
+ <!-- Mage_Wishlist -->
78
+ <update handle="customer_account"/>
79
+ <reference name="content">
80
+ <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
81
+ </reference>
82
+ <reference name="right">
83
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
84
+ </reference>
85
+ </wishlist_index_index>
86
+
87
+ <wishlist_index_share>
88
+ <!-- Mage_Wishlist -->
89
+ <update handle="customer_account"/>
90
+ <reference name="content">
91
+ <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
92
+ </reference>
93
+ <reference name="right">
94
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
95
+ </reference>
96
+ </wishlist_index_share>
97
+
98
+ <wishlist_shared_index>
99
+ <!-- Mage_Wishlist -->
100
+ <reference name="content">
101
+ <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml"/>
102
+ </reference>
103
+ </wishlist_shared_index>
104
+ </layout>
app/design/frontend/default/magezon/locale/en_US/translate.csv ADDED
@@ -0,0 +1 @@
 
1
+ "Keep your eyes open for our special Back to School items and save A LOT!","Keep your eyes open for our special Back to School items and save A LOT!"
app/design/frontend/default/magezon/template/amazonpayments/asp/form.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_AmazonPayments
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <?php
29
+ $_code=$this->getMethodCode() ?>
30
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
31
+ <li>
32
+ <?php echo $this->__('Your billing address will be ignored and you will be redirected to Amazon Simple Pay website.') ?>
33
+ </li>
34
+ </ul>
35
+ </fieldset>
app/design/frontend/default/magezon/template/amazonpayments/asp/redirect.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_AmazonPayments
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <html>
28
+ <body>
29
+ <?php echo($this->__('You will be redirected to Amazon Simple Pay in a few seconds.')); ?>
30
+ <form id="amazonpayments_asp_checkout" method="POST" action="<?php echo($this->getRedirectUrl()); ?>">
31
+ <?php foreach ($this->getRedirectParams() as $name => $value) { ?>
32
+ <input type="hidden" name="<?php echo($name); ?>" value="<?php echo($value); ?>"/>
33
+ <?php }?>
34
+ </form>
35
+ <script type="text/javascript">document.getElementById("amazonpayments_asp_checkout").submit();</script>
36
+ </body>
37
+ </html>
app/design/frontend/default/magezon/template/amazonpayments/asp/shortcut.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_AmazonPayments
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @see Mage_AmazonPayments_Block_Link
29
+ */
30
+ ?>
31
+ <a href="<?php echo($this->getCheckoutUrl()); ?>">
32
+ <img src="<?php echo($this->getButtonImageUrl()); ?>" border="0">
33
+ </a>
app/design/frontend/default/magezon/template/amazonpayments/cba/form.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_AmazonPayments
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <?php
29
+ $_code=$this->getMethodCode() ?>
30
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
31
+ <li>
32
+ <?php echo $this->__('Your billing address will be ignored and you will be redirected to Checkout by Amazon website.') ?>
33
+ </li>
34
+ </ul>
35
+ </fieldset>
app/design/frontend/default/magezon/template/amazonpayments/cba/success.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ SUCCESS
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Your order has been received') ?></h3>
30
+ </div>
31
+ <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
32
+ <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
33
+ <div class="button-set">
34
+ <button type="button" class="form-button" onclick="window.location='<?php #echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
35
+ </div>
app/design/frontend/default/magezon/template/amazonpayments/form.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_AmazonCheckout
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><?php echo $this->__('You will be redirected to Amazon Checkout website when you place an order.') ?></li>
30
+ </ul>
app/design/frontend/default/magezon/template/amazonpayments/link.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_AmazonPayments
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * @see Mage_AmazonPayments_Block_Link
29
+ */
30
+ ?>
31
+
32
+ <li>
33
+ <?php if (!$this->getIsDisabled()): ?>
34
+ <?php if ($this->getIsOneClickEnabled()): ?>
35
+ <script type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/01/cba/js/jquery.js"></script>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ jQuery.noConflict();
39
+ //]]>
40
+ </script>
41
+ <script type="text/javascript" src="https://images-na.ssl-images-amazon.com/images/G/01/cba/js/widget/widget.js"></script>
42
+ <form action="<?php echo $this->getCheckoutUrl();?>" method="POST" id="cbaOneClickForm">
43
+ <input alt="<?php echo Mage::helper('amazonpayments')->__('Checkout by Amazon');?>" src="<?php echo $this->htmlEscape($this->getImageUrl())?>" type="image" />
44
+ </form>
45
+ <?php else: ?>
46
+ <a href="<?php echo $this->getCheckoutUrl();?>"><img src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('amazonpayments')->__('Checkout by Amazon');?>"></a>
47
+ <?php endif; ?>
48
+ <?php endif; ?>
49
+ </li>
app/design/frontend/default/magezon/template/bundle/catalog/product/list/partof.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getItemCollection()->getSize()): ?>
28
+ <div class="up-sell">
29
+ <h3><?php echo $this->__('This product is also part of bundle(s)') ?></h3>
30
+ <table class="products-grid" id="bundle-product-table">
31
+ <?php // $this->setColumnCount(4); // uncomment this line if you want to have another number of columns ?>
32
+ <?php $this->resetItemsIterator() ?>
33
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
34
+ <tr>
35
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
36
+ <?php if($_bundle=$this->getIterableItem()): ?>
37
+ <td>
38
+ <p class="product-image"><a href="<?php echo $_bundle->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_bundle, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_bundle->getName()) ?>" title="<?php echo $this->htmlEscape($_bundle->getName()) ?>" /></a></p>
39
+ <h4><a href="<?php echo $_bundle->getProductUrl() ?>"><?php echo $this->htmlEscape($_bundle->getName()) ?></a></h4>
40
+ <?php echo $this->getPriceHtml($_bundle, true) ?>
41
+ <?php echo $this->getReviewsSummaryHtml($_bundle) ?>
42
+ </td>
43
+ <?php else: ?>
44
+ <td class="empty">&nbsp;</td>
45
+ <?php endif; ?>
46
+ <?php endfor; ?>
47
+ </tr>
48
+ <?php endfor; ?>
49
+ </table>
50
+ <script type="text/javascript">decorateTable('bundle-product-table')</script>
51
+ </div>
52
+ <?php endif ?>
app/design/frontend/default/magezon/template/bundle/catalog/product/price.phtml ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 list($_minimalPrice, $_maximalPrice) = $_product->getPriceModel()->getPrices($_product) ?>
29
+ <?php $_id = $_product->getId() ?>
30
+
31
+ <?php $_weeeTaxAmount = 0; ?>
32
+
33
+ <?php $_minimalPriceTax = Mage::helper('tax')->getPrice($_product, $_minimalPrice); ?>
34
+ <?php $_minimalPriceInclTax = Mage::helper('tax')->getPrice($_product, $_minimalPrice, true); ?>
35
+
36
+ <?php
37
+ if ($_product->getPriceType() == 1) {
38
+ $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product);
39
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
40
+ $_minimalPriceTax += $_weeeTaxAmount;
41
+ $_minimalPriceInclTax += $_weeeTaxAmount;
42
+ }
43
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
44
+ $_minimalPriceInclTax += $_weeeTaxAmount;
45
+ }
46
+
47
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
48
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
49
+ }
50
+ }
51
+ ?>
52
+
53
+ <div class="price-box">
54
+ <?php if ($_product->getPriceView()): ?>
55
+ <p class="minimal-price">
56
+ <span class="price-label"><?php echo $this->__('As low as') ?>:</span>
57
+ <?php if ($this->helper('tax')->displayBothPrices() && $this->isRatesGraterThenZero()): ?>
58
+ <span class="price-excluding-tax">
59
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
60
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
61
+ </span>
62
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
63
+ <span class="weee">(<small>
64
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
65
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
66
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
67
+ <?php else: ?>
68
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
69
+ <?php endif; ?>
70
+
71
+ <?php echo $_weeeSeparator; ?>
72
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
73
+ <?php $_weeeSeparator = ' + '; ?>
74
+ <?php endforeach; ?>
75
+ </small>)</span>
76
+ <?php endif; ?>
77
+ <span class="price-including-tax">
78
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
79
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
80
+ </span>
81
+ <?php else: ?>
82
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
83
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
84
+ <span class="weee">(<small>
85
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
86
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
87
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
88
+ <?php else: ?>
89
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
90
+ <?php endif; ?>
91
+
92
+ <?php echo $_weeeSeparator; ?>
93
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
94
+ <?php $_weeeSeparator = ' + '; ?>
95
+ <?php endforeach; ?>
96
+ </small>)</span>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
99
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
100
+ <?php endif; ?>
101
+ <?php endif; ?>
102
+ </p>
103
+ <?php else: ?>
104
+ <?php if ($_minimalPrice <> $_maximalPrice): ?>
105
+ <p class="price-from">
106
+ <span class="price-label"><?php echo $this->__('From') ?>:</span>
107
+ <?php if ($this->helper('tax')->displayBothPrices() && $this->isRatesGraterThenZero()): ?>
108
+ <span class="price-excluding-tax">
109
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
110
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
111
+ </span>
112
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
113
+ <span class="weee">(<small>
114
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
116
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
117
+ <?php else: ?>
118
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
119
+ <?php endif; ?>
120
+
121
+ <?php echo $_weeeSeparator; ?>
122
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
123
+ <?php $_weeeSeparator = ' + '; ?>
124
+ <?php endforeach; ?>
125
+ </small>)</span>
126
+ <?php endif; ?>
127
+ <span class="price-including-tax">
128
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
129
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
130
+ </span>
131
+ <?php else: ?>
132
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
133
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
134
+ <span class="weee">(<small>
135
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
136
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
137
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
138
+ <?php else: ?>
139
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
140
+ <?php endif; ?>
141
+
142
+ <?php echo $_weeeSeparator; ?>
143
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
144
+ <?php $_weeeSeparator = ' + '; ?>
145
+ <?php endforeach; ?>
146
+ </small>)</span>
147
+ <?php endif; ?>
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
149
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
150
+ <?php endif; ?>
151
+ <?php endif; ?>
152
+ </p>
153
+ <?php $_maximalPriceTax = Mage::helper('tax')->getPrice($_product, $_maximalPrice); ?>
154
+ <?php $_maximalPriceInclTax = Mage::helper('tax')->getPrice($_product, $_maximalPrice, true); ?>
155
+ <?php
156
+ if ($_product->getPriceType() == 1) {
157
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
158
+ $_maximalPriceTax += $_weeeTaxAmount;
159
+ $_maximalPriceInclTax += $_weeeTaxAmount;
160
+ }
161
+ if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
162
+ $_maximalPriceInclTax += $_weeeTaxAmount;
163
+ }
164
+ }
165
+ ?>
166
+ <p class="price-to">
167
+ <span class="price-label"><?php echo $this->__('To') ?>:</span>
168
+ <?php if ($this->helper('tax')->displayBothPrices() && $this->isRatesGraterThenZero()): ?>
169
+ <span class="price-excluding-tax">
170
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
171
+ <?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
172
+ </span>
173
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
174
+ <span class="weee">(<small>
175
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
176
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
177
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
178
+ <?php else: ?>
179
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
180
+ <?php endif; ?>
181
+
182
+ <?php echo $_weeeSeparator; ?>
183
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
184
+ <?php $_weeeSeparator = ' + '; ?>
185
+ <?php endforeach; ?>
186
+ </small>)</span>
187
+ <?php endif; ?>
188
+ <span class="price-including-tax">
189
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax') ?></span>
190
+ <?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
191
+ </span>
192
+ <?php else: ?>
193
+ <?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
194
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
195
+ <span class="weee">(<small>
196
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
197
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
198
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
199
+ <?php else: ?>
200
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
201
+ <?php endif; ?>
202
+
203
+ <?php echo $_weeeSeparator; ?>
204
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
205
+ <?php $_weeeSeparator = ' + '; ?>
206
+ <?php endforeach; ?>
207
+ </small>)</span>
208
+ <?php endif; ?>
209
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
210
+ <?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
211
+ <?php endif; ?>
212
+ <?php endif; ?>
213
+ </p>
214
+ <?php else: ?>
215
+ <?php if ($this->helper('tax')->displayBothPrices() && $this->isRatesGraterThenZero()): ?>
216
+ <span class="price-excluding-tax">
217
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
218
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
219
+ </span>
220
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
221
+ <span class="weee">(<small>
222
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
223
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
224
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
225
+ <?php else: ?>
226
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
227
+ <?php endif; ?>
228
+
229
+ <?php echo $_weeeSeparator; ?>
230
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
231
+ <?php $_weeeSeparator = ' + '; ?>
232
+ <?php endforeach; ?>
233
+ </small>)</span>
234
+ <?php endif; ?>
235
+ <span class="price-including-tax">
236
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
237
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
238
+ </span>
239
+ <?php else: ?>
240
+ <?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
241
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
242
+ <span class="weee">(<small>
243
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
244
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
245
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
246
+ <?php else: ?>
247
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
248
+ <?php endif; ?>
249
+
250
+ <?php echo $_weeeSeparator; ?>
251
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
252
+ <?php $_weeeSeparator = ' + '; ?>
253
+ <?php endforeach; ?>
254
+ </small>)</span>
255
+ <?php endif; ?>
256
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
257
+ <?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
258
+ <?php endif; ?>
259
+ <?php endif; ?>
260
+ <?php endif; ?>
261
+ <?php endif; ?>
262
+ </div>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 $_finalPrice = Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice()); ?>
29
+ <?php $_finalPriceInclTax = Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice(), true); ?>
30
+ <?php $_weeeTaxAmount = 0; ?>
31
+ <?php
32
+ if ($_product->getPriceType() == 1) {
33
+ $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product);
34
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
35
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
36
+ }
37
+ }
38
+ ?>
39
+
40
+ <div class="price-box">
41
+ <p class="price-as-configured">
42
+ <span class="price-label"><?php echo $this->helper('bundle')->__('Price as configured') ?>:</span>
43
+ <?php if ($this->helper('tax')->displayBothPrices() && $this->isRatesGraterThenZero()): ?>
44
+ <span class="price-tax">
45
+ <span class="price-excluding-tax">
46
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
47
+ <span class="price" id="price-excluding-tax-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
48
+ </span>
49
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
50
+ <span class="weee">(<small>
51
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
52
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
53
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
54
+ <?php else: ?>
55
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
56
+ <?php endif; ?>
57
+
58
+ <?php echo $_weeeSeparator; ?>
59
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
60
+ <?php $_weeeSeparator = ' + '; ?>
61
+ <?php endforeach; ?>
62
+ </small>)</span>
63
+ <?php endif; ?>
64
+ <span class="price-including-tax">
65
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
66
+ <span class="price" id="price-including-tax-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
67
+ </span>
68
+ </span>
69
+ <?php else: ?>
70
+ <span class="price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
71
+ <?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
72
+ <span class="weee">(<small>
73
+ <?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
74
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
75
+ <?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
76
+ <?php else: ?>
77
+ <?php $amount = $_weeeTaxAttribute->getAmount(); ?>
78
+ <?php endif; ?>
79
+
80
+ <?php echo $_weeeSeparator; ?>
81
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
82
+ <?php $_weeeSeparator = ' + '; ?>
83
+ <?php endforeach; ?>
84
+ </small>)</span>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+ </p>
88
+ </div>
89
+ <?php if($_product->isSaleable()): ?>
90
+ <script type="text/javascript">
91
+ bundle.reloadPrice();
92
+ </script>
93
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ $_product = $this->getProduct();
33
+ $_tierPrices = $this->getTierPrices();
34
+ ?>
35
+ <?php if (count($_tierPrices) > 0): ?>
36
+ <ul class="tier-prices">
37
+ <?php foreach($_tierPrices as $_price): ?>
38
+ <li><?php echo $this->__('Buy %1$s with %2$s discount each', $_price['price_qty'], '<strong class="benefit">'.($_price['price']*1).'%</strong>') ?></li>
39
+ <?php endforeach ?>
40
+ </ul>
41
+ <?php endif;?>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 bundle = new Product.Bundle(<?php echo $this->getJsonConfig() ?>);
34
+ //]]>
35
+ </script>
36
+ <p class="availability"><?php echo $this->helper('catalog')->__('Availability') ?>: <span class="in-stock"><?php echo $this->helper('catalog')->__('In stock') ?></span></p>
37
+ <?php else: ?>
38
+ <p class="availability"><?php echo $this->helper('catalog')->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->helper('catalog')->__('Out of stock') ?></span></p>
39
+ <?php endif; ?>
40
+
41
+ <div class="price-box-bundle">
42
+ <?php echo $this->getPriceHtml($_product) ?>
43
+ </div>
44
+ <?php echo $this->getChildHtml('bundle_prices') ?>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/checkbox.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+ <?php $_option = $this->getOption() ?>
29
+ <?php $_selections = $_option->getSelections() ?>
30
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<span class="required">&nbsp;*</span>' ?></label></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+ <?php if (count($_selections) == 1 && $_option->getRequired()): ?>
33
+ <?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
34
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
35
+ <?php else:?>
36
+ <ul class="options-list">
37
+ <?php foreach($_selections as $_selection): ?>
38
+ <li><input onclick="bundle.changeSelection(this)" class="checkbox bundle-option-<?php echo $_option->getId() ?> <?php echo $_option->getRequired() ? 'validate-one-required-by-name' : '' ?>" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" type="checkbox" name="bundle_option[<?php echo $_option->getId() ?>][]"<?php echo ($_selection->getIsDefault() && $_selection->isSaleable())?' checked="checked" ':'' ?><?php echo !$_selection->isSaleable()?' disabled="disabled" ':'' ?> value="<?php echo $_selection->getSelectionId() ?>" />
39
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>"><?php echo $this->getSelectionQtyTitlePrice($_selection) ?></label></span>
40
+ <?php if($_option->getRequired()): ?>
41
+ <?php echo $this->setValidationContainer('bundle-option-'.$_option->getId().'-'.$_selection->getSelectionId(), 'bundle-option-'.$_option->getId().'-container') ?>
42
+ <?php endif; ?>
43
+ </li>
44
+ <?php endforeach;?>
45
+ </ul>
46
+ <span id="bundle-option-<?php echo $_option->getId() ?>-container"></span>
47
+ <?php endif; ?>
48
+ </dd>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/multi.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php $_option = $this->getOption() ?>
30
+ <?php $_selections = $_option->getSelections() ?>
31
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<span class="required">&nbsp;*</span>' ?></label></dt>
32
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
33
+ <?php if (count($_selections) == 1 && $_option->getRequired()): ?>
34
+ <?php echo $this->getSelectionQtyTitlePrice($_selections[0]) ?>
35
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
36
+ <?php else:?>
37
+ <select onchange="bundle.changeSelection(this)" multiple="multiple" size="5" 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 multiselect">
38
+ <?php if(!$_option->getRequired()): ?>
39
+ <option value=""><?php echo $this->__('None') ?></option>
40
+ <?php endif; ?>
41
+ <?php foreach($_selections as $_selection): ?>
42
+ <option value="<?php echo $_selection->getSelectionId() ?>"<?php echo ($_selection->getIsDefault() && $_selection->isSaleable())?' selected="selected" ':'' ?><?php echo !$_selection->isSaleable()?' disabled="disabled" ':'' ?>><?php echo $this->getSelectionQtyTitlePrice($_selection, false) ?></option>
43
+ <?php endforeach;?>
44
+ </select>
45
+ <?php endif; ?>
46
+ </dd>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/radio.phtml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php $_option = $this->getOption() ?>
30
+ <?php $_selections = $_option->getSelections() ?>
31
+ <?php $_default = $_option->getDefaultSelection() ?>
32
+ <?php $_showSingle = (count($_selections) == 1 && $_option->getRequired()) ?>
33
+ <dt><span class="qty-holder">
34
+ <?php if ($_default): ?>
35
+ <?php $_defaultQty = $_default->getSelectionQty()*1 ?>
36
+ <?php $_canChangeQty = $_default->getSelectionCanChangeQty() ?>
37
+ <?php else: ?>
38
+ <?php if (!$_showSingle): ?>
39
+ <?php $_defaultQty = '0' ?>
40
+ <?php $_canChangeQty = false ?>
41
+ <?php else: ?>
42
+ <?php $_defaultQty = $_selections[0]->getSelectionQty()*1 ?>
43
+ <?php $_canChangeQty = $_selections[0]->getSelectionCanChangeQty() ?>
44
+ <?php endif; ?>
45
+ <?php endif; ?>
46
+ <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 echo $_canChangeQty?'':'disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="input-text qty<?php echo $_canChangeQty?'':' qty-disabled' ?>" type="text" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>" />
47
+ </span>
48
+ <label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<span class="required">&nbsp;*</span>' ?></label>
49
+ </dt>
50
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
51
+ <?php if (count($_selections) == 1 && $_option->getRequired()): ?>
52
+ <?php echo $this->getSelectionTitlePrice($_selections[0]) ?>
53
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
54
+ <?php else:?>
55
+ <ul class="options-list">
56
+ <?php if(!$_option->getRequired()): ?>
57
+ <li><input type="radio" onclick="bundle.changeSelection(this)" class="radio" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php echo ($_default && $_default->isSalable())?'':' checked="checked" ' ?> value="" />
58
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>"><?php echo $this->__('None') ?></label></span>
59
+ </li>
60
+ <?php endif; ?>
61
+ <?php foreach($_selections as $_selection): ?>
62
+ <li><input type="radio" onclick="bundle.changeSelection(this)" class="radio<?php echo $_option->getRequired()?' validate-one-required-by-name':'' ?>" id="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]"<?php echo ($_selection->getIsDefault() && $_selection->isSaleable())?' checked="checked" ':'' ?><?php echo !$_selection->isSaleable()?' disabled="disabled" ':'' ?>value="<?php echo $_selection->getSelectionId() ?>" />
63
+ <span class="label"><label for="bundle-option-<?php echo $_option->getId() ?>-<?php echo $_selection->getSelectionId() ?>"><?php echo $this->getSelectionTitlePrice($_selection) ?></label></span>
64
+ <?php if($_option->getRequired()): ?>
65
+ <?php echo $this->setValidationContainer('bundle-option-'.$_option->getId().'-'.$_selection->getSelectionId(), 'bundle-option-'.$_option->getId().'-container') ?>
66
+ <?php endif; ?>
67
+ </li>
68
+ <?php endforeach;?>
69
+ </ul>
70
+ <span id="bundle-option-<?php echo $_option->getId() ?>-container"></span>
71
+ <?php endif; ?>
72
+ </dd>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/option/select.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ ?>
28
+
29
+ <?php $_option = $this->getOption() ?>
30
+ <?php $_selections = $_option->getSelections() ?>
31
+ <?php $_showSingle = (count($_selections) == 1 && $_option->getRequired()) ?>
32
+ <dt><span class="qty-holder">
33
+ <?php if ($_default = $_option->getDefaultSelection()): ?>
34
+ <?php $_defaultQty = $_default->getSelectionQty()*1 ?>
35
+ <?php $_canChangeQty = $_default->getSelectionCanChangeQty() ?>
36
+ <?php else: ?>
37
+ <?php if (!$_showSingle): ?>
38
+ <?php $_defaultQty = '0' ?>
39
+ <?php $_canChangeQty = false ?>
40
+ <?php else: ?>
41
+ <?php $_defaultQty = $_selections[0]->getSelectionQty()*1 ?>
42
+ <?php $_canChangeQty = $_selections[0]->getSelectionCanChangeQty() ?>
43
+ <?php endif; ?>
44
+ <?php endif; ?>
45
+ <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 echo $_canChangeQty?'':'disabled="disabled"' ?> id="bundle-option-<?php echo $_option->getId() ?>-qty-input" class="input-text qty<?php echo $_canChangeQty?'':' qty-disabled' ?>" type="text" name="bundle_option_qty[<?php echo $_option->getId() ?>]" value="<?php echo $_defaultQty ?>" />
46
+ </span>
47
+ <label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getRequired()) echo '<span class="required">&nbsp;*</span>' ?></label>
48
+ </dt>
49
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
50
+ <?php if ($_showSingle): ?>
51
+ <?php echo $this->getSelectionTitlePrice($_selections[0]) ?>
52
+ <input type="hidden" name="bundle_option[<?php echo $_option->getId() ?>]" value="<?php echo $_selections[0]->getSelectionId() ?>" />
53
+ <?php else:?>
54
+ <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">
55
+ <option value=""><?php echo $this->__('Choose a selection...') ?></option>
56
+ <?php foreach($_selections as $_selection): ?>
57
+ <option value="<?php echo $_selection->getSelectionId() ?>"<?php echo ($_selection->getIsDefault() && $_selection->isSaleable())?' selected="selected" ':'' ?><?php echo !$_selection->isSaleable()?' disabled="disabled" ':'' ?>><?php echo $this->getSelectionTitlePrice($_selection, false) ?></option>
58
+ <?php endforeach;?>
59
+ </select>
60
+ <?php endif; ?>
61
+ </dd>
app/design/frontend/default/magezon/template/bundle/catalog/product/view/type/bundle/options.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ $_options = Mage::helper('core')->decorateArray($this->getOptions());
31
+ ?>
32
+ <?php if ($_product->isSaleable()):?>
33
+ <?php if (count($_options)): ?>
34
+ <dl>
35
+ <?php foreach ($_options as $_option): ?>
36
+ <?php if (!$_option->getSelections()): ?>
37
+ <?php continue; ?>
38
+ <?php endif; ?>
39
+ <?php echo $this->getOptionHtml($_option) ?>
40
+ <?php endforeach; ?>
41
+ </dl>
42
+ <?php else: ?>
43
+ <p><?php echo $this->__('No options of this product are available.') ?></p>
44
+ <?php endif; ?>
45
+ <?php endif;?>
app/design/frontend/default/magezon/template/bundle/email/order/items/creditmemo/default.phtml ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px"><strong><?php echo $attributes['option_label'] ?></strong></td>
47
+ <td>&nbsp;</td>
48
+ <td>&nbsp;</td>
49
+ <td>&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 align="left" valign="top" style="padding:3px 9px"><strong><?php echo $this->htmlEscape($_item->getName()) ?></strong></td>
57
+ <?php else: ?>
58
+ <td align="left" valign="top" style="padding:3px 19px"><?php echo $this->getValueHtml($_item)?></td>
59
+ <?php endif; ?>
60
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $_item->getSku() ?></td>
61
+ <td align="center" valign="top" style="padding:3px 9px">
62
+ <?php if ($this->canShowPriceInfo($_item)): ?>
63
+ <?php echo $_item->getQty()*1 ?>
64
+ <?php else: ?>
65
+ &nbsp;
66
+ <?php endif; ?>
67
+ </td>
68
+ <td align="right" valign="top" style="padding:3px 9px">
69
+ <?php if ($this->canShowPriceInfo($_item)): ?>
70
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
71
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
72
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
73
+ <?php endif; ?>
74
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
75
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
76
+ <?php else: ?>
77
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
78
+ <?php endif; ?>
79
+
80
+
81
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
82
+ <br />
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
84
+ <small>
85
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
86
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
87
+ <?php endforeach; ?>
88
+ </small>
89
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
90
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
91
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
92
+ <?php endforeach; ?>
93
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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_incl_tax'],true,true); ?></span><br />
97
+ <?php endforeach; ?>
98
+ </small>
99
+ <?php endif; ?>
100
+
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
102
+ <br />
103
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
104
+ <?php endif; ?>
105
+ <?php endif; ?>
106
+ <?php endif; ?>
107
+
108
+
109
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
110
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
111
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
112
+ <?php endif; ?>
113
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
115
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
116
+ <?php else: ?>
117
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
118
+ <?php endif; ?>
119
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
120
+ <br />
121
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
122
+ <small>
123
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
124
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
125
+ <?php endforeach; ?>
126
+ </small>
127
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
128
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
129
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><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']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><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'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
141
+ <?php endif; ?>
142
+ <?php endif; ?>
143
+ <?php endif; ?>
144
+ <?php else: ?>
145
+ &nbsp;
146
+ <?php endif; ?>
147
+ </td>
148
+ </tr>
149
+ <?php endforeach; ?>
150
+
151
+ <?php if ($_showlastRow): ?>
152
+ <tr>
153
+ <td align="left" valign="top" style="padding:3px 9px">
154
+ <?php if ($this->getItemOptions()): ?>
155
+ <dl style="margin:0; padding:0;">
156
+ <?php foreach ($this->getItemOptions() as $option): ?>
157
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
158
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
159
+ <?php endforeach; ?>
160
+ </dl>
161
+ <?php endif; ?>
162
+ <?php echo $_item->getDescription() ?>
163
+ </td>
164
+ <td>&nbsp;</td>
165
+ <td>&nbsp;</td>
166
+ <td>&nbsp;</td>
167
+ </tr>
168
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/email/order/items/invoice/default.phtml ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ </tr>
52
+ <?php $_prevOptionId = $attributes['option_id'] ?>
53
+ <?php endif; ?>
54
+ <?php endif; ?>
55
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
56
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
57
+ <td align="left" valign="top" style="padding:3px 9px"><strong><?php echo $this->htmlEscape($_item->getName()) ?></strong></td>
58
+ <?php else: ?>
59
+ <td align="left" valign="top" style="padding:3px 19px"><?php echo $this->getValueHtml($_item)?></td>
60
+ <?php endif; ?>
61
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $_item->getSku() ?></td>
62
+ <td align="center" valign="top" style="padding:3px 9px">
63
+ <?php if ($this->canShowPriceInfo($_item)): ?>
64
+ <?php echo $_item->getQty()*1 ?>
65
+ <?php else: ?>
66
+ &nbsp;
67
+ <?php endif; ?>
68
+ </td>
69
+ <td align="right" valign="top" style="padding:3px 9px">
70
+ <?php if ($this->canShowPriceInfo($_item)): ?>
71
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
72
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
73
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
74
+ <?php endif; ?>
75
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
76
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
77
+ <?php else: ?>
78
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
79
+ <?php endif; ?>
80
+
81
+
82
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
83
+ <br />
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
85
+ <small>
86
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
87
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
88
+ <?php endforeach; ?>
89
+ </small>
90
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
91
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
92
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
93
+ <?php endforeach; ?>
94
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
95
+ <small>
96
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
97
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
98
+ <?php endforeach; ?>
99
+ </small>
100
+ <?php endif; ?>
101
+
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
103
+ <br />
104
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
105
+ <?php endif; ?>
106
+ <?php endif; ?>
107
+ <?php endif; ?>
108
+
109
+
110
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
111
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
112
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
113
+ <?php endif; ?>
114
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
116
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
117
+ <?php else: ?>
118
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
119
+ <?php endif; ?>
120
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
121
+ <br />
122
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
123
+ <small>
124
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
125
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
126
+ <?php endforeach; ?>
127
+ </small>
128
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
129
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
130
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
131
+ <?php endforeach; ?>
132
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
133
+ <small>
134
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
135
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
136
+ <?php endforeach; ?>
137
+ </small>
138
+ <?php endif; ?>
139
+
140
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
141
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
142
+ <?php endif; ?>
143
+ <?php endif; ?>
144
+ <?php endif; ?>
145
+ <?php else: ?>
146
+ &nbsp;
147
+ <?php endif; ?>
148
+ </td>
149
+ </tr>
150
+ <?php endforeach; ?>
151
+
152
+ <?php if ($_showlastRow): ?>
153
+ <tr>
154
+ <td align="left" valign="top" style="padding:3px 9px">
155
+ <?php if ($this->getItemOptions()): ?>
156
+ <dl style="margin:0; padding:0;">
157
+ <?php foreach ($this->getItemOptions() as $option): ?>
158
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
159
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
160
+ <?php endforeach; ?>
161
+ </dl>
162
+ <?php endif; ?>
163
+ <?php echo $_item->getDescription() ?>
164
+ </td>
165
+ <td>&nbsp;</td>
166
+ <td>&nbsp;</td>
167
+ <td>&nbsp;</td>
168
+ </tr>
169
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/email/order/items/order/default.phtml ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ </tr>
52
+ <?php $_prevOptionId = $attributes['option_id'] ?>
53
+ <?php endif; ?>
54
+ <?php endif; ?>
55
+ <tr id="order-item-row-<?php echo $_item->getId() ?>">
56
+ <?php if (!$_item->getParentItem()): ?>
57
+ <td align="left" valign="top" style="padding:3px 9px"><strong><?php echo $this->htmlEscape($_item->getName()) ?></strong></td>
58
+ <?php else: ?>
59
+ <td align="left" valign="top" style="padding:3px 19px"><?php echo $this->getValueHtml($_item)?></td>
60
+ <?php endif; ?>
61
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $_item->getSku() ?></td>
62
+ <td align="center" valign="top" style="padding:3px 9px">
63
+ <?php if (!$_item->getParentItem()): ?>
64
+ <?php echo $_item->getQtyOrdered()*1 ?>
65
+ <?php else: ?>
66
+ &nbsp;
67
+ <?php endif; ?>
68
+ </td>
69
+ <td align="right" valign="top" style="padding:3px 9px">
70
+ <?php if (!$_item->getParentItem()): ?>
71
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
72
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
73
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
74
+ <?php endif; ?>
75
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
76
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
77
+ <?php else: ?>
78
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
79
+ <?php endif; ?>
80
+
81
+
82
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
83
+ <br />
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
85
+ <small>
86
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
87
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
88
+ <?php endforeach; ?>
89
+ </small>
90
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
91
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
92
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
93
+ <?php endforeach; ?>
94
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
95
+ <small>
96
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
97
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
98
+ <?php endforeach; ?>
99
+ </small>
100
+ <?php endif; ?>
101
+
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
103
+ <br />
104
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
105
+ <?php endif; ?>
106
+ <?php endif; ?>
107
+ <?php endif; ?>
108
+
109
+
110
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
111
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
112
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
113
+ <?php endif; ?>
114
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
116
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
117
+ <?php else: ?>
118
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
119
+ <?php endif; ?>
120
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
121
+ <br />
122
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
123
+ <small>
124
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
125
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
126
+ <?php endforeach; ?>
127
+ </small>
128
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
129
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
130
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
131
+ <?php endforeach; ?>
132
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
133
+ <small>
134
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
135
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
136
+ <?php endforeach; ?>
137
+ </small>
138
+ <?php endif; ?>
139
+
140
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
141
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
142
+ <?php endif; ?>
143
+ <?php endif; ?>
144
+ <?php endif; ?>
145
+ <?php else: ?>
146
+ &nbsp;
147
+ <?php endif; ?>
148
+ </td>
149
+ </tr>
150
+ <?php endforeach; ?>
151
+
152
+ <?php if ($_showlastRow): ?>
153
+ <tr>
154
+ <td align="left" valign="top" style="padding:3px 9px">
155
+ <?php if ($this->getItemOptions()): ?>
156
+ <dl style="margin:0; padding:0;">
157
+ <?php foreach ($this->getItemOptions() as $option): ?>
158
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
159
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
160
+ <?php endforeach; ?>
161
+ </dl>
162
+ <?php endif; ?>
163
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
164
+ <br /><strong><?php echo $this->__('Gift Message') ?></strong>
165
+ <br /><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
166
+ <br /><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
167
+ <br /><?php echo $this->__('Message:'); ?><br /> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
168
+ <?php endif; ?>
169
+ </td>
170
+ <td>&nbsp;</td>
171
+ <td>&nbsp;</td>
172
+ <td>&nbsp;</td>
173
+ </tr>
174
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/email/order/items/shipment/default.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
47
+ <td>&nbsp;</td>
48
+ <td>&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 align="left" valign="top" style="padding:3px 9px"><strong><?php echo $this->htmlEscape($_item->getName()) ?></strong></td>
56
+ <?php else: ?>
57
+ <td align="left" valign="top" style="padding:3px 19px"><?php echo $this->getValueHtml($_item) ?></td>
58
+ <?php endif; ?>
59
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $_item->getSku() ?></td>
60
+ <td align="center" valign="top" style="padding:3px 9px">
61
+ <?php if (($this->isShipmentSeparately() && $_item->getParentItem()) || (!$this->isShipmentSeparately() && !$_item->getParentItem())): ?>
62
+ <?php if (isset($shipItems[$_item->getId()])): ?>
63
+ <?php echo $shipItems[$_item->getId()]->getQty()*1 ?>
64
+ <?php elseif ($_item->getIsVirtual()): ?>
65
+ <?php echo $this->__('N/A') ?>
66
+ <?php else: ?>
67
+ 0
68
+ <?php endif; ?>
69
+ <?php else: ?>
70
+ &nbsp;
71
+ <?php endif; ?>
72
+ </td>
73
+ </tr>
74
+ <?php endforeach; ?>
75
+
76
+ <?php if ($_showlastRow): ?>
77
+ <tr>
78
+ <td align="left" valign="top" style="padding:3px 9px">
79
+ <?php if ($this->getItemOptions()): ?>
80
+ <dl style="margin:0; padding:0;">
81
+ <?php foreach ($this->getItemOptions() as $option): ?>
82
+ <dt><strong><em><?php echo $option['label'] ?></em></strong>
83
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
84
+ <?php endforeach; ?>
85
+ </dl>
86
+ <?php endif; ?>
87
+ <?php echo $_item->getDescription() ?>
88
+ </td>
89
+ <td>&nbsp;</td>
90
+ <td>&nbsp;</td>
91
+ </tr>
92
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/sales/order/creditmemo/items/renderer.phtml ADDED
@@ -0,0 +1,328 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 = $this->getChilds($parentItem) ?>
30
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
31
+ <?php $_count = count ($items) ?>
32
+ <?php $_index = 0 ?>
33
+
34
+ <?php $_prevOptionId = '' ?>
35
+
36
+ <?php foreach ($items as $_item): ?>
37
+
38
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
39
+ <?php $_showlastRow = true ?>
40
+ <?php else: ?>
41
+ <?php $_showlastRow = false ?>
42
+ <?php endif; ?>
43
+
44
+ <?php if ($_item->getOrderItem()->getParentItem()): ?>
45
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
46
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
47
+ <tr>
48
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ <td>&nbsp;</td>
52
+ <td>&nbsp;</td>
53
+ <td>&nbsp;</td>
54
+ <td>&nbsp;</td>
55
+ </tr>
56
+ <?php $_prevOptionId = $attributes['option_id'] ?>
57
+ <?php endif; ?>
58
+ <?php endif; ?>
59
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
60
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
61
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
62
+ </td>
63
+ <?php else: ?>
64
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
65
+ <?php endif; ?>
66
+ <td><?php echo $_item->getSku() ?></td>
67
+ <td class="a-right">
68
+ <?php if ($this->canShowPriceInfo($_item)): ?>
69
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
70
+ <span class="price-excl-tax">
71
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
72
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
73
+ <div class="cart-price">
74
+ <?php endif; ?>
75
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
76
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
77
+ </div>
78
+ <?php endif; ?>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
81
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
82
+ <?php else: ?>
83
+ <div class="cart-price">
84
+ <?php endif; ?>
85
+
86
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
87
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
88
+ <?php else: ?>
89
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
90
+ <?php endif; ?>
91
+
92
+ </div>
93
+
94
+
95
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
96
+
97
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
99
+ <small>
100
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
101
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
102
+ <?php endforeach; ?>
103
+ </small>
104
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
105
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
106
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
107
+ <?php endforeach; ?>
108
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
109
+ <small>
110
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
111
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
112
+ <?php endforeach; ?>
113
+ </small>
114
+ <?php endif; ?>
115
+ </div>
116
+
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
118
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
119
+ <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>
120
+ </div>
121
+ <?php endif; ?>
122
+ <?php endif; ?>
123
+ </span>
124
+ <br />
125
+ <?php endif; ?>
126
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
127
+ <span class="price-incl-tax">
128
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
129
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
130
+ <div class="cart-price">
131
+ <?php endif; ?>
132
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
133
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
134
+ </div>
135
+ <?php endif; ?>
136
+ <?php endif; ?>
137
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
138
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
139
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
140
+ <?php else: ?>
141
+ <div class="cart-price">
142
+ <?php endif; ?>
143
+
144
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
145
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
146
+ <?php else: ?>
147
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
148
+ <?php endif; ?>
149
+
150
+ </div>
151
+
152
+
153
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
154
+
155
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
156
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
157
+ <small>
158
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
159
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
160
+ <?php endforeach; ?>
161
+ </small>
162
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
163
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
164
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
165
+ <?php endforeach; ?>
166
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
167
+ <small>
168
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
169
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
170
+ <?php endforeach; ?>
171
+ </small>
172
+ <?php endif; ?>
173
+ </div>
174
+
175
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
176
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
177
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
178
+ </div>
179
+ <?php endif; ?>
180
+ <?php endif; ?>
181
+ </span>
182
+ <?php endif; ?>
183
+ <?php else: ?>
184
+ &nbsp;
185
+ <?php endif; ?>
186
+ </td>
187
+ <td class="a-center">
188
+ <?php if ($this->canShowPriceInfo($_item)): ?>
189
+ <?php echo $_item->getQty()*1 ?>
190
+ <?php else: ?>
191
+ &nbsp;
192
+ <?php endif; ?>
193
+ </td>
194
+ <td class="a-right">
195
+ <?php if ($this->canShowPriceInfo($_item)): ?>
196
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
197
+ <span class="price-excl-tax">
198
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
199
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
200
+ <div class="cart-price">
201
+ <?php endif; ?>
202
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
203
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
204
+ </div>
205
+ <?php endif; ?>
206
+ <?php endif; ?>
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
208
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
209
+ <?php else: ?>
210
+ <div class="cart-price">
211
+ <?php endif; ?>
212
+
213
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
214
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
215
+ <?php else: ?>
216
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
217
+ <?php endif; ?>
218
+
219
+ </div>
220
+
221
+
222
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
223
+
224
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <small>
227
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
228
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
229
+ <?php endforeach; ?>
230
+ </small>
231
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
232
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
233
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
234
+ <?php endforeach; ?>
235
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
236
+ <small>
237
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
238
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
239
+ <?php endforeach; ?>
240
+ </small>
241
+ <?php endif; ?>
242
+ </div>
243
+
244
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
245
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
246
+ <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>
247
+ </div>
248
+ <?php endif; ?>
249
+ <?php endif; ?>
250
+ </span>
251
+ <br />
252
+ <?php endif; ?>
253
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
254
+ <span class="price-incl-tax">
255
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
256
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
257
+ <div class="cart-price">
258
+ <?php endif; ?>
259
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
260
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
261
+ </div>
262
+ <?php endif; ?>
263
+ <?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
264
+ </span>
265
+ <?php endif; ?>
266
+ <?php else: ?>
267
+ &nbsp;
268
+ <?php endif; ?>
269
+ <?php else: ?>
270
+ &nbsp;
271
+ <?php endif; ?>
272
+ </td>
273
+ <td class="a-right">
274
+ <?php if ($this->canShowPriceInfo($_item)): ?>
275
+ <?php echo $this->getOrder()->formatPrice(-$_item->getDiscountAmount()) ?>
276
+ <?php else: ?>
277
+ &nbsp;
278
+ <?php endif; ?>
279
+ </td>
280
+ <td class="last a-right">
281
+ <?php if ($this->canShowPriceInfo($_item)): ?>
282
+ <?php echo $this->getOrder()->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
283
+ <?php else: ?>
284
+ &nbsp;
285
+ <?php endif; ?>
286
+ </td>
287
+ </tr>
288
+ <?php endforeach; ?>
289
+
290
+ <?php if ($_showlastRow): ?>
291
+ <tr class="border">
292
+ <td>
293
+ <?php if($_options = $this->getItemOptions()): ?>
294
+ <dl class="item-options">
295
+ <?php foreach ($_options as $_option) : ?>
296
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
297
+ <?php if (!$this->getPrintStatus()): ?>
298
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
299
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
300
+ <?php echo $_formatedOptionValue['value'] ?>
301
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
302
+ <div class="truncated_full_value">
303
+ <dl class="item-options">
304
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
305
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
306
+ </dl>
307
+ </div>
308
+ <?php endif; ?>
309
+ </dd>
310
+ <?php else: ?>
311
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
312
+ <?php endif; ?>
313
+ <?php endforeach; ?>
314
+ </dl>
315
+ <?php endif; ?>
316
+ <?php echo $_item->getDescription() ?>
317
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
318
+ <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>
319
+ <?php endif; ?>
320
+ </td>
321
+ <td>&nbsp;</td>
322
+ <td>&nbsp;</td>
323
+ <td>&nbsp;</td>
324
+ <td>&nbsp;</td>
325
+ <td>&nbsp;</td>
326
+ <td>&nbsp;</td>
327
+ </tr>
328
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/sales/order/invoice/items/renderer.phtml ADDED
@@ -0,0 +1,352 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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()->getOrderItem()->getOrder() ?>
29
+
30
+ <?php $items = $this->getChilds($parentItem) ?>
31
+ <?php $_count = count ($items) ?>
32
+ <?php $_index = 0 ?>
33
+
34
+ <?php $_prevOptionId = '' ?>
35
+
36
+ <?php foreach ($items as $_item): ?>
37
+
38
+ <?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
39
+ <?php $_showlastRow = true ?>
40
+ <?php else: ?>
41
+ <?php $_showlastRow = false ?>
42
+ <?php endif; ?>
43
+
44
+ <?php if ($_item->getOrderItem()->getParentItem()): ?>
45
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
46
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
47
+ <tr>
48
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ <td>&nbsp;</td>
52
+ <td>&nbsp;</td>
53
+ </tr>
54
+ <?php $_prevOptionId = $attributes['option_id'] ?>
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
58
+ <?php if (!$_item->getOrderItem()->getParentItem()): ?>
59
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5></td>
60
+ <?php else: ?>
61
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
62
+ <?php endif; ?>
63
+ <td><?php echo $_item->getSku() ?></td>
64
+ <td class="a-right">
65
+ <?php if ($this->canShowPriceInfo($_item)): ?>
66
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
67
+ <span class="price-excl-tax">
68
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
69
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
70
+ <div class="cart-price">
71
+ <?php endif; ?>
72
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
73
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
74
+ </div>
75
+ <?php endif; ?>
76
+ <?php endif; ?>
77
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
78
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
79
+ <?php else: ?>
80
+ <div class="cart-price">
81
+ <?php endif; ?>
82
+
83
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
84
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
85
+ <?php else: ?>
86
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
87
+ <?php endif; ?>
88
+
89
+ </div>
90
+
91
+
92
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
93
+
94
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
95
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
102
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
103
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
104
+ <?php endforeach; ?>
105
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
106
+ <small>
107
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
108
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
109
+ <?php endforeach; ?>
110
+ </small>
111
+ <?php endif; ?>
112
+ </div>
113
+
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
115
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
116
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
117
+ </div>
118
+ <?php endif; ?>
119
+ <?php endif; ?>
120
+ </span>
121
+ <br />
122
+ <?php endif; ?>
123
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
124
+ <span class="price-incl-tax">
125
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
126
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
127
+ <div class="cart-price">
128
+ <?php endif; ?>
129
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
130
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
131
+ </div>
132
+ <?php endif; ?>
133
+ <?php endif; ?>
134
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
135
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
136
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
137
+ <?php else: ?>
138
+ <div class="cart-price">
139
+ <?php endif; ?>
140
+
141
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
142
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
143
+ <?php else: ?>
144
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
145
+ <?php endif; ?>
146
+
147
+ </div>
148
+
149
+
150
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
151
+
152
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
153
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
154
+ <small>
155
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
156
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
157
+ <?php endforeach; ?>
158
+ </small>
159
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
160
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
161
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
162
+ <?php endforeach; ?>
163
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
164
+ <small>
165
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
166
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
167
+ <?php endforeach; ?>
168
+ </small>
169
+ <?php endif; ?>
170
+ </div>
171
+
172
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
173
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
174
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
175
+ </div>
176
+ <?php endif; ?>
177
+ <?php endif; ?>
178
+ </span>
179
+ <?php endif; ?>
180
+ <?php else: ?>
181
+ &nbsp;
182
+ <?php endif; ?>
183
+ </td>
184
+ <td class="a-center">
185
+ <?php if ($this->canShowPriceInfo($_item)): ?>
186
+ <?php echo $_item->getQty()*1 ?>
187
+ <?php else: ?>
188
+ &nbsp;
189
+ <?php endif; ?>
190
+ </td>
191
+ <td class="a-right">
192
+ <?php if ($this->canShowPriceInfo($_item)): ?>
193
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
194
+ <span class="price-excl-tax">
195
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
196
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
197
+ <div class="cart-price">
198
+ <?php endif; ?>
199
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
200
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
201
+ </div>
202
+ <?php endif; ?>
203
+ <?php endif; ?>
204
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
205
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
206
+ <?php else: ?>
207
+ <div class="cart-price">
208
+ <?php endif; ?>
209
+
210
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
211
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
212
+ <?php else: ?>
213
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
214
+ <?php endif; ?>
215
+
216
+ </div>
217
+
218
+
219
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
220
+
221
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
222
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
223
+ <small>
224
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
225
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
226
+ <?php endforeach; ?>
227
+ </small>
228
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
229
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
230
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
231
+ <?php endforeach; ?>
232
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
233
+ <small>
234
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
235
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
236
+ <?php endforeach; ?>
237
+ </small>
238
+ <?php endif; ?>
239
+ </div>
240
+
241
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
242
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
243
+ <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>
244
+ </div>
245
+ <?php endif; ?>
246
+ <?php endif; ?>
247
+ </span>
248
+ <br />
249
+ <?php endif; ?>
250
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
251
+ <span class="price-incl-tax">
252
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
253
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
254
+ <div class="cart-price">
255
+ <?php endif; ?>
256
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
257
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
258
+ </div>
259
+ <?php endif; ?>
260
+ <?php endif; ?>
261
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
262
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
263
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
264
+ <?php else: ?>
265
+ <div class="cart-price">
266
+ <?php endif; ?>
267
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
268
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
269
+ <?php else: ?>
270
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
271
+ <?php endif; ?>
272
+
273
+ </div>
274
+
275
+
276
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
277
+
278
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
279
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
280
+ <small>
281
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
282
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
283
+ <?php endforeach; ?>
284
+ </small>
285
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
286
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
287
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
288
+ <?php endforeach; ?>
289
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
290
+ <small>
291
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
292
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
293
+ <?php endforeach; ?>
294
+ </small>
295
+ <?php endif; ?>
296
+ </div>
297
+
298
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
299
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
300
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
301
+ </div>
302
+ <?php endif; ?>
303
+ <?php endif; ?>
304
+
305
+
306
+
307
+ </span>
308
+ <?php endif; ?>
309
+ <?php else: ?>
310
+ &nbsp;
311
+ <?php endif; ?>
312
+ </td>
313
+ </tr>
314
+ <?php endforeach; ?>
315
+
316
+ <?php if ($_showlastRow): ?>
317
+ <tr class="border">
318
+ <td>
319
+ <?php if($_options = $this->getItemOptions()): ?>
320
+ <dl class="item-options">
321
+ <?php foreach ($_options as $_option) : ?>
322
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
323
+ <?php if (!$this->getPrintStatus()): ?>
324
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
325
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
326
+ <?php echo $_formatedOptionValue['value'] ?>
327
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
328
+ <div class="truncated_full_value">
329
+ <dl class="item-options">
330
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
331
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
332
+ </dl>
333
+ </div>
334
+ <?php endif; ?>
335
+ </dd>
336
+ <?php else: ?>
337
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
338
+ <?php endif; ?>
339
+ <?php endforeach; ?>
340
+ </dl>
341
+ <?php endif; ?>
342
+ <?php echo $_item->getDescription() ?>
343
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
344
+ <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>
345
+ <?php endif; ?>
346
+ </td>
347
+ <td>&nbsp;</td>
348
+ <td>&nbsp;</td>
349
+ <td>&nbsp;</td>
350
+ <td>&nbsp;</td>
351
+ </tr>
352
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/sales/order/items/renderer.phtml ADDED
@@ -0,0 +1,375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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<?php if ($_item->getLastRow()) echo 'class="last"'; ?>>
46
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
47
+ <td>&nbsp;</td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ <td>&nbsp;</td>
51
+ </tr>
52
+ <?php $_prevOptionId = $attributes['option_id'] ?>
53
+ <?php endif; ?>
54
+ <?php endif; ?>
55
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
56
+
57
+ <?php if (!$_item->getParentItem()): ?>
58
+ <td><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4></td>
59
+ <?php else: ?>
60
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item)?></div></td>
61
+ <?php endif; ?>
62
+ <td><?php echo Mage::helper('core/string')->splitInjection($_item->getSku()) ?></td>
63
+ <td class="a-right">
64
+ <?php if (!$_item->getParentItem()): ?>
65
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
66
+ <span class="price-excl-tax">
67
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
68
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
69
+ <div 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
+ </div>
74
+ <?php endif; ?>
75
+ <?php endif; ?>
76
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
77
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
78
+ <?php else: ?>
79
+ <div 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
+ </div>
89
+
90
+
91
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
92
+
93
+ <div 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_incl_tax']); ?></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_incl_tax']); ?></span>
108
+ <?php endforeach; ?>
109
+ </small>
110
+ <?php endif; ?>
111
+ </div>
112
+
113
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
114
+ <div 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
+ </div>
117
+ <?php endif; ?>
118
+ <?php endif; ?>
119
+ </span>
120
+ <br />
121
+ <?php endif; ?>
122
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
123
+ <span class="price-incl-tax">
124
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
125
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
126
+ <div 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
+ </div>
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
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
136
+ <?php else: ?>
137
+ <div 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+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
142
+ <?php else: ?>
143
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
144
+ <?php endif; ?>
145
+
146
+ </div>
147
+
148
+
149
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
150
+
151
+ <div 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']); ?></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
+ </div>
170
+
171
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
172
+ <div 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+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
174
+ </div>
175
+ <?php endif; ?>
176
+ <?php endif; ?>
177
+ </span>
178
+ <?php endif; ?>
179
+ <?php else: ?>
180
+ &nbsp;
181
+ <?php endif; ?>
182
+ </td>
183
+ <td class="a-right">
184
+ <?php if (($_item->getParentItem() && $this->isChildCalculated()) ||
185
+ (!$_item->getParentItem() && !$this->isChildCalculated())): ?>
186
+ <span class="nobr">
187
+ <?php if ($_item->getQtyOrdered() > 0): ?>
188
+ <?php echo Mage::helper('sales')->__('Ordered'); ?>: <strong><?php echo $_item->getQtyOrdered()*1 ?></strong><br />
189
+ <?php endif; ?>
190
+ <?php if ($_item->getQtyShipped() > 0 && !$this->isShipmentSeparately()): ?>
191
+ <?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong><br />
192
+ <?php endif; ?>
193
+ <?php if ($_item->getQtyCanceled() > 0): ?>
194
+ <?php echo Mage::helper('sales')->__('Canceled'); ?>: <strong><?php echo $_item->getQtyCanceled()*1 ?></strong><br />
195
+ <?php endif; ?>
196
+ <?php if ($_item->getQtyRefunded() > 0): ?>
197
+ <?php echo Mage::helper('sales')->__('Refunded'); ?>: <strong><?php echo $_item->getQtyRefunded()*1 ?></strong>
198
+ <?php endif; ?>
199
+ </span>
200
+ <?php elseif ($_item->getQtyShipped() > 0 && $_item->getParentItem() && $this->isShipmentSeparately()): ?>
201
+ <span class="nobr"><?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong></span>
202
+ <?php else: ?>
203
+ &nbsp;
204
+ <?php endif; ?>
205
+ </td>
206
+ <td class="a-right">
207
+ <?php if (!$_item->getParentItem()): ?>
208
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
209
+ <span class="price-excl-tax">
210
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
211
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
212
+ <div class="cart-price">
213
+ <?php endif; ?>
214
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
215
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
216
+ </div>
217
+ <?php endif; ?>
218
+ <?php endif; ?>
219
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
220
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
221
+ <?php else: ?>
222
+ <div class="cart-price">
223
+ <?php endif; ?>
224
+
225
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
226
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
227
+ <?php else: ?>
228
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
229
+ <?php endif; ?>
230
+
231
+ </div>
232
+
233
+
234
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
235
+
236
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
237
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
238
+ <small>
239
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
240
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
241
+ <?php endforeach; ?>
242
+ </small>
243
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
244
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
245
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
246
+ <?php endforeach; ?>
247
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
248
+ <small>
249
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
250
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
251
+ <?php endforeach; ?>
252
+ </small>
253
+ <?php endif; ?>
254
+ </div>
255
+
256
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
257
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
258
+ <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>
259
+ </div>
260
+ <?php endif; ?>
261
+ <?php endif; ?>
262
+ </span>
263
+ <br />
264
+ <?php endif; ?>
265
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
266
+ <span class="price-incl-tax">
267
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
268
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
269
+ <div class="cart-price">
270
+ <?php endif; ?>
271
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
272
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
273
+ </div>
274
+ <?php endif; ?>
275
+ <?php endif; ?>
276
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
277
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
278
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
279
+ <?php else: ?>
280
+ <div class="cart-price">
281
+ <?php endif; ?>
282
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
283
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
284
+ <?php else: ?>
285
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
286
+ <?php endif; ?>
287
+
288
+ </div>
289
+
290
+
291
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
292
+
293
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
294
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
295
+ <small>
296
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
297
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
298
+ <?php endforeach; ?>
299
+ </small>
300
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
301
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
302
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
303
+ <?php endforeach; ?>
304
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
305
+ <small>
306
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
307
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
308
+ <?php endforeach; ?>
309
+ </small>
310
+ <?php endif; ?>
311
+ </div>
312
+
313
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
314
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
315
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
316
+ </div>
317
+ <?php endif; ?>
318
+ <?php endif; ?>
319
+
320
+
321
+
322
+ </span>
323
+ <?php endif; ?>
324
+ <?php else: ?>
325
+ &nbsp;
326
+ <?php endif; ?>
327
+ </td>
328
+ <!--
329
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
330
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
331
+ <?php endif; ?>
332
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
333
+ <th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
334
+ <?php endif; ?>
335
+ -->
336
+ </tr>
337
+ <?php endforeach; ?>
338
+
339
+ <?php if ($_showlastRow): ?>
340
+ <tr class="border">
341
+ <td>
342
+ <?php if($_options = $this->getItemOptions()): ?>
343
+ <dl class="item-options">
344
+ <?php foreach ($_options as $_option) : ?>
345
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
346
+ <?php if (!$this->getPrintStatus()): ?>
347
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
348
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
349
+ <?php echo $_formatedOptionValue['value'] ?>
350
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
351
+ <div class="truncated_full_value">
352
+ <dl class="item-options">
353
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
354
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
355
+ </dl>
356
+ </div>
357
+ <?php endif; ?>
358
+ </dd>
359
+ <?php else: ?>
360
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
361
+ <?php endif; ?>
362
+ <?php endforeach; ?>
363
+ </dl>
364
+ <?php endif; ?>
365
+ <?php echo $_item->getDescription() ?>
366
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
367
+ <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>
368
+ <?php endif; ?>
369
+ </td>
370
+ <td>&nbsp;</td>
371
+ <td>&nbsp;</td>
372
+ <td>&nbsp;</td>
373
+ <td>&nbsp;</td>
374
+ </tr>
375
+ <?php endif; ?>
app/design/frontend/default/magezon/template/bundle/sales/order/shipment/items/renderer.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Bundle
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->getOrderItem()), $parentItem->getOrderItem()->getChildrenItems()) ?>
29
+ <?php $shipItems = $this->getChilds($parentItem) ?>
30
+ <?php $_count = count ($items) ?>
31
+ <?php $_index = 0 ?>
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->getParentItem()): ?>
44
+ <?php $attributes = $this->getSelectionAttributes($_item) ?>
45
+ <?php if ($_prevOptionId != $attributes['option_id']): ?>
46
+ <tr>
47
+ <td><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
48
+ <td>&nbsp;</td>
49
+ <td>&nbsp;</td>
50
+ </tr>
51
+ <?php $_prevOptionId = $attributes['option_id'] ?>
52
+ <?php endif; ?>
53
+ <?php endif; ?>
54
+ <tr<?php echo (++$_index==$_count && !$_showlastRow)?' class="border"':'' ?> id="order-item-row-<?php echo $_item->getId() ?>">
55
+ <?php if (!$_item->getParentItem()): ?>
56
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5></td>
57
+ <?php else: ?>
58
+ <td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
59
+ <?php endif; ?>
60
+ <td><?php echo $_item->getSku() ?></td>
61
+ <td class="a-center">
62
+ <?php if (($this->isShipmentSeparately() && $_item->getParentItem()) || (!$this->isShipmentSeparately() && !$_item->getParentItem())): ?>
63
+ <?php if (isset($shipItems[$_item->getId()])): ?>
64
+ <?php echo $shipItems[$_item->getId()]->getQty()*1 ?>
65
+ <?php elseif ($_item->getIsVirtual()): ?>
66
+ <?php echo $this->__('N/A') ?>
67
+ <?php else: ?>
68
+ 0
69
+ <?php endif; ?>
70
+ <?php else: ?>
71
+ &nbsp;
72
+ <?php endif; ?>
73
+ </td>
74
+ </tr>
75
+ <?php endforeach; ?>
76
+
77
+ <?php if ($_showlastRow): ?>
78
+ <tr class="border">
79
+ <td>
80
+ <?php if($_options = $this->getItemOptions()): ?>
81
+ <dl class="item-options">
82
+ <?php foreach ($_options as $_option) : ?>
83
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
84
+ <?php if (!$this->getPrintStatus()): ?>
85
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
86
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
87
+ <?php echo $_formatedOptionValue['value'] ?>
88
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
89
+ <div class="truncated_full_value">
90
+ <dl class="item-options">
91
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
92
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
93
+ </dl>
94
+ </div>
95
+ <?php endif; ?>
96
+ </dd>
97
+ <?php else: ?>
98
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
99
+ <?php endif; ?>
100
+ <?php endforeach; ?>
101
+ </dl>
102
+ <?php endif; ?>
103
+ <?php echo $_item->getDescription() ?>
104
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
105
+ <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>
106
+ <?php endif; ?>
107
+ </td>
108
+ <td>&nbsp;</td>
109
+ <td>&nbsp;</td>
110
+ </tr>
111
+ <?php endif; ?>
app/design/frontend/default/magezon/template/callouts/left_col.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-banner">
28
+ <div class="block-content">
29
+ <?php if (strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
30
+ <a href="<?php echo $this->getLinkUrl() ?>">
31
+ <?php elseif($this->getLinkUrl()): ?>
32
+ <a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>">
33
+ <?php endif; ?>
34
+ <img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>" alt="<?php echo $this->__($this->getImgAlt()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>" />
35
+ <?php if ($this->getLinkUrl()): ?>
36
+ </a>
37
+ <?php endif ?>
38
+ </div>
39
+ </div>
app/design/frontend/default/magezon/template/callouts/right_col.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-banner">
28
+ <div class="block-content">
29
+ <img src="<?php echo $this->getSkinUrl('images/media/col_right_callout.jpg') ?>" alt="<?php echo __('Keep your eyes open for our special Back to School items and save A LOT!') ?>" title="<?php echo __('Keep your eyes open for our special Back to School items and save A LOT!') ?>" />
30
+ </div>
31
+ </div>
app/design/frontend/default/magezon/template/catalog/category/page.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->getTitle() ?></h1>
29
+ </div>
30
+ <div>
31
+ <?php echo $this->getContent() ?>
32
+ </div>
app/design/frontend/default/magezon/template/catalog/category/view.phtml ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Category view template
30
+ *
31
+ * @see Mage_Catalog_Block_Category_View
32
+ */
33
+ ?>
34
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_category = $this->getCurrentCategory();
37
+ $_imgHtml = '';
38
+ if ($_imgUrl = $_category->getImageUrl()) {
39
+ $_imgHtml = '<img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" class="category-image" />';
40
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
41
+ }
42
+ ?>
43
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
44
+ <?php if($this->isContentMode()): ?>
45
+
46
+ <?php if($_imgUrl): ?>
47
+ <?php echo $_imgHtml ?>
48
+ <?php endif; ?>
49
+ <div class="category-title">
50
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
51
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss" rel="nofollow"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
52
+ <?php endif; ?>
53
+ <h1><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($this->getCurrentCategory()->getName()), 'name') ?></h1>
54
+ </div>
55
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
56
+ <p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?></p>
57
+ <?php endif; ?>
58
+ <?php echo $this->getCmsBlockHtml() ?>
59
+ <?php elseif($this->isMixedMode()): ?>
60
+ <?php if($_imgUrl): ?>
61
+ <?php echo $_imgHtml ?>
62
+ <?php endif; ?>
63
+ <div class="category-title">
64
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
65
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss" rel="nofollow"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
66
+ <?php endif; ?>
67
+ <h2><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($this->getCurrentCategory()->getName()), 'name') ?></h2>
68
+ </div>
69
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
70
+ <p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description'); ?></p>
71
+ <?php endif; ?>
72
+ <?php /*
73
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
74
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss" rel="nofollow"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
75
+ <?php endif; ?>
76
+ */ ?>
77
+ <?php echo $this->getCmsBlockHtml() ?>
78
+ <?php echo $this->getProductListHtml() ?>
79
+
80
+ <?php else: ?>
81
+
82
+ <?php if($_imgUrl): ?>
83
+ <?php echo $_imgHtml ?>
84
+ <?php endif; ?>
85
+ <div class="category-title">
86
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
87
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss" rel="nofollow"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
88
+ <?php endif; ?>
89
+ <h1><?php echo $_helper->categoryAttribute($_category, $this->htmlEscape($this->getCurrentCategory()->getName()), 'name') ?></h1>
90
+ </div>
91
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
92
+ <p class="category-description"><?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?></p>
93
+ <?php endif; ?>
94
+ <?php echo $this->getProductListHtml() ?>
95
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/layer/filter.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <a href="<?php echo $_item->getUrl() ?>" rel="nofollow"><?php echo $_item->getLabel() ?></a>
39
+ (<?php echo $_item->getCount() ?>)
40
+ </li>
41
+ <?php endforeach ?>
42
+ </ol>
app/design/frontend/default/magezon/template/catalog/layer/state.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 $_filters = $this->getActiveFilters() ?>
35
+ <?php if(!empty($_filters)): ?>
36
+ <div class="currently-shopby">
37
+ <strong><?php echo $this->__('Currently Shopping by') ?></strong>
38
+ <ol class="currently">
39
+ <?php foreach ($_filters as $_filter): ?>
40
+ <li>
41
+ <a href="<?php echo $_filter->getRemoveUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove This Item') ?>" title="<?php echo $this->__('Remove This Item') ?>" class="v-middle" /></a>
42
+ <span class="label"><?php echo $this->__($_filter->getName()) ?>:</span> <?php echo $_filter->getLabel() ?>
43
+ </li>
44
+ <?php endforeach; ?>
45
+ </ol>
46
+ <div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/layer/view.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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">
36
+ <div class="block-title">
37
+ <strong><?php echo $this->__('Shop by') ?></strong>
38
+ </div>
39
+ <div class="block-content">
40
+ <?php echo $this->getStateHtml() ?>
41
+ <?php if($this->canShowOptions()): ?>
42
+ <strong><?php echo $this->__('Shopping Options') ?></strong>
43
+ <dl>
44
+ <?php $_filters = $this->getFilters() ?>
45
+ <?php foreach ($_filters as $_filter): ?>
46
+ <?php if($_filter->getItemsCount()): ?>
47
+ <dt><?php echo $this->__($_filter->getName()) ?></dt>
48
+ <dd><?php echo $_filter->getHtml() ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+ </div>
54
+ </div>
55
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/navigation/left.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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">
38
+ <div class="block-title">
39
+ <h2><?php echo $this->__('Browse By') ?></h2>
40
+ </div>
41
+ <div class="block-content">
42
+ <dl>
43
+ <dt><?php echo $this->__('Category') ?></dt>
44
+ <dd>
45
+ <ol>
46
+ <?php foreach ($_categories as $_category): ?>
47
+ <?php if($_category->getIsActive()): ?>
48
+ <li>
49
+ <a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
50
+ </li>
51
+ <?php endif; ?>
52
+ <?php endforeach ?>
53
+ </ol>
54
+ </dd>
55
+ </dl>
56
+ </div>
57
+ </div>
58
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/navigation/top.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <?php //if(count($this->getStoreCategories())>1): ?>
35
+ <div class="mw_navigation">
36
+ <ul id="nav">
37
+ <?php
38
+ $_anyActive = false;
39
+ foreach ($this->getStoreCategories() as $_category) {
40
+ $_anyActive = $_anyActive || $this->isCategoryActive($_category);
41
+ }
42
+ ?>
43
+ <li class="first <?php echo !$_anyActive ? 'active' : '' ?>">
44
+ <a class="first" href="<?php echo $this->getUrl('')?>"><span><?php echo $this->__('Home') ?></span></a>
45
+ </li>
46
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
47
+ <?php echo $this->drawItem($_category) ?>
48
+ <?php endforeach ?>
49
+ </ul>
50
+ </div>
51
+ <?php //endif; ?>
app/design/frontend/default/magezon/template/catalog/product/compare/list.phtml ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title title-buttons">
28
+ <h1><?php echo $this->__('Compare Products') ?></h1>
29
+ <a href="#" onclick="window.print(); return false;"><?php echo $this->__('Print This Page') ?></a>
30
+ </div>
31
+ <?php $_total=$this->getItems()->getSize() ?>
32
+ <?php if($_total): ?>
33
+ <table class="data-table" id="product_comparison">
34
+ <?php $_i=0 ?>
35
+ <?php foreach($this->getItems() as $_item): ?>
36
+ <?php if($_i++%10==0): ?>
37
+ <col width="1" />
38
+ <?php endif; ?>
39
+ <col width="<?php echo floor(100/$_total); ?>%" />
40
+ <?php endforeach; ?>
41
+ <?php if ($_total>2): ?>
42
+ <thead>
43
+ <tr>
44
+ <?php $_i=0 ?>
45
+ <?php foreach($this->getItems() as $_item): ?>
46
+
47
+ <?php if($_i++%10==0): ?>
48
+ <th>&nbsp;</th>
49
+ <?php endif; ?>
50
+ <td class="a-right"><a href="#" onclick="setLocation('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>') ;window.opener.location.reload();" title="<?php echo $this->__('Remove Product') ?>"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a></td>
51
+ <?php endforeach; ?>
52
+
53
+ </tr>
54
+ </thead>
55
+ <?php endif ?>
56
+ <tbody>
57
+ <tr>
58
+ <?php $_i=0 ?>
59
+ <?php foreach($this->getItems() as $_item): ?>
60
+ <?php if($_i++%10==0): ?>
61
+ <th class="label">&nbsp;</th>
62
+ <?php endif; ?>
63
+ <td>
64
+ <a class="product-image" rel="nofollow" href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
65
+ <h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $_item->getProductUrl() ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h2>
66
+ <?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
67
+ <?php echo $this->getPriceHtml($_item, true) ?>
68
+ <?php if($_item->isSaleable()): ?>
69
+ <p><button type="button" class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
70
+ <?php else: ?>
71
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
72
+ <?php endif; ?>
73
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
74
+ <p><a href="#" rel="nofollow" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to My Wishlist') ?></a></p>
75
+ <?php endif; ?>
76
+ </td>
77
+ <?php endforeach; ?>
78
+ </tr>
79
+ </tbody>
80
+ <tbody>
81
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
82
+ <tr>
83
+ <?php $_i=0 ?>
84
+ <?php foreach($this->getItems() as $_item): ?>
85
+ <?php if($_i++%10==0): ?>
86
+ <th class="label"><span class="nobr"><?php echo $this->__($_attribute->getFrontendLabel()) ?></span></th>
87
+ <?php endif; ?>
88
+ <td>
89
+ <?php switch ($_attribute->getAttributeCode()) {
90
+ case "price": ?>
91
+ <?php echo $this->getPriceHtml($_item, true) ?>
92
+ <?php break;
93
+ case "small_image": ?>
94
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" />
95
+ <?php break;
96
+ default: ?>
97
+ <?php echo nl2br($this->getProductAttributeValue($_item, $_attribute)) ?>
98
+ <?php break;
99
+ } ?>
100
+ </td>
101
+ <?php endforeach; ?>
102
+ </tr>
103
+ <?php endforeach; ?>
104
+ </tbody>
105
+ <tbody>
106
+ <tr>
107
+ <?php $_i=0 ?>
108
+ <?php foreach($this->getItems() as $_item): ?>
109
+ <?php if($_i++%10==0): ?>
110
+ <th class="label">&nbsp;</th>
111
+ <?php endif; ?>
112
+ <td class="data">
113
+ <?php echo $this->getPriceHtml($_item) ?>
114
+ <?php if($_item->isSaleable()): ?>
115
+ <p><button type="button" class="button" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
116
+ <?php else: ?>
117
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
118
+ <?php endif; ?>
119
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
120
+ <p><a href="#" rel="nofollow" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></p>
121
+ <?php endif; ?>
122
+ </td>
123
+ <?php endforeach; ?>
124
+ </tr>
125
+ </tbody>
126
+ </table>
127
+ <div class="buttons-set">
128
+ <button type="button" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
129
+ </div>
130
+ <script type="text/javascript">decorateTable('product_comparison');</script>
131
+ <?php else: ?>
132
+ <script type="text/javascript">window.close();</script>
133
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/compare/sidebar.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="block block-compare">
28
+ <div class="block-title">
29
+ <?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
30
+ <strong><?php echo $this->__('Compare Products - %d Items', $this->helper('catalog/product_compare')->getItemCount()) ?></strong>
31
+ <?php else: ?>
32
+ <strong><?php echo $this->__('Compare Products') ?></strong>
33
+ <?php endif; ?>
34
+ </div>
35
+ <div class="block-content">
36
+ <?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
37
+ <ol id="compare-items">
38
+ <?php foreach($this->helper('catalog/product_compare')->getItemCollection() as $_index=>$_item): ?>
39
+ <li>
40
+ <input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
41
+ <a href="<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>" rel="nofollow"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove This Item') ?>" title="<?php echo $this->__('Remove This Item') ?>" class="v-middle" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');" /></a>
42
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
43
+ </li>
44
+ <?php endforeach; ?>
45
+ </ol>
46
+ <script type="text/javascript">decorateList('compare-items')</script>
47
+ <div class="actions">
48
+ <a href="<?php echo $this->helper('catalog/product_compare')->getClearListUrl() ?>" rel="nofollow" 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>
49
+ <button type="button" class="button" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','top:50,left:50,width=800,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare Items') ?></span></span></button>
50
+ </div>
51
+ <?php else: ?>
52
+ <p><?php echo $this->__('You have no items to compare.') ?></p>
53
+ <?php endif; ?>
54
+ </div>
55
+ </div>
app/design/frontend/default/magezon/template/catalog/product/gallery.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_width=$this->getImageWidth() ?>
28
+ <div class="product-image-popup" style="width:<?php echo $_width; ?>px;">
29
+ <p class="a-right"><a href="#" onclick="window.close(); return false;"><?php echo $this->__('Close Window') ?></a></p>
30
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
31
+ <div class="nav">
32
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
33
+ <a href="<?php echo $_prevUrl ?>">&laquo; <?php echo $this->__('Prev') ?></a>
34
+ <?php endif; ?>
35
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
36
+ <a href="<?php echo $_nextUrl ?>"><?php echo $this->__('Next') ?> &raquo;</a>
37
+ <?php endif; ?>
38
+ </div>
39
+ <?php endif; ?>
40
+ <?php if($_imageTitle = $this->htmlEscape($this->getCurrentImage()->getLabel())): ?>
41
+ <h2 class="image-label"><?php echo $_imageTitle ?></h2>
42
+ <?php endif; ?>
43
+ <img<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>" alt="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" class="image" />
44
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
45
+ <div class="nav">
46
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
47
+ <a href="<?php echo $_prevUrl ?>">&laquo; <?php echo $this->__('Prev') ?></a>
48
+ <?php endif; ?>
49
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
50
+ <a href="<?php echo $_nextUrl ?>"><?php echo $this->__('Next') ?> &raquo;</a>
51
+ <?php endif; ?>
52
+ </div>
53
+ <?php endif; ?>
54
+ <p class="a-right"><a href="#" onclick="window.close(); return false;"><?php echo $this->__('Close Window') ?></a></p>
55
+ </div>
56
+ <script type="text/javascript">
57
+ //<![CDATA[
58
+ Event.observe(window, 'load', function(){
59
+ var demensions = $('product-gallery-image').getDimensions();
60
+ window.resizeTo(demensions.width+90, demensions.height+210);
61
+ });
62
+ //]]>
63
+ </script>
app/design/frontend/default/magezon/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ ?>
34
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
35
+ <?php if(!$_productCollection->count()): ?>
36
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
37
+ <?php else: ?>
38
+ <div class="category-products">
39
+ <?php echo $this->getToolbarHtml() ?>
40
+
41
+ <?php // List mode ?>
42
+ <?php if($this->getMode()!='grid'): ?>
43
+ <?php $_iterator = 0; ?>
44
+ <ol class="products-list" id="products-list">
45
+ <?php foreach ($_productCollection as $_product): ?>
46
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
47
+ <?php // Product Image ?>
48
+
49
+ <?php // Product description ?>
50
+
51
+ <h2><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
52
+ <span class="product-image">
53
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
54
+ </span>
55
+ <span class="product-name"><?php echo $this->htmlEscape($_product->getName())?></span>
56
+ </a></h2>
57
+ <div class="product-shop">
58
+ <?php if($_product->getRatingSummary()): ?>
59
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
60
+ <?php endif; ?>
61
+ <?php echo $this->getPriceHtml($_product, true) ?>
62
+ <?php if($_product->isSaleable()): ?>
63
+ <p><button class="button addcart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
64
+ <?php else: ?>
65
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
66
+ <?php endif; ?>
67
+ <div class="desc std">
68
+ <?php echo nl2br($_product->getShortDescription()) ?>
69
+ <a class="more-info" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" rel="nofollow"><?php echo $this->__('Learn More') ?></a>
70
+ </div>
71
+ <ul class="add-to-links">
72
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
73
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" rel="nofollow" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
74
+ <?php endif; ?>
75
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
76
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" rel="nofollow" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
77
+ <?php endif; ?>
78
+ </ul>
79
+ <div class="clear_both"><span></span></div>
80
+ </div>
81
+ </li>
82
+ <?php endforeach; ?>
83
+ </ol>
84
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
85
+
86
+ <?php else: ?>
87
+
88
+ <?php // Grid Mode ?>
89
+
90
+ <?php $_collectionSize = $_productCollection->count() ?>
91
+ <div class="products-grid" id="products-grid-table">
92
+ <?php //$_columnCount = $this->getColumnCount();
93
+ $_columnCount=3;
94
+ ?>
95
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
96
+ <?php if ($i++%$_columnCount==0): ?>
97
+ <ol class="grid-row">
98
+ <?php endif ?>
99
+ <li class="item <?php if($i%$_columnCount==1): ?> first<?php elseif($i%$_columnCount==0):?>last<?php endif; ?>">
100
+
101
+ <div class="product-item-grid"><a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
102
+
103
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(150,150); ?>" width="150" height="150" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" />
104
+ </a>
105
+
106
+ <h2 >
107
+ <a class="product-name" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName())?></a>
108
+ </h2>
109
+
110
+ <?php echo $this->getPriceHtml($_product, true) ?>
111
+ <div class="clear_both"><span> </span></div>
112
+
113
+ <?php //if($_product->getRatingSummary()): ?>
114
+ <?php //echo $this->getReviewsSummaryHtml($_product) ?>
115
+ <?php //endif; ?>
116
+
117
+ <div class="grid-addcart"><?php if($_product->isSaleable()): ?>
118
+ <button type="button" class="button addcart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
119
+ <?php else:?>
120
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
121
+ <?php endif;?>
122
+ </div>
123
+ <ul class="add-to-links">
124
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
125
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
126
+ <?php endif; ?>
127
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
128
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
129
+ <?php endif; ?>
130
+ </ul>
131
+ </div>
132
+ </li>
133
+ <?php if ($i%3==0 && $i!=$_collectionSize): ?>
134
+ </ol>
135
+ <?php endif ?>
136
+ <?php endforeach ?>
137
+ <?php for($i;$i%3!=0;$i++): ?>
138
+ <li class="empty">&nbsp;</li>
139
+ <?php endfor ?>
140
+ <?php if ($i%3==0): ?>
141
+ </ol>
142
+ <?php endif ?>
143
+ <div class="clear_both"><span> </span></div>
144
+ </div>
145
+
146
+ <script type="text/javascript">decorateGeneric($$('.grid-row'), ['last', 'odd', 'even']);</script>
147
+ <?php endif; ?>
148
+ <?php echo $this->getToolbarHtml() ?>
149
+ </div>
150
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/list/_upsell.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <div class="up-sell">
29
+ <strong><?php echo $this->__('You may also be interested in the following product(s)') ?></strong>
30
+ <table class="products-grid" id="upsell-product-table">
31
+ <?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
32
+ <?php $this->resetItemsIterator() ?>
33
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
34
+ <tr>
35
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
36
+ <?php if($_link=$this->getIterableItem()): ?>
37
+ <td>
38
+ <h2 class="product-name">
39
+ <a href="<?php echo $_link->getProductUrl() ?>">
40
+ <img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" />
41
+ <span class="name_upsell"><?php echo $this->htmlEscape($_link->getName()) ?></span>
42
+ </a>
43
+ </h2>
44
+ <?php echo $this->getPriceHtml($_link, true) ?>
45
+ <?php echo $this->getReviewsSummaryHtml($_link) ?>
46
+ </td>
47
+ <?php else: ?>
48
+ <td class="empty">&nbsp;</td>
49
+ <?php endif; ?>
50
+ <?php endfor; ?>
51
+ </tr>
52
+ <?php endfor; ?>
53
+ </table>
54
+ <script type="text/javascript">decorateTable('upsell-product-table')</script>
55
+ </div>
56
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalog/product/list/related.phtml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <strong><?php echo $this->__('Related Products') ?></strong>
31
+ </div>
32
+ <div class="block-content">
33
+ <p class="relate-view"><?php echo $this->__('Check items to add to the cart or') ?>&nbsp;<a href="#" onclick="selectAllRelated(this); return false;" rel="nofollow"><?php echo $this->__('select all') ?></a></p>
34
+ <ol 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="item">
43
+ <div class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" /></div>
44
+ <div class="product-details">
45
+ <h2 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h2>
46
+ <?php echo $this->getPriceHtml($_item, true) ?>
47
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
48
+ <p><a class="wishlist-link" href="<?php echo $this->getAddToWishlistUrl($_item) ?>" rel="nofollow"><?php echo $this->__('Add to Wishlist') ?></a></p>
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
+ </div>
58
+ <script type="text/javascript">
59
+ //<![CDATA[
60
+ $$('.related-checkbox').each(function(elem){
61
+ Event.observe(elem, 'click', addRelatedToProduct)
62
+ });
63
+
64
+ var relatedProductsCheckFlag = false;
65
+ function selectAllRelated(txt){
66
+ if (relatedProductsCheckFlag == false) {
67
+ $$('.related-checkbox').each(function(elem){
68
+ elem.checked = true;
69
+ });
70
+ relatedProductsCheckFlag = true;
71
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
72
+ } else {
73
+ $$('.related-checkbox').each(function(elem){
74
+ elem.checked = false;
75
+ });
76
+ relatedProductsCheckFlag = false;
77
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
78
+ }
79
+ addRelatedToProduct();
80
+ }
81
+
82
+ function addRelatedToProduct(){
83
+ var checkboxes = $$('.related-checkbox');
84
+ var values = [];
85
+ for(var i=0;i<checkboxes.length;i++){
86
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
87
+ }
88
+ if($('related-products-field')){
89
+ $('related-products-field').value = values.join(',');
90
+ }
91
+ }
92
+ //]]>
93
+ </script>
94
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalog/product/list/toolbar.phtml ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 /*
35
+ <?php if($this->getCollection()->getSize()): ?>
36
+ <div class="pager">
37
+ <p class="amount">
38
+ <?php if($this->getLastPageNum()>1): ?>
39
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
40
+ <?php else: ?>
41
+ <?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?>
42
+ <?php endif; ?>
43
+ </p>
44
+
45
+ <fieldset class="limiter">
46
+ <label><?php echo $this->__('Show') ?></label>
47
+ <select onchange="setLocation(this.value)">
48
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
49
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
50
+ <?php echo $_limit ?>
51
+ </option>
52
+ <?php endforeach; ?>
53
+ </select> <?php echo $this->__('per page') ?>
54
+ </fieldset>
55
+
56
+ <?php if($this->getLastPageNum()>1): ?>
57
+ <div class="pages">
58
+ <strong><?php echo $this->__('Page:') ?></strong>
59
+ <ol>
60
+ <?php if (!$this->isFirstPage()): ?>
61
+ <li><a href="<?php echo $this->getPreviousPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" /></a></li>
62
+ <?php endif ?>
63
+ <?php foreach ($this->getPages() as $_page): ?>
64
+ <?php if ($this->isPageCurrent($_page)): ?>
65
+ <li><span class="current"><?php echo $_page ?></span></li>
66
+ <?php else: ?>
67
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
68
+ <?php endif ?>
69
+ <?php endforeach;; ?>
70
+ <?php if (!$this->isLastPage()): ?>
71
+ <li><a href="<?php echo $this->getNextPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" /></a></li>
72
+ <?php endif ?>
73
+ </ol>
74
+ </div>
75
+ <?php endif; ?>
76
+ </div>
77
+
78
+ <?php if( $this->isExpanded() ): ?>
79
+ <div class="sorter">
80
+ <?php if( $this->isEnabledViewSwitcher() ): ?>
81
+ <p class="view-mode">
82
+ <?php $_modes = $this->getModes(); ?>
83
+ <?php if($_modes && count($_modes)>1): ?>
84
+ <?php echo $this->__('View as') ?>:
85
+ <?php foreach ($this->getModes() as $_code=>$_label): ?>
86
+ <?php if($this->isModeActive($_code)): ?>
87
+ <strong><?php echo $_label ?></strong>&nbsp;
88
+ <?php else: ?>
89
+ <a href="<?php echo $this->getModeUrl($_code) ?>" rel="nofollow"><?php echo $_label ?></a>&nbsp;
90
+ <?php endif; ?>
91
+ <?php endforeach; ?>
92
+ <?php endif; ?>
93
+ </p>
94
+ <?php endif; ?>
95
+
96
+ <fieldset class="sort-by">
97
+ <label><?php echo $this->__('Sort by') ?></label>
98
+ <select onchange="setLocation(this.value)">
99
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
100
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
101
+ <?php echo $_order ?>
102
+ </option>
103
+ <?php endforeach; ?>
104
+ </select>
105
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
106
+ <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" rel="nofollow"><img src="<?php echo $this->getSkinUrl('images/sort_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
107
+ <?php else: ?>
108
+ <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" rel="nofollow"><img src="<?php echo $this->getSkinUrl('images/sort_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
109
+ <?php endif; ?>
110
+ </fieldset>
111
+ </div>
112
+ <?php endif; ?>
113
+ <?php endif ?>
114
+ */?>
115
+
116
+ <?php
117
+ /**
118
+ * Product list toolbar
119
+ *
120
+ * @see Mage_Catalog_Block_Product_List_Toolbar
121
+ */
122
+ ?>
123
+ <?php if($this->getCollection()->getSize()): ?>
124
+ <div class="toolbar">
125
+ <div class="pager">
126
+ <p class="amount">
127
+ <?php if($this->getLastPageNum()>1): ?>
128
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
129
+ <?php else: ?>
130
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
131
+ <?php endif; ?>
132
+ </p>
133
+
134
+ <div class="limiter">
135
+ <label><?php echo $this->__('Show') ?></label>
136
+ <select onchange="setLocation(this.value)">
137
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
138
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
139
+ <?php echo $_limit ?>
140
+ </option>
141
+ <?php endforeach; ?>
142
+ </select> <?php echo $this->__('per page') ?>
143
+ </div>
144
+ <?php echo $this->getPagerHtml() ?>
145
+
146
+
147
+ </div>
148
+
149
+ <?php if( $this->isExpanded() ): ?>
150
+ <div class="sorter">
151
+ <?php if( $this->isEnabledViewSwitcher() ): ?>
152
+ <p class="view-mode">
153
+ <?php $_modes = $this->getModes(); ?>
154
+ <?php if($_modes && count($_modes)>1): ?>
155
+ <label><?php echo $this->__('View as') ?>:</label>
156
+ <?php foreach ($this->getModes() as $_code=>$_label): ?>
157
+ <?php if($this->isModeActive($_code)): ?>
158
+ <strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>&nbsp;
159
+ <?php else: ?>
160
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>&nbsp;
161
+ <?php endif; ?>
162
+ <?php endforeach; ?>
163
+ <?php endif; ?>
164
+ </p>
165
+ <?php endif; ?>
166
+
167
+ <div class="sort-by">
168
+ <label><?php echo $this->__('Sort by') ?></label>
169
+ <select onchange="setLocation(this.value)">
170
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
171
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
172
+ <?php echo $_order ?>
173
+ </option>
174
+ <?php endforeach; ?>
175
+ </select>
176
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
177
+ <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow.gif') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
178
+ <?php else: ?>
179
+ <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow.gif') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
180
+ <?php endif; ?>
181
+ </div>
182
+ </div>
183
+ <?php endif; ?>
184
+ </div>
185
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalog/product/list/upsell.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <div class="up-sell">
29
+ <strong><?php echo $this->__('You may also be interested in the following product(s)') ?></strong>
30
+ <div class="products-grid-upsell" id="upsell-product-table">
31
+ <?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
32
+ <?php $this->resetItemsIterator() ?>
33
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
34
+ <ol class="grid-row">
35
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
36
+ <?php if($_link=$this->getIterableItem()): ?>
37
+ <li class="item<?php if($_j==0):?> first<?php elseif($_j==$this->getColumnCount()-1):?> last<?php endif;?>">
38
+ <a href="<?php echo $_link->getProductUrl() ?>" class="product-image">
39
+ <img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(125, 125) ?>" width="125" height="125" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" />
40
+ </a>
41
+ <h2 class="product-name"> <a href="<?php echo $_link->getProductUrl() ?>"><span class="name_upsell"><?php echo $this->htmlEscape($_link->getName()) ?></span></a></h2>
42
+ <?php echo $this->getPriceHtml($_link, true) ?>
43
+ <?php //echo $this->getReviewsSummaryHtml($_link) ?>
44
+ <div class="grid-addcart"><button class="button addcart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_link) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></div>
45
+ </li>
46
+ <?php else: ?>
47
+ <li class="empty">&nbsp;</li>
48
+ <?php endif; ?>
49
+ <?php endfor; ?>
50
+ </ol>
51
+ <?php endfor; ?>
52
+
53
+ </div>
54
+ <div class="clear_both"><span> </span></div>
55
+ </div>
56
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalog/product/new.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category default_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="page-title">
29
+ <strong><?php echo $this->__('New Products') ?></strong>
30
+ </div>
31
+ <table class="products-grid" id="new-products-list-table">
32
+ <tr>
33
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
34
+ <?php if ($i>5): continue; endif; ?>
35
+ <td>
36
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
37
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></h3>
38
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
39
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
40
+ <?php if($_product->isSaleable()): ?>
41
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
42
+ <?php else: ?>
43
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
44
+ <?php endif; ?>
45
+ <ul class="add-to-links">
46
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
47
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" rel="nofollow"><?php echo $this->__('Add to Wishlist') ?></a></li>
48
+ <?php endif; ?>
49
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
50
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" rel="nofollow"><?php echo $this->__('Add to Compare') ?></a></li>
51
+ <?php endif; ?>
52
+ </ul>
53
+ </td>
54
+ <?php $i++; endforeach; ?>
55
+ <?php for($i;$i%5!=0;$i++): ?>
56
+ <td class="empty">&nbsp;</td>
57
+ <?php endfor; ?>
58
+ </tr>
59
+ </table>
60
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/newproduct.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ {{block type="core/template" show_total="12" template="catalog/product/newproduct.phtml"}}
5
+ */
6
+ $totalPerPage = ($this->show_total) ? $this->show_total : 6;
7
+ $counter = 4;
8
+ $visibility = array(
9
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
10
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
11
+ );
12
+
13
+ $storeId = Mage::app()->getStore()->getId();
14
+ $_productCollection = Mage::getResourceModel('reports/product_collection')
15
+ ->addAttributeToSelect('*')
16
+ ->addAttributeToFilter('visibility', $visibility)
17
+ ->setOrder('created_at', 'desc')
18
+ ->setPageSize($totalPerPage);
19
+
20
+ //Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($_productCollection);
21
+ //Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($_productCollection);
22
+
23
+
24
+ ?>
25
+
26
+ <div class="new-product">
27
+ <?php if(count($_productCollection)>0):?>
28
+ <div class="new-product-title">
29
+ <strong><?php echo $this->__('New Products')?></strong>
30
+ </div>
31
+ <?php endif;?>
32
+ <div class="new-product-content">
33
+
34
+ <?php $_collectionSize = count($_productCollection) ?>
35
+ <?php $_columnCount = 3; ?>
36
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
37
+ <?php if($i++%$_columnCount==0): ?>
38
+ <ol class="grid-row">
39
+ <?php endif; ?>
40
+ <li class="item <?php if($i%3==1):?> first <?php elseif($i%3==0):?>last<?php endif;?>">
41
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(150, 150); ?>" width="150" height="150" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"/></a>
42
+
43
+ <h2><a class="product-name" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
44
+ <div class="see-all">
45
+ <span><?php
46
+ try{
47
+ $categories = $_product->getCategoryIds();
48
+ $category = Mage::getModel('catalog/category')->load($categories[0]);
49
+ echo 'See all '.'<a href="'.$category->getUrl().'" >'.$category->getName().'</a>';
50
+ } catch(Exception $e){}
51
+ ?></span></div>
52
+ <div class="clear_both"></div>
53
+ <button type="button" class="button addcart" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getAddUrl($_product);?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
54
+ </li>
55
+ <?php if($i%$_columnCount==0 || $i==$_collectionSize): ?>
56
+ </ol>
57
+ <?php endif; ?>
58
+ <?php //if($i>=3):break; endif;?>
59
+ <?php endforeach ?>
60
+ <script type="text/javascript">decorateGeneric($$('.grid-row'), ['last', 'odd', 'even']);</script>
61
+ <div class="clear_both"><span></span></div>
62
+ </div>
63
+ </div>
64
+
app/design/frontend/default/magezon/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+
36
+ <?php $_product = $this->getProduct() ?>
37
+ <?php $_id = $_product->getId() ?>
38
+
39
+ <?php $_weeeSeparator = ''; ?>
40
+
41
+ <?php $simplePricesTax = ($this->helper('tax')->displayPriceIncludingTax() || $this->helper('tax')->displayBothPrices()); ?>
42
+
43
+ <?php $_minimalPriceValue = $_product->getMinimalPrice() ?>
44
+ <?php $_minimalPrice = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $simplePricesTax) ?>
45
+
46
+ <?php if (!$_product->isGrouped()): ?>
47
+ <?php $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product); ?>
48
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))): ?>
49
+ <?php $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product); ?>
50
+ <?php $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product); ?>
51
+ <?php endif; ?>
52
+
53
+ <div class="price-box">
54
+ <?php $_price = $this->helper('tax')->getPrice($_product, $_product->getPrice()) ?>
55
+ <?php $_regularPrice = $this->helper('tax')->getPrice($_product, $_product->getPrice(), $simplePricesTax) ?>
56
+ <?php $_finalPrice = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice()) ?>
57
+ <?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true) ?>
58
+ <?php $_weeeDisplayType = Mage::helper('weee')->getPriceDisplayType(); ?>
59
+ <?php if ($_finalPrice == $_price): ?>
60
+ <?php if ($this->helper('tax')->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
61
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
62
+ <span class="price-excluding-tax">
63
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
64
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
65
+ </span>
66
+ <span class="price-including-tax">
67
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
68
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
69
+ </span>
70
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
71
+ <span class="price-excluding-tax">
72
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
73
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
74
+ </span>
75
+ <span class="price-including-tax">
76
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
77
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
78
+ <br />
79
+ <span class="weee">(<small>
80
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
81
+ <?php echo $_weeeSeparator; ?>
82
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
83
+ <?php $_weeeSeparator = ' + '; ?>
84
+ <?php endforeach; ?>
85
+ </small>)</span>
86
+ </span>
87
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
88
+ <span class="price-excluding-tax">
89
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
90
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
91
+ </span>
92
+ <span class="price-including-tax">
93
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
94
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
95
+ <br />
96
+ <span class="weee">(<small>
97
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
98
+ <?php echo $_weeeSeparator; ?>
99
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
100
+ <?php $_weeeSeparator = ' + '; ?>
101
+ <?php endforeach; ?>
102
+ </small>)</span>
103
+ </span>
104
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
105
+ <span class="price-excluding-tax">
106
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
107
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
108
+ </span>
109
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
110
+ <span class="weee">
111
+ <small>
112
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
113
+ </small>
114
+ </span>
115
+ <br />
116
+ <?php endforeach; ?>
117
+ <span class="price-including-tax">
118
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
119
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
120
+ </span>
121
+ <?php else: ?>
122
+ <span class="price-excluding-tax">
123
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
124
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
125
+ </span>
126
+ <span class="price-including-tax">
127
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
128
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
129
+ </span>
130
+ <?php endif; ?>
131
+ <?php else: ?>
132
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
133
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
134
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
135
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
136
+ <br />
137
+ <span class="weee">(<small>
138
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
139
+ <?php echo $_weeeSeparator; ?>
140
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
141
+ <?php $_weeeSeparator = ' + '; ?>
142
+ <?php endforeach; ?>
143
+ </small>)</span>
144
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
145
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
146
+ <br />
147
+ <span class="weee">(<small>
148
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
149
+ <?php echo $_weeeSeparator; ?>
150
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
151
+ <?php $_weeeSeparator = ' + '; ?>
152
+ <?php endforeach; ?>
153
+ </small>)</span>
154
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
155
+ <span class="regular-price"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span><br />
156
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
157
+ <span class="weee">
158
+ <small>
159
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
160
+ </small>
161
+ </span>
162
+ <br />
163
+ <?php endforeach; ?>
164
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
165
+ <?php else: ?>
166
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span>
167
+ <?php endif; ?>
168
+ <?php endif; ?>
169
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
170
+ <?php $_originalWeeeTaxAmount = Mage::helper('weee')->getOriginalAmount($_product); ?>
171
+
172
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
173
+ <p class="old-price">
174
+ <span class="price-label"><?php //echo $this->__('Regular Price:') ?></span>
175
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
176
+ </p>
177
+
178
+ <?php if ($this->helper('tax')->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
179
+ <p class="special-price">
180
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
181
+ <span class="price-excluding-tax">
182
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
183
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
184
+ </span>
185
+ <span class="price-including-tax">
186
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
187
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
188
+ </span>
189
+ </p>
190
+ <?php else: ?>
191
+ <p class="special-price">
192
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
193
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
194
+ </p>
195
+ <?php endif; ?>
196
+
197
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
198
+ <p class="old-price">
199
+ <span class="price-label"><?php //echo $this->__('Regular Price:') ?></span>
200
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
201
+ </p>
202
+
203
+ <p class="special-price">
204
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
205
+ <span class="price-excluding-tax">
206
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
207
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
208
+ </span>
209
+ <br />
210
+ <span class="weee">(<small>
211
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
212
+ <?php echo $_weeeSeparator; ?>
213
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
214
+ <?php $_weeeSeparator = ' + '; ?>
215
+ <?php endforeach; ?>
216
+ </small>)</span>
217
+ <span class="price-including-tax">
218
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
219
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
220
+ </span>
221
+ </p>
222
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
223
+ <p class="old-price">
224
+ <span class="price-label"><?php //echo $this->__('Regular Price:') ?></span>
225
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
226
+ </p>
227
+
228
+ <p class="special-price">
229
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
230
+ <span class="price-excluding-tax">
231
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
232
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
233
+ </span>
234
+ <br />
235
+ <span class="weee">(<small>
236
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
237
+ <?php echo $_weeeSeparator; ?>
238
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
239
+ <?php $_weeeSeparator = ' + '; ?>
240
+ <?php endforeach; ?>
241
+ </small>)</span>
242
+ <span class="price-including-tax">
243
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
244
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
245
+ </span>
246
+ </p>
247
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
248
+ <p class="old-price">
249
+ <span class="price-label"><?php //echo $this->__('Regular Price:') ?></span>
250
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
251
+ </p>
252
+
253
+ <p class="special-price">
254
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
255
+ <span class="price-excluding-tax">
256
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
257
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
258
+ </span>
259
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
260
+ <span class="weee">
261
+ <small>
262
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
263
+ </small>
264
+ </span>
265
+ <br />
266
+ <?php endforeach; ?>
267
+ <span class="price-including-tax">
268
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
269
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
270
+ </span>
271
+ </p>
272
+ <?php else: // excl. ?>
273
+ <p class="old-price">
274
+ <span class="price-label"><?php //echo $this->__('Regular Price:') ?></span>
275
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
276
+ </p>
277
+
278
+ <?php if ($this->helper('tax')->displayBothPrices() && $_finalPriceInclTax != $_finalPrice): ?>
279
+ <p class="special-price">
280
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
281
+ <span class="price-excluding-tax">
282
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
283
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
284
+ </span>
285
+ <span class="price-including-tax">
286
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
287
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
288
+ </span>
289
+ </p>
290
+ <?php else: ?>
291
+ <p class="special-price">
292
+ <span class="price-label"><?php //echo $this->__('Special Price:') ?></span>
293
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
294
+ </p>
295
+ <?php endif; ?>
296
+ <?php endif; ?>
297
+
298
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
299
+
300
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
301
+
302
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
303
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))): ?>
304
+ <?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
305
+ <?php endif; ?>
306
+
307
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link" rel="nofollow">
308
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
309
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_minimalPriceDisplayValue,true,false) ?></span>
310
+ </a>
311
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
312
+ </div>
313
+
314
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
315
+ <?php
316
+ $_exclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = null);
317
+ $_inclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = true);
318
+ ?>
319
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
320
+ <div class="price-box">
321
+ <p class="minimal-price">
322
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
323
+ <?php if ($this->helper('tax')->displayBothPrices() && ($_exclTax !== $_inclTax)): ?>
324
+ <span class="price-excluding-tax">
325
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
326
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_exclTax, true, false) ?></span>
327
+ </span>
328
+ <span class="price-including-tax">
329
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
330
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_inclTax, true, false) ?></span>
331
+ </span>
332
+ <?php else: ?>
333
+ <?php
334
+ $_showPrice = $_inclTax;
335
+ if (!$this->helper('tax')->displayPriceIncludingTax()) {
336
+ $_showPrice = $_exclTax;
337
+ }
338
+ ?>
339
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_showPrice, true, false) ?></span>
340
+ <?php endif; ?>
341
+ </p>
342
+ </div>
343
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
344
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/default/magezon/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
35
+ $_helper = $this->helper('catalog/output');
36
+ $_product = $this->getProduct();
37
+ ?>
38
+ <script type="text/javascript">
39
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
40
+ </script>
41
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
42
+ <div class="product-view">
43
+ <div class="product-essential">
44
+ <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
45
+ <fieldset class="no-display">
46
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
47
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
48
+ </fieldset>
49
+
50
+ <div class="product-img-box">
51
+ <?php echo $this->getChildHtml('media') ?>
52
+ </div>
53
+
54
+ <div class="product-shop">
55
+ <div class="product-name">
56
+ <h1><?php echo $_helper->productAttribute($_product, $this->htmlEscape($_product->getName()), 'name') ?></h1>
57
+ </div>
58
+
59
+ <?php if ($this->canEmailToFriend()): ?>
60
+ <a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" rel="nofollow"><?php echo $this->__('Email to a Friend') ?></a>
61
+ <?php endif; ?>
62
+
63
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
64
+ <?php echo $this->getChildHtml('alert_urls') ?>
65
+ <?php echo $this->getChildHtml('product_type_data') ?>
66
+ <?php echo $this->getChildHtml('tierprices') ?>
67
+
68
+ <?php if (!$this->hasOptions()):?>
69
+ <div class="add-to-box">
70
+ <?php if($_product->isSaleable()): ?>
71
+ <?php echo $this->getChildHtml('addtocart') ?>
72
+ <div class="clear_both"><span></span></div>
73
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
74
+ <span class="or"><?php echo $this->__('OR') ?></span>
75
+ <?php endif; ?>
76
+ <?php endif; ?>
77
+ <?php echo $this->getChildHtml('addto') ?>
78
+ </div>
79
+ <?php else:?>
80
+ <?php echo $this->getChildHtml('addto') ?>
81
+ <?php endif; ?>
82
+
83
+ <?php if ($_product->getShortDescription()):?>
84
+ <div class="short-description std">
85
+ <strong><?php echo $this->__('Quick Overview') ?></strong>
86
+ <p><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?><p>
87
+ </div>
88
+ <?php endif;?>
89
+
90
+ <?php echo $this->getChildHtml('other');?>
91
+
92
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
93
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
94
+ <?php endif;?>
95
+
96
+ </div>
97
+ <div class="clearer"></div>
98
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
99
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
100
+ <?php endif;?>
101
+ </form>
102
+ <script type="text/javascript">
103
+ //<![CDATA[
104
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
105
+ productAddToCartForm.submit = function(){
106
+ if (this.validator.validate()) {
107
+ this.form.submit();
108
+ }
109
+ }.bind(productAddToCartForm);
110
+ //]]>
111
+ </script>
112
+ </div>
113
+
114
+ <div class="product-collateral">
115
+ <?php if ($_description = $this->getChildHtml('description')):?>
116
+ <div class="description">
117
+ <strong><?php echo $this->__('Product Description') ?></strong>
118
+ <?php echo $_description ?>
119
+ </div>
120
+ <?php endif;?>
121
+ <?php if ($_additional = $this->getChildHtml('additional')):?>
122
+ <div class="additional">
123
+ <strong><?php echo $this->__('Additional Information') ?></strong>
124
+ <?php echo $_additional ?>
125
+ </div>
126
+ <?php endif;?>
127
+ <?php echo $this->getChildHtml('upsell_products') ?>
128
+ <?php echo $this->getChildHtml('product_additional_data') ?>
129
+ </div>
130
+ </div>
app/design/frontend/default/magezon/template/catalog/product/view/additional.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php foreach ($this->getChildHtmlList() as $_html): ?>
28
+ <?php echo $_html ?>
29
+ <?php endforeach; ?>
app/design/frontend/default/magezon/template/catalog/product/view/addto.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <ul class="add-to-links">
30
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
31
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" rel="nofollow"><?php echo $this->__('Add to Wishlist') ?></a></li>
32
+ <?php endif; ?>
33
+ <?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product) ): ?>
34
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" rel="nofollow"><?php echo $this->__('Add to Compare') ?></a></li>
35
+ <?php endif; ?>
36
+ </ul>
37
+ <div class="clear_both"><span></span></div>
app/design/frontend/default/magezon/template/catalog/product/view/addtocart.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <fieldset class="add-to-cart">
32
+ <legend><?php echo $this->__('Add Items to Cart') ?></legend>
33
+ <?php if(!$_product->isGrouped()): ?>
34
+ <label for="qty"><?php echo $this->__('Qty') ?>:</label>
35
+ <input type="text" class="input-text qty" name="qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" />
36
+ <?php endif; ?>
37
+ <button type="button" class="button addcart" onclick="productAddToCartForm.submit()"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
38
+ </fieldset>
39
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/view/attributes.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product additional attributes template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Attributes
31
+ */
32
+ ?>
33
+ <?php
34
+ $_helper = $this->helper('catalog/output');
35
+ $_product = $this->getProduct()
36
+ ?>
37
+ <?php if($_additional = $this->getAdditionalData()): ?>
38
+ <table class="data-table" id="product-attribute-specs-table">
39
+ <col width="30%" />
40
+ <col width="70%" />
41
+ <?php foreach ($_additional as $_data): ?>
42
+ <tr>
43
+ <th class="label"><?php echo $this->__($_data['label']) ?></th>
44
+ <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
45
+ </tr>
46
+ <?php endforeach; ?>
47
+ </table>
48
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
49
+ <?php endif;?>
app/design/frontend/default/magezon/template/catalog/product/view/description.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product description template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Description
31
+ */
32
+ ?>
33
+ <div class="std">
34
+ <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), nl2br($this->getProduct()->getDescription()), 'description') ?>
35
+ </div>
app/design/frontend/default/magezon/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <?php
34
+ $_product = $this->getProduct();
35
+ $_helper = $this->helper('catalog/output');
36
+ ?>
37
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
38
+ <p class="product-image product-image-zoom">
39
+ <?php
40
+ $_img = '<img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image').'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" />';
41
+ echo $_helper->productAttribute($_product, $_img, 'image');
42
+ ?>
43
+ </p>
44
+ <p class="zoom-notice" id="track_hint"><?php echo $this->__('Double click on above image to view full picture') ?></p>
45
+ <div class="zoom">
46
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" title="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
47
+ <div id="track">
48
+ <div id="handle"></div>
49
+ </div>
50
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" title="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
51
+ </div>
52
+ <script type="text/javascript">
53
+ //<![CDATA[
54
+ Event.observe(window, 'load', function() {
55
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out', 'track_hint');
56
+ });
57
+ //]]>
58
+ </script>
59
+ <?php else: ?>
60
+ <p class="product-image">
61
+ <?php
62
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(309, 265).'" alt="'.$this->htmlEscape($_product->getImageLabel()).'" title="'.$this->htmlEscape($_product->getImageLabel()).'" />';
63
+ echo $_helper->productAttribute($_product, $_img, 'image');
64
+ ?>
65
+ </p>
66
+ <?php endif; ?>
67
+ <?php if (count($this->getGalleryImages()) > 0): ?>
68
+ <div class="more-views">
69
+ <strong><?php echo $this->__('More Views') ?></strong>
70
+ <ul>
71
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
72
+ <li>
73
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=300,height=300,left=50,top=50,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(67, 54); ?>" width="67" height="54" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
74
+ </li>
75
+ <?php endforeach; ?>
76
+ </ul>
77
+ </div>
78
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/view/options.phtml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
29
+ <?php if (count($_options)):?>
30
+ <script type="text/javascript">
31
+ //<![CDATA[
32
+ var optionFileUpload = {
33
+ productForm : $('product_addtocart_form'),
34
+ formAction : '',
35
+ formElements : {},
36
+ upload : function(element){
37
+ this.formElements = this.productForm.getElementsBySelector('input', 'select', 'textarea', 'button');
38
+ this.removeRequire(element.readAttribute('id').sub('option_', ''));
39
+
40
+ template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"><\/iframe>';
41
+
42
+ Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
43
+
44
+ this.formAction = this.productForm.action;
45
+ this.productForm.action = '<?php echo $this->getUrl('*/product/upload') ?>option_id/'+element.readAttribute('id').sub('option_', '');
46
+ this.productForm.target = 'upload_target';
47
+ this.productForm.submit();
48
+ this.productForm.target = '';
49
+ this.productForm.action = this.formAction;
50
+ },
51
+ removeRequire : function(skipElementId){
52
+ for(var i=0; i<this.formElements.length; i++){
53
+ if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
54
+ this.formElements[i].disabled='disabled';
55
+ }
56
+ }
57
+ },
58
+ addRequire : function(skipElementId){
59
+ for(var i=0; i<this.formElements.length; i++){
60
+ if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
61
+ this.formElements[i].disabled='';
62
+ }
63
+ }
64
+ },
65
+ uploadCallback : function(data){
66
+ this.addRequire(data.optionId);
67
+ $('upload_target').remove();
68
+
69
+ if (data.error) {
70
+
71
+ } else {
72
+ $('option_'+data.optionId+'_uploaded_file').value = data.fileName;
73
+ $('option_'+data.optionId+'_file').value = '';
74
+ $('option_'+data.optionId+'_file').hide();
75
+ $('option_'+data.optionId+'').hide();
76
+ template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'"><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')">Remove file<\/a>';
77
+
78
+ Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
79
+ }
80
+ },
81
+ removeFile : function(optionId)
82
+ {
83
+ $('option_'+optionId+'_uploaded_file').value= '';
84
+ $('option_'+optionId+'_file').show();
85
+ $('option_'+optionId+'').show();
86
+
87
+ $('option_'+optionId+'_file_box').remove();
88
+ }
89
+ }
90
+ var optionTextCounter = {
91
+ count : function(field,cntfield,maxlimit){
92
+ if (field.value.length > maxlimit){
93
+ field.value = field.value.substring(0, maxlimit);
94
+ } else {
95
+ cntfield.innerHTML = maxlimit - field.value.length;
96
+ }
97
+ }
98
+ }
99
+
100
+ Product.Options = Class.create();
101
+ Product.Options.prototype = {
102
+ initialize : function(config){
103
+ this.config = config;
104
+ this.reloadPrice();
105
+ },
106
+ reloadPrice : function(){
107
+ price = new Number();
108
+ config = this.config;
109
+ skipIds = [];
110
+ $$('.product-custom-option').each(function(element){
111
+ var optionId = 0;
112
+ element.name.sub(/[0-9]+/, function(match){
113
+ optionId = match[0];
114
+ });
115
+ if (this.config[optionId]) {
116
+ if (element.type == 'checkbox' || element.type == 'radio') {
117
+ if (element.checked) {
118
+ if (config[optionId][element.getValue()]) {
119
+ price += parseFloat(config[optionId][element.getValue()]);
120
+ }
121
+ }
122
+ } else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
123
+ dateSelected = true;
124
+ $$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
125
+ if (dt.getValue() == '') {
126
+ dateSelected = false;
127
+ }
128
+ });
129
+ if (dateSelected) {
130
+ price += parseFloat(this.config[optionId]);
131
+ skipIds[optionId] = optionId;
132
+ }
133
+ } else if(element.type == 'select-one' || element.type == 'select-multiple') {
134
+ if (element.options) {
135
+ $A(element.options).each(function(selectOption){
136
+ if (selectOption.selected) {
137
+ if (this.config[optionId][selectOption.value]) {
138
+ price += parseFloat(this.config[optionId][selectOption.value]);
139
+ }
140
+ }
141
+ });
142
+ }
143
+ } else {
144
+ if (element.getValue().strip() != '') {
145
+ price += parseFloat(this.config[optionId]);
146
+ }
147
+ }
148
+ }
149
+ });
150
+ try {
151
+ optionsPrice.changePrice('options', price);
152
+ optionsPrice.reload();
153
+ } catch (e) {
154
+
155
+ }
156
+ }
157
+ }
158
+ function validateOptionsCallback(elmId, result){
159
+ var container = $(elmId).up('ul.options-list');
160
+ if (result == 'failed') {
161
+ container.removeClassName('validation-passed');
162
+ container.addClassName('validation-failed');
163
+ } else {
164
+ container.removeClassName('validation-failed');
165
+ container.addClassName('validation-passed');
166
+ }
167
+ }
168
+ var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
169
+ //]]>
170
+ </script>
171
+ <dl>
172
+ <?php foreach($_options as $_option): ?>
173
+ <?php echo $this->getOptionHtml($_option) ?>
174
+ <?php endforeach; ?>
175
+ </dl>
176
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalog/product/view/options/js.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ //<![CDATA[
3
+ var DateOption = Class.create({
4
+
5
+ getDaysInMonth: function(month, year)
6
+ {
7
+ var curDate = new Date();
8
+ if (!month) {
9
+ month = curDate.getMonth();
10
+ }
11
+ if (!year) {
12
+ year = curDate.getFullYear();
13
+ }
14
+ return 32 - new Date(year, month, 32).getDate();
15
+ },
16
+
17
+ reloadMonth: function(event)
18
+ {
19
+ var selectEl = event.findElement();
20
+ var idParts = selectEl.id.split("_");
21
+ if (idParts.length != 3) {
22
+ return false;
23
+ }
24
+ var optionIdPrefix = idParts[0] + "_" + idParts[1];
25
+ var month = parseInt($(optionIdPrefix + "_month").value);
26
+ var year = parseInt($(optionIdPrefix + "_year").value);
27
+ var dayEl = $(optionIdPrefix + "_day");
28
+
29
+ var days = this.getDaysInMonth(month > 0 ? month-1 : month, year);
30
+
31
+ //remove days
32
+ for (var i = dayEl.options.length - 1; i >= 0; i--) {
33
+ if (dayEl.options[i].value > days) {
34
+ dayEl.remove(dayEl.options[i].index);
35
+ }
36
+ }
37
+
38
+ // add days
39
+ var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
40
+ for (i = lastDay + 1; i <= days; i++) {
41
+ this.addOption(dayEl, i, i);
42
+ }
43
+ },
44
+
45
+ addOption: function(select, text, value)
46
+ {
47
+ var option = document.createElement('OPTION');
48
+ option.value = value;
49
+ option.text = text;
50
+
51
+ if (select.options.add) {
52
+ select.options.add(option);
53
+ } else {
54
+ select.appendChild(option);
55
+ }
56
+ }
57
+ });
58
+ var dateOption = new DateOption();
59
+ //]]>
60
+ </script>
app/design/frontend/default/magezon/template/catalog/product/view/options/type/date.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_option = $this->getOption() ?>
28
+ <?php $_optionId = $_option->getId() ?>
29
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
30
+ <?php echo $this->getFormatedPrice() ?></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+
33
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
34
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
35
+ <?php echo $this->getDateHtml() ?>
36
+ <?php endif; ?>
37
+
38
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
39
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE): ?>
40
+
41
+ <?php echo $this->getDateHtml() ?>
42
+
43
+ <?php if (!$this->useCalendar()): ?>
44
+ <script type="text/javascript">
45
+ Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
46
+ Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
47
+ </script>
48
+ <?php endif; ?>
49
+
50
+ <?php endif; ?>
51
+
52
+ <?php if ($_option->getIsRequire()): ?>
53
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
54
+ <script type="text/javascript">
55
+ //<![CDATA[
56
+ Validation.addAllThese(
57
+ [
58
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
59
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
60
+ for (var i=0; i < dateTimeParts.length; i++) {
61
+ if (dateTimeParts[i].value == "") return false;
62
+ }
63
+ return true;
64
+ }]
65
+ ]
66
+ );
67
+ //]]>
68
+ </script>
69
+ <?php endif; ?>
70
+ </dd>
app/design/frontend/default/magezon/template/catalog/product/view/options/type/default.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_option = $this->getOption() ?>
28
+ <dt>
29
+ <label><?php echo $this->htmlEscape($_option->getTitle()) ?></label>
30
+ </dt>
app/design/frontend/default/magezon/template/catalog/product/view/options/type/file.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_option = $this->getOption() ?>
28
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <input type="file" id="option_<?php echo $_option->getId() ?>_file" name="options_<?php echo $_option->getId() ?>_file" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" onchange="opConfig.reloadPrice()"/>
32
+ <?php if ($_option->getFileExtension()): ?>
33
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
34
+ <?php endif; ?>
35
+ <?php if ($_option->getImageSizeX() > 0): ?>
36
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image width')?>: <strong><?php echo $_option->getImageSizeX() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
37
+ <?php endif; ?>
38
+ <?php if ($_option->getImageSizeY() > 0): ?>
39
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum image height')?>: <strong><?php echo $_option->getImageSizeY() ?> <?php echo Mage::helper('catalog')->__('px.')?></strong></p>
40
+ <?php endif; ?>
41
+ </dd>
app/design/frontend/default/magezon/template/catalog/product/view/options/type/select.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Options_Type_Select */ ?>
28
+ <?php $_option = $this->getOption() ?>
29
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <?php echo $this->getValuesHtml() ?>
32
+ <?php if ($_option->getIsRequire()): ?>
33
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
34
+ <span id="options-<?php echo $_option->getId() ?>-container"></span>
35
+ <?php endif; ?>
36
+ <?php endif;?>
37
+ </dd>
app/design/frontend/default/magezon/template/catalog/product/view/options/type/text.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_option = $this->getOption() ?>
28
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
32
+ <input type="text" onchange="opConfig.reloadPrice()" id="options_<?php echo $_option->getId() ?>_text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" value="" />
33
+ <?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
34
+ <textarea id="options_<?php echo $_option->getId() ?>_text" onchange="opConfig.reloadPrice()" class="<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" rows="5" cols="25"></textarea>
35
+ <?php endif; ?>
36
+ <?php if ($_option->getMaxCharacters()): ?>
37
+ <p><?php echo Mage::helper('catalog')->__('Maximum number of characters')?>: <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
38
+ <?php endif; ?>
39
+ </dd>
app/design/frontend/default/magezon/template/catalog/product/view/options/wrapper.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="product-options" id="product-options-wrapper">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ <?php if ($this->hasRequiredOptions()):?>
30
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
31
+ <?php endif;?>
32
+ </fieldset>
33
+ <script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
app/design/frontend/default/magezon/template/catalog/product/view/options/wrapper/bottom.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="product-options-bottom">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ </div>
app/design/frontend/default/magezon/template/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="price-box" id="product_price">
28
+ <p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
29
+ <p class="special-price"><?php echo $this->getPrice() ?></p>
30
+ </div>
app/design/frontend/default/magezon/template/catalog/product/view/price_clone.phtml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 echo $this->getPriceHtml($_product, false, '_clone') ?>
app/design/frontend/default/magezon/template/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ $_product = $this->getProduct();
33
+ $_tierPrices = $this->getTierPrices();
34
+ $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true);
35
+
36
+ $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
37
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
38
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
39
+ }
40
+
41
+ ?>
42
+ <?php if (count($_tierPrices) > 0): ?>
43
+ <ul class="<?php echo ($this->getInGrouped() ? 'product-pricing-grouped' : 'product-pricing'); ?>">
44
+ <?php if ($this->getInGrouped()): ?>
45
+ <?php $_tierPrices = $this->getTierPrices($_product); ?>
46
+ <?php endif; ?>
47
+ <?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
48
+
49
+ <?php foreach ($_tierPrices as $_price): ?>
50
+ <?php if ($this->helper('tax')->displayBothPrices() && $_price['formated_price'] != $_price['formated_price_incl_tax']): ?>
51
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
52
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price_incl_weee_only'], $_price['formated_price_incl_weee']) ?>
53
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
54
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
55
+ <?php if ($_weeeTaxAttributes): ?>
56
+ (<small>
57
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
58
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
59
+ <?php echo $separator; ?>
60
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
61
+ <?php endforeach; ?>
62
+ </small>)
63
+ <?php endif; ?>
64
+ <?php echo $this->__('each') ?>
65
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
66
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
67
+ <?php if ($_weeeTaxAttributes): ?>
68
+ (<small>
69
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
70
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
71
+ <?php echo $separator; ?>
72
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
73
+ <?php endforeach; ?>
74
+ </small>)
75
+ <?php endif; ?>
76
+ <?php echo $this->__('each') ?>
77
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
78
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
79
+ <?php if ($_weeeTaxAttributes): ?>
80
+ (<small>
81
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
82
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
83
+ <?php endforeach; ?>
84
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
85
+ </small>)
86
+ <?php endif; ?>
87
+ <?php echo $this->__('each') ?>
88
+ <?php else: ?>
89
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price'], $_price['formated_price_incl_tax']) ?>
90
+ <?php endif; ?>
91
+ <?php else: ?>
92
+ <?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
94
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
95
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
96
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
97
+ <?php if ($_weeeTaxAttributes): ?>
98
+ (</small>
99
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
100
+ <?php echo $separator; ?>
101
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
102
+ <?php $separator = ' + '; endforeach; ?>
103
+ <small>)
104
+ <?php endif; ?>
105
+ <?php echo $this->__('each') ?>
106
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
107
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
108
+ <?php if ($_weeeTaxAttributes): ?>
109
+ (</small>
110
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
111
+ <?php echo $separator; ?>
112
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
113
+ <?php $separator = ' + '; endforeach; ?>
114
+ <small>)
115
+ <?php endif; ?>
116
+ <?php echo $this->__('each') ?>
117
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
118
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
119
+ <?php if ($_weeeTaxAttributes): ?>
120
+ (<small>
121
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
122
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
123
+ <?php endforeach; ?>
124
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
125
+ </small>)
126
+ <?php endif; ?>
127
+ <?php echo $this->__('each') ?>
128
+ <?php else: ?>
129
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
130
+ <?php endif; ?>
131
+ <?php else: ?>
132
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
133
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
134
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
135
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
136
+ <?php if ($_weeeTaxAttributes): ?>
137
+ (<small>
138
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
139
+ <?php echo $separator; ?>
140
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
141
+ <?php $separator = ' + '; endforeach; ?>
142
+ </small>)
143
+ <?php endif; ?>
144
+ <?php echo $this->__('each') ?>
145
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
146
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
147
+ <?php if ($_weeeTaxAttributes): ?>
148
+ (<small>
149
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
150
+ <?php echo $separator; ?>
151
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
152
+ <?php $separator = ' + '; endforeach; ?>
153
+ </small>)
154
+ <?php endif; ?>
155
+ <?php echo $this->__('each') ?>
156
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
157
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
158
+ <?php if ($_weeeTaxAttributes): ?>
159
+ (<small>
160
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
161
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
162
+ <?php endforeach; ?>
163
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
164
+ </small>)
165
+ <?php endif; ?>
166
+ <?php echo $this->__('each') ?>
167
+ <?php else: ?>
168
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
169
+ <?php endif; ?>
170
+ <?php endif; ?>
171
+ <?php endif; ?>
172
+ <?php if (!$this->getInGrouped()): ?>
173
+ <?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
174
+ || ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
175
+ <?php echo $this->__('and') ?>&nbsp;<strong class="benefit"><?php echo $this->__('save')?>&nbsp;<?php echo $_price['savePercent']?>%
176
+ <?php endif ?></strong>
177
+ <?php endif; ?>
178
+ </li>
179
+ <?php endforeach ?>
180
+ </ul>
181
+ <?php endif;?>
app/design/frontend/default/magezon/template/catalog/product/view/type/configurable.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Super product options
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Super_Config
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+ <?php if($_product->isSaleable()): ?>
35
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="in-stock"><?php echo $this->__('In stock') ?></span></p>
36
+ <?php else: ?>
37
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
38
+ <?php endif; ?>
39
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/magezon/template/catalog/product/view/type/grouped.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 $_product = $this->getProduct() ?>
35
+ <?php $_associatedProducts = $this->getAssociatedProducts() ?>
36
+ <?php if($_product->isSaleable() && count($_associatedProducts)): ?>
37
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="in-stock"><?php echo $this->__('In stock') ?></span></p>
38
+ <?php else: ?>
39
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
40
+ <?php endif; ?>
41
+ <table class="data-table grouped-items" id="super-product-table">
42
+ <col />
43
+ <col />
44
+ <col width="1" />
45
+ <thead>
46
+ <tr>
47
+ <th><?php echo $this->__('Product Name') ?></th>
48
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
49
+ <?php if ($_product->isSaleable()): ?>
50
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
51
+ <?php endif; ?>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <?php if (count($_associatedProducts)): ?>
56
+ <?php foreach ($_associatedProducts as $_item): ?>
57
+ <tr>
58
+ <td><?php echo $this->htmlEscape($_item->getName()) ?></td>
59
+ <td class="a-right">
60
+ <?php echo $this->getPriceHtml($_item, true) ?>
61
+ </td>
62
+ <?php if ($_product->isSaleable()): ?>
63
+ <td class="a-center">
64
+ <?php if ($_item->isSaleable()) : ?>
65
+ <input name="super_group[<?php echo $_item->getId() ?>]" value="<?php echo $_item->getQty()*1 ?>" type="text" class="input-text qty" />
66
+ <?php else: ?>
67
+ <p class="availability"><span class="out-of-stock"><?php echo $this->__('Out of stock.') ?></span></p>
68
+ <?php endif; ?>
69
+ </td>
70
+ <?php endif; ?>
71
+ </tr>
72
+ <?php endforeach; ?>
73
+ <?php else: ?>
74
+ <tr>
75
+ <td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
76
+ </tr>
77
+ <?php endif; ?>
78
+ </tbody>
79
+ </table>
80
+ <script type="text/javascript">decorateTable('super-product-table')</script>
app/design/frontend/default/magezon/template/catalog/product/view/type/options/configurable.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ ?>
32
+ <?php if ($_product->isSaleable() && count($_attributes)):?>
33
+ <dl>
34
+ <?php foreach($_attributes as $_attribute): ?>
35
+ <dt><label><?php echo $_attribute->getLabel() ?><span class="required">&nbsp;*</span></label></dt>
36
+ <dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
37
+ <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
38
+ <option><?php echo $this->__('Choose an Option...') ?></option>
39
+ </select>
40
+ </dd>
41
+ <?php endforeach; ?>
42
+ </dl>
43
+ <script type="text/javascript">
44
+ var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
45
+ </script>
46
+ <?php endif;?>
app/design/frontend/default/magezon/template/catalog/product/view/type/simple.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Simple product deatle template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Type_Simple
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+
35
+ <?php if($_product->isSaleable()): ?>
36
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="in-stock"><?php echo $this->__('In stock') ?></span></p>
37
+ <?php else: ?>
38
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
39
+ <?php endif; ?>
40
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/magezon/template/catalog/product/view/type/virtual.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Simple product deatle template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Type_Simple
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+
35
+ <?php if($_product->isSaleable()): ?>
36
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="in-stock"><?php echo $this->__('In stock') ?></span></p>
37
+ <?php else: ?>
38
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
39
+ <?php endif; ?>
40
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/magezon/template/catalog/seo/sitemap.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Catalog_Block_Seo_Sitemap_
30
+ */
31
+ ?>
32
+ <?php $_items = $this->getCollection(); ?>
33
+ <?php if($_items->getSize()): ?>
34
+ <ul class="sitemap">
35
+ <?php foreach ($_items as $_item): ?>
36
+ <li><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $_item->name ?></a></li>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <?php else: ?>
40
+ <p class="note-msg">
41
+ <?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
42
+ </p>
43
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalog/seo/sitemap/container.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->getTitle() ?></h1>
29
+ </div>
30
+ <?php echo $this->getChildHtml('links') ?>
31
+ <?php echo $this->getChildHtml('pager_top') ?>
32
+ <?php echo $this->getChildHtml('sitemap') ?>
33
+ <?php echo $this->getChildHtml('pager_bottom') ?>
app/design/frontend/default/magezon/template/catalog/seo/tree.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Catalog_Block_Seo_Sitemap_
30
+ */
31
+ ?>
32
+ <?php $_items = $this->getCollection(); ?>
33
+ <?php if($_items->getSize()): ?>
34
+ <ul class="sitemap">
35
+ <?php foreach ($_items as $_item): ?>
36
+ <li class="level-<?php echo $this->getLevel($_item) ?>" <?php echo $this->getLevel($_item)?'style="padding-left:' . $this->getLevel($_item, 2) . '0px;"':'' ?>><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $_item->name ?></a></li>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <?php else: ?>
40
+ <p class="note-msg">
41
+ <?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
42
+ </p>
43
+ <?php endif ?>
app/design/frontend/default/magezon/template/catalogsearch/advanced/form.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <div class="page-title">
35
+ <h2><?php echo $this->__('Catalog Advanced Search') ?></h2>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
39
+ <fieldset>
40
+ <h3><?php echo $this->__('Search Settings') ?></h3>
41
+ <ul class="form-list group-select" id="advanced-search-list">
42
+ <?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
43
+ <?php $_code = $_attribute->getAttributeCode() ?>
44
+ <li>
45
+ <label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label><br />
46
+ <?php switch($this->getAttributeInputType($_attribute)):
47
+ case 'number': ?>
48
+ <div class="range">
49
+ <input type="text" name="<?php echo $_code ?>[from]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" />
50
+ -
51
+ <input type="text" name="<?php echo $_code ?>[to]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" />
52
+ </div>
53
+ <?php break;
54
+ case 'price': ?>
55
+ <div class="range">
56
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
57
+ -
58
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
59
+
60
+ (<?php echo $this->getCurrency($_attribute); ?>)
61
+ </div>
62
+ <?php break;
63
+ case 'select': ?>
64
+ <?php echo $this->getAttributeSelectElement($_attribute) ?>
65
+ <?php break;
66
+ case 'yesno': ?>
67
+ <?php echo $this->getAttributeYesNoElement($_attribute) ?>
68
+ <?php break;
69
+ case 'date': ?>
70
+ <?php echo $this->getDateInput($_attribute, 'from') ?>
71
+ -
72
+ <?php echo $this->getDateInput($_attribute, 'to') ?>
73
+ <?php break;
74
+ default: ?>
75
+ <input type="text" name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" />
76
+ <?php endswitch; ?>
77
+ </li>
78
+ <?php endforeach; ?>
79
+ </ul>
80
+ <script type="text/javascript">decorateList('advanced-search-list')</script>
81
+ <p class="required">* <?php echo $this->__('Required Fields') ?></p>
82
+ <div class="buttons-set">
83
+ <button type="submit" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
84
+ </div>
85
+ </fieldset>
86
+ </form>
87
+ <script type="text/javascript">
88
+ //<![CDATA[
89
+ var dataForm = new VarienForm('form-validate', true);
90
+ //]]>
91
+ </script>
app/design/frontend/default/magezon/template/catalogsearch/advanced/result.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Catalog Advanced Search') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if($this->getResultCount()): ?>
32
+ <p>
33
+ <?php echo $this->helper('catalogsearch')
34
+ ->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
35
+ </p>
36
+ <?php else: ?>
37
+ <p class="error-msg"><?php echo $this->helper('catalogsearch')->__('No items were found using the following search criteria.');?> <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a></p>
38
+ <?php endif; ?>
39
+
40
+ <?php $searchCriterias=$this->getSearchCriterias(); ?>
41
+ <div class="search-summary">
42
+ <?php foreach (array('left', 'right') as $side): ?>
43
+ <?php if(@$searchCriterias[$side]): ?>
44
+ <ul>
45
+ <?php foreach($searchCriterias[$side] as $criteria): ?>
46
+ <li><strong><?php echo $this->htmlEscape($this->helper('catalog')->__($criteria['name'])); ?>:</strong> <?php echo $this->htmlEscape($criteria['value']); ?></li>
47
+ <?php endforeach; ?>
48
+ </ul>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </div>
52
+ <?php if($this->getResultCount()): ?>
53
+ <p class="note-msg">
54
+ <?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
55
+ <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
56
+ </p>
57
+ <?php endif; ?>
58
+ <?php if($this->getResultCount()): ?>
59
+ <?php echo $this->getProductListHtml() ?>
60
+ <?php endif; ?>
61
+ <?php $this->getSearchCriterias(); ?>
app/design/frontend/default/magezon/template/catalogsearch/form.mini.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <form id="search_mini_form" action="<?php echo $this->helper('catalogSearch')->getResultUrl() ?>" method="get">
29
+ <fieldset class="form-search">
30
+ <?php /* <legend><?php echo $this->__('Search Site') ?></legend>*/?>
31
+ <div class="mw_search">
32
+ <?php /* <label for="search"><?php echo $this->__('Search:') ?></label>*/?>
33
+ <button type="submit" class="button"><span><span><?php //echo $this->__('Search') ?></span></span></button>
34
+ <input id="search" type="text" class="input-text" name="<?php echo $this->helper('catalogSearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogSearch')->getEscapedQueryText() ?>" />
35
+ <div id="search_autocomplete" class="search-autocomplete"></div>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
39
+ searchForm.initAutocomplete('<?php echo $this->helper('catalogSearch')->getSuggestUrl() ?>', 'search_autocomplete');
40
+ //]]>
41
+ </script>
42
+ <div class="clear_both"><span> </span></div>
43
+ </div>
44
+ </fieldset>
45
+ </form>
app/design/frontend/default/magezon/template/catalogsearch/result.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getResultCount()): ?>
28
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
29
+ <div class="page-title">
30
+ <?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
31
+ <a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
32
+ <?php endif; ?>
33
+ <h2><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogSearch')->getEscapedQueryText()) ?></h2>
34
+ </div>
35
+ <?php echo $this->getProductListHtml() ?>
36
+ <?php else: ?>
37
+ <div class="page-title">
38
+ <h2><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogSearch')->getEscapedQueryText()) ?></h2>
39
+ </div>
40
+ <p class="note-msg">
41
+ <?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
42
+ </p>
43
+ <?php endif; ?>
app/design/frontend/default/magezon/template/catalogsearch/term.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->__('Popular Search Terms') ?></h1>
29
+ </div>
30
+ <?php if( sizeof($this->getTerms()) > 0 ): ?>
31
+ <ul class="tags-list">
32
+ <?php foreach ($this->getTerms() as $_term): ?>
33
+ <li><a href="<?php echo $this->getSearchUrl($_term) ?>" style="font-size:<?php echo $_term->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_term->getName()) ?></a></li>
34
+ <?php endforeach; ?>
35
+ </ul>
36
+ <?php else: ?>
37
+ <p class="note-msg"><?php echo $this->__('There are no search terms available.'); ?></p>
38
+ <?php endif; ?>
app/design/frontend/default/magezon/template/checkout/cart.phtml ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ * @see Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <div class="cart">
35
+ <div class="page-title title-buttons">
36
+ <h2><?php echo $this->__('Shopping Cart') ?></h2>
37
+ <?php if(!$this->hasError()): ?>
38
+ <ul class="checkout-types">
39
+ <?php echo $this->getChildHtml('top_methods') ?>
40
+ </ul>
41
+ <?php endif; ?>
42
+ </div>
43
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
44
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
45
+ <fieldset>
46
+ <table id="shopping-cart-table" class="data-table cart-table">
47
+ <col width="1" />
48
+ <col width="1" />
49
+ <col />
50
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
51
+ <col width="1" />
52
+ <?php endif ?>
53
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
54
+ <col width="1" />
55
+ <?php endif; ?>
56
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
57
+ <col width="1" />
58
+ <?php endif; ?>
59
+ <col width="1" />
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <col width="1" />
62
+ <?php endif; ?>
63
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
64
+ <col width="1" />
65
+ <?php endif; ?>
66
+
67
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
68
+ <thead>
69
+ <tr>
70
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
71
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
72
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
73
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
74
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
75
+ <?php endif ?>
76
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
77
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
78
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
79
+ </tr>
80
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
81
+ <tr>
82
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
83
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
84
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
85
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
86
+ </tr>
87
+ <?php endif; ?>
88
+ </thead>
89
+ <tfoot>
90
+ <tr>
91
+ <td colspan="50" class="a-right">
92
+ <?php if($this->getContinueShoppingUrl()): ?>
93
+ <button type="button" class="button continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
94
+ <?php endif; ?>
95
+ <button type="submit" class="button"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
96
+ </td>
97
+ </tr>
98
+ </tfoot>
99
+ <tbody>
100
+ <?php foreach($this->getItems() as $_item): ?>
101
+ <?php echo $this->getItemHtml($_item) ?>
102
+ <?php endforeach ?>
103
+ </tbody>
104
+ </table>
105
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
106
+ </fieldset>
107
+ </form>
108
+ <div class="col2-set cart-collaterals">
109
+ <div class="col-1">
110
+ <?php echo $this->getChildHtml('crosssell') ?>
111
+ </div>
112
+ <div class="col-2">
113
+ <?php echo $this->getChildHtml('coupon') ?>
114
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
115
+ </div>
116
+ </div>
117
+ <div class="totals">
118
+ <?php echo $this->getChildHtml('totals'); ?>
119
+ <?php if(!$this->hasError()): ?>
120
+ <ul class="checkout-types">
121
+ <?php echo $this->getChildHtml('methods') ?>
122
+ </ul>
123
+ <?php endif; ?>
124
+ </div>
125
+ </div>
app/design/frontend/default/magezon/template/checkout/cart/coupon.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="discount">
28
+ <h3><?php echo $this->__('Discount Codes') ?></h3>
29
+ <form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
30
+ <fieldset>
31
+ <label for="coupon_code"><?php echo $this->__('Enter your coupon code if you have one.') ?></label><br />
32
+ <input type="hidden" name="remove" id="remove-coupone" value="0" />
33
+ <?php if(!strlen($this->getCouponCode())): ?>
34
+ <div style="width:175px; float:left;"><input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" /></div>
35
+ <button class="button" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
36
+ <?php else: ?>
37
+ <div style ="width:175px; float:left;"><input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" /></div>
38
+ <button type="button" class="button" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
39
+ <button type="button" class="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
40
+ <?php endif;?>
41
+ </fieldset>
42
+ </form>
43
+ <script type="text/javascript">
44
+ //<![CDATA[
45
+ var discountForm = new VarienForm('discount-coupon-form');
46
+ discountForm.submit = function (isRemove) {
47
+ if (isRemove) {
48
+ $('coupon_code').removeClassName('required-entry');
49
+ $('remove-coupone').value = "1";
50
+ } else {
51
+ $('coupon_code').addClassName('required-entry');
52
+ $('remove-coupone').value = "0";
53
+ }
54
+ return VarienForm.prototype.submit.bind(discountForm)();
55
+ }
56
+ //]]>
57
+ </script>
58
+ </div>
app/design/frontend/default/magezon/template/checkout/cart/crosssell.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h3><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h3>
37
+ <ul>
38
+ <?php foreach ($this->getItems() as $_item): ?>
39
+ <li class="item">
40
+ <a class="product-image" href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
41
+ <div class="product-shop">
42
+ <h4 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h4>
43
+ <?php echo $this->getPriceHtml($_item, true) ?>
44
+ <p><button class="button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')" type="button"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
45
+ <ul class="add-to-links">
46
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
47
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>"><?php echo $this->__('Add to Wishlist') ?></a></li>
48
+ <?php endif; ?>
49
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
50
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></li>
51
+ <?php endif; ?>
52
+
53
+ </ul>
54
+ <div class="clear_both"><span></span></div>
55
+ </div>
56
+ </li>
57
+ <?php endforeach; ?>
58
+ </ul>
59
+ <div class="clear_both"><span></span></div>
60
+ </div>
61
+ <?php endif; ?>
app/design/frontend/default/magezon/template/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove item')?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getProductUrl() ?>" class="product-image" title="<?php echo $this->htmlEscape($this->getProductName()) ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a></td>
31
+ <td>
32
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h3>
33
+ <?php if ($_options = $this->getOptionList()):?>
34
+ <dl class="item-options">
35
+ <?php foreach ($_options as $_option) : ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
38
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php endforeach; ?>
49
+ </dl>
50
+ <?php endif;?>
51
+ <?php if ($messages = $this->getMessages()): ?>
52
+ <?php foreach ($messages as $message): ?>
53
+ <p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
54
+ <?php endforeach; ?>
55
+ <?php endif; ?>
56
+ </td>
57
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
58
+ <td class="a-center">
59
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
60
+ </td>
61
+ <?php endif ?>
62
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
63
+ <td class="a-right">
64
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
65
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
66
+ <?php else: ?>
67
+ <div class="cart-price">
68
+ <?php endif; ?>
69
+
70
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
71
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
72
+ <?php else: ?>
73
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
74
+ <?php endif; ?>
75
+
76
+ </div>
77
+
78
+
79
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
80
+
81
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
82
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
83
+ <small>
84
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
85
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
86
+ <?php endforeach; ?>
87
+ </small>
88
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
89
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
90
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
91
+ <?php endforeach; ?>
92
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
93
+ <small>
94
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
95
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
96
+ <?php endforeach; ?>
97
+ </small>
98
+ <?php endif; ?>
99
+ </div>
100
+
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
102
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
103
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
104
+ </div>
105
+ <?php endif; ?>
106
+ <?php endif; ?>
107
+ </td>
108
+ <?php endif; ?>
109
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
110
+ <td>
111
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
112
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
113
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
114
+ <?php else: ?>
115
+ <div class="cart-price">
116
+ <?php endif; ?>
117
+
118
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
120
+ <?php else: ?>
121
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
122
+ <?php endif; ?>
123
+
124
+ </div>
125
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
126
+
127
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
128
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
129
+ <small>
130
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
131
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
132
+ <?php endforeach; ?>
133
+ </small>
134
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
135
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
136
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
137
+ <?php endforeach; ?>
138
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
139
+ <small>
140
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
141
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
142
+ <?php endforeach; ?>
143
+ </small>
144
+ <?php endif; ?>
145
+ </div>
146
+
147
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
148
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
149
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
150
+ </div>
151
+ <?php endif; ?>
152
+ <?php endif; ?>
153
+ </td>
154
+ <?php endif; ?>
155
+ <td class="a-center">
156
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" class="input-text qty" maxlength="8" />
157
+ </td>
158
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
159
+ <td class="a-right">
160
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
161
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
162
+ <?php else: ?>
163
+ <div class="cart-price">
164
+ <?php endif; ?>
165
+
166
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
167
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
168
+ <?php else: ?>
169
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
170
+ <?php endif; ?>
171
+
172
+ </div>
173
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
174
+
175
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
176
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
177
+ <small>
178
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
179
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
180
+ <?php endforeach; ?>
181
+ </small>
182
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
183
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
184
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
185
+ <?php endforeach; ?>
186
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
187
+ <small>
188
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
189
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
190
+ <?php endforeach; ?>
191
+ </small>
192
+ <?php endif; ?>
193
+ </div>
194
+
195
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
196
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
197
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
198
+ </div>
199
+ <?php endif; ?>
200
+ <?php endif; ?>
201
+ </td>
202
+ <?php endif; ?>
203
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
204
+ <td>
205
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
206
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
207
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
208
+ <?php else: ?>
209
+ <div class="cart-price">
210
+ <?php endif; ?>
211
+
212
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
213
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
214
+ <?php else: ?>
215
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
216
+ <?php endif; ?>
217
+
218
+ </div>
219
+
220
+
221
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
222
+
223
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
224
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, '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'],true,true); ?></span><br />
228
+ <?php endforeach; ?>
229
+ </small>
230
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
231
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
232
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
233
+ <?php endforeach; ?>
234
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
235
+ <small>
236
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
237
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
238
+ <?php endforeach; ?>
239
+ </small>
240
+ <?php endif; ?>
241
+ </div>
242
+
243
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
244
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
245
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
246
+ </div>
247
+ <?php endif; ?>
248
+ <?php endif; ?>
249
+ </td>
250
+ <?php endif; ?>
251
+ </tr>
app/design/frontend/default/magezon/template/checkout/cart/noItems.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->__('Shopping Cart is Empty') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
32
+ <p><?php echo $this->__('Please <a href="%s">continue shopping</a>.', $this->getContinueShoppingUrl()) ?></p>
app/design/frontend/default/magezon/template/checkout/cart/render/default.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" title="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getItemUrl($_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->htmlEscape($this->getItemName($_item)) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
31
+ <td>
32
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
33
+ <?php echo $this->getItemDescription($_item) ?>
34
+ <?php if($_item->getMessage()): ?>
35
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
36
+ <?php endif; ?>
37
+ </td>
38
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
39
+ <td class="a-center">
40
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
41
+ </td>
42
+ <?php endif ?>
43
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
44
+ <td class="a-right">
45
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
46
+ </td>
47
+ <?php endif; ?>
48
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
49
+ <td class="a-right">
50
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
51
+ </td>
52
+ <?php endif; ?>
53
+ <td class="a-center">
54
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
55
+ </td>
56
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
57
+ <td class="a-right">
58
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
59
+ </td>
60
+ <?php endif; ?>
61
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
62
+ <td class="a-right">
63
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
64
+ </td>
65
+ <?php endif; ?>
66
+ </tr>
app/design/frontend/default/magezon/template/checkout/cart/render/simple.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" title="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getItemUrl($_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->htmlEscape($this->getItemName($_item)) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
31
+ <td>
32
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
33
+ <?php echo $this->getItemDescription($_item) ?>
34
+ <?php if($_item->getMessage()): ?>
35
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
36
+ <?php endif; ?>
37
+ </td>
38
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
39
+ <td class="a-center">
40
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
41
+ </td>
42
+ <?php endif ?>
43
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
44
+ <td class="a-right">
45
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
46
+ </td>
47
+ <?php endif; ?>
48
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
49
+ <td class="a-right">
50
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
51
+ </td>
52
+ <?php endif; ?>
53
+ <td class="a-center">
54
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
55
+ </td>
56
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
57
+ <td class="a-right">
58
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
59
+ </td>
60
+ <?php endif; ?>
61
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
62
+ <td class="a-right">
63
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
64
+ </td>
65
+ <?php endif; ?>
66
+ </tr>
app/design/frontend/default/magezon/template/checkout/cart/shipping.phtml ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Checkout_Block_Cart_Shipping
30
+ */
31
+ ?>
32
+ <div class="shipping">
33
+ <h3><?php echo $this->__('Estimate Shipping and Tax') ?></h3>
34
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
35
+ <fieldset>
36
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
37
+ <ul class="form-list">
38
+ <li>
39
+ <label for="country"><?php echo $this->__('Country') ?></label><br />
40
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
41
+ </li>
42
+ <?php //if($this->getStateActive()): ?>
43
+ <li>
44
+ <label for="region_id"><?php echo $this->__('State/Province') ?><?php if ($this->isStateProvinceRequired()):?> <span class="required">*</span><?php endif;?></label><br />
45
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
46
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
47
+ </select>
48
+ <script type="text/javascript">
49
+ //<![CDATA[
50
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
51
+ //]]>
52
+ </script>
53
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
54
+ </li>
55
+ <?php //endif; ?>
56
+ <?php if($this->getCityActive()): ?>
57
+ <li>
58
+ <label for="city"><?php echo $this->__('City') ?><?php if ($this->isCityRequired()):?> <span class="required">*</span><?php endif;?></label><br />
59
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
60
+ </li>
61
+ <?php endif; ?>
62
+ <li>
63
+ <label for="postcode"><?php echo $this->__('Zip/Postal Code') ?><?php if ($this->isZipCodeRequired()):?> <span class="required">*</span><?php endif;?></label><br />
64
+ <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->htmlEscape($this->getEstimatePostcode()) ?>" />
65
+ </li>
66
+ </ul>
67
+ <div class="buttons-set">
68
+ <button type="button" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
69
+ </div>
70
+ </fieldset>
71
+ </form>
72
+ <script type="text/javascript">
73
+ //<![CDATA[
74
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
75
+ //]]>
76
+ </script>
77
+
78
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
79
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
80
+ <fieldset>
81
+ <dl class="sp-methods">
82
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
83
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
84
+ <dd>
85
+ <ul>
86
+ <?php foreach ($_rates as $_rate): ?>
87
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
88
+ <?php if ($_rate->getErrorMessage()): ?>
89
+ <?php echo $_rate->getErrorMessage() ?>
90
+ <?php else: ?>
91
+ <input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
92
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
93
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
94
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
95
+ <?php echo $_excl; ?>
96
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
97
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
98
+ <?php endif; ?>
99
+ </label>
100
+ <?php endif ?>
101
+ </li>
102
+ <?php endforeach; ?>
103
+ </ul>
104
+ </dd>
105
+ <?php endforeach; ?>
106
+ </dl>
107
+ <div class="buttons-set">
108
+ <button type="submit" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
109
+ </div>
110
+ </fieldset>
111
+ </form>
112
+ <?php endif; ?>
113
+ <script type="text/javascript">
114
+ //<![CDATA[
115
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
116
+ Validation.addAllThese(
117
+ [
118
+ ['validate-postcode', '<?php echo $this->__('Please enter a valid zip code. For example 90602 or 90602-1234.') ?>', function(v) {
119
+ var element = $('postcode');
120
+ if (element && ('' != element.value)) {
121
+ if (!element.value.match(/(^[A-z0-9]{2,10}([\s]{0,2}|[\-]{0,2})[A-z0-9]{2,10}$)/ )) {
122
+ return false;
123
+ }
124
+ }
125
+ return true;
126
+ }]
127
+ ]
128
+ );
129
+ //]]>
130
+ </script>
131
+ </div>
app/design/frontend/default/magezon/template/checkout/cart/sidebar.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <div class="block block-cart">
34
+ <?php $_cartQty = $this->getSummaryCount() ?>
35
+ <div class="block-title">
36
+ <strong><?php echo $this->__('My Cart') ?></strong>
37
+ </div>
38
+ <div class="block-content">
39
+ <?php if ($_cartQty>0): ?>
40
+ <?php if ($_cartQty==1): ?>
41
+ <p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
42
+ <?php else: ?>
43
+ <p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
44
+ <?php endif ?>
45
+ <p class="subtotal">
46
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
47
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
48
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
49
+ <?php endif; ?>
50
+ </p>
51
+ <?php endif ?>
52
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
53
+ <div class="actions">
54
+ <button class="button" type="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
55
+ </div>
56
+ <?php endif ?>
57
+ <?php $_items = $this->getRecentItems() ?>
58
+ <?php if(count($_items)): ?>
59
+ <h3><?php echo $this->__('Recently added item(s)') ?></h3>
60
+ <ol id="cart-sidebar" class="mini-products-list">
61
+ <?php foreach($_items as $_item): ?>
62
+ <?php echo $this->getItemHtml($_item) ?>
63
+ <?php endforeach; ?>
64
+ </ol>
65
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
66
+ <?php else: ?>
67
+ <p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
68
+ <?php endif ?>
69
+ </div>
70
+ </div>
app/design/frontend/default/magezon/template/checkout/cart/sidebar/default.phtml ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <li class="item">
29
+ <a href="<?php echo $this->getProductUrl()?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a>
30
+ <div class="product-details">
31
+ <a href="<?php echo $this->getDeleteUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" title="<?php echo $this->__('Remove Product') ?>" /></a>
32
+ <h4><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
33
+ <strong><?php echo $this->getQty() ?></strong> x
34
+
35
+
36
+
37
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
38
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
39
+ <?php echo $this->__('Excl. Tax'); ?>:
40
+ <?php endif; ?>
41
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
42
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
43
+ <?php else: ?>
44
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
45
+ <?php endif; ?>
46
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
47
+ <br />
48
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
49
+ <small>
50
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
51
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
52
+ <?php endforeach; ?>
53
+ </small>
54
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
55
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
56
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
57
+ <?php endforeach; ?>
58
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
59
+ <small>
60
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
61
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
62
+ <?php endforeach; ?>
63
+ </small>
64
+ <?php endif; ?>
65
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
66
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
67
+ <?php endif; ?>
68
+ <?php endif; ?>
69
+ <?php endif; ?>
70
+
71
+
72
+
73
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
74
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
75
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
76
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
77
+ <?php endif; ?>
78
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
79
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
80
+ <?php else: ?>
81
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
82
+ <?php endif; ?>
83
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
84
+ <br />
85
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
86
+ <small>
87
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
88
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
89
+ <?php endforeach; ?>
90
+ </small>
91
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
92
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
93
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
94
+ <?php endforeach; ?>
95
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php endif; ?>
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
103
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
104
+ <?php endif; ?>
105
+ <?php endif; ?>
106
+ <?php endif; ?>
107
+ <?php if ($_options = $this->getOptionList()):?>
108
+ <div class="truncated">
109
+ <div class="truncated_full_value">
110
+ <dl class="item-options">
111
+ <?php foreach ($_options as $_option) : ?>
112
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
113
+ <dd>
114
+ <?php if (is_array($_option['value'])): ?>
115
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
116
+ <?php else: ?>
117
+ <?php echo $_option['value'] ?>
118
+ <?php endif; ?>
119
+ </dd>
120
+ <?php endforeach; ?>
121
+ </dl>
122
+ </div>
123
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
124
+ </div>
125
+ <?php endif; ?>
126
+ </div>
127
+ </li>
app/design/frontend/default/magezon/template/checkout/cart/totals.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 totals template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <table id="shopping-cart-totals-table">
35
+ <col />
36
+ <col width="1" />
37
+ <tfoot>
38
+ <?php echo $this->renderTotals('footer'); ?>
39
+ </tfoot>
40
+ <tbody>
41
+ <?php echo $this->renderTotals(); ?>
42
+ </tbody>
43
+ </table>
app/design/frontend/default/magezon/template/checkout/links.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
app/design/frontend/default/magezon/template/checkout/multishipping/address/select.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-title title-buttons">
28
+ <h2><?php echo $this->__('Change Billing Address') ?></h2>
29
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <div class="multiple-checkout">
33
+ <?php $_index=0 ?>
34
+ <?php foreach ($this->getAddressCollection() as $_address): ?>
35
+ <?php if($_index%3==0): ?><div class="col3-set"><?php endif; ?>
36
+ <div class="col-<?php echo ($_index%3+1) ?>">
37
+ <p class="actions">
38
+ <a href="<?php echo $this->getEditAddressUrl($_address) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span>
39
+ <a href="<?php echo $this->getSetAddressUrl($_address) ?>"><?php echo $this->__('Select Address') ?></a>
40
+ </p>
41
+ <address>
42
+ <?php echo $_address->format('html') ?>
43
+ <?php if($this->isAddressDefaultBilling($_address)): ?>
44
+ <br /><strong><?php echo $this->__('Default Billing') ?></strong>
45
+ <?php endif; ?>
46
+ <?php if($this->isAddressDefaultShipping($_address)): ?>
47
+ <br /><strong><?php echo $this->__('Default Shipping') ?></strong>
48
+ <?php endif; ?>
49
+ </address>
50
+ </div>
51
+ <?php $_index++ ?>
52
+ <?php if($_index && $_index%3==0): ?></div><?php endif; ?>
53
+ <?php endforeach; ?>
54
+ <?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
55
+ </div>
56
+ <div class="buttons-set">
57
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Billing Information') ?></a>
58
+ </div>
app/design/frontend/default/magezon/template/checkout/multishipping/addresses.phtml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post">
35
+ <div class="page-title title-buttons">
36
+ <h2><?php echo $this->__('Ship to Multiple Addresses') ?></h2>
37
+ <button type="submit" class="button" onclick="$('add_new_address_flag').value=1"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <fieldset class="multiple-checkout">
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
+ <h3><?php echo $this->__('Please select shipping address for applicable items') ?></h3>
44
+ <table class="data-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" 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
+ <tr>
65
+ <td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
66
+ <td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->htmlEscape($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
67
+ <td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
68
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove Item') ?>" title="<?php echo $this->__('Remove Item') ?>" /></a></td>
69
+ </tr>
70
+ <?php endforeach; ?>
71
+ </tbody>
72
+ </table>
73
+ <script type="text/javascript">decorateTable('multiship-addresses-table')</script>
74
+ <div class="buttons-set">
75
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Shopping Cart') ?></a>
76
+ <button type="submit" 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>
77
+ </div>
78
+ </fieldset>
79
+ </form>
app/design/frontend/default/magezon/template/checkout/multishipping/agreements.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Checkout_Block_Agreements
30
+ */
31
+ ?>
32
+
33
+ <?php if (!$this->getAgreements()) return; ?>
34
+ <ol id="checkout-agreements" class="checkout-agreements">
35
+ <?php foreach ($this->getAgreements() as $_a): ?>
36
+ <li>
37
+ <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
38
+ <?php if ($_a->getIsHtml()):?>
39
+ <?php echo $_a->getContent() ?>
40
+ <?php else:?>
41
+ <?php echo nl2br($this->htmlEscape($_a->getContent())) ?>
42
+ <?php endif; ?>
43
+ </div>
44
+ <p class="agree">
45
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" class="checkbox" />
46
+ <label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getCheckboxText()?></label>
47
+ </p>
48
+ </li>
49
+ <?php endforeach ?>
50
+ </ol>
app/design/frontend/default/magezon/template/checkout/multishipping/billing.phtml ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="page-title">
35
+ <h2><?php echo $this->__('Billing Information') ?></h2>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
40
+ <fieldset class="col2-set multiple-checkout">
41
+ <div class="col-1 narrow">
42
+ <h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
43
+ <?php $_address=$this->getAddress() ?>
44
+ <address><?php echo $_address->format('html') ?></address>
45
+ </div>
46
+ <div class="col-2 wide">
47
+ <h3><?php echo $this->__('Payment Method') ?></h3>
48
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
49
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close"><img src="<?php echo $this->getSkinUrl('images/btn_window_close.gif') ?>" alt="<?php echo $this->__('Close') ?>" title="<?php echo $this->__('Close') ?>" /></a></div>
50
+ <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>
51
+ </div>
52
+ <!-- Payment methods forms list -->
53
+ <dl class="sp-methods">
54
+ <?php
55
+ $_methods = $this->getMethods();
56
+ $_methodsCount = count($_methods);
57
+ ?>
58
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
59
+ <dt>
60
+ <?php if ($_methodsCount > 1): ?>
61
+ <input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
62
+ <?php else :?>
63
+ <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>
64
+ <?php endif;?>
65
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
66
+ </dt>
67
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
68
+ <dd>
69
+ <?php echo $html; ?>
70
+ </dd>
71
+ <?php endif; ?>
72
+ <?php endforeach; ?>
73
+ </dl>
74
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
75
+ </div>
76
+ </fieldset>
77
+ <div class="buttons-set">
78
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Shipping Information') ?></a>
79
+ <button type="submit" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
80
+ </div>
81
+ </form>
82
+ <script type="text/javascript">
83
+ //<![CDATA[
84
+ var payment = new paymentForm('multishipping-billing-form');
85
+ function toggleToolTip(event){
86
+ if($('payment-tool-tip')){
87
+ /*$('payment-tool-tip').setStyle({
88
+ top: (Event.pointerY(event)-510)+'px',
89
+ left: (Event.pointerX(event)-800)+'px'
90
+ })*/
91
+ $('payment-tool-tip').toggle();
92
+ }
93
+ Event.stop(event);
94
+ }
95
+ if($('payment-tool-tip-close')){
96
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
97
+ }
98
+ $$('.cvv-what-is-this').each(function(element){
99
+ Event.observe(element, 'click', toggleToolTip);
100
+ });
101
+ //]]>
102
+ </script>
app/design/frontend/default/magezon/template/checkout/multishipping/billing/items.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
28
+ <h3><?php echo $this->__('Other items in your order') ?></h3>
29
+ <div class="col2-set">
30
+ <div class="col-1 narrow"></div>
31
+ <div class="col-2 wide">
32
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
33
+ <table class="data-table" id="unavailable-shipping-table">
34
+ <col />
35
+ <col width="1" />
36
+ <thead>
37
+ <tr>
38
+ <th><?php echo $this->__('Product Name') ?></th>
39
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
40
+ </tr>
41
+ </thead>
42
+ <tbody>
43
+ <?php foreach ($this->getVirtualQuoteItems() as $_item): ?>
44
+ <tr>
45
+ <td><?php echo $this->getItemHtml($_item) ?></td>
46
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
47
+ </tr>
48
+ <?php endforeach; ?>
49
+ </tbody>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('unavailable-shipping-table')</script>
52
+ </div>
53
+ </div>
54
+ <?php endif; ?>
app/design/frontend/default/magezon/template/checkout/multishipping/item/default.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h4 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
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->htmlEscape($_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->htmlEscape($_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; ?>
app/design/frontend/default/magezon/template/checkout/multishipping/link.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <li><a href="<?php echo $this->getCheckoutUrl()?>"><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></a></li>
app/design/frontend/default/magezon/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Review Order') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
32
+ <fieldset class="multiple-checkout">
33
+ <div class="col2-set">
34
+ <h3><?php echo $this->__('Billing Information') ?></h3>
35
+ <div class="col-1">
36
+ <?php $_address=$this->getBillingAddress() ?>
37
+ <h4><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
38
+ <address>
39
+ <?php echo $_address->format('html') ?>
40
+ </address>
41
+ </div>
42
+ <div class="col-2">
43
+ <h4><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
44
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcNumber())?>" />
45
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcCid())?>" />
46
+ <?php echo $this->getPaymentHtml() ?>
47
+ </div>
48
+ </div>
49
+ <h3><?php echo $this->__('Shipping Information') ?></h3>
50
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
51
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
52
+ <div class="col2-set">
53
+ <h4><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h4>
54
+ <div class="col-1 narrow">
55
+ <h5><?php echo $this->__('Shipping to') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h5>
56
+ <address>
57
+ <?php echo $_address->format('html') ?>
58
+ </address>
59
+ <h5><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h5>
60
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
61
+ <p>
62
+ <?php echo $_rate->getCarrierTitle() ?> (<?php echo $_rate->getMethodTitle() ?>)
63
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
64
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
65
+
66
+ <?php echo $_excl; ?>
67
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
68
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
69
+ <?php endif; ?>
70
+ </p>
71
+ <?php endif; ?>
72
+ </div>
73
+ <div class="col-2 wide">
74
+ <h5><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h5>
75
+ <table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
76
+ <col />
77
+ <col width="1" />
78
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
79
+ <col width="1" />
80
+ <?php endif; ?>
81
+ <col width="1" />
82
+ <col width="1" />
83
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
84
+ <col width="1" />
85
+ <?php endif; ?>
86
+ <thead>
87
+ <tr>
88
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
89
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
90
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
91
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
92
+ </tr>
93
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
94
+ <tr>
95
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
96
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
97
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
98
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
99
+ </tr>
100
+ <?php endif; ?>
101
+ </thead>
102
+ <tfoot>
103
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
104
+ </tfoot>
105
+ <tbody>
106
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
107
+ <tr>
108
+ <td><?php echo $this->getItemHtml($_item->getQuoteItem()) ?></td>
109
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
110
+ <td class="a-right">
111
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
112
+ </td>
113
+ <?php endif; ?>
114
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
115
+ <td>
116
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)) ?>
117
+ </td>
118
+ <?php endif; ?>
119
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
120
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
121
+ <td class="a-right">
122
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
123
+ </td>
124
+ <?php endif; ?>
125
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
126
+ <td>
127
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)) ?>
128
+ </td>
129
+ <?php endif; ?>
130
+ </tr>
131
+ <?php endforeach; ?>
132
+ </tbody>
133
+ </table>
134
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
135
+ </div>
136
+ </div>
137
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
138
+ <?php endif; ?>
139
+ <?php endforeach; ?>
140
+
141
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
142
+ <h3><?php echo $this->__('Other items in your order') ?></h3>
143
+ <div class="col2-set">
144
+ <div class="col-1 narrow"></div>
145
+ <div class="col-2 wide">
146
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
147
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
148
+ <table class="data-table" id="virtual-overview-table">
149
+ <col />
150
+ <col width="1" />
151
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
152
+ <col width="1" />
153
+ <?php endif; ?>
154
+ <col width="1" />
155
+ <col width="1" />
156
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
157
+ <col width="70" />
158
+ <?php endif; ?>
159
+ <thead>
160
+ <tr>
161
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
162
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
163
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
164
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
165
+ </tr>
166
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
167
+ <tr>
168
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
169
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
170
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
171
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
172
+ </tr>
173
+ <?php endif; ?>
174
+ </thead>
175
+ <tfoot>
176
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
177
+ </tfoot>
178
+ <tbody>
179
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
180
+ <tr>
181
+ <td><?php echo $this->getItemHtml($_item) ?></td>
182
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
183
+ <td class="a-right">
184
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
185
+ </td>
186
+ <?php endif; ?>
187
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
188
+ <td>
189
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)) ?>
190
+ </td>
191
+ <?php endif; ?>
192
+ <td><?php echo $_item->getQty()*1 ?></td>
193
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
194
+ <td class="a-right">
195
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
196
+ </td>
197
+ <?php endif; ?>
198
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
199
+ <td>
200
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)) ?>
201
+ </td>
202
+ <?php endif; ?>
203
+ </tr>
204
+ <?php endforeach; ?>
205
+ </tbody>
206
+ </table>
207
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
208
+ </div>
209
+ </div>
210
+ <?php endif; ?>
211
+
212
+ <?php echo $this->getChildHtml('agreements') ?>
213
+
214
+ <p class="grand-total"><big><?php echo $this->__('Grand Total:') ?></big> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></p>
215
+ <div class="buttons-set" id="review-buttons-container">
216
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Billing Information') ?></a>
217
+ <button type="submit" class="button" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
218
+ <span id="review-please-wait" class="please-wait" style="display:none;">
219
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
220
+ </span>
221
+ </div>
222
+ </fieldset>
223
+ </form>
224
+ <script type="text/javascript">
225
+ //<![CDATA[
226
+ var submitted = false;
227
+
228
+ function showLoader()
229
+ {
230
+ if (submitted) {
231
+ return false;
232
+ }
233
+ if ($('checkout-agreements')) {
234
+ var checkboxes = $$('#checkout-agreements input');
235
+ for (var i=0, l=checkboxes.length; i<l; i++) {
236
+ if (!checkboxes[i].checked) {
237
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
238
+ return false;
239
+ }
240
+ }
241
+ }
242
+
243
+ submitted = true;
244
+ var step='review';
245
+ Element.show(step+'-please-wait');
246
+ $(step+'-buttons-container').setStyle({opacity:.5});
247
+ $(step+'-buttons-container').descendants().each(function(s) {
248
+ s.disabled = true;
249
+ });
250
+ return true;
251
+ }
252
+ //]]>
253
+ </script>
app/design/frontend/default/magezon/template/checkout/multishipping/shipping.phtml ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 shipping template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Shipping
32
+ */
33
+ ?>
34
+ <div class="page-title">
35
+ <h2><?php echo $this->__('Select Shipping Method') ?></h2>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
39
+ <fieldset class="multiple-checkout">
40
+ <?php foreach ($this->getAddresses() as $_index => $_address): ?>
41
+ <h3><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h3>
42
+ <div class="col2-set">
43
+ <div class="col-1 narrow">
44
+ <h4><?php echo $this->__('Shipping to') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
45
+ <address><?php echo $_address->format('html') ?></address>
46
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
47
+ <?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
48
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
49
+ <?php else: ?>
50
+ <dl class="sp-methods">
51
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
52
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
53
+ <dd>
54
+ <ul>
55
+ <?php foreach ($_rates as $_rate): ?>
56
+ <li>
57
+ <?php if ($_rate->getErrorMessage()): ?>
58
+ <strong><?php echo $_rate->getCarrierTitle() ?>: <?php echo $_rate->getErrorMessage() ?></strong>
59
+ <?php else: ?>
60
+ <input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> class="radio" />
61
+ <label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
62
+ <?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
63
+ <?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
64
+ <?php echo $_excl; ?>
65
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
66
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
67
+ <?php endif; ?>
68
+ </label>
69
+ <?php endif ?>
70
+ </li>
71
+ <?php endforeach; ?>
72
+ </ul>
73
+ </dd>
74
+ <?php endforeach; ?>
75
+ </dl>
76
+ <?php endif; ?>
77
+ </div>
78
+ <div class="col-2 wide">
79
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
80
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h4>
81
+ <table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
82
+ <col />
83
+ <col width="1" />
84
+ <thead>
85
+ <tr>
86
+ <th><?php echo $this->__('Product Name') ?></th>
87
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
88
+ </tr>
89
+ </thead>
90
+ <tbody>
91
+ <?php foreach ($this->getAddressItems($_address) as $_item): ?>
92
+ <tr>
93
+ <td>
94
+ <?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
95
+ </td>
96
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
97
+ </tr>
98
+ <?php endforeach; ?>
99
+ </tbody>
100
+ </table>
101
+ <script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
102
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
103
+ </div>
104
+ </div>
105
+ <?php endforeach; ?>
106
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
107
+ <div class="buttons-set">
108
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Select Addresses') ?></a>
109
+ <button class="button" type="submit"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
110
+ </div>
111
+ </fieldset>
112
+ </form>
app/design/frontend/default/magezon/template/checkout/multishipping/state.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Mustishipping state
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_State
32
+ */
33
+ ?>
34
+ <ul class="checkout-progress">
35
+ <?php foreach ($this->getSteps() as $_step): ?>
36
+ <li<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><?php echo $_step->getLabel() ?></li>
37
+ <?php endforeach; ?>
38
+ </ul>
app/design/frontend/default/magezon/template/checkout/multishipping/success.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Order Success') ?></h2>
29
+ </div>
30
+ <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
31
+ <p><?php echo $this->__('We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.') ?></p>
32
+ <?php if($_orderIds = $this->getOrderIds()): ?>
33
+ <?php $flag = false ?>
34
+ <?php echo $this->__('Your order number is ') ?>
35
+ <?php foreach ($_orderIds as $orderId=>$incrementId): ?>
36
+ <?php if ($flag): ?>
37
+ <?php echo ', ' ?>
38
+ <?php endif; ?>
39
+ <?php $flag = true ?>
40
+ <a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
41
+ <?php endforeach; ?>
42
+ <?php endif; ?>
43
+ <?php echo $this->getChildHtml() ?>
44
+ <div class="buttons-set">
45
+ <button type="button" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
46
+ </div>
app/design/frontend/default/magezon/template/checkout/onepage.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Checkout') ?></h2>
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">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
33
+ <ol class="opc" 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
+ <h3><?php echo $_stepInfo['label'] ?></h3>
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/default/magezon/template/checkout/onepage/agreements.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Checkout_Block_Agreements
30
+ */
31
+ ?>
32
+
33
+ <?php if (!$this->getAgreements()) return; ?>
34
+ <form action="" id="checkout-agreements" onsubmit="return false;">
35
+ <ol class="checkout-agreements">
36
+ <?php foreach ($this->getAgreements() as $_a): ?>
37
+ <li>
38
+ <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
39
+ <?php if ($_a->getIsHtml()):?>
40
+ <?php echo $_a->getContent() ?>
41
+ <?php else:?>
42
+ <?php echo nl2br($this->htmlEscape($_a->getContent())) ?>
43
+ <?php endif; ?>
44
+ </div>
45
+ <p class="agree">
46
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" class="checkbox" />
47
+ <label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getCheckboxText()?></label>
48
+ </p>
49
+ </li>
50
+ <?php endforeach ?>
51
+ </ol>
52
+ </form>
app/design/frontend/default/magezon/template/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="co-billing-form" action="">
28
+ <fieldset>
29
+ <ul class="form-list group-select">
30
+ <?php if ($this->customerHasAddresses()): ?>
31
+ <li>
32
+ <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label><br />
33
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
34
+ </li>
35
+ <?php endif; ?>
36
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
37
+ <fieldset>
38
+ <legend><?php echo $this->__('New Address') ?></legend>
39
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
40
+ <ul>
41
+ <li><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())
42
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
43
+ <li>
44
+ <div class="input-box">
45
+ <label for="billing:company"><?php echo $this->__('Company') ?></label><br />
46
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" /></div>
47
+ <?php if(!$this->isCustomerLoggedIn()): ?>
48
+ <div class="input-box">
49
+ <label for="billing:email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
50
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" /></div>
51
+ <?php endif ?>
52
+ </li>
53
+ <li><label for="billing:street1"><?php echo $this->__('Address') ?> <span class="required">*</span></label><br />
54
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" /></li>
55
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
56
+ <li><input type="text" title="<?php echo $this->__('Street Address '.$_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i?>" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" class="input-text" /></li>
57
+ <?php endfor ?>
58
+ <li>
59
+ <div class="input-box">
60
+ <label for="billing:city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
61
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="input-text required-entry" id="billing:city" /></div>
62
+ <div class="input-box">
63
+ <label for="billing:region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
64
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
65
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
66
+ </select>
67
+ <script type="text/javascript">
68
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
69
+ </script>
70
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
71
+ </div>
72
+ </li>
73
+ <li>
74
+ <div class="input-box">
75
+ <label for="billing:postcode"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
76
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international required-entry" /></div>
77
+ <div class="input-box">
78
+ <label for="billing:country_id"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
79
+ <?php echo $this->getCountryHtmlSelect('billing') ?></div></li>
80
+ <li>
81
+ <div class="input-box">
82
+ <label for="billing:telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
83
+ <input type="text" name="billing[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" id="billing:telephone" /></div>
84
+ <div class="input-box">
85
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label><br />
86
+ <input type="text" name="billing[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="billing:fax" /></div></li>
87
+ <?php if(!$this->isCustomerLoggedIn()): ?>
88
+
89
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
90
+ <?php if ($_dob->isEnabled()): ?>
91
+ <li>
92
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())
93
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
94
+ </li>
95
+ <?php endif; ?>
96
+
97
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
98
+ <?php if ($_taxvat->isEnabled()): ?>
99
+ <li>
100
+ <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())
101
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
102
+ </li>
103
+ <?php endif ?>
104
+
105
+ <li id="register-customer-password">
106
+ <div class="input-box">
107
+ <label for="billing:customer_password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
108
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" /></div>
109
+ <div class="input-box">
110
+ <label for="billing:confirm_password"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br />
111
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-password" />
112
+ </div>
113
+ </li>
114
+ <?php endif; ?>
115
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
116
+ <li><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="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></li>
117
+ <?php else:?>
118
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
119
+ <?php endif; ?>
120
+ </ul>
121
+ </fieldset>
122
+ </li>
123
+ <?php if ($this->canShip()): ?>
124
+ <li>
125
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label>
126
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
127
+ </li>
128
+ <?php endif; ?>
129
+ </ul>
130
+ <?php if (!$this->canShip()): ?>
131
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
132
+ <?php endif; ?>
133
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
134
+ <div class="buttons-set" id="billing-buttons-container">
135
+ <button type="button" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
136
+ <span id="billing-please-wait" class="please-wait" style="display:none;">
137
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
138
+ </span>
139
+ </div>
140
+ </fieldset>
141
+ </form>
142
+ <script type="text/javascript">
143
+ //<![CDATA[
144
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
145
+ var billingForm = new VarienForm('co-billing-form');
146
+
147
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
148
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
149
+
150
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', countryRegions);
151
+ //]]>
152
+ </script>
app/design/frontend/default/magezon/template/checkout/onepage/failure.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('An error occurred in the process of payment') ?></h2>
29
+ </div>
30
+ <?php if ($this->getRealOrderId()) : ?><p><?php echo $this->__('Order #') . $this->getRealOrderId() ?></p><?php endif ?>
31
+ <?php if ($error = $this->getErrorMessage()) : ?><p><?php echo $error ?></p><?php endif ?>
32
+ <p><?php echo $this->__('Please <a href="%s">continue shopping</a>.', $this->getContinueShoppingUrl()) ?></p>
app/design/frontend/default/magezon/template/checkout/onepage/link.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->isPossibleOnepageCheckout()):?>
28
+ <li>
29
+ <button type="button" class="button<?php if ($this->isDisabled()):?> disabled<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
30
+ </li>
31
+ <?php endif?>
app/design/frontend/default/magezon/template/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col2-set">
28
+ <div class="col-1">
29
+ <h4><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h4>
30
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
31
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
32
+ <?php else: ?>
33
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
34
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
35
+ <ul>
36
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
37
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
38
+ </ul>
39
+ <?php endif; ?>
40
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
41
+ <ul class="form-list">
42
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
43
+ <li>
44
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Sales_Model_Quote::CHECKOUT_METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" />
45
+ <label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
46
+ </li>
47
+ <?php endif; ?>
48
+ <li>
49
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Sales_Model_Quote::CHECKOUT_METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" />
50
+ <label for="login:register"><?php echo $this->__('Register') ?></label>
51
+ </li>
52
+ </ul>
53
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
54
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
55
+ <ul>
56
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
57
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
58
+ </ul>
59
+ <?php else: ?>
60
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
61
+ <?php endif; ?>
62
+ </div>
63
+ <div class="col-2">
64
+ <h4><?php echo $this->__('Login') ?></h4>
65
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
66
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
67
+ <fieldset>
68
+ <p><strong><?php echo $this->__('Already registered?') ?></strong><br />
69
+ <?php echo $this->__('Please log in below:') ?></p>
70
+ <ul class="form-list">
71
+ <li>
72
+ <div class="input-box">
73
+ <label for="login-email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
74
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
75
+ </div>
76
+ </li>
77
+ <li>
78
+ <div class="input-box">
79
+ <label for="login-password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
80
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
81
+ </div>
82
+ </li>
83
+ </ul>
84
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
85
+ </fieldset>
86
+ </form>
87
+ </div>
88
+ <script type="text/javascript">
89
+ //<![CDATA[
90
+ var loginForm = new VarienForm('login-form', true);
91
+ $('login-email').observe('keypress', bindLoginPost);
92
+ $('login-password').observe('keypress', bindLoginPost);
93
+ function bindLoginPost(evt){
94
+ if (evt.keyCode == Event.KEY_RETURN) {
95
+ loginForm.submit();
96
+ }
97
+ }
98
+ function onepageLogin(button)
99
+ {
100
+ if(loginForm.validator && loginForm.validator.validate()){
101
+ button.disabled = true;
102
+ loginForm.submit();
103
+ }
104
+ }
105
+ //]]>
106
+ </script>
107
+ </div>
108
+ <div class="col2-set">
109
+ <div class="col-1">
110
+ <div class="buttons-set">
111
+ <button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
112
+ </div>
113
+ </div>
114
+ <div class="col-2">
115
+ <div class="buttons-set">
116
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
117
+ <button type="submit" class="button" onclick="loginForm.submit()"><span><span><?php echo $this->__('Login') ?></span></span></button>
118
+ </div>
119
+ </div>
120
+ </div>
app/design/frontend/default/magezon/template/checkout/onepage/payment.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
30
+ //]]>
31
+ </script>
32
+ <form action="" id="co-payment-form">
33
+ <fieldset>
34
+ <?php echo $this->getChildHtml('methods') ?>
35
+ </fieldset>
36
+ </form>
37
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
38
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close"><img src="<?php echo $this->getSkinUrl('images/btn_window_close.gif') ?>" alt="<?php echo $this->__('Close') ?>" title="<?php echo $this->__('Close') ?>" /></a></div>
39
+ <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>
40
+ </div>
41
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
42
+ <div class="buttons-set" id="payment-buttons-container">
43
+ <a href="#" onclick="checkout.back(); return false;" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
44
+ <button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
45
+ <span id="payment-please-wait" class="please-wait" style="display:none;">
46
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
47
+ </span>
48
+ </div>
49
+ <script type="text/javascript">
50
+ //<![CDATA[
51
+ function toggleToolTip(event){
52
+ if($('payment-tool-tip')){
53
+ $('payment-tool-tip').setStyle({
54
+ top: (Event.pointerY(event)-550)+'px'//,
55
+ //left: (Event.pointerX(event)+100)+'px'
56
+ })
57
+ $('payment-tool-tip').toggle();
58
+ }
59
+ Event.stop(event);
60
+ }
61
+ if($('payment-tool-tip-close')){
62
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
63
+ }
64
+ //]]>
65
+ </script>
66
+ <script type="text/javascript">
67
+ //<![CDATA[
68
+ payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
69
+ //]]>
70
+ </script>
app/design/frontend/default/magezon/template/checkout/onepage/payment/methods.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * One page checkout payment methods
30
+ *
31
+ * @see Mage_Checkout_Block_Onepage_Payment_Methods
32
+ */
33
+ ?>
34
+ <dl class="sp-methods" id="checkout-payment-method-load">
35
+ <?php foreach ($this->getMethods() as $_method): $_code = $_method->getCode() ?>
36
+ <dt>
37
+ <?php if( sizeof($this->getMethods()) > 1 ): ?>
38
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
39
+ <?php else: ?>
40
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
41
+ <?php endif; ?>
42
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
43
+ </dt>
44
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
45
+ <dd>
46
+ <?php echo $html; ?>
47
+ </dd>
48
+ <?php endif; ?>
49
+ <?php endforeach; ?>
50
+ </dl>
51
+ <script type="text/javascript">payment.init();</script>
app/design/frontend/default/magezon/template/checkout/onepage/progress.phtml ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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">
28
+ <div class="block-title">
29
+ <h2><?php echo $this->__('Your Checkout Progress') ?></h2>
30
+ </div>
31
+ <div class="block-content">
32
+ <dl>
33
+ <?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
34
+ <?php if($this->getCheckout()->getStepData('billing', 'complete')): ?>
35
+ <dt class="complete">
36
+ <?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="#billing" onclick="checkout.accordion.openSection('opc-billing'); return false;"><?php echo $this->__('Change') ?></a>
37
+ </dt>
38
+ <dd class="complete">
39
+ <address><?php echo $this->getBilling()->format('html') ?></address>
40
+ </dd>
41
+ <?php else: ?>
42
+ <dt>
43
+ <?php echo $this->__('Billing Address') ?>
44
+ </dt>
45
+ <?php endif; ?>
46
+ <?php endif; ?>
47
+
48
+ <?php if ($this->getCheckout()->getStepData('shipping', 'is_show')): ?>
49
+ <?php if($this->getCheckout()->getStepData('shipping', 'complete')): ?>
50
+ <dt class="complete">
51
+ <?php echo $this->__('Shipping Address') ?> <span class="separator">|</span> <a href="#payment" onclick="checkout.accordion.openSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a>
52
+ </dt>
53
+ <dd class="complete">
54
+ <address><?php echo $this->getShipping()->format('html') ?></address>
55
+ </dd>
56
+ <?php else: ?>
57
+ <dt>
58
+ <?php echo $this->__('Shipping Address') ?>
59
+ </dt>
60
+ <?php endif; ?>
61
+ <?php endif; ?>
62
+
63
+ <?php if ($this->getCheckout()->getStepData('shipping_method', 'is_show')): ?>
64
+ <?php if($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
65
+ <dt class="complete">
66
+ <?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="#shipping_method" onclick="checkout.accordion.openSection('opc-shipping_method'); return false;"><?php echo $this->__('Change') ?></a>
67
+ </dt>
68
+ <dd class="complete">
69
+ <?php if ($this->getShippingMethod()): ?>
70
+ <?php echo $this->getShippingDescription() ?>
71
+
72
+ <?php $_excl = $this->getShippingPriceExclTax(); ?>
73
+ <?php $_incl = $this->getShippingPriceInclTax(); ?>
74
+ <?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
75
+ <?php echo $_incl; ?>
76
+ <?php else: ?>
77
+ <?php echo $_excl; ?>
78
+ <?php endif; ?>
79
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
80
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
81
+ <?php endif; ?>
82
+
83
+ <?php else: ?>
84
+ <?php echo $this->__('Shipping method has not been selected yet') ?>
85
+ <?php endif; ?>
86
+ </dd>
87
+ <?php else: ?>
88
+ <dt>
89
+ <?php echo $this->__('Shipping Method') ?>
90
+ </dt>
91
+ <?php endif; ?>
92
+ <?php endif; ?>
93
+
94
+ <?php if ($this->getCheckout()->getStepData('payment', 'is_show')): ?>
95
+ <?php if($this->getCheckout()->getStepData('payment', 'complete')): ?>
96
+ <dt class="complete">
97
+ <?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="#payment" onclick="checkout.accordion.openSection('opc-payment'); return false;"><?php echo $this->__('Change') ?></a>
98
+ </dt>
99
+ <dd class="complete">
100
+ <?php echo $this->getPaymentHtml() ?>
101
+ </dd>
102
+ <?php else: ?>
103
+ <dt>
104
+ <?php echo $this->__('Payment Method') ?>
105
+ </dt>
106
+ <?php endif; ?>
107
+ <?php endif; ?>
108
+ </dl>
109
+ </div>
110
+ </div>
app/design/frontend/default/magezon/template/checkout/onepage/review.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="order-review" id="checkout-review-load">
28
+ <?php echo $this->getChildHtml('info') ?>
29
+ </div>
30
+ <?php echo $this->getChildHtml('agreements') ?>
31
+ <div class="buttons-set" id="review-buttons-container">
32
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
33
+ <button type="submit" class="button" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
34
+ <span id="review-please-wait" class="please-wait" style="display:none;">
35
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
36
+ </span>
37
+ </div>
38
+ <script type="text/javascript">
39
+ //<![CDATA[
40
+ var review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
41
+ //]]>
42
+ </script>
app/design/frontend/default/magezon/template/checkout/onepage/review/info.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <table class="data-table" id="checkout-review-table">
28
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
29
+ <col />
30
+ <col width="1" />
31
+ <col width="1" />
32
+ <col width="1" />
33
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
34
+ <col width="1" />
35
+ <col width="1" />
36
+ <?php endif; ?>
37
+ <thead>
38
+ <tr>
39
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
40
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
41
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Qty') ?></th>
42
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
43
+ </tr>
44
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
45
+ <tr>
46
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
47
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
48
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
49
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
50
+ </tr>
51
+ <?php endif; ?>
52
+ </thead>
53
+ <?php echo $this->getChildHtml('totals'); ?>
54
+ <tbody>
55
+ <?php foreach($this->getItems() as $_item): ?>
56
+ <?php echo $this->getItemHtml($_item)?>
57
+ <?php endforeach ?>
58
+ </tbody>
59
+ </table>
60
+ <script type="text/javascript">
61
+ //<![CDATA[
62
+ decorateTable('checkout-review-table');
63
+ truncateOptions();
64
+ //]]>
65
+ </script>
app/design/frontend/default/magezon/template/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><h4 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h4>
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->htmlEscape($_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->htmlEscape($_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
+ </td>
49
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
50
+ <td class="a-right">
51
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
52
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
53
+ <?php else: ?>
54
+ <div class="cart-price">
55
+ <?php endif; ?>
56
+
57
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
58
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
59
+ <?php else: ?>
60
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
61
+ <?php endif; ?>
62
+
63
+ </div>
64
+
65
+
66
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
67
+
68
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
69
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
70
+ <small>
71
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
72
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
73
+ <?php endforeach; ?>
74
+ </small>
75
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
76
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
77
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
78
+ <?php endforeach; ?>
79
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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_incl_tax'],true,true); ?></span><br />
83
+ <?php endforeach; ?>
84
+ </small>
85
+ <?php endif; ?>
86
+ </div>
87
+
88
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
89
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
90
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
91
+ </div>
92
+ <?php endif; ?>
93
+ <?php endif; ?>
94
+ </td>
95
+ <?php endif; ?>
96
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
97
+ <td>
98
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
99
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
100
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
101
+ <?php else: ?>
102
+ <div class="cart-price">
103
+ <?php endif; ?>
104
+
105
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
106
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
107
+ <?php else: ?>
108
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
109
+ <?php endif; ?>
110
+
111
+ </div>
112
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
113
+
114
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
115
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
116
+ <small>
117
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
118
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
119
+ <?php endforeach; ?>
120
+ </small>
121
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
122
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
123
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
124
+ <?php endforeach; ?>
125
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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 endif; ?>
132
+ </div>
133
+
134
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
135
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
136
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
137
+ </div>
138
+ <?php endif; ?>
139
+ <?php endif; ?>
140
+ </td>
141
+ <?php endif; ?>
142
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
143
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
144
+ <td class="a-right">
145
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
146
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
147
+ <?php else: ?>
148
+ <div class="cart-price">
149
+ <?php endif; ?>
150
+
151
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
152
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
153
+ <?php else: ?>
154
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
155
+ <?php endif; ?>
156
+
157
+ </div>
158
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
159
+
160
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
161
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
162
+ <small>
163
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
164
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
165
+ <?php endforeach; ?>
166
+ </small>
167
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
168
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
169
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
170
+ <?php endforeach; ?>
171
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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_incl_tax'],true,true); ?></span><br />
175
+ <?php endforeach; ?>
176
+ </small>
177
+ <?php endif; ?>
178
+ </div>
179
+
180
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
181
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
182
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
183
+ </div>
184
+ <?php endif; ?>
185
+ <?php endif; ?>
186
+ </td>
187
+ <?php endif; ?>
188
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
189
+ <td>
190
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
191
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
192
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
193
+ <?php else: ?>
194
+ <div class="cart-price">
195
+ <?php endif; ?>
196
+
197
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
198
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
199
+ <?php else: ?>
200
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
201
+ <?php endif; ?>
202
+
203
+ </div>
204
+
205
+
206
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
207
+
208
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
209
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
210
+ <small>
211
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
212
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
213
+ <?php endforeach; ?>
214
+ </small>
215
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
216
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
217
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
218
+ <?php endforeach; ?>
219
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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 endif; ?>
226
+ </div>
227
+
228
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
229
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
230
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
231
+ </div>
232
+ <?php endif; ?>
233
+ <?php endif; ?>
234
+ </td>
235
+ <?php endif; ?>
236
+ </tr>
app/design/frontend/default/magezon/template/checkout/onepage/review/totals.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->getTotals()): ?>
28
+ <tfoot>
29
+ <?php $_colspan = $this->helper('tax')->displayCartBothPrices() ? 5 : 3; ?>
30
+ <?php echo $this->renderTotals(null, $_colspan); ?>
31
+ <?php echo $this->renderTotals('footer', $_colspan); ?>
32
+ </tfoot>
33
+ <?php endif; ?>
app/design/frontend/default/magezon/template/checkout/onepage/shipping.phtml ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <fieldset>
29
+ <ul class="form-list group-select">
30
+ <?php if ($this->customerHasAddresses()): ?>
31
+ <li>
32
+ <label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label><br />
33
+ <?php echo $this->getAddressesHtmlSelect('shipping') ?>
34
+ </li>
35
+ <?php endif ?>
36
+ <li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
37
+ <fieldset>
38
+ <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
39
+ <ul>
40
+ <li><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())
41
+ ->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
42
+ <li><div class="input-box">
43
+ <label for="shipping:company"><?php echo $this->__('Company') ?></label><br />
44
+ <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" onchange="shipping.setSameAsBilling(false);" /></div>
45
+ <?php if(false): ?>
46
+ <div class="input-box">
47
+ <label for="shipping:email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
48
+ <input type="text" name="shipping[email]" id="shipping:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" /></div>
49
+ <?php endif ?>
50
+ </li>
51
+ <li><label for="shipping:street1"><?php echo $this->__('Address') ?> <span class="required">*</span></label><br />
52
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][]" id="shipping:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="input-text required-entry" onchange="shipping.setSameAsBilling(false);" /></li>
53
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
54
+ <li><input type="text" title="<?php echo $this->__('Street Address '.$_i) ?>" name="shipping[street][]" id="shipping:street<?php echo $_i?>" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" class="input-text" onchange="shipping.setSameAsBilling(false);" /></li>
55
+ <?php endfor ?>
56
+ <li><div class="input-box">
57
+ <label for="shipping:city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
58
+ <input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="input-text required-entry" id="shipping:city" onchange="shipping.setSameAsBilling(false);" /></div>
59
+ <div class="input-box">
60
+ <label for="shipping:region"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
61
+ <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
62
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
63
+ </select>
64
+ <script type="text/javascript">
65
+ $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
66
+ </script>
67
+ <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" /></div></li>
68
+ <li><div class="input-box">
69
+ <label for="shipping:postcode"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
70
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international required-entry" onchange="shipping.setSameAsBilling(false);" /></div>
71
+ <div class="input-box">
72
+ <label for="shipping:country_id"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
73
+ <?php echo $this->getCountryHtmlSelect('shipping') ?>
74
+ </div></li>
75
+ <li><div class="input-box">
76
+ <label for="shipping:telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
77
+ <input type="text" name="shipping[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" /></div>
78
+ <div class="input-box">
79
+ <label for="shipping:fax"><?php echo $this->__('Fax') ?></label><br />
80
+ <input type="text" name="shipping[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" /></div></li>
81
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
82
+ <li><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>
83
+ <?php else:?>
84
+ <li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
85
+ <?php endif;?>
86
+ <li><input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /> <label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label></li>
87
+ </ul>
88
+ </fieldset>
89
+ </li>
90
+ </ul>
91
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
92
+ <div class="buttons-set" id="shipping-buttons-container">
93
+ <a href="#" onclick="checkout.back(); return false;" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
94
+ <button type="button" class="button" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
95
+ <span id="shipping-please-wait" class="please-wait" style="display:none;">
96
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
97
+ </span>
98
+ </div>
99
+ </fieldset>
100
+ </form>
101
+ <script type="text/javascript">
102
+ //<![CDATA[
103
+ var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
104
+ '<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
105
+ var shippingForm = new VarienForm('co-shipping-form');
106
+ shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
107
+ //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
108
+ $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
109
+
110
+ var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', countryRegions);
111
+ //]]>
112
+ </script>
app/design/frontend/default/magezon/template/checkout/onepage/shipping_method.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="co-shipping-method-form" action="">
28
+ <fieldset>
29
+ <div id="checkout-shipping-method-load">
30
+ <?php echo $this->getChildHtml('available') ?>
31
+ </div>
32
+ <script type="text/javascript">
33
+ //<![CDATA[
34
+ var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
35
+ //]]>
36
+ </script>
37
+ <div id="onepage-checkout-shipping-method-additional-load">
38
+ <?php echo $this->getChildHtml('additional') ?>
39
+ </div>
40
+ <div class="buttons-set" id="shipping-method-buttons-container">
41
+ <a href="#" onclick="checkout.back(); return false;" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
42
+ <button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
43
+ <span id="shipping-method-please-wait" class="please-wait" style="display:none;">
44
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
45
+ </span>
46
+ </div>
47
+ </fieldset>
48
+ </form>
app/design/frontend/default/magezon/template/checkout/onepage/shipping_method/additional.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
app/design/frontend/default/magezon/template/checkout/onepage/shipping_method/available.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (!($_shippingRateGroups = $this->getShippingRates())): ?>
28
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
29
+ <?php else: ?>
30
+ <dl class="sp-methods">
31
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
32
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
33
+ <dd>
34
+ <ul>
35
+ <?php foreach ($_rates as $_rate): ?>
36
+ <li>
37
+ <?php if ($_rate->getErrorMessage()): ?>
38
+ <ul class="messages"><li class="error-msg"><ul><li><?php echo $_rate->getErrorMessage() ?></li></ul></li></ul>
39
+ <?php else: ?>
40
+ <input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
41
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
42
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
43
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
44
+ <?php echo $_excl; ?>
45
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
46
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
47
+ <?php endif; ?>
48
+ </label>
49
+ <?php endif ?>
50
+ </li>
51
+ <?php endforeach; ?>
52
+ </ul>
53
+ </dd>
54
+ <?php endforeach; ?>
55
+ </dl>
56
+ <?php endif; ?>
app/design/frontend/default/magezon/template/checkout/success.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Your order has been received') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <h3><?php echo $this->__('Thank you for your purchase!') ?></h3>
32
+ <?php if ($this->canPrint()) :?>
33
+ <p><?php echo $this->__('Your order # is: <a href="%s">%s</a>', $this->getViewOrderUrl(), $this->getOrderId()) ?>.</p>
34
+ <?php else :?>
35
+ <p><?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>.</p>
36
+ <?php endif;?>
37
+ <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
38
+ <?php if ($this->canPrint()) :?>
39
+ <p>
40
+ <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
41
+ <?php echo $this->getChildHtml() ?>
42
+ </p>
43
+ <?php endif;?>
44
+ <div class="buttons-set">
45
+ <button type="button" class="button" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
46
+ </div>
app/design/frontend/default/magezon/template/checkout/total/default.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <tr>
28
+ <th colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
29
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
30
+ <?php echo $this->getTotal()->getTitle() ?>
31
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
32
+ </th>
33
+ <td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
34
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
35
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>
36
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
37
+ </td>
38
+ </tr>
app/design/frontend/default/magezon/template/checkout/total/tax.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php global $taxIter; $taxIter++; ?>
28
+ <?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?>
29
+ <?php $isTop = 1; ?>
30
+ <?php foreach ($this->getTotal()->getFullInfo() as $info): ?>
31
+ <?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
32
+ <?php $percent = $info['percent']; ?>
33
+ <?php $amount = $info['amount']; ?>
34
+ <?php $rates = $info['rates']; ?>
35
+ <?php $isFirst = 1; ?>
36
+
37
+ <?php foreach ($rates as $rate): ?>
38
+ <tr class="tax-details-<?php echo $taxIter; ?> tax-details<?php if ($isTop): echo ' tax-details-first'; endif; ?>" style="display:none;">
39
+ <td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>" colspan="<?php echo $this->getColspan(); ?>">
40
+ <?php echo $rate['title']; ?>
41
+ <?php if ($rate['percent']): ?>
42
+ (<?php echo $rate['percent']; ?>%)
43
+ <?php endif; ?>
44
+ <br />
45
+ </td>
46
+ <?php if ($isFirst): ?>
47
+ <td rowspan="<?php echo count($rates); ?>" class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
48
+ <?php echo $this->helper('checkout')->formatPrice($amount); ?>
49
+ </td>
50
+ <?php endif; ?>
51
+ </tr>
52
+ <?php $isFirst = 0; ?>
53
+ <?php $isTop = 0; ?>
54
+ <?php endforeach; ?>
55
+ <?php endforeach; ?>
56
+ <?php endif;?>
57
+ <tr<?php if ($this->helper('tax')->displayFullSummary() && $this->getTotal()->getValue()!=0): ?> class="tax-total" onclick="expandDetails(this, '.tax-details-<?php echo $taxIter;?>')"<?php endif; ?>>
58
+ <td class="a-right" colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>">
59
+ <?php if ($this->helper('tax')->displayFullSummary()): ?>
60
+ <div class="tax-collapse"><?php echo $this->getTotal()->getTitle() ?></div>
61
+ <?php else: ?>
62
+ <?php echo $this->getTotal()->getTitle() ?>
63
+ <?php endif;?>
64
+ </td>
65
+ <td class="a-right" style="<?php echo $this->getTotal()->getStyle() ?>">
66
+ <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
67
+ </td>
68
+ </tr>
app/design/frontend/default/magezon/template/cms/content.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $pageData->getPageContent(); ?>
app/design/frontend/default/magezon/template/cms/default/home.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ There was no Home CMS page configured or found.
app/design/frontend/default/magezon/template/cms/default/no-route.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ There was no 404 CMS page configured or found.
app/design/frontend/default/magezon/template/cms/meta.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($pageData->getPageMetaKeywords()): ?>
28
+ <meta name="keywords" content="<?php echo $pageData->getPageMetaKeywords() ?>" />
29
+ <?php endif; ?>
30
+ <?php if($pageData->getPageMetaDescription()): ?>
31
+ <meta name="description" content="<?php echo $pageData->getPageMetaDescription() ?>" />
32
+ <?php endif; ?>
app/design/frontend/default/magezon/template/cms/wrapper.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="std">
28
+ <?php echo $this->getChidHtml(); ?>
29
+ </div>
30
+ <?php
31
+ /**
32
+ * Magento
33
+ *
34
+ * NOTICE OF LICENSE
35
+ *
36
+ * This source file is subject to the Academic Free License (AFL 3.0)
37
+ * that is bundled with this package in the file LICENSE_AFL.txt.
38
+ * It is also available through the world-wide-web at this URL:
39
+ * http://opensource.org/licenses/afl-3.0.php
40
+ * If you did not receive a copy of the license and are unable to
41
+ * obtain it through the world-wide-web, please send an email
42
+ * to license@magentocommerce.com so we can send you a copy immediately.
43
+ *
44
+ * DISCLAIMER
45
+ *
46
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
47
+ * versions in the future. If you wish to customize Magento for your
48
+ * needs please refer to http://www.magentocommerce.com for more information.
49
+ *
50
+ * @category design_blank
51
+ * @package Mage
52
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
53
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
54
+ */
55
+ ?>
56
+ <div class="std">
57
+ <?php echo $this->getChildHtml(); ?>
58
+ </div>
app/design/frontend/default/magezon/template/contacts/form.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
28
+ <div class="page-title">
29
+ <h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
30
+ </div>
31
+ <form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
32
+ <fieldset>
33
+ <h3><?php echo Mage::helper('contacts')->__('Contact Information') ?></h3>
34
+ <ul class="form-list group-select">
35
+ <li>
36
+ <div class="input-box">
37
+ <label for="name"><?php echo Mage::helper('contacts')->__('Name') ?> <span class="required">*</span></label><br />
38
+ <input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
39
+ </div>
40
+
41
+ <div class="input-box">
42
+ <label for="email"><?php echo Mage::helper('contacts')->__('Email') ?> <span class="required">*</span></label><br />
43
+ <input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" />
44
+ </div>
45
+ </li>
46
+ <li>
47
+ <div class="input-box">
48
+ <label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label><br />
49
+ <input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
50
+ </div>
51
+ </li>
52
+ <li>
53
+ <label for="comment"><?php echo Mage::helper('contacts')->__('Comment') ?> <span class="required">*</span></label><br />
54
+ <textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" style="height:150px;" cols="5" rows="3"></textarea>
55
+ </li>
56
+ </ul>
57
+ </fieldset>
58
+ <p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
59
+ <div class="buttons-set">
60
+ <button type="submit" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
61
+ </div>
62
+ </form>
63
+ <script type="text/javascript">
64
+ //<![CDATA[
65
+ var contactForm = new VarienForm('contactForm', true);
66
+ //]]>
67
+ </script>
app/design/frontend/default/magezon/template/core/formkey.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
app/design/frontend/default/magezon/template/core/messages.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php foreach ($types as $type) {
28
+ if ( $messages = $this->getMessages($type) ) {
29
+ if ( !$html ) {
30
+ $html .= '<ul class="messages">';
31
+ }
32
+ $html .= '<li class="' . $type . '-msg">';
33
+ $html .= '<ul>';
34
+
35
+ foreach ( $messages as $message ) {
36
+ $html.= '<li>';
37
+ $html.= $message->getText();
38
+ $html.= '</li>';
39
+ }
40
+ $html .= '</ul>';
41
+ $html .= '</li>';
42
+ }
43
+ }
44
+ if ( $html) {
45
+ $html .= '</ul>';
46
+ }
47
+ ?>
app/design/frontend/default/magezon/template/customer/account/dashboard.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('My Dashboard') ?></h2>
29
+ </div>
30
+ <div class="dashboard">
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <?php echo $this->getChildHtml('hello') ?>
33
+ <?php echo $this->getChildHtml('top') ?>
34
+ <h3><?php echo $this->__('Account Information') ?></h3>
35
+ <?php echo $this->getChildHtml('info') ?>
36
+ <?php echo $this->getChildHtml('address') ?>
37
+ <?php echo $this->getChildHtml('info1') ?>
38
+ <?php echo $this->getChildHtml('info2') ?>
39
+ </div>
app/design/frontend/default/magezon/template/customer/account/dashboard/address.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col2-set">
28
+ <h4><?php echo $this->__('Address Book') ?></h4>
29
+ <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
30
+ <div class="col-1">
31
+ <h5><?php echo $this->__('Primary Billing Address') ?></h5>
32
+ <address>
33
+ <?php echo $this->getPrimaryBillingAddressHtml() ?><br />
34
+ <a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
35
+ </address>
36
+ </div>
37
+ <div class="col-2">
38
+ <h5><?php echo $this->__('Primary Shipping Address') ?></h5>
39
+ <address>
40
+ <?php echo $this->getPrimaryShippingAddressHtml() ?><br />
41
+ <a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
42
+ </address>
43
+ </div>
44
+ </div>
app/design/frontend/default/magezon/template/customer/account/dashboard/hello.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="welcome-msg">
28
+ <h3><?php echo $this->__('Hello, %s!', $this->htmlEscape($this->getCustomerName())) ?></h3>
29
+ <p><?php echo $this->__('From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.') ?></p>
30
+ </div>
app/design/frontend/default/magezon/template/customer/account/dashboard/info.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col2-set">
28
+ <div class="col-1">
29
+ <h4><?php echo $this->__('Contact Information') ?></h4>
30
+ <a href="<?php echo $this->getUrl('customer/account/edit') ?>"><?php echo $this->__('Edit') ?></a>
31
+ <p>
32
+ <?php echo $this->htmlEscape($this->getCustomer()->getName()) ?><br />
33
+ <?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?><br />
34
+ <a href="<?php echo $this->getChangePasswordUrl() ?>"><?php echo $this->__('Change Password') ?></a>
35
+ </p>
36
+ </div>
37
+ <?php if( $this->isNewsletterEnabled() ): ?>
38
+ <div class="col-2">
39
+ <h4><?php echo $this->__('Newsletters') ?></h4>
40
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit') ?></a>
41
+ <p>
42
+ <?php if( $this->getIsSubscribed() ): ?>
43
+ <?php echo $this->__("You are currently subscribed to 'General Subscription'.") ?>
44
+ <?php else: ?>
45
+ <?php echo $this->__('You are currently not subscribed to any newsletter.') ?>
46
+ <?php endif; ?>
47
+ </p>
48
+ </div>
49
+ <?php endif; ?>
50
+ </div>
app/design/frontend/default/magezon/template/customer/account/dashboard/newsletter.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col-2">
28
+ <h4><?php echo $this->__('Newsletters') ?></h4>
29
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit Newsletters') ?></a>
30
+ <p><?php echo $this->__('You are currently subscribed to our newsletter.') ?></p>
31
+ </div>
app/design/frontend/default/magezon/template/customer/account/dashboard/sidebar.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
app/design/frontend/default/magezon/template/customer/account/link/back.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="buttons-set">
28
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
29
+ </div>
app/design/frontend/default/magezon/template/customer/account/navigation.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><?php echo $this->__('My Account'); ?></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' : '') ?>"><span><?php echo $_link->getLabel() ?></span></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/default/magezon/template/customer/address.phtml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2>Address Book</h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <table width="100%">
32
+ <tr>
33
+ <td style="width:50%;"><h3>Primary</h3>
34
+ <table width="100%">
35
+ <?php if(!empty($primaryAddresses)): ?>
36
+ <?php foreach($primaryAddresses as $_address): ?>
37
+ <tr>
38
+ <td>
39
+ <address>
40
+ <?php echo $_address->format('html') ?>
41
+ </address>
42
+ <p>
43
+ <strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong>
44
+ </p>
45
+ </td>
46
+ </tr>
47
+ <?php endforeach; ?>
48
+ <?php else: ?>
49
+ <tr>
50
+ <td>
51
+ <p><?php echo $this->__('You have no primary entries in your address book.') ?></p>
52
+ </td>
53
+ </tr>
54
+ <?php endif ?>
55
+ </table>
56
+ </td>
57
+ <td style="width:50%;"><h3><?php echo $this->__('Additional Address Entries') ?></h3>
58
+ <table width="100%">
59
+ <?php if(!empty($alternativeAddresses)): ?>
60
+ <?php foreach($alternativeAddresses as $_address): ?>
61
+ <tr>
62
+ <td>
63
+ <address>
64
+ <?php echo $_address->format('html') ?>
65
+ </address>
66
+ <p>
67
+ <strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong><span class="separator">&nbsp;|&nbsp;</span><strong><a href="#" onclick="return deleteAddress('<?php echo $_address->getAddressId() ?>');" class="red-link"><?php echo $this->__('Delete Address') ?></a></strong>
68
+ </p>
69
+ </td>
70
+ </tr>
71
+ <?php endforeach; ?>
72
+ <?php else: ?>
73
+ <tr>
74
+ <td>
75
+ <p><?php echo $this->__('You have no additional entries in your address book.') ?></p>
76
+ </td>
77
+ </tr>
78
+ <?php endif ?>
79
+ </table>
80
+ </td>
81
+ </tr>
82
+ </table>
83
+ <div class="buttons-set">
84
+ <a href="<?php echo $this->getUrl('customer/account/') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
85
+ <button type="button" onclick="window.location='<?php echo $this->getUrl('customer/address/form') ?>';" class="button"><span><span><?php echo $this->__('New Address') ?></span></span></button>
86
+ </div>
87
+ <script type="text/javascript">
88
+ function deleteAddress(addressId) {
89
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
90
+ window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
91
+ }
92
+ return false;
93
+ }
94
+ </script>
app/design/frontend/default/magezon/template/customer/address/book.phtml ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Temlate for Mage_Customer_Block_Address_Book block
30
+ * @var $test Mage_Customer_Block_Address_Book
31
+ */
32
+ ?>
33
+ <div class="page-title title-buttons">
34
+ <h2><?php echo $this->__('Address Book') ?></h2>
35
+ <button type="button" class="button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <div class="col2-set">
39
+ <div class="col-1">
40
+ <h3><?php echo $this->__('Default Addresses') ?></h3>
41
+ <ol>
42
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
43
+ <li>
44
+ <h4><?php echo $this->__('Default Billing Address') ?></h4>
45
+ <address>
46
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br />
47
+ <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a></address>
48
+ </li>
49
+ <?php elseif($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
50
+ <li>
51
+ <h4><?php echo $this->__('Default Billing Address') ?></h4>
52
+ <address>
53
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br />
54
+ <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a>
55
+ </address>
56
+ </li>
57
+ <?php else: ?>
58
+ <li>
59
+ <h4><?php echo $this->__('Default Billing Address') ?></h4>
60
+ <?php echo $this->__('You have no default billing address in your address book.') ?></li>
61
+ <?php endif ?>
62
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
63
+ <li>
64
+ <h4><?php echo $this->__('Default Shipping Address') ?></h4>
65
+ <address>
66
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br />
67
+ <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a>
68
+ </address>
69
+ </li>
70
+ <?php elseif($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
71
+ <li>
72
+ <h4><?php echo $this->__('Default Shipping Address') ?></h4>
73
+ <address>
74
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br />
75
+ <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a>
76
+ </address>
77
+ </li>
78
+ <?php else: ?>
79
+ <li>
80
+ <h4><?php echo $this->__('Default Shipping Address') ?></h4><?php echo $this->__('You have no default shipping address in your address book.') ?>
81
+ </li>
82
+ <?php endif ?>
83
+ </ol>
84
+ </div>
85
+ <div class="col-2">
86
+ <h3><?php echo $this->__('Additional Address Entries') ?></h3>
87
+ <ol>
88
+ <?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
89
+ <?php foreach($_pAddsses as $_address): ?>
90
+ <li>
91
+ <address>
92
+ <?php echo $this->getAddressHtml($_address) ?><br />
93
+ <a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a>
94
+ <span class="separator">|</span>
95
+ <a href="#" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a>
96
+ </address>
97
+ </li>
98
+ <?php endforeach; ?>
99
+ <?php else: ?>
100
+ <li><?php echo $this->__('You have no additional address entries in your address book.') ?></li>
101
+ <?php endif ?>
102
+ </ol>
103
+ </div>
104
+ </div>
105
+ <div class="buttons-set">
106
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
107
+ </div>
108
+ <script type="text/javascript">
109
+ //<![CDATA[
110
+ function deleteAddress(addressId) {
111
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
112
+ window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
113
+ }
114
+ return false;
115
+ }
116
+ //]]>
117
+ </script>
app/design/frontend/default/magezon/template/customer/address/edit.phtml ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->getTitle() ?></h2>
37
+ </div>
38
+ <?php endif; ?>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
41
+ <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
+ <h3><?php echo $this->__('Contact Information') ?></h3>
46
+ <ul class="form-list group-select">
47
+ <li>
48
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getCustomer())->toHtml() ?>
49
+ </li>
50
+ <li>
51
+ <label for="company"><?php echo $this->__('Company') ?></label><br />
52
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" class="input-text" />
53
+ </li>
54
+ <li>
55
+ <div class="input-box">
56
+ <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
57
+ <input type="text" name="telephone" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" id="telephone" />
58
+ </div>
59
+ <div class="input-box">
60
+ <label for="fax"><?php echo $this->__('Fax') ?></label><br />
61
+ <input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" class="input-text" />
62
+ </div>
63
+ </li>
64
+ </ul>
65
+ </fieldset>
66
+ <fieldset>
67
+ <h3><?php echo $this->__('Address') ?></h3>
68
+ <ul class="form-list group-select">
69
+ <li>
70
+ <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
71
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
72
+ </li>
73
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
74
+ <li>
75
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
76
+ </li>
77
+ <?php endfor ?>
78
+ <li>
79
+ <div class="input-box">
80
+ <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
81
+ <input type="text" name="city" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
82
+ </div>
83
+ <div class="input-box">
84
+ <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
85
+ <select id="region_id" name="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
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
90
+ </script>
91
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
92
+ </div>
93
+ </li>
94
+ <li>
95
+ <div class="input-box">
96
+ <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
97
+ <input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
98
+ </div>
99
+ <div class="input-box">
100
+ <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
101
+ <?php echo $this->getCountryHtmlSelect() ?>
102
+ </div>
103
+ </li>
104
+ <li>
105
+ <?php if($this->isDefaultBilling()): ?>
106
+ <strong><?php echo $this->__('Default Billing Address') ?></strong>
107
+ <?php elseif($this->canSetAsDefaultBilling()): ?>
108
+ <input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox" />
109
+ <label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
110
+ <?php else: ?>
111
+ <input type="hidden" name="default_billing" value="1" />
112
+ <?php endif; ?>
113
+ </li>
114
+ <li>
115
+ <?php if($this->isDefaultShipping()): ?>
116
+ <strong><?php echo $this->__('Default Shipping Address') ?></strong>
117
+ <?php elseif($this->canSetAsDefaultShipping()): ?>
118
+ <input type="checkbox" id="primary_shipping" name="default_shipping" value="1" class="checkbox" />
119
+ <label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
120
+ <?php else: ?>
121
+ <input type="hidden" name="default_shipping" value="1" />
122
+ <?php endif; ?>
123
+ </li>
124
+ </ul>
125
+ </fieldset>
126
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
127
+ <div class="buttons-set">
128
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
129
+ <button type="submit" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
130
+ </div>
131
+ </form>
132
+ <script type="text/javascript">
133
+ //<![CDATA[
134
+ var dataForm = new VarienForm('form-validate', true);
135
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
136
+ //]]>
137
+ </script>
app/design/frontend/default/magezon/template/customer/balance.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <?php echo $this->__('Your account balance is: %s', $customer->getStoreBalance()) ?>
29
+ <div class="buttons-set">
30
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
31
+ </div>
app/design/frontend/default/magezon/template/customer/form/address.phtml ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h2>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
34
+ <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
+ <h3><?php echo $this->__('Personal Information') ?></h3>
38
+ <ul class="form-list group-select">
39
+ <li>
40
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
41
+ </li>
42
+ <li>
43
+ <div class="input-box">
44
+ <label for="company"><?php echo $this->__('Company') ?></label><br />
45
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->htmlEscape($data->getCompany()) ?>" class="input-text" />
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </fieldset>
50
+ <fieldset>
51
+ <h3><?php echo $this->__('Address') ?></h3>
52
+ <ul class="form-list group-select">
53
+ <li>
54
+ <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
55
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
56
+ </li>
57
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
58
+ <li>
59
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
60
+ </li>
61
+ <?php endfor ?>
62
+ <li>
63
+ <div class="input-box">
64
+ <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
65
+ <input type="text" name="city" value="<?php echo $this->htmlEscape($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
66
+ </div>
67
+ <div class="input-box">
68
+ <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
69
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
70
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
71
+ </select>
72
+ <script type="text/javascript">
73
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
74
+ </script>
75
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text required-entry" style="display:none;" />
76
+ </div>
77
+ </li>
78
+ <li>
79
+ <div class="input-box">
80
+ <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
81
+ <input type="text" name="postcode" value="<?php echo $this->htmlEscape($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
82
+ </div>
83
+ <div class="input-box">
84
+ <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
85
+ <select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
86
+ <?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
87
+ </select>
88
+ </div>
89
+ </li>
90
+ <li>
91
+ <div class="input-box">
92
+ <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
93
+ <input type="text" name="telephone" value="<?php echo $this->htmlEscape($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text" id="telephone" /></div>
94
+ <div class="input-box">
95
+ <label for="fax"><?php echo $this->__('Fax') ?></label><br />
96
+ <input type="text" name="fax" value="<?php echo $this->htmlEscape($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="fax" />
97
+ </div>
98
+ </li>
99
+ <?php foreach ($primaryTypes as $code=>$type): ?>
100
+ <li>
101
+ <?php if ($address->isPrimary($type['address_type_id'])): ?>
102
+ <?php echo $this->__("This is My Primary %s Address", ucfirst($type['name'])) ?>
103
+ <?php else: ?>
104
+ <input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" />
105
+ <label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Primary %s Address", ucfirst($type['name'])) ?></label>
106
+ <?php endif ?>
107
+ </li>
108
+ <?php endforeach ?>
109
+ </ul>
110
+ </fieldset>
111
+ <div class="buttons-set">
112
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
113
+ <a href="<?php echo $this->getUrl('customer/address/') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
114
+ <button class="button" type="submit"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
115
+ </div>
116
+ </form>
117
+ <script type="text/javascript">
118
+ //<![CDATA[
119
+ var dataForm = new VarienForm('form-validate', true);
120
+ //dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
121
+ new RegionUpdater('country', 'region', 'region_id', countryRegions);
122
+ //]]>
123
+ </script>
app/design/frontend/default/magezon/template/customer/form/changepassword.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
29
+ <fieldset class="group-select">
30
+ <legend><?php echo $this->__('Change Account Password') ?></legend>
31
+ <ul>
32
+ <li>
33
+ <div class="input-box">
34
+ <label for="current_password"><?php echo $this->__('Current Password') ?> <span class="required">*</span></label><br />
35
+ <input type="password" class="input-text required-entry" name="current_password" id="current_password" />
36
+ </div>
37
+ </li>
38
+ <li>
39
+ <div class="input-box">
40
+ <label for="password"><?php echo $this->__('New Password') ?> <span class="required">*</span></label><br />
41
+ <input type="password" class="input-text required-entry validate-password" name="password" id="password" />
42
+ </div>
43
+ <div class="input-box">
44
+ <label for="confirmation"><?php echo $this->__('Confirm New Password') ?> <span class="required">*</span></label><br />
45
+ <input type="password" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </fieldset>
50
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
51
+ <div class="buttons-set">
52
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
53
+ <button type="submit" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
54
+ </div>
55
+ </form>
56
+ <script type="text/javascript">
57
+ //<![CDATA[
58
+ var dataForm = new VarienForm('form-validate');
59
+ //]]>
60
+ </script>
app/design/frontend/default/magezon/template/customer/form/confirmation.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h3><?php echo $this->__('Send confirmation link') ?></h3>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="" method="post" id="form-validate">
32
+ <fieldset>
33
+ <legend><?php echo $this->__('Retrieve your confirmation link here') ?></legend>
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
+ <div class="input-box"><label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
38
+ <input type="text" name="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->htmlEscape($this->getEmail()) ?>" /></div></li>
39
+ </ul>
40
+ <div class="buttons-set">
41
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
42
+ <a href="<?php echo $this->helper('customer')->getLoginUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Login') ?></a>
43
+ <button type="submit" class="button right"><span><span><?php echo $this->__('Submit') ?></span></span></button>
44
+ </div>
45
+ </fieldset>
46
+ </form>
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ var dataForm = new VarienForm('form-validate', true);
50
+ //]]>
51
+ </script>
app/design/frontend/default/magezon/template/customer/form/edit.phtml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Edit Account Information') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
32
+ <fieldset>
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <h3><?php echo $this->__('Account Information') ?></h3>
35
+ <ul class="form-list group-select">
36
+ <li>
37
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
38
+ </li>
39
+ <li>
40
+ <div class="input-box">
41
+ <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
42
+ <input type="text" name="email" id="email" value="<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" />
43
+ </div>
44
+ </li>
45
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
46
+ <?php if ($_dob->isEnabled()): ?>
47
+ <li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
48
+ <?php endif ?>
49
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
50
+ <?php if ($_taxvat->isEnabled()): ?>
51
+ <li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
52
+ <?php endif ?>
53
+ <li>
54
+ <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>
55
+ </li>
56
+ </ul>
57
+ </fieldset>
58
+ <fieldset style="display:none;">
59
+ <h3><?php echo $this->__('Change Password') ?></h3>
60
+ <ul class="form-list group-select">
61
+ <li>
62
+ <div class="input-box">
63
+ <label for="current_password"><?php echo $this->__('Current Password') ?></label><br />
64
+ <input type="password" class="input-text" name="current_password" id="current_password" />
65
+ </div>
66
+ </li>
67
+ <li>
68
+ <div class="input-box">
69
+ <label for="password"><?php echo $this->__('New Password') ?></label><br />
70
+ <input type="password" class="input-text validate-password" name="password" id="password" />
71
+ </div>
72
+ <div class="input-box">
73
+ <label for="confirmation"><?php echo $this->__('Confirm New Password') ?></label><br />
74
+ <input type="password" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
75
+ </div>
76
+ </li>
77
+ </ul>
78
+ </fieldset>
79
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
80
+ <div class="buttons-set">
81
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
82
+ <button type="submit" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
83
+ </div>
84
+ </form>
85
+ <script type="text/javascript">
86
+ //<![CDATA[
87
+ var dataForm = new VarienForm('form-validate', true);
88
+ function setPasswordForm(arg){
89
+ if(arg){
90
+ $('current_password').up(3).show();
91
+ $('current_password').addClassName('required-entry');
92
+ $('password').addClassName('required-entry');
93
+ $('confirmation').addClassName('required-entry');
94
+
95
+ }else{
96
+ $('current_password').up(3).hide();
97
+ $('current_password').removeClassName('required-entry');
98
+ $('password').removeClassName('required-entry');
99
+ $('confirmation').removeClassName('required-entry');
100
+ }
101
+ }
102
+ <?php if($this->getCustomer()->getChangePassword()): ?>
103
+ setPasswordForm(true);
104
+ <?php endif; ?>
105
+ //]]>
106
+ </script>
app/design/frontend/default/magezon/template/customer/form/forgotpassword.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Forgot Your Password?') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
32
+ <fieldset>
33
+ <legend><?php echo $this->__('Retrieve your password here') ?></legend>
34
+ <p><?php echo $this->__('Please enter your email below and we\'ll send you a new password.') ?></p>
35
+ <ul class="form-list">
36
+ <li>
37
+ <div class="input-box">
38
+ <label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
39
+ <input type="text" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->htmlEscape($this->getEmailValue()) ?>" />
40
+ </div>
41
+ </li>
42
+ </ul>
43
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
44
+ <div class="buttons-set">
45
+ <a href="<?php echo $this->helper('customer')->getLoginUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back to Login') ?></a>
46
+ <button type="submit" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
47
+ </div>
48
+ </fieldset>
49
+ </form>
50
+ <script type="text/javascript">
51
+ //<![CDATA[
52
+ var dataForm = new VarienForm('form-validate', true);
53
+ //]]>
54
+ </script>
app/design/frontend/default/magezon/template/customer/form/login.phtml ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Customer_Block_Form_Login
32
+ */
33
+ ?>
34
+ <div class="account-login">
35
+ <div class="page-title">
36
+ <h2><?php echo $this->__('Login or Create an Account') ?></h2>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
40
+ <fieldset>
41
+ <legend><?php echo $this->__('Login or Create an Account') ?></legend>
42
+ <div class="col2-set">
43
+ <div class="col-1 new-users">
44
+ <h3><?php echo $this->__('New Customers') ?></h3>
45
+ <p><?php echo $this->__('By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.') ?></p>
46
+ </div>
47
+ <div class="col-2 registered-users">
48
+ <h3><?php echo $this->__('Registered Customers') ?></h3>
49
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
50
+ <ul class="form-list">
51
+ <li>
52
+ <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
53
+ <input name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" type="text" class="input-text required-entry" title="<?php echo $this->__('Email Address') ?>" />
54
+ </li>
55
+ <li>
56
+ <label for="pass"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
57
+ <input name="login[password]" type="password" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
58
+ </li>
59
+ </ul>
60
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
61
+ </div>
62
+ </div>
63
+ <div class="col2-set">
64
+ <div class="col-1">
65
+ <div class="buttons-set">
66
+ <button type="button" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
67
+ </div>
68
+ </div>
69
+ <div class="col-2">
70
+ <div class="buttons-set">
71
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
72
+ <button class="button" type="submit" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </fieldset>
77
+ </form>
78
+ <script type="text/javascript">
79
+ //<![CDATA[
80
+ var dataForm = new VarienForm('login-form', true);
81
+ //]]>
82
+ </script>
83
+ </div>
app/design/frontend/default/magezon/template/customer/form/mini.login.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post">
28
+ <fieldset>
29
+ <p><label><?php echo $this->__('Email') ?>:</label> <input name="login[username]" class="input-text" /></p>
30
+ <p><label><?php echo $this->__('Password') ?>:</label> <input name="login[password]" class="input-text" /></p>
31
+ <p><input type="submit" value="<?php echo $this->__('Login') ?>" /></p>
32
+ </fieldset>
33
+ </form>
app/design/frontend/default/magezon/template/customer/form/newsletter.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Newsletter Subscription') ?></h2>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
32
+ <fieldset>
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <ul class="form-list">
35
+ <li><input type="checkbox" name="is_subscribed" id="subscription" value="1" title="<?php echo $this->__('General Subscription') ?>"<?php if($this->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" /> <label for="subscription"><?php echo $this->__('General Subscription') ?></label></li>
36
+ </ul>
37
+ <div class="buttons-set">
38
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
39
+ <button type="submit" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
40
+ </div>
41
+ </fieldset>
42
+ </form>
43
+ <script type="text/javascript">
44
+ //<![CDATA[
45
+ var dataForm = new VarienForm('form-validate', true);
46
+ //]]>
47
+ </script>
app/design/frontend/default/magezon/template/customer/form/register.phtml ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 Mage_Customer_Block_Form_Register
32
+ */
33
+ ?>
34
+ <div class="account-create">
35
+ <div class="page-title">
36
+ <h2><?php echo $this->__('Create an Account') ?></h2>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
40
+ <fieldset>
41
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
42
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
43
+ <h3><?php echo $this->__('Personal Information') ?></h3>
44
+ <ul class="form-list group-select">
45
+ <li>
46
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
47
+ </li>
48
+ <li>
49
+ <div class="input-box">
50
+ <label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
51
+ <input type="text" name="email" id="email_address" value="<?php echo $this->htmlEscape($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
52
+ </div>
53
+ </li>
54
+ <?php if ($this->isNewsletterEnabled()): ?>
55
+ <li>
56
+ <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" />
57
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
58
+ </li>
59
+ <?php endif ?>
60
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
61
+ <?php if ($_dob->isEnabled()): ?>
62
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
63
+ <?php endif ?>
64
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
65
+ <?php if ($_taxvat->isEnabled()): ?>
66
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
67
+ <?php endif ?>
68
+ </ul>
69
+ </fieldset>
70
+ <?php if($this->getShowAddressFields()): ?>
71
+ <fieldset>
72
+ <input type="hidden" name="create_address" value="1" />
73
+ <h3><?php echo $this->__('Address Information') ?></h3>
74
+ <ul class="form-list group-select">
75
+ <li>
76
+ <div class="input-box">
77
+ <label for="company"><?php echo $this->__('Company') ?></label><br />
78
+ <input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
79
+ </div>
80
+ <div class="input-box">
81
+ <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
82
+ <input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text required-entry" />
83
+ </div>
84
+ </li>
85
+ <li>
86
+ <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
87
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text required-entry" />
88
+ </li>
89
+ <?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
90
+ <li>
91
+ <input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address '.$_i) ?>" id="street_<?php echo $_i?>" class="input-text" />
92
+ <?php endfor ?>
93
+ </li>
94
+ <li>
95
+ <div class="input-box">
96
+ <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
97
+ <input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
98
+ </div>
99
+ <div class="input-box">
100
+ <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
101
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
102
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
103
+ </select>
104
+ <script type="text/javascript">
105
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
106
+ </script>
107
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
108
+ </div>
109
+ </li>
110
+ <li>
111
+ <div class="input-box">
112
+ <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
113
+ <input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international required-entry" />
114
+ </div>
115
+ <div class="input-box">
116
+ <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
117
+ <?php echo $this->getCountryHtmlSelect() ?>
118
+ </div>
119
+ </li>
120
+ </ul>
121
+ <input type="hidden" name="default_billing" value="1" />
122
+ <input type="hidden" name="default_shipping" value="1" />
123
+ </fieldset>
124
+ <?php endif; ?>
125
+ <fieldset>
126
+ <h3><?php echo $this->__('Login Information') ?></h3>
127
+ <ul class="form-list group-select">
128
+ <li>
129
+ <div class="input-box">
130
+ <label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
131
+ <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
132
+ </div>
133
+ <div class="input-box">
134
+ <label for="confirmation"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label><br />
135
+ <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
136
+ </div>
137
+ </li>
138
+ </ul>
139
+ </fieldset>
140
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
141
+ <div class="buttons-set">
142
+ <a href="<?php echo $this->getBackUrl() ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
143
+ <button class="button" type="submit"><span><span><?php echo $this->__('Submit') ?></span></span></button>
144
+ </div>
145
+ </form>
146
+ <script type="text/javascript">
147
+ //<![CDATA[
148
+ var dataForm = new VarienForm('form-validate', true);
149
+ <?php if($this->getShowAddressFields()): ?>
150
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
151
+ <?php endif; ?>
152
+ //]]>
153
+ </script>
154
+ </div>
app/design/frontend/default/magezon/template/customer/logout.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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->__("You're now Logged Out") ?></h1>
29
+ </div>
30
+ <p><?php echo $this->__('You have been successfully logged out and will be redirected to our homepage in 5 seconds.') ?></p>
31
+ <script type="text/javascript">
32
+ //<![CDATA[
33
+ setTimeout(function(){ location.href = '<?php echo $this->getUrl() ?>'},5000);
34
+ //]]>
35
+ </script>
app/design/frontend/default/magezon/template/customer/order/view.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Order #%s (%s)', $order->getOrderId(), $order->getStatus()) ?></h2>
29
+ </div>
30
+ <div class="col2-set">
31
+ <div class="col-1">
32
+ <h3><?php echo $this->__('Billing Information') ?></h3>
33
+ <address>
34
+ <?php echo $order->getAddressByType('billing')->format('html') ?>
35
+ </address>
36
+ </div>
37
+ <div class="col-2">
38
+ <h3><?php echo $this->__('Payment Method') ?></h3>
39
+ <?php echo $this->getChildHtml('payment') ?>
40
+ </div>
41
+ </div>
42
+ <div class="col2-set">
43
+ <div class="col-1">
44
+ <h3><?php echo $this->__('Shipping Information') ?></h3>
45
+ <address>
46
+ <?php echo $order->getAddressByType('shipping')->format('html') ?>
47
+ </address>
48
+ </div>
49
+ <div class="col-2">
50
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
51
+ <?php echo $order->getShippingDescription() ?>
52
+ </div>
53
+ </div>
54
+ <?php $_items = $order->getEntitiesByType('item') ?>
55
+ <table class="data-table" id="my-orders-table">
56
+ <thead>
57
+ <tr>
58
+ <th><?php echo $this->__('Items Order') ?></th>
59
+ <th><?php echo $this->__('Qty') ?></th>
60
+ <th><?php echo $this->__('Price') ?></th>
61
+ <th><?php echo $this->__('Ext. Price') ?></th>
62
+ </tr>
63
+ </thead>
64
+ <tfoot>
65
+ <tr>
66
+ <td colspan="4">
67
+ <?php echo $this->__('Grand Total: %s', $order->getGrandTotal()) ?>
68
+ </td>
69
+ </tr>
70
+ </tfoot>
71
+ <tbody>
72
+ <?php foreach($_items as $_item): ?>
73
+ <tr>
74
+ <td><?php echo $this->htmlEscape($_item->getName()) ?></td>
75
+ <td><?php echo $_item->getQty() ?></td>
76
+ <td><?php echo $_item->getPrice() ?></td>
77
+ <td><?php echo $_item->getRowTotal() ?></td>
78
+ </tr>
79
+ <?php endforeach ?>
80
+ </tbody>
81
+ </table>
82
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
83
+ <div class="buttons-set">
84
+ <a href="<?php echo $this->getUrl('customer/order/history') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
85
+ </div>
app/design/frontend/default/magezon/template/customer/orders.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('My Orders') ?></h2>
29
+ </div>
30
+ <?php if($orders->getSize()): ?>
31
+ <table class="data-table" id="my-orders-table" >
32
+ <thead>
33
+ <tr>
34
+ <th><?php echo $this->__('Order #') ?></th>
35
+ <th><?php echo $this->__('Date') ?></th>
36
+ <!--<th class="a-center">Shipped To</th>-->
37
+ <th><?php echo $this->__('Total') ?></th>
38
+ <th><?php echo $this->__('Status') ?></th>
39
+ <th><?php echo $this->__('Details') ?></th>
40
+ </tr>
41
+ </thead>
42
+ <tbody>
43
+ <?php foreach ($orders as $order): ?>
44
+ <tr>
45
+ <td><?php echo $order->getRealOrderId() ?>&nbsp;</td>
46
+ <td><?php echo date("D, j M, Y", strtotime($order->getCreatedAt())) ?>&nbsp;</td>
47
+ <!--<td class="a-center">{$page.orders[io].customer}</td>-->
48
+ <td><?php echo $order->getGrandTotal() ?>&nbsp;</td>
49
+ <td><?php echo $order->getStatus() ?>&nbsp;</td>
50
+ <td><a href="<?php echo $this->getUrl('customer/order/view', array('order'=>$order->getOrderId())) ?>"><?php echo $this->__('View Order') ?></a>&nbsp;</td>
51
+ </tr>
52
+ <?php endforeach ?>
53
+ </tbody>
54
+ </table>
55
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
56
+ <?php else: ?>
57
+ <p><?php echo $this->__('You have placed no orders yet.') ?></p>
58
+ <?php endif ?>
59
+ <div class="buttons-set">
60
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="back-link">&laquo; <?php echo $this->__('Back') ?></a>
61
+ </div>
app/design/frontend/default/magezon/template/customer/widget/dob.phtml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ USAGE:
29
+
30
+ Simple:
31
+
32
+ <?php echo $this->getLayout()->createBlock('customer/widget_dob')
33
+ ->setDate($this->getCustomer()->getDob())
34
+ ->toHtml() ?>
35
+
36
+ For checkout/onepage/billing.phtml:
37
+
38
+ <?php echo $this->getLayout()->createBlock('customer/widget_dob')
39
+ ->setDate($this->getCustomer()->getDob())
40
+ ->setFieldIdFormat('billing:%s')
41
+ ->setFieldNameFormat('billing[%s]')
42
+ ->toHtml() ?>
43
+
44
+ NOTE: Regarding styles - if we leave it this way, we'll move it to boxes.css
45
+ Alternatively we could calculate widths automatically using block input parameters.
46
+ */
47
+ ?>
48
+ <div class="customer-dob">
49
+ <label for="<?php echo $this->getFieldId('day')?>">
50
+ <?php echo $this->__('Date of Birth') ?>
51
+ <?php if ($this->isRequired()):?><span class="required">*</span><?php endif; ?>
52
+ </label>
53
+
54
+ <div class="input-box dob-day">
55
+ <input type="text" id="<?php echo $this->getFieldId('day')?>" name="<?php echo $this->getFieldName('day')?>" value="<?php echo $this->getDay() ?>" title="<?php echo $this->__('Day') ?>" class="input-text validate-custom" <?php echo $this->getFieldParams() ?> />
56
+ <label for="<?php echo $this->getFieldId('day')?>"><?php echo $this->__('DD') ?></label>
57
+ </div>
58
+
59
+ <div class="input-box dob-month">
60
+ <input type="text" id="<?php echo $this->getFieldId('month')?>" name="<?php echo $this->getFieldName('month')?>" value="<?php echo $this->getMonth() ?>" title="<?php echo $this->__('Month') ?>" class="input-text validate-custom" <?php echo $this->getFieldParams() ?> />
61
+ <label for="<?php echo $this->getFieldId('month')?>"><?php echo $this->__('MM') ?></label>
62
+ </div>
63
+
64
+ <div class="input-box dob-year">
65
+ <input type="text" id="<?php echo $this->getFieldId('year')?>" name="<?php echo $this->getFieldName('year')?>" value="<?php echo $this->getYear() ?>" title="<?php echo $this->__('Year') ?>" class="input-text validate-custom" <?php echo $this->getFieldParams() ?> />
66
+ <label for="<?php echo $this->getFieldId('year')?>"><?php echo $this->__('YYYY') ?></label>
67
+ </div>
68
+
69
+ <div class="dob-full" style="display:none;">
70
+ <input type="hidden" id="<?php echo $this->getFieldId('dob')?>" name="<?php echo $this->getFieldName('dob')?>" />
71
+ </div>
72
+
73
+ <div class="validation-advice" style="opacity: 0.999999; display:none;"></div>
74
+ </div>
75
+ <script type="text/javascript">
76
+ //<![CDATA[
77
+ var customer_dob = new Varien.DOB('.customer-dob', <?php echo $this->isRequired() ? 'true' : 'false' ?>, '<?php echo $this->getDateFormat() ?>');
78
+ //]]>
79
+ </script>
app/design/frontend/default/magezon/template/customer/widget/name.phtml ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ USAGE:
29
+
30
+ Simple:
31
+
32
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')
33
+ ->setObject($this->getAddress())
34
+ ->toHtml() ?>
35
+
36
+ For checkout/onepage/shipping.phtml:
37
+
38
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')
39
+ ->setObject($this->getAddress())
40
+ ->setFieldIdFormat('shipping:%s')
41
+ ->setFieldNameFormat('shipping[%s]')
42
+ ->setFieldParams('onchange="shipping.setSameAsBilling(false);"')
43
+ ->toHtml() ?>
44
+ */
45
+ ?>
46
+
47
+ <div class="<?php echo $this->getContainerClassName()?>">
48
+ <?php if ($this->showPrefix()): ?>
49
+ <div class="input-box name-prefix">
50
+ <label for="<?php echo $this->getFieldId('prefix')?>">
51
+ <?php echo $this->__('Prefix') ?>
52
+ <?php if ($this->isPrefixRequired()):?><span class="required">*</span><?php endif; ?>
53
+ </label>
54
+ <br />
55
+ <?php if ($this->getPrefixOptions()===false): ?>
56
+ <input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getPrefix()) ?>" title="<?php echo $this->__('Prefix') ?>" class="input-text <?php if ($this->isPrefixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
57
+ <?php else: ?>
58
+ <select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->__('Prefix') ?>"<?php if ($this->isPrefixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
59
+ <?php foreach ($this->getPrefixOptions() as $_option): ?>
60
+ <option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
61
+ <?php endforeach ?>
62
+ </select>
63
+ <?php endif; ?>
64
+ </div>
65
+ <?php endif; ?>
66
+
67
+ <div class="input-box name-firstname">
68
+ <label for="<?php echo $this->getFieldId('firstname')?>">
69
+ <?php echo $this->__('First Name') ?>
70
+ <span class="required">*</span>
71
+ </label>
72
+ <br />
73
+ <input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php echo $this->htmlEscape($this->getObject()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="input-text required-entry" <?php echo $this->getFieldParams() ?> />
74
+ </div>
75
+
76
+ <?php if ($this->showMiddlename()): ?>
77
+ <div class="input-box name-middlename">
78
+ <label for="<?php echo $this->getFieldId('middlename')?>">
79
+ <?php echo $this->__('M.I.') ?>
80
+ </label>
81
+ <br />
82
+ <input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->htmlEscape($this->getObject()->getMiddlename()) ?>" title="<?php echo $this->__('M.I.') ?>" class="input-text" <?php echo $this->getFieldParams() ?> />
83
+ </div>
84
+ <?php endif; ?>
85
+
86
+ <div class="input-box name-lastname">
87
+ <label for="<?php echo $this->getFieldId('lastname')?>">
88
+ <?php echo $this->__('Last Name') ?>
89
+ <span class="required">*</span>
90
+ </label>
91
+ <br />
92
+ <input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php echo $this->htmlEscape($this->getObject()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="input-text required-entry" <?php echo $this->getFieldParams() ?> />
93
+ </div>
94
+
95
+ <?php if ($this->showSuffix()): ?>
96
+ <div class="input-box name-suffix">
97
+ <label for="<?php echo $this->getFieldId('suffix')?>">
98
+ <?php echo $this->__('Suffix') ?>
99
+ <?php if ($this->isSuffixRequired()):?><span class="required">*</span><?php endif; ?>
100
+ </label>
101
+ <br />
102
+ <?php if ($this->getSuffixOptions()===false): ?>
103
+ <input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->htmlEscape($this->getObject()->getSuffix()) ?>" title="<?php echo $this->__('Suffix') ?>" class="input-text<?php if ($this->isSuffixRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
104
+ <?php else: ?>
105
+ <select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->__('Suffix') ?>"<?php if ($this->isSuffixRequired()):?> class="required-entry"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
106
+ <?php foreach ($this->getSuffixOptions() as $_option): ?>
107
+ <option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
108
+ <?php endforeach ?>
109
+ </select>
110
+ <?php endif; ?>
111
+ </div>
112
+ <?php endif; ?>
113
+ </div>
app/design/frontend/default/magezon/template/customer/widget/taxvat.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="input-box taxvat">
28
+ <label for="<?php echo $this->getFieldId('taxvat')?>">
29
+ <?php echo $this->__('Tax/VAT number') ?>
30
+ <?php if ($this->isRequired()):?><span class="required">*</span><?php endif ?>
31
+ </label>
32
+ <input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->htmlEscape($this->getTaxvat()) ?>" class="input-text<?php if ($this->isRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
33
+ </div>
app/design/frontend/default/magezon/template/customer/wishlist.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <h2><?php echo $this->__('Wishlist') ?></h2>
29
+ </div>
30
+ <?php if($wishlist->getSize()): ?>
31
+ <form action="<?php echo $this->getUrl('customer/wishlist/updatePost') ?>" method="post">
32
+ <table class="data-table">
33
+ <col />
34
+ <col width="60" />
35
+ <col width="60" />
36
+ <col width="60" />
37
+ <thead>
38
+ <tr>
39
+ <th><?php echo $this->__('Product') ?></th>
40
+ <th><?php echo $this->__('Status') ?></th>
41
+ <th><?php echo $this->__('To Cart') ?></th>
42
+ <th><?php echo $this->__('Remove') ?></th>
43
+ </tr>
44
+ </thead>
45
+ <?php foreach($wishlist as $item): ?>
46
+ <tr>
47
+ <td>
48
+ <input type="hidden" value="1" name="wishlist[<?php echo $item->getItemId() ?>]" />
49
+ <a href="<?php echo $this->getUrl('catalog/product/view/id/'.$item->getProduct()->getId()) ?>"><?php echo $this->htmlEscape($item->getProduct()->getName()) ?></a>
50
+ </td>
51
+ <td><?php echo $item->getStatus() ?></td>
52
+ <td><input type="checkbox" value="1" name="to_cart[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
53
+ <td><input type="checkbox" value="1" name="remove[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
54
+ </tr>
55
+ <?php endforeach ?>
56
+ </table>
57
+ <div class="buttons-set">
58
+ <a href="<?php echo Mage::getBaseUrl() ?>">&laquo; <?php echo $this->__('Continue Shopping') ?></a>
59
+ <input type="submit" value="<?php echo $this->__('Update') ?>" class="input-button" name="do" />
60
+ </div>
61
+ </form>
62
+ <?php else: ?>
63
+ <p><?php echo $this->__('You have placed no products yet.') ?></p>
64
+ <div class="buttons-set">
65
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="back-link">&laquo; <?php echo $this->__('Back - link to the previously viewed page') ?></a>
66
+ </div>
67
+ <?php endif ?>
app/design/frontend/default/magezon/template/directory/currency.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Currency switcher
30
+ *
31
+ * @see Mage_Directory_Block_Currency
32
+ */
33
+ ?>
34
+ <?php if($this->getCurrencyCount()>1): ?>
35
+ <div class="block block-currency">
36
+ <div class="block-title">
37
+ <h2><?php echo $this->__('Select Your Currency') ?></h2>
38
+ </div>
39
+ <div class="block-content">
40
+ <select name="currency" onchange="changeCurrency(this)">
41
+ <?php foreach ($this->getCurrencies() as $_code => $_name): ?>
42
+ <option value="<?php echo $_code ?>"<?php if($_code==$this->getCurrentCurrencyCode()): ?> selected="selected"<?php endif; ?>>
43
+ <?php echo $_name ?> - <?php echo $_code ?>
44
+ </option>
45
+ <?php endforeach; ?>
46
+ </select>
47
+ </div>
48
+ </div>
49
+ <script type="text/javascript">
50
+ //<![CDATA[
51
+ function changeCurrency(sObject){
52
+ if(sObject.value){
53
+ setLocation('<?php echo $this->helper('directory/url')->getSwitchCurrencyUrl() ?>currency/'+sObject.value);
54
+ }
55
+ }
56
+ //]]>
57
+ </script>
58
+ <?php endif; ?>
app/design/frontend/default/magezon/template/directory/currency/switch.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <strong><?php echo $this->__('Currency') ?></strong>
29
+ </div>
30
+ <p><?php echo $this->__('Your current currency is: %s', $currency->getCode()) ?></p>
31
+ <p><a href="<?php echo Mage::getBaseUrl() ?>"><?php echo $this->__('Continue &raquo;') ?></a></p>
app/design/frontend/default/magezon/template/downloadable/catalog/product/links.phtml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+
28
+ /**
29
+ * Downloadable product links
30
+ *
31
+ * @see Mage_Downloadable_Block_Catalog_Product_Links
32
+ */
33
+ ?>
34
+ <?php $_linksPurchasedSeparately = $this->getLinksPurchasedSeparately() ?>
35
+ <?php if ($this->getProduct()->isSaleable() && $this->hasLinks()):?>
36
+ <dl>
37
+ <?php $_links = $this->getLinks(); ?>
38
+ <?php $_isRequired = $this->getLinkSelectionRequired(); ?>
39
+ <dt><label><?php echo $this->getLinksTitle() ?><?php if ($_isRequired): ?><span class="required">&nbsp;*</span><?php endif; ?></label></dt>
40
+ <dd<?php /* if ($_option->decoratedIsLast){?> class="last"<?php } */ ?>>
41
+ <ul id="downloadable-links-list" class="options-list">
42
+ <?php foreach ($_links as $_link): ?>
43
+ <li>
44
+ <?php if ($_linksPurchasedSeparately): ?>
45
+ <input type="checkbox" class="checkbox<?php if($_isRequired):?> validate-one-required-by-name<?php endif; ?> product-downloadable-link" onclick="dConfig.reloadPrice()" name="links[]" id="links_<?php echo $_link->getId() ?>" value="<?php echo $_link->getId() ?>" />
46
+ <?php endif; ?>
47
+ <span class="label">
48
+ <label for="links_<?php echo $_link->getId() ?>">
49
+ <?php echo $_link->getTitle() ?>
50
+ </label>
51
+ <?php if ($_link->getSampleFile() || $_link->getSampleUrl()): ?>
52
+ &nbsp;(<a href="<?php echo $this->getLinkSamlpeUrl($_link) ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo Mage::helper('downloadable')->__('sample') ?></a>)
53
+ <?php endif; ?>
54
+ <?php if ($_linksPurchasedSeparately): ?>
55
+ <?php echo $this->getFormattedLinkPrice($_link); ?>
56
+ <?php endif; ?>
57
+ </span>
58
+ <?php if ($_isRequired): ?>
59
+ <script type="text/javascript">
60
+ //<![CDATA[
61
+ $('links_<?php echo $_link->getId() ?>').advaiceContainer = 'links-advice-container';
62
+ $('links_<?php echo $_link->getId() ?>').callbackFunction = 'validateDownloadableCallback';
63
+ //]]>
64
+ </script>
65
+ <?php endif; ?>
66
+ </li>
67
+ <?php endforeach; ?>
68
+ </ul>
69
+
70
+ <?php if ($_isRequired): ?>
71
+ <span id="links-advice-container"></span>
72
+ <?php endif;?>
73
+ </dd>
74
+ </dl>
75
+ <script type="text/javascript">
76
+ //<![CDATA[
77
+ Product.Downloadable = Class.create();
78
+ Product.Downloadable.prototype = {
79
+ config : {},
80
+ initialize : function(config){
81
+ this.config = config;
82
+ this.reloadPrice();
83
+ },
84
+ reloadPrice : function(){
85
+ var price = 0;
86
+ config = this.config;
87
+ $$('.product-downloadable-link').each(function(elm){
88
+ if (config[elm.value] && elm.checked) {
89
+ price += parseFloat(config[elm.value]);
90
+ }
91
+ });
92
+ try {
93
+ optionsPrice.changePrice('downloadable', price);
94
+ optionsPrice.reload();
95
+ } catch (e) {
96
+
97
+ }
98
+ }
99
+ };
100
+
101
+ function validateDownloadableCallback(elmId, result) {
102
+ var container = $('downloadable-links-list');
103
+ if (result == 'failed') {
104
+ container.removeClassName('validation-passed');
105
+ container.addClassName('validation-failed');
106
+ } else {
107
+ container.removeClassName('validation-failed');
108
+ container.addClassName('validation-passed');
109
+ }
110
+ }
111
+
112
+ var dConfig = new Product.Downloadable(<?php echo $this->getJsonConfig() ?>);
113
+ //]]>
114
+ </script>
115
+ <?php endif;?>
app/design/frontend/default/magezon/template/downloadable/catalog/product/samples.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+
28
+ /**
29
+ * Downloadable product links
30
+ *
31
+ * @see Mage_Downloadable_Block_Catalog_Product_Samples
32
+ */
33
+ ?>
34
+
35
+ <?php if ($this->hasSamples()): ?>
36
+ <dl class="item-options">
37
+ <dt><?php echo $this->getSamplesTitle() ?></dt>
38
+ <?php $_samples = $this->getSamples() ?>
39
+ <?php foreach ($_samples as $_sample): ?>
40
+ <dd>
41
+ <a href="<?php echo $this->getSampleUrl($_sample) ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $_sample->getTitle() ?></a>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <?php endif; ?>
app/design/frontend/default/magezon/template/downloadable/catalog/product/type.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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"><?php echo $this->__('Availability') ?>: <span class="in-stock"><?php echo $this->__('In stock') ?></span></p>
37
+ <?php else: ?>
38
+ <p class="availability"><?php echo $this->__('Availability') ?>: <span class="out-of-stock"><?php echo $this->__('Out of stock') ?></span></p>
39
+ <?php endif; ?>
40
+ <?php echo $this->getPriceHtml($_product) ?>
41
+ <?php echo $this->getChildHtml('samples') ?>
app/design/frontend/default/magezon/template/downloadable/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_Downloadable
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove item')?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" alt="<?php echo $this->__('Remove item')?>" /></a></td>
30
+ <td><a href="<?php echo $this->getProductUrl() ?>" class="product-image" title="<?php echo $this->htmlEscape($this->getProductName()) ?>"><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /></a></td>
31
+ <td>
32
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h3>
33
+ <?php if ($_options = $this->getOptionList()):?>
34
+ <dl class="item-options">
35
+ <?php foreach ($_options as $_option) : ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
38
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php endforeach; ?>
49
+ </dl>
50
+ <?php endif;?>
51
+ <!-- downloadable -->
52
+ <?php if ($links = $this->getLinks()): ?>
53
+ <dl class="item-options">
54
+ <dt><?php echo $this->getLinksTitle() ?></dt>
55
+ <?php foreach ($links as $link): ?>
56
+ <dd><?php echo $link->getTitle() ?></dd>
57
+ <?php endforeach; ?>
58
+ </dl>
59
+ <?php endif; ?>
60
+ <!-- EOF downloadable -->
61
+
62
+ <?php if ($messages = $this->getMessages()): ?>
63
+ <?php foreach ($messages as $message): ?>
64
+ <div class="shopping-cart-item-message <?php echo $message['type'] ?>">
65
+ * <?php echo $message['text'] ?>
66
+ </div>
67
+ <?php endforeach; ?>
68
+ <?php endif; ?>
69
+ </td>
70
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
71
+ <td class="a-center">
72
+ <input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
73
+ </td>
74
+ <?php endif ?>
75
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
76
+ <td class="a-right">
77
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
78
+ </td>
79
+ <?php endif; ?>
80
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
81
+ <td>
82
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
83
+ </td>
84
+ <?php endif; ?>
85
+ <td class="a-center">
86
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" class="input-text qty" maxlength="8" />
87
+ </td>
88
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <td class="a-right">
90
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
91
+ </td>
92
+ <?php endif; ?>
93
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
94
+ <td>
95
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
96
+ </td>
97
+ <?php endif; ?>
98
+ </tr>
app/design/frontend/default/magezon/template/downloadable/checkout/multishipping/item/downloadable.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h4 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->getProductName() ?></a></h4>
28
+ <!-- item custom options -->
29
+ <?php if ($_options = $this->getOptionList()):?>
30
+ <dl class="item-options">
31
+ <?php foreach ($_options as $_option) : ?>
32
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
33
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
34
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
35
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
36
+ <div class="truncated_full_value">
37
+ <dl class="item-options">
38
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
39
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
40
+ </dl>
41
+ </div>
42
+ <?php endif; ?>
43
+ </dd>
44
+ <?php endforeach; ?>
45
+ </dl>
46
+ <?php endif;?>
47
+ <!-- / -->
48
+ <!-- downloadable -->
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 $link->getTitle() ?></dd>
54
+ <?php endforeach; ?>
55
+ </dl>
56
+ <?php endif; ?>
57
+ <!-- EOF downloadable -->
app/design/frontend/default/magezon/template/downloadable/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_Downloadable
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><h4 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h4>
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->htmlEscape($_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->htmlEscape($_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 $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"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></td>
61
+ <?php endif; ?>
62
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
63
+ <td><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?></td>
64
+ <?php endif; ?>
65
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
66
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
67
+ <td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></td>
68
+ <?php endif; ?>
69
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
70
+ <td><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?></td>
71
+ <?php endif; ?>
72
+ </tr>
app/design/frontend/default/magezon/template/downloadable/checkout/success.phtml ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_Downloadable
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->getOrderHasDownloadable()): ?>
28
+ <?php echo Mage::helper('downloadable')->__('Go to <a href="%s">My Downloadable Products</a>', $this->getDownloadableProductsUrl()) ?>
29
+ <?php endif; ?>
app/design/frontend/default/magezon/template/downloadable/customer/products/list.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_Downloadable
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <?php $_items = $this->getItems(); ?>
34
+ <div class="page-title">
35
+ <h2><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h2>
36
+ </div>
37
+ <?php echo $this->getChildHtml('pager'); ?>
38
+ <?php if(count($_items)): ?>
39
+ <table cellspacing="0" class="data-table" 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><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><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
60
+ <td><?php echo $_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 $_item->getLinkTitle() ?></a></td>
61
+ <td><em><?php echo ucfirst($_item->getStatus()) ?></em></td>
62
+ <td><?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="button-set">
73
+ <a href="<?php echo $this->getBackUrl() ?>" class="f-left">&laquo; <?php echo $this->__('Back') ?></a>
74
+ </div>
app/design/frontend/default/magezon/template/downloadable/email/order/items/creditmemo/downloadable.phtml ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
41
+ <dl style="margin:0; padding:0;">
42
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
43
+ <?php foreach ($links as $link): ?>
44
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $link->getLinkTitle() ?></dd>
45
+ <?php endforeach; ?>
46
+ </dl>
47
+ <?php endif; ?>
48
+ <?php echo $_item->getDescription() ?>
49
+ </td>
50
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
51
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQty()*1 ?></td>
52
+ <td align="right" valign="top" style="padding:3px 9px">
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
+
64
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
65
+ <br />
66
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
67
+ <small>
68
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
69
+ <span class="nobr"><?php echo $tax['title']; ?>: <?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']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
75
+ <?php endforeach; ?>
76
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
77
+ <small>
78
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
79
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
80
+ <?php endforeach; ?>
81
+ </small>
82
+ <?php endif; ?>
83
+
84
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
85
+ <br />
86
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
87
+ <?php endif; ?>
88
+ <?php endif; ?>
89
+ <?php endif; ?>
90
+
91
+
92
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
93
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
94
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
95
+ <?php endif; ?>
96
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
97
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
98
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
99
+ <?php else: ?>
100
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
101
+ <?php endif; ?>
102
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
103
+ <br />
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
105
+ <small>
106
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
107
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
108
+ <?php endforeach; ?>
109
+ </small>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
111
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
112
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
113
+ <?php endforeach; ?>
114
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
115
+ <small>
116
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
117
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
118
+ <?php endforeach; ?>
119
+ </small>
120
+ <?php endif; ?>
121
+
122
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
123
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
124
+ <?php endif; ?>
125
+ <?php endif; ?>
126
+ <?php endif; ?>
127
+ </td>
128
+ </tr>
app/design/frontend/default/magezon/template/downloadable/email/order/items/invoice/downloadable.phtml ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
41
+ <dl style="margin:0; padding:0;">
42
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
43
+ <?php foreach ($links as $link): ?>
44
+ <dd style="margin:0; padding:0 0 0 9px;">
45
+ <?php echo $link->getLinkTitle() ?>&nbsp;
46
+ (<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>" style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
47
+ </dd>
48
+ <?php endforeach; ?>
49
+ </dl>
50
+ <?php endif; ?>
51
+ <?php echo $_item->getDescription() ?>
52
+ </td>
53
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
54
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQty()*1 ?></td>
55
+ <td align="right" valign="top" style="padding:3px 9px">
56
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
57
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
58
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
59
+ <?php endif; ?>
60
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
61
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
62
+ <?php else: ?>
63
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
64
+ <?php endif; ?>
65
+
66
+
67
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
68
+ <br />
69
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
70
+ <small>
71
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
72
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
73
+ <?php endforeach; ?>
74
+ </small>
75
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
76
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
77
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
78
+ <?php endforeach; ?>
79
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
80
+ <small>
81
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
82
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],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'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
90
+ <?php endif; ?>
91
+ <?php endif; ?>
92
+ <?php endif; ?>
93
+
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+$_item->getWeeeTaxAppliedRowAmount()); ?>
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']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
111
+ <?php endforeach; ?>
112
+ </small>
113
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
114
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
115
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
116
+ <?php endforeach; ?>
117
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
118
+ <small>
119
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
120
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
121
+ <?php endforeach; ?>
122
+ </small>
123
+ <?php endif; ?>
124
+
125
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
126
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
127
+ <?php endif; ?>
128
+ <?php endif; ?>
129
+ <?php endif; ?>
130
+ </td>
131
+ </tr>
app/design/frontend/default/magezon/template/downloadable/email/order/items/order/downloadable.phtml ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
41
+ <dl style="margin:0; padding:0;">
42
+ <dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
43
+ <?php foreach ($links as $link): ?>
44
+ <dd style="margin:0; padding:0 0 0 9px;">
45
+ <?php echo $link->getLinkTitle() ?>&nbsp;
46
+ (<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>" style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
47
+ </dd>
48
+ <?php endforeach; ?>
49
+ </dl>
50
+ <?php endif; ?>
51
+ <?php echo $_item->getDescription() ?>
52
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
53
+ <br/><strong><?php echo $this->__('Gift Message') ?></strong>
54
+ <br/><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
55
+ <br/><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
56
+ <br/><?php echo $this->__('Message:'); ?><br/> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
57
+ <?php endif; ?>
58
+ </td>
59
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
60
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQtyOrdered()*1 ?></td>
61
+ <td align="right" valign="top" style="padding:3px 9px">
62
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
63
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
64
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
65
+ <?php endif; ?>
66
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
67
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
68
+ <?php else: ?>
69
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
70
+ <?php endif; ?>
71
+
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']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
79
+ <?php endforeach; ?>
80
+ </small>
81
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
82
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
83
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><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']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
89
+ <?php endforeach; ?>
90
+ </small>
91
+ <?php endif; ?>
92
+
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
94
+ <br />
95
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
96
+ <?php endif; ?>
97
+ <?php endif; ?>
98
+ <?php endif; ?>
99
+
100
+
101
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
102
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
103
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
104
+ <?php endif; ?>
105
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
106
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
107
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
108
+ <?php else: ?>
109
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
110
+ <?php endif; ?>
111
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
112
+ <br />
113
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, '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'],true,true); ?></span><br />
117
+ <?php endforeach; ?>
118
+ </small>
119
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
120
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
121
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
122
+ <?php endforeach; ?>
123
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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 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'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
133
+ <?php endif; ?>
134
+ <?php endif; ?>
135
+ <?php endif; ?>
136
+ </td>
137
+ </tr>
app/design/frontend/default/magezon/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_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->htmlEscape( (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 $link->getLinkTitle() ?></dd>
60
+ <?php endforeach; ?>
61
+ </dl>
62
+ <?php endif; ?>
63
+ <!-- EOF downloadable -->
64
+
65
+ <?php echo $_item->getDescription() ?>
66
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
67
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
68
+ <?php endif; ?>
69
+ </td>
70
+ <td><?php echo Mage::helper('core/string')->splitInjection($this->getSku()) ?></td>
71
+ <td class="a-right nowrap">
72
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
73
+ <span class="price-excl-tax">
74
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
75
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
76
+ <?php endif; ?>
77
+ <?php echo $_order->formatPrice($_item->getPrice()) ?>
78
+ </span>
79
+ <?php endif; ?>
80
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
81
+ <span class="price-incl-tax">
82
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
83
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
84
+ <?php endif; ?>
85
+ <?php echo $_order->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
86
+ </span>
87
+ <?php endif; ?>
88
+ </td>
89
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
90
+ <td class="a-right nowrap">
91
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
92
+ <span class="price-excl-tax">
93
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
94
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
95
+ <?php endif; ?>
96
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
97
+ </span>
98
+ <?php endif; ?>
99
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
100
+ <span class="price-incl-tax">
101
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
102
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
103
+ <?php endif; ?>
104
+ <?php echo $_order->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
105
+ </span>
106
+ <?php endif; ?>
107
+ </td>
108
+ <td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
109
+ <td class="last a-right">
110
+ <?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()) ?>
111
+ </td>
112
+ </tr>
app/design/frontend/default/magezon/template/downloadable/sales/order/invoice/items/renderer/downloadable.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
29
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
30
+ <td><h5 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
31
+ <?php if($_options = $this->getItemOptions()): ?>
32
+ <dl class="item-options">
33
+ <?php foreach ($_options as $_option) : ?>
34
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
35
+ <?php if (!$this->getPrintStatus()): ?>
36
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
38
+ <?php echo $_formatedOptionValue['value'] ?>
39
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
40
+ <div class="truncated_full_value">
41
+ <dl class="item-options">
42
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
43
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
44
+ </dl>
45
+ </div>
46
+ <?php endif; ?>
47
+ </dd>
48
+ <?php else: ?>
49
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
50
+ <?php endif; ?>
51
+ <?php endforeach; ?>
52
+ </dl>
53
+ <?php endif; ?>
54
+
55
+ <!-- downloadable -->
56
+ <?php if ($links = $this->getLinks()): ?>
57
+ <dl class="item-options">
58
+ <dt><?php echo $this->getLinksTitle() ?></dt>
59
+ <?php foreach ($links->getPurchasedItems() as $link): ?>
60
+ <dd><?php echo $link->getLinkTitle() ?></dd>
61
+ <?php endforeach; ?>
62
+ </dl>
63
+ <?php endif; ?>
64
+ <!-- EOF downloadable -->
65
+
66
+ <?php echo $_item->getDescription() ?>
67
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
68
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
69
+ <?php endif; ?>
70
+ </td>
71
+ <td><?php echo Mage::helper('core/string')->splitInjection($this->getSku()) ?></td>
72
+ <td class="a-right nowrap">
73
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
74
+ <span class="price-excl-tax">
75
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
76
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
77
+ <?php endif; ?>
78
+ <?php echo $_order->formatPrice($_item->getPrice()) ?>
79
+ </span>
80
+ <?php endif; ?>
81
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
82
+ <span class="price-incl-tax">
83
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
84
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
85
+ <?php endif; ?>
86
+ <?php echo $_order->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
87
+ </span>
88
+ <?php endif; ?>
89
+ </td>
90
+ <td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
91
+ <td class="a-right nowrap">
92
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
93
+ <span class="price-excl-tax">
94
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
95
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
96
+ <?php endif; ?>
97
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
98
+ </span>
99
+ <?php endif; ?>
100
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
101
+ <span class="price-incl-tax">
102
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
103
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
104
+ <?php endif; ?>
105
+ <?php echo $_order->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
106
+ </span>
107
+ <?php endif; ?>
108
+ </td>
109
+ </tr>
app/design/frontend/default/magezon/template/downloadable/sales/order/items/renderer/downloadable.phtml ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage_Downloadable
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
30
+ <?php if($_options = $this->getItemOptions()): ?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <dt><?php echo $this->htmlEscape($_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->htmlEscape($_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->htmlEscape( (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 $link->getLinkTitle() ?></dd>
60
+ <?php endforeach; ?>
61
+ </dl>
62
+ <?php endif; ?>
63
+ <!-- EOF downloadable -->
64
+
65
+ <?php echo $_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() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
68
+ <?php endif; ?>
69
+ </td>
70
+ <td><?php echo Mage::helper('core/string')->splitInjection($this->getSku()) ?></td>
71
+ <td class="a-right nowrap">
72
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
73
+ <span class="price-excl-tax">
74
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
75
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
76
+ <?php endif; ?>
77
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
78
+ </span>
79
+ <?php endif; ?>
80
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
81
+ <span class="price-incl-tax">
82
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
83
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
84
+ <?php endif; ?>
85
+ <?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getPriceInclTax($this->getItem())); ?>
86
+ </span>
87
+ <?php endif; ?>
88
+ </td>
89
+ <td class="a-right nowrap">
90
+ <span class="nobr">
91
+ <?php if ($this->getItem()->getQtyOrdered() > 0): ?>
92
+ <?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
93
+ <?php endif; ?>
94
+ <?php if ($this->getItem()->getQtyShipped() > 0): ?>
95
+ <?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
96
+ <?php endif; ?>
97
+ <?php if ($this->getItem()->getQtyCanceled() > 0): ?>
98
+ <?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
99
+ <?php endif; ?>
100
+ <?php if ($this->getItem()->getQtyRefunded() > 0): ?>
101
+ <?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
102
+ <?php endif; ?>
103
+ </span>
104
+ </td>
105
+ <td class="a-right nowrap">
106
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
107
+ <span class="price-excl-tax">
108
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
109
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
110
+ <?php endif; ?>
111
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
112
+ </span>
113
+ <?php endif; ?>
114
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
115
+ <span class="price-incl-tax">
116
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
117
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
118
+ <?php endif; ?>
119
+ <?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?>
120
+ </span>
121
+ <?php endif; ?>
122
+ </td>
123
+ <!--
124
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
125
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
126
+ <?php endif; ?>
127
+ <?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
128
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
129
+ <?php endif; ?>
130
+ -->
131
+ </tr>
app/design/frontend/default/magezon/template/easybanner/cycleslider.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (Mage::getStoreConfig('easybanner/info/enabled')):?>
2
+
3
+ <script src="<?php echo $this->getSkinUrl('js/easybanner/jquery.cycle.js')?>" type="text/javascript"></script>
4
+
5
+ <?php if ($this->isVisible()): ?>
6
+ <?php $_banner = $this->getBanner(); ?>
7
+ <?php if ($_banner->getShowTitle()==1): ?>
8
+ <h3><?php echo $_banner->getTitle(); ?></h3>
9
+ <?php endif; ?>
10
+
11
+ <div id="slideshow" style="width: <?php echo $_banner->getWidth().'px'?>; height: <?php echo $_banner->getHeight().'px' ?>; display:none;">
12
+
13
+ <?php $_banner_items = $this->getBannerItems(); ?>
14
+ <?php foreach ($_banner_items as $_banner_item): ?>
15
+ <a href="<?php echo $_banner_item->getLinkUrl(); ?>">
16
+ <?php if ($_banner_item->getImage()): ?>
17
+ <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_banner_item->getImage()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner"/>
18
+ <?php elseif ($_banner_item->getImageUrl()): ?>
19
+ <img src="<?php echo $_banner_item->getImageUrl()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner" />
20
+ <?php endif; ?>
21
+ </a>
22
+ <?php endforeach ?>
23
+
24
+ <?php endif; ?>
25
+ </div>
26
+ <script type="text/javascript">
27
+ var $j = jQuery.noConflict();
28
+
29
+ $j(document).ready(function() {
30
+ $j('#slideshow').cycle({
31
+ fx: 'fade',
32
+ timeout: <?php echo $_banner->getDelay(); ?>
33
+ });
34
+ $j('#slideshow').fadeIn(1500);
35
+ });
36
+
37
+ </script>
38
+ <?php endif; ?>
app/design/frontend/default/magezon/template/easybanner/galleryview.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (Mage::getStoreConfig('easybanner/info/enabled')):?>
2
+
3
+ <script src="<?php echo $this->getSkinUrl('js/galleryview/jquery.easing.1.3.js')?>" type="text/javascript"></script>
4
+ <script src="<?php echo $this->getSkinUrl('js/galleryview/jquery.galleryview-1.1.js')?>" type="text/javascript"></script>
5
+ <script src="<?php echo $this->getSkinUrl('js/galleryview/jquery.timers-1.1.2.js')?>" type="text/javascript"></script>
6
+
7
+
8
+ <!-- InstanceBeginEditable name="head" -->
9
+
10
+ <?php $_banner = $this->getBanner(); ?>
11
+ <script type="text/javascript">
12
+ jQuery.noConflict();
13
+ jQuery(document).ready(function(){
14
+ jQuery('#photos').galleryView({
15
+ panel_width: <?php echo $_banner->getWidth()?>,
16
+ panel_height: <?php echo $_banner->getHeight()?>,
17
+ frame_width: 100,
18
+ frame_height: 100,
19
+ nav_theme: 'light'
20
+ });
21
+ });
22
+ </script>
23
+ <?php if ($_banner->getShowTitle()==1): ?>
24
+ <h3><?php echo $_banner->getTitle(); ?></h3>
25
+ <?php endif; ?>
26
+
27
+
28
+ <div id="photos" class="galleryview">
29
+ <?php $_banner_items = $this->getBannerItems(); ?>
30
+ <?php foreach ($_banner_items as $_banner_item): ?>
31
+ <div class="panel">
32
+ <?php if ($_banner_item->getImage()): ?>
33
+ <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_banner_item->getImage()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner"/>
34
+ <?php elseif ($_banner_item->getImageUrl()): ?>
35
+ <img src="<?php echo $_banner_item->getImageUrl()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner" />
36
+ <?php endif; ?>
37
+
38
+ <div class="panel-overlay">
39
+ <h2><a href="<?php echo $_banner_item->getLinkUrl(); ?>"><?php echo $_banner_item->getTitle(); ?></a></h2>
40
+ <p><?php echo $_banner_item->getContent(); ?></p>
41
+ </div>
42
+ </div>
43
+ <?php endforeach ?>
44
+
45
+ <ul class="filmstrip">
46
+
47
+ <?php $_banner_items = $this->getBannerItems(); ?>
48
+ <?php foreach ($_banner_items as $_banner_item): ?>
49
+ <?php if ($_banner_item->getThumbImage()): ?>
50
+ <li><img src="<?php echo $this->helper('easybanner/image')->init($_banner_item->getThumbImage())->resize(100, 100) ?>" alt="easybanner"/></li>
51
+ <?php elseif ($_banner_item->getThumbImageUrl()): ?>
52
+ <li><img src="<?php echo $_banner_item->getThumbImageUrl() ?>" /></li>
53
+ <?php elseif ($_banner_item->getImage()): ?>
54
+ <li><img src="<?php echo $this->helper('easybanner/image')->init($_banner_item->getImage())->resize(100, 100) ?>" alt="easybanner"/></li>
55
+ <?php endif; ?>
56
+
57
+ <?php endforeach ?>
58
+
59
+ </ul>
60
+ </div>
61
+ <?php endif; ?>
app/design/frontend/default/magezon/template/easybanner/simpleslider.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (Mage::getStoreConfig('easybanner/info/enabled')):?>
2
+ <script src="<?php echo $this->getSkinUrl('js/easybanner/jquery.cycle.js')?>" type="text/javascript"></script>
3
+
4
+ <?php if ($this->isVisible()): ?>
5
+ <?php $_banner = $this->getBanner(); ?>
6
+ <?php if ($_banner->getShowTitle()==1): ?>
7
+ <!--<h3><?php echo $_banner->getTitle(); ?></h3>-->
8
+ <?php endif; ?>
9
+
10
+ <div id="top_banner" style="width: <?php echo $_banner->getWidth().'px'?>; padding:0px; height: <?php echo $_banner->getHeight().'px' ?>; background:none; position: relative; display:none;">
11
+ <div id="divSimpleSlider">
12
+ <?php $_banner_items = $this->getBannerItems(); ?>
13
+ <?php foreach ($_banner_items as $_banner_item): ?>
14
+ <a href="<?php echo $_banner_item->getLinkUrl(); ?>">
15
+ <?php if ($_banner_item->getImage()): ?>
16
+ <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_banner_item->getImage()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner"/>
17
+ <?php elseif ($_banner_item->getImageUrl()): ?>
18
+ <img src="<?php echo $_banner_item->getImageUrl() ?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner" />
19
+ <?php endif; ?>
20
+ </a>
21
+ <?php endforeach ?>
22
+ </div>
23
+ <div id="divSimpleSliderRotate"></div>
24
+ <?php endif; ?>
25
+ </div>
26
+ <script type="text/javascript">
27
+ var $j = jQuery.noConflict();
28
+
29
+ $j(document).ready(function(){
30
+ //Setup the main rotater on the home page
31
+ $j('#divSimpleSlider').cycle({
32
+ speed: <?php echo $_banner->getDelay(); ?>,
33
+ timeout: 3500,
34
+ pager: '#divSimpleSliderRotate',
35
+ pagerEvent: 'mouseover',
36
+ fastOnEvent: false
37
+ });
38
+ $j('#top_banner').fadeIn(1500);
39
+ });
40
+
41
+ </script>
42
+ <?php endif;?>
app/design/frontend/default/magezon/template/easybanner/staticview.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php if (Mage::getStoreConfig('easybanner/info/enabled')):?>
2
+ <?php if ($this->isVisible()): ?>
3
+ <?php $_banner = $this->getBanner(); ?>
4
+
5
+ <?php if ($_banner->getShowTitle()==1): ?>
6
+ <h3><?php echo $_banner->getTitle(); ?></h3>
7
+ <?php endif; ?>
8
+
9
+ <?php $_width = $_banner->getWidth(); ?>
10
+ <?php $_height = $_banner->getHeight(); ?>
11
+
12
+
13
+ <?php $_banner_items = $this->getBannerItems(); ?>
14
+ <?php foreach ($_banner_items as $_banner_item): ?>
15
+ <a href="<?php echo $_banner_item->getLinkUrl(); ?>">
16
+ <!-- Show image -->
17
+ <?php if ($_banner_item->getImage()): ?>
18
+ <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).$_banner_item->getImage()?>" width="<?php echo $_banner->getWidth().'px'?> " height=" <?php echo $_banner->getHeight().'px'?>" alt="easybanner"/>
19
+ <?php elseif ($_banner_item->getImageUrl()): ?>
20
+ <img src="<?php echo $_banner_item->getImageUrl() ?>" alt="easybanner" />
21
+ <?php endif; ?>
22
+ </a>
23
+ <?php endforeach ?>
24
+ <?php endif; ?>
25
+ <?php endif; ?>
app/design/frontend/default/magezon/template/email/order/creditmemo/items.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_creditmemo = $this->getCreditmemo() ?>
28
+ <?php $_order = $this->getOrder() ?>
29
+ <?php if ($_creditmemo && $_order): ?>
30
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
31
+ <thead>
32
+ <tr>
33
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Item') ?></th>
34
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Sku') ?></th>
35
+ <th align="center" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Qty') ?></th>
36
+ <th align="right" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></th>
37
+ </tr>
38
+ </thead>
39
+
40
+ <?php $i=0; foreach ($_creditmemo->getAllItems() as $_item): ?>
41
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
42
+ <tbody<?php echo $i%2 ? ' bgcolor="#eeeded"' : '' ?>>
43
+ <?php echo $this->getItemHtml($_item) ?>
44
+ </tbody>
45
+ <?php endforeach; ?>
46
+
47
+ <tfoot>
48
+ <tr>
49
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></td>
50
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_creditmemo->getSubtotal()) ?></td>
51
+ </tr>
52
+ <?php if ($_creditmemo->getDiscountAmount() > 0): ?>
53
+ <tr>
54
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Discount%s', $_order->getCouponCode() ? ' ('.$_order->getCouponCode().')' : '') ?></td>
55
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice(0.00 - $_creditmemo->getDiscountAmount()) ?></td>
56
+ </tr>
57
+ <?php endif; ?>
58
+ <?php if ($_creditmemo->getShippingAmount()): ?>
59
+ <tr>
60
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Shipping & Handling') ?></td>
61
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_creditmemo->getShippingAmount()) ?></td>
62
+ </tr>
63
+ <?php endif; ?>
64
+ <?php if (($_creditmemo->getTaxAmount() > 0)||(Mage::helper('tax')->displayZeroTax())): ?>
65
+ <tr>
66
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Tax') ?></td>
67
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_creditmemo->getTaxAmount()) ?></td>
68
+ </tr>
69
+ <?php endif; ?>
70
+ <?php if ((float) $_creditmemo->getAdjustmentPositive()): ?>
71
+ <tr>
72
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Adjustment Refund') ?></td>
73
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_creditmemo->getAdjustmentPositive()) ?></td>
74
+ </tr>
75
+ <?php endif; ?>
76
+
77
+ <?php if ((float) $_creditmemo->getAdjustmentNegative()): ?>
78
+ <tr>
79
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Adjustment Fee') ?></td>
80
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_creditmemo->getAdjustmentNegative()) ?></td>
81
+ </tr>
82
+ <?php endif; ?>
83
+ <tr bgcolor="#DEE5E8">
84
+ <td colspan="3" align="right" style="padding:3px 9px"><strong><big><?php echo $this->__('Grand Total') ?></big></strong></td>
85
+ <td align="right" style="padding:6px 9px"><strong><big><?php echo $_order->formatPrice($_creditmemo->getGrandTotal()) ?></big></strong></td>
86
+ </tr>
87
+ </tfoot>
88
+ </table>
89
+ <?php endif; ?>
app/design/frontend/default/magezon/template/email/order/invoice/items.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <?php if ($_invoice && $_order): ?>
30
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
31
+ <thead>
32
+ <tr>
33
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Item') ?></th>
34
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Sku') ?></th>
35
+ <th align="center" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Qty') ?></th>
36
+ <th align="right" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></th>
37
+ </tr>
38
+ </thead>
39
+
40
+ <?php $i=0; foreach ($_invoice->getAllItems() as $_item): ?>
41
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
42
+ <tbody<?php echo $i%2 ? ' bgcolor="#eeeded"' : '' ?>>
43
+ <?php echo $this->getItemHtml($_item) ?>
44
+ </tbody>
45
+ <?php endforeach; ?>
46
+
47
+ <tfoot>
48
+ <tr>
49
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></td>
50
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_invoice->getSubtotal()) ?></td>
51
+ </tr>
52
+ <?php if ($_invoice->getDiscountAmount() > 0): ?>
53
+ <tr>
54
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Discount%s', $_order->getCouponCode() ? ' ('.$_order->getCouponCode().')' : '') ?></td>
55
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice(0.00 - $_invoice->getDiscountAmount()) ?></td>
56
+ </tr>
57
+ <?php endif; ?>
58
+ <?php if ($_invoice->getShippingAmount()): ?>
59
+ <tr>
60
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Shipping & Handling') ?></td>
61
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_invoice->getShippingAmount()) ?></td>
62
+ </tr>
63
+ <?php endif; ?>
64
+ <?php if (($_invoice->getTaxAmount() > 0)||(Mage::helper('tax')->displayZeroTax())): ?>
65
+ <tr>
66
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Tax') ?></td>
67
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_invoice->getTaxAmount()) ?></td>
68
+ </tr>
69
+ <?php endif; ?>
70
+ <tr bgcolor="#DEE5E8">
71
+ <td colspan="3" align="right" style="padding:3px 9px"><strong><big><?php echo $this->__('Grand Total') ?></big></strong></td>
72
+ <td align="right" style="padding:6px 9px"><strong><big><?php echo $_order->formatPrice($_invoice->getGrandTotal()) ?></big></strong></td>
73
+ </tr>
74
+ </tfoot>
75
+ </table>
76
+ <?php endif; ?>
app/design/frontend/default/magezon/template/email/order/items.phtml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
29
+ <thead>
30
+ <tr>
31
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Item') ?></th>
32
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Sku') ?></th>
33
+ <th align="center" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Qty') ?></th>
34
+ <th align="right" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></th>
35
+ </tr>
36
+ </thead>
37
+
38
+ <?php $i=0; foreach ($_order->getAllItems() as $_item): ?>
39
+ <?php if($_item->getParentItem()) continue; else $i++; ?>
40
+ <tbody<?php echo $i%2 ? ' bgcolor="#eeeded"' : '' ?>>
41
+ <?php echo $this->getItemHtml($_item) ?>
42
+ </tbody>
43
+ <?php endforeach; ?>
44
+
45
+ <tfoot>
46
+ <?php if($_order->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_order->getGiftMessageId())): ?>
47
+ <tr>
48
+ <td colspan="4" align="left" style="padding:3px 9px">
49
+ <strong><?php echo $this->__('Gift Message') ?></strong>
50
+ <br /><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
51
+ <br /><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
52
+ <br /><?php echo $this->__('Message:'); ?><br /> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
53
+ </td>
54
+ </tr>
55
+ <?php endif; ?>
56
+ <tr>
57
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></td>
58
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getSubtotal()) ?></td>
59
+ </tr>
60
+ <?php if ($_order->getDiscountAmount() > 0): ?>
61
+ <tr>
62
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Discount '.($_order->getCouponCode()?'('.$_order->getCouponCode().')':'')) ?></td>
63
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice(0.00 - $_order->getDiscountAmount()) ?></td>
64
+ </tr>
65
+ <?php endif; ?>
66
+ <?php if ($_order->getShippingAmount() || $_order->getShippingDescription()): ?>
67
+ <tr>
68
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Shipping & Handling') ?></td>
69
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getShippingAmount()) ?></td>
70
+ </tr>
71
+ <?php endif; ?>
72
+ <?php if (($_order->getTaxAmount() > 0)||(Mage::helper('tax')->displayZeroTax())): ?>
73
+ <tr>
74
+ <td colspan="3" align="right" style="padding:3px 9px"><?php echo $this->__('Tax') ?></td>
75
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getTaxAmount()) ?></td>
76
+ </tr>
77
+ <?php endif; ?>
78
+ <tr bgcolor="#DEE5E8">
79
+ <td colspan="3" align="right" style="padding:3px 9px"><strong><big><?php echo $this->__('Grand Total') ?></big></strong></td>
80
+ <td align="right" style="padding:6px 9px"><strong><big><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></big></strong></td>
81
+ </tr>
82
+ </tfoot>
83
+
84
+ </table>
app/design/frontend/default/magezon/template/email/order/items/creditmemo/default.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php echo $_item->getDescription() ?>
41
+ </td>
42
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
43
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQty()*1 ?></td>
44
+ <td align="right" valign="top" style="padding:3px 9px">
45
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
46
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
47
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
48
+ <?php endif; ?>
49
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
50
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
51
+ <?php else: ?>
52
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
53
+ <?php endif; ?>
54
+
55
+
56
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
57
+ <br />
58
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
59
+ <small>
60
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
61
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
62
+ <?php endforeach; ?>
63
+ </small>
64
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
67
+ <?php endforeach; ?>
68
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
69
+ <small>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
72
+ <?php endforeach; ?>
73
+ </small>
74
+ <?php endif; ?>
75
+
76
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
77
+ <br />
78
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
79
+ <?php endif; ?>
80
+ <?php endif; ?>
81
+ <?php endif; ?>
82
+
83
+
84
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
85
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
86
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
87
+ <?php endif; ?>
88
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
90
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
91
+ <?php else: ?>
92
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
93
+ <?php endif; ?>
94
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
95
+ <br />
96
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
97
+ <small>
98
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
99
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
100
+ <?php endforeach; ?>
101
+ </small>
102
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
103
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
104
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
105
+ <?php endforeach; ?>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
107
+ <small>
108
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
109
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
110
+ <?php endforeach; ?>
111
+ </small>
112
+ <?php endif; ?>
113
+
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
115
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
116
+ <?php endif; ?>
117
+ <?php endif; ?>
118
+ <?php endif; ?>
119
+ </td>
120
+ </tr>
app/design/frontend/default/magezon/template/email/order/items/invoice/default.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php echo $_item->getDescription() ?>
41
+ </td>
42
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
43
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQty()*1 ?></td>
44
+ <td align="right" valign="top" style="padding:3px 9px">
45
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
46
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
47
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
48
+ <?php endif; ?>
49
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
50
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
51
+ <?php else: ?>
52
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
53
+ <?php endif; ?>
54
+
55
+
56
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
57
+ <br />
58
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
59
+ <small>
60
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
61
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
62
+ <?php endforeach; ?>
63
+ </small>
64
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
67
+ <?php endforeach; ?>
68
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
69
+ <small>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
72
+ <?php endforeach; ?>
73
+ </small>
74
+ <?php endif; ?>
75
+
76
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
77
+ <br />
78
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
79
+ <?php endif; ?>
80
+ <?php endif; ?>
81
+ <?php endif; ?>
82
+
83
+
84
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
85
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
86
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
87
+ <?php endif; ?>
88
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
90
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
91
+ <?php else: ?>
92
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
93
+ <?php endif; ?>
94
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
95
+ <br />
96
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
97
+ <small>
98
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
99
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
100
+ <?php endforeach; ?>
101
+ </small>
102
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
103
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
104
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
105
+ <?php endforeach; ?>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
107
+ <small>
108
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
109
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
110
+ <?php endforeach; ?>
111
+ </small>
112
+ <?php endif; ?>
113
+
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
115
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
116
+ <?php endif; ?>
117
+ <?php endif; ?>
118
+ <?php endif; ?>
119
+ </td>
120
+ </tr>
app/design/frontend/default/magezon/template/email/order/items/order/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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
31
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
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 $option['value'] ?></dd>
37
+ <?php endforeach; ?>
38
+ </dl>
39
+ <?php endif; ?>
40
+ <?php echo $_item->getDescription() ?>
41
+ <?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
42
+ <br/><strong><?php echo $this->__('Gift Message') ?></strong>
43
+ <br/><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
44
+ <br/><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
45
+ <br/><?php echo $this->__('Message:'); ?><br/> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
46
+ <?php endif; ?>
47
+ </td>
48
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
49
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQtyOrdered()*1 ?></td>
50
+ <td align="right" valign="top" style="padding:3px 9px">
51
+ <?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
52
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
53
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
54
+ <?php endif; ?>
55
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
56
+ <?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
57
+ <?php else: ?>
58
+ <?php echo $_order->formatPrice($_item->getRowTotal()) ?>
59
+ <?php endif; ?>
60
+
61
+
62
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
63
+ <br />
64
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
65
+ <small>
66
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
67
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
68
+ <?php endforeach; ?>
69
+ </small>
70
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
71
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
72
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
73
+ <?php endforeach; ?>
74
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
75
+ <small>
76
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
77
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
78
+ <?php endforeach; ?>
79
+ </small>
80
+ <?php endif; ?>
81
+
82
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
83
+ <br />
84
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+ <?php endif; ?>
88
+
89
+
90
+ <?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
91
+ <?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
92
+ <br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
93
+ <?php endif; ?>
94
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
95
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
96
+ <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
97
+ <?php else: ?>
98
+ <?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
99
+ <?php endif; ?>
100
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
101
+ <br />
102
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, '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 elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
109
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
110
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
111
+ <?php endforeach; ?>
112
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
113
+ <small>
114
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
115
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
116
+ <?php endforeach; ?>
117
+ </small>
118
+ <?php endif; ?>
119
+
120
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
121
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
122
+ <?php endif; ?>
123
+ <?php endif; ?>
124
+ <?php endif; ?>
125
+ </td>
126
+ </tr>
app/design/frontend/default/magezon/template/email/order/items/shipment/default.phtml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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 align="left" valign="top" style="padding:3px 9px">
30
+ <strong><?php echo $this->htmlEscape($_item->getName()) ?></strong>
31
+ <?php if ($this->getItemOptions()): ?>
32
+ <dl style="margin:0; padding:0;">
33
+ <?php foreach ($this->getItemOptions() as $option): ?>
34
+ <dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
35
+ <dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
36
+ <?php endforeach; ?>
37
+ </dl>
38
+ <?php endif; ?>
39
+ <?php echo $_item->getDescription() ?>
40
+ </td>
41
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->getSku($_item) ?></td>
42
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQty()*1 ?></td>
43
+ </tr>
app/design/frontend/default/magezon/template/email/order/shipment/items.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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): ?>
30
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
31
+ <thead>
32
+ <tr>
33
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Item') ?></th>
34
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Sku') ?></th>
35
+ <th align="center" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Qty') ?></th>
36
+ </tr>
37
+ </thead>
38
+
39
+ <?php $i=0; foreach ($_shipment->getAllItems() as $_item): ?>
40
+ <?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
41
+ <tbody<?php echo $i%2 ? ' bgcolor="#eeeded"' : '' ?>>
42
+ <?php echo $this->getItemHtml($_item) ?>
43
+ </tbody>
44
+ <?php endforeach; ?>
45
+
46
+ </table>
47
+ <?php endif; ?>
app/design/frontend/default/magezon/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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
31
+ <thead>
32
+ <tr>
33
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px"><?php echo $this->__('Shipped By') ?></th>
34
+ <th align="center" bgcolor="#d9e5ee" style="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
+ <tr <?php echo $i%2?'bgcolor="#eeeded"':'' ?>>
40
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $_item->getTitle() ?></td>
41
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getNumber() ?></td>
42
+ </tr>
43
+ <?php endforeach ?>
44
+ </tbody>
45
+ </table>
46
+ <?php endif; ?>
app/design/frontend/default/magezon/template/email/productalert/price.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category default_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getProducts()): ?>
28
+ <p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the prices for the following products changed:') ?></p>
29
+ <table>
30
+ <?php foreach ($_products as $_product): ?>
31
+ <tr>
32
+ <td><a href="<?php echo $_product->getProductUrl() ?>"><img src="<?php echo $_product->getThumbnailUrl() ?>" border="0" align="left" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" height="75" width="75" /></a></td>
33
+ <td>
34
+ <div><a href="<?php echo $_product->getProductUrl() ?>"><b><?php echo $this->htmlEscape($_product->getName()) ?></b></a></div>
35
+ <?php if ($shortDescription = $_product->getShortDescription()): ?>
36
+ <p><small><?php echo $shortDescription ?></small></p>
37
+ <?php endif; ?>
38
+ <p><?php if ($_product->getPrice() != $_product->getFinalPrice()): ?>
39
+ <?php echo $this->__('Regular Price:') ?> <strong><strike><?php echo $this->formatPrice($_product->getPrice()) ?></strike></strong><br />
40
+ <b><?php echo $this->__('Special price:') ?> <font color="red"><?php echo $this->formatPrice($_product->getFinalPrice()) ?></font></b>
41
+ <?php else: ?>
42
+ <b><?php echo $this->__('Price:') ?></b> <?php echo $this->formatPrice($_product->getPrice()) ?>
43
+ <?php endif; ?></p>
44
+ <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>
45
+ </td>
46
+ </tr>
47
+ <?php endforeach; ?>
48
+ </table>
49
+ <p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all price alerts') ?></a></p>
50
+ <?php endif; ?>
app/design/frontend/default/magezon/template/email/productalert/stock.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category default_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($_products = $this->getProducts()): ?>
28
+ <p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the following products are back in stock:') ?></p>
29
+ <table>
30
+ <?php foreach ($_products as $_product): ?>
31
+ <tr>
32
+ <td width="80"><a href="<?php echo $_product->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(75, 75) ?>" border="0" align="left" height="75" width="75" alt="" /></a></td>
33
+ <td>
34
+ <div><a href="<?php echo $_product->getProductUrl() ?>"><b><?php echo $this->htmlEscape($_product->getName()) ?></b></a></div>
35
+ <?php if ($shortDescription = $_product->getShortDescription()): ?>
36
+ <p><small><?php echo $shortDescription ?></small></p>
37
+ <?php endif; ?>
38
+ <p><?php if ($_product->getPrice() != $_product->getFinalPrice()): ?>
39
+ <?php echo $this->__('Regular Price:') ?> <strong><strike><?php echo $this->formatPrice($_product->getPrice()) ?></strike></strong><br />
40
+ <b><?php echo $this->__('Special price:') ?> <font color="red"><?php echo $this->formatPrice($_product->getFinalPrice()) ?></font></b>
41
+ <?php else: ?>
42
+ <b><?php echo $this->__('Price:') ?></b> <?php echo $this->formatPrice($_product->getPrice()) ?>
43
+ <?php endif; ?></p>
44
+ <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>
45
+ </td>
46
+ </tr>
47
+ <?php endforeach; ?>
48
+ </table>
49
+ <p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all stock alerts') ?></a></p>
50
+ <?php endif; ?>
app/design/frontend/default/magezon/template/giftmessage/form.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/giftmessage.js') ?>"></script>
28
+ <?php if(!$this->getSaveMode()): ?>
29
+ <div class="page-title">
30
+ <h2><?php echo $this->__('Gift Message') ?></h2>
31
+ </div>
32
+ <form action="<?php echo $this->getSaveUrl() ?>" id="message-form" method="post">
33
+ <ul class="form-list">
34
+ <li>
35
+ <div class="input-box">
36
+ <label for="sender"><?php echo $this->__('From') ?> <span class="required">*</span></label><br />
37
+ <input type="text" name="sender" value="<?php echo $this->getEscaped($this->getMessage()->getSender()) ?>" title="<?php echo $this->__('From') ?>" class="input-text required-entry" />
38
+ </div>
39
+ </li>
40
+ <li>
41
+ <div class="input-box">
42
+ <label for="recipient"><?php echo $this->__('To') ?> <span class="required">*</span></label><br />
43
+ <input type="text" name="recipient" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient()) ?>" title="<?php echo $this->__('To') ?>" class="input-text required-entry" />
44
+ </div>
45
+ </li>
46
+ <li>
47
+ <div class="input-box">
48
+ <label for="email_address"><?php echo $this->__('Message') ?> <span class="required">*</span></label><br />
49
+ <textarea name="messagetext" title="<?php echo $this->__('Message') ?>" class="input-text required-entry" cols="60" rows="5"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
50
+ </div>
51
+ </li>
52
+ </ul>
53
+ <div class="buttons-set">
54
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
55
+ <button class="button" type="submit" name="send"><span><span><?php echo $this->__('Save') ?></span></span></button> &nbsp;
56
+ <button class="button listen-cancel" type="button"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
57
+ <?php if($this->getMessage()->getGiftMessageId()): ?>
58
+ <button class="button listen-remove" type="button"><span><span><?php echo $this->__('Remove') ?></span></span></button>
59
+ <?php endif; ?>
60
+ </div>
61
+ </form>
62
+ <?php elseif($this->getSaveMode()=='save'): ?>
63
+ <h2><?php echo $this->__('Your gift message has been successfully saved') ?></h2>
64
+ <p><button class="button" type="button" onclick="giftMessageWindowObject.close()"><span><span><?php echo $this->__('Close') ?></span></span></button></p>
65
+ <?php else: ?>
66
+ <h2><?php echo $this->__('Your gift message has been successfully removed') ?></h2>
67
+ <p><button class="button" type="button" onclick="giftMessageWindowObject.close()"><span><span><?php echo $this->__('Close') ?></span></span></button></p>
68
+ <?php endif; ?>
69
+ <script type="text/javascript">
70
+ //<![CDATA[
71
+ <?php if(!$this->getSaveMode()): ?>
72
+ var giftMessageWindowObject = new GiftMessageWindow('<?php echo $this->getUniqueId() ?>','message-form', '<?php echo $this->getRemoveUrl() ?>');
73
+ giftMessageWindowObject.confirmMessage = '<?php echo $this->getEscapedForJs($this->__('Are you sure?')) ?>';
74
+ <?php else: ?>
75
+ var giftMessageWindowObject = new GiftMessageWindow('<?php echo $this->getUniqueId() ?>', null, '<?php echo $this->getRemoveUrl() ?>');
76
+ Event.observe(window, 'load', function(evt) {
77
+ giftMessageWindowObject.updateParent('<?php echo $this->getEditUrl() ?>', '<?php echo $this->getButtonUrl() ?>');
78
+ });
79
+ <?php endif; ?>
80
+ //]]>
81
+ </script>
app/design/frontend/default/magezon/template/giftmessage/helper.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!$this->getScriptIncluded() && $this->getCanDisplayContainer()): ?>
28
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/giftmessage.js') ?>"></script>
29
+ <?php $this->setScriptIncluded(true); ?>
30
+ <?php endif; ?>
31
+ <?php if($this->getCanDisplayContainer()): ?>
32
+ <div id="<?php echo $this->getId() ?>">
33
+ <?php endif; ?>
34
+ <?php switch ($this->getType()): ?>
35
+ <?php case 'item': ?>
36
+ <button class="button listen-for-click" type="button"><span><span>
37
+ <?php if($this->hasGiftMessage()): ?>
38
+ <?php echo $this->__('Edit') ?>
39
+ <?php else: ?>
40
+ <?php echo $this->__('Add') ?>
41
+ <?php endif; ?>
42
+ </span></span></button>
43
+ <?php break; ?>
44
+ <?php case 'main': ?>
45
+ <a href="#" class="listen-for-click">
46
+ <?php if($this->hasGiftMessage()): ?>
47
+ <?php echo $this->__('Edit Gift Message') ?>
48
+ <?php else: ?>
49
+ <?php echo $this->__('Add Gift Message') ?>
50
+ <?php endif; ?>
51
+ </a>
52
+ <?php break; ?>
53
+ <?php case 'address': ?>
54
+ <a href="#" class="listen-for-click">
55
+ <?php if($this->hasGiftMessage()): ?>
56
+ <?php echo $this->__('Edit Gift Message') ?>
57
+ <?php else: ?>
58
+ <?php echo $this->__('Add Gift Message') ?>
59
+ <?php endif; ?>
60
+ </a>
61
+ <?php break; ?>
62
+ <?php case 'address_item': ?>
63
+ <button class="button listen-for-click" type="button"><span><span>
64
+ <?php if($this->hasGiftMessage()): ?>
65
+ <?php echo $this->__('Edit') ?>
66
+ <?php else: ?>
67
+ <?php echo $this->__('Add') ?>
68
+ <?php endif; ?>
69
+ </span></span></button>
70
+ <?php break; ?>
71
+ <?php endswitch ?>
72
+ <?php if($this->getCanDisplayContainer()): ?>
73
+ </div>
74
+ <script type="text/javascript">
75
+ //<![CDATA[
76
+ var <?php echo $this->getJsObjectName() ?> = new GiftMessage('<?php echo $this->getId() ?>');
77
+ <?php echo $this->getJsObjectName() ?>.url = '<?php echo $this->getEditUrl() ?>';
78
+ //]]>
79
+ </script>
80
+ <?php endif; ?>
app/design/frontend/default/magezon/template/giftmessage/inline.phtml ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!$this->getDontDisplayContainer()): ?>
28
+ <script type="text/javascript">
29
+ //<![CDATA[
30
+ if(!window.toogleVisibilityOnObjects) {
31
+ var toogleVisibilityOnObjects = function(source, objects) {
32
+ if($(source) && $(source).checked) {
33
+ objects.each(function(item){
34
+ $(item).show();
35
+ $(item).getElementsByClassName('input-text').each(function(item) {
36
+ item.removeClassName('validation-passed');
37
+ });
38
+ });
39
+
40
+
41
+ } else {
42
+ objects.each(function(item){
43
+ $(item).hide();
44
+ $(item).getElementsBySelector('.input-text').each(function(sitem) {
45
+ sitem.addClassName('validation-passed');
46
+ });
47
+
48
+ $(item).getElementsBySelector('.giftmessage-area').each(function(sitem) {
49
+ sitem.value = '';
50
+ });
51
+ });
52
+
53
+ }
54
+
55
+ }
56
+ }
57
+ if(!window.toogleRequired) {
58
+ var toogleRequired = function (source, objects)
59
+ {
60
+ if(!$(source).value.blank()) {
61
+ objects.each(function(item) {
62
+ $(item).addClassName('required-entry');
63
+ });
64
+ } else {
65
+ objects.each(function(item) {
66
+ if(shippingMethod && shippingMethod.validator) {
67
+ shippingMethod.validator.reset(item);
68
+ }
69
+ $(item).removeClassName('required-entry');
70
+ });
71
+
72
+ }
73
+ }
74
+ }
75
+ if(window.shipping) {
76
+
77
+ shipping.onSave = function(evt){
78
+ new Ajax.Updater('onepage-checkout-shipping-method-additional-load', '<?php echo $this->getAdditionalUrl(); ?>', {onSuccess: function() {
79
+ this.nextStep(evt);
80
+ }.bind(this), evalScripts:true});
81
+ }.bindAsEventListener(shipping);
82
+
83
+ billing.onSave = function(evt){
84
+ new Ajax.Updater('onepage-checkout-shipping-method-additional-load', '<?php echo $this->getAdditionalUrl(); ?>', {onSuccess: function() {
85
+ this.nextStep(evt);
86
+ }.bind(this), evalScripts:true});
87
+ }.bindAsEventListener(billing);
88
+
89
+ }
90
+ //]]>
91
+ </script>
92
+ <?php endif ?>
93
+ <?php switch ($this->getType()): ?>
94
+ <?php case 'onepage_checkout': ?>
95
+ <div class="add-gift-message">
96
+ <h4><?php echo $this->__('Do you have any gift items in your order?'); ?></h4>
97
+ <p>
98
+ <input type="checkbox" name="allow_gift_messages" id="allow_gift_messages" value="1" onclick="toogleVisibilityOnObjects(this, ['allow-gift-message-container']);"<?php if($this->getItemsHasMesssages() || $this->getEntityHasMessage()): ?> checked="checked"<?php endif; ?> class="checkbox" />
99
+ <label for="allow_gift_messages"><?php echo $this->__('Check this checkbox if you want to add gift messages.') ?></label>
100
+ </p>
101
+ </div>
102
+ <div class="gift-message-form" id="allow-gift-message-container">
103
+ <div class="inner-box">
104
+ <?php if (Mage::helper('giftmessage/message')->isMessagesAvailable('quote', $this->getEntity())): ?>
105
+ <h4><?php echo $this->__('Enter a gift message for entire order.'); ?></h4>
106
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for whole order.') ?></p>
107
+ <fieldset class="group-select">
108
+ <input type="hidden" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][type]" value="quote" />
109
+ <ul>
110
+ <li>
111
+ <div class="input-box">
112
+ <label for="gift-message-whole-from"><?php echo $this->__('From') ?></label><br />
113
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-whole-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
114
+ </div>
115
+ <div class="input-box">
116
+ <label for="gift-message-whole-to"><?php echo $this->__('To') ?></label><br />
117
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-whole-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
118
+ </div>
119
+ </li>
120
+ <li>
121
+ <label for="gift-message-whole-message"><?php echo $this->__('Message') ?></label><br />
122
+ <textarea id="gift-message-whole-message" onchange="toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
123
+ </li>
124
+ </ul>
125
+ <script type="text/javascript">
126
+ //<![CDATA[
127
+ toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to']);
128
+ //]]>
129
+ </script>
130
+ </fieldset>
131
+ <?php endif; ?>
132
+ <?php if($this->isItemsAvailable()): ?>
133
+ <h4><?php echo $this->__('Enter a gift message for each item in your order.'); ?></h4>
134
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for the item.') ?></p>
135
+ <ol>
136
+ <?php foreach($this->getItems() as $_index=>$_item): ?>
137
+ <?php $_product=$_item->getProduct() ?>
138
+ <li class="gift-item">
139
+ <p class="number"><?php echo $this->__('Item %d of %d', $_index+1, $this->countItems()) ?></p>
140
+ <div class="product-img-box">
141
+ <p class="product-image">
142
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"title="<?php echo $this->htmlEscape($_product->getName()) ?>" />
143
+ </p>
144
+ <h5 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h5>
145
+ </div>
146
+ <fieldset class="group-select">
147
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][type]" value="quote_item" />
148
+ <ul>
149
+ <li>
150
+ <div class="input-box">
151
+ <label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
152
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
153
+ </div>
154
+ <div class="input-box">
155
+ <label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
156
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
157
+ </div>
158
+ </li>
159
+ <li>
160
+ <label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
161
+ <br />
162
+ <textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
163
+ </li>
164
+ </ul>
165
+ <script type="text/javascript">
166
+ //<![CDATA[
167
+ toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to']);
168
+ //]]>
169
+ </script>
170
+ </fieldset>
171
+ </li>
172
+ <?php endforeach; ?>
173
+ </ol>
174
+ <?php endif; ?>
175
+ </div>
176
+ </div>
177
+ <script type="text/javascript">
178
+ //<![CDATA[
179
+ toogleVisibilityOnObjects('allow_gift_messages', ['allow-gift-message-container']);
180
+ //]]>
181
+ </script>
182
+ <?php break; ?>
183
+ <?php case 'multishipping_adress_checkbox': ?>
184
+
185
+ <?php break; ?>
186
+ <?php case 'multishipping_adress': ?>
187
+ <div class="add-gift-message">
188
+ <h4><?php echo $this->__('Gift Messages'); ?></h4>
189
+ <p>
190
+ <input type="checkbox" name="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>" id="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>" value="1" onclick="toogleVisibilityOnObjects(this, ['allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>']);"<?php if($this->getItemsHasMesssages() || $this->getEntityHasMessage()): ?> checked="checked"<?php endif ?> class="checkbox" />
191
+ <label for="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>"><?php echo $this->__('Check this checkbox if you want to add gift messages to your items.') ?></label>
192
+ </p>
193
+ </div>
194
+ <div class="gift-message-form" id="allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>">
195
+ <div class="inner-box">
196
+ <?php if (Mage::helper('giftmessage/message')->isMessagesAvailable('quote', $this->getEntity())): ?>
197
+ <h5><?php echo $this->__('Enter a gift message for this address.'); ?></h5>
198
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for this address.') ?></p>
199
+ <fieldset class="group-select">
200
+ <input type="hidden" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][type]" value="quote_address" />
201
+ <ul>
202
+ <li>
203
+ <div class="input-box">
204
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
205
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
206
+ </div>
207
+ <div class="input-box">
208
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
209
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
210
+ </div>
211
+ </li>
212
+ <li>
213
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-message"><?php echo $this->__('Message') ?></label>
214
+ <br />
215
+ <textarea id="gift-message-<?php echo $this->getEntity()->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
216
+ </li>
217
+ </ul>
218
+ <script type="text/javascript">
219
+ //<![CDATA[
220
+ var shippingMethod = new VarienForm('shipping_method_form');
221
+ toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to']);
222
+ //]]>
223
+ </script>
224
+ </fieldset>
225
+ <?php endif; ?>
226
+ <?php if($this->isItemsAvailable()): ?>
227
+ <h5><?php echo $this->__('Enter a gift message for each item in your order.'); ?></h5>
228
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for the item.') ?></p>
229
+ <ol>
230
+ <?php foreach($this->getItems() as $_index=>$_item): ?>
231
+ <?php $_product=$_item->getProduct() ?>
232
+ <li class="gift-item">
233
+ <p class="number"><?php echo $this->__('Item %d of %d', $_index+1, $this->countItems()) ?></p>
234
+ <div class="product-img-box">
235
+ <p class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" /></p>
236
+ <h6 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h6>
237
+ </div>
238
+ <fieldset class="group-select">
239
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][type]" value="quote_address_item" />
240
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][address]" value="<?php echo $this->getEntity()->getId()?>" />
241
+ <ul>
242
+ <li>
243
+ <div class="input-box">
244
+ <label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
245
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
246
+ </div>
247
+ <div class="input-box">
248
+ <label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
249
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
250
+ </div>
251
+ </li>
252
+ <li>
253
+ <label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label><br />
254
+ <textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="10"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
255
+ </li>
256
+ </ul>
257
+ <script type="text/javascript">
258
+ //<![CDATA[
259
+ toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to']);
260
+ //]]>
261
+ </script>
262
+ </fieldset>
263
+ </li>
264
+ <?php endforeach; ?>
265
+ </ol>
266
+ <?php endif; ?>
267
+ </div>
268
+ </div>
269
+ <script type="text/javascript">
270
+ //<![CDATA[
271
+ toogleVisibilityOnObjects('allow_gift_messages_<?php echo $this->getEntity()->getId() ?>', ['allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>']);
272
+ //]]>
273
+ </script>
274
+ <?php break; ?>
275
+ <?php endswitch ?>
app/design/frontend/default/magezon/template/googlecheckout/form.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage_GoogleCheckout
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><?php echo $this->__('You will be redirected to Google Checkout website when you place an order.') ?></li>
30
+ </ul>
app/design/frontend/default/magezon/template/googlecheckout/link.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <li>
28
+ <?php if ($this->getIsDisabled()): ?>
29
+ <img src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" />
30
+ <?php else: ?>
31
+ <form method="post" action="<?php echo $this->getCheckoutUrl();?>"<?php if($this->getIsActiveAanalytics()):?> onsubmit="setUrchinInputCode(pageTracker)"<?php endif;?>>
32
+ <fieldset>
33
+ <input type="hidden" name="analyticsdata" value="" />
34
+ <input type="image" src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" />
35
+ </fieldset>
36
+ </form>
37
+ <?php endif; ?>
38
+ </li>
app/design/frontend/default/magezon/template/newsletter/subscribe.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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><?php echo $this->__('Newsletter') ?><a name="newsletter-box"></a></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getUrl('newsletter/subscriber/new') ?>" method="post" id="newsletter-validate-detail">
32
+ <fieldset class="block-content">
33
+ <legend><?php echo $this->__('Newsletter') ?></legend>
34
+ <?php /*
35
+ <?php if( $message = $this->getErrorMessage() ): ?>
36
+ <p class="error"><?php echo $message ?></p>
37
+ <?php endif; ?>
38
+ <?php if( $message = $this->getSuccessMessage() ): ?>
39
+ <p class="success"><?php echo $message ?></p>
40
+ <?php endif; ?>
41
+ */ ?>
42
+ <label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
43
+ <div class="input-box">
44
+ <input name="email" type="text" id="newsletter" class="input-text required-entry validate-email" />
45
+ </div>
46
+ <button type="submit" class="button"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
47
+ </fieldset>
48
+ </form>
49
+ <script type="text/javascript">
50
+ //<![CDATA[
51
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
52
+ //]]>
53
+ </script>
54
+ </div>
app/design/frontend/default/magezon/template/page/1column.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
+ <div class="wrapper">
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="mw_container">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ <div class="mw_main">
43
+ <div class="main col1-layout">
44
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
45
+ <div class="col-main">
46
+ <?php echo $this->getChildHtml('global_messages') ?>
47
+ <?php echo $this->getChildHtml('content') ?>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <?php echo $this->getChildHtml('footer') ?>
52
+ <?php echo $this->getChildHtml('before_body_end') ?>
53
+ </div>
54
+ </div>
55
+ <?php echo $this->getAbsoluteFooter() ?>
56
+ </body>
57
+ </html>
app/design/frontend/default/magezon/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
+ <div class="wrapper">
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="mw_container">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ <div class="mw_main">
43
+ <div class="main col2-left-layout">
44
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
45
+ <div class="col-main">
46
+ <?php echo $this->getChildHtml('global_messages') ?>
47
+ <?php echo $this->getChildHtml('content') ?>
48
+ </div>
49
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
50
+ </div>
51
+ </div>
52
+ <?php echo $this->getChildHtml('footer') ?>
53
+ <?php echo $this->getChildHtml('before_body_end') ?>
54
+ </div>
55
+ </div>
56
+ <?php echo $this->getAbsoluteFooter() ?>
57
+ </body>
58
+ </html>
app/design/frontend/default/magezon/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
+ <div class="wrapper">
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="mw_container">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ <div class="mw_main">
43
+ <div class="main col2-right-layout">
44
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
45
+ <div class="col-main">
46
+ <?php echo $this->getChildHtml('global_messages') ?>
47
+ <?php echo $this->getChildHtml('content') ?>
48
+ </div>
49
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
50
+ </div>
51
+ </div>
52
+ <?php echo $this->getChildHtml('footer') ?>
53
+ <?php echo $this->getChildHtml('before_body_end') ?>
54
+ </div>
55
+ </div>
56
+ <?php echo $this->getAbsoluteFooter() ?>
57
+ </body>
58
+ </html>
app/design/frontend/default/magezon/template/page/3columns.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body<?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
38
+ <div class="wrapper">
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="mw_container">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ <div class="mw_main">
43
+ <div class="main col3-layout">
44
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
45
+
46
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
47
+ <div class="col-main">
48
+ <?php echo $this->getChildHtml('global_messages') ?>
49
+ <?php echo $this->getChildHtml('content') ?>
50
+ </div>
51
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
52
+ </div>
53
+ </div>
54
+ <?php echo $this->getChildHtml('footer') ?>
55
+ <?php echo $this->getChildHtml('before_body_end') ?>
56
+ </div>
57
+ </div>
58
+ <?php echo $this->getAbsoluteFooter() ?>
59
+ </body>
60
+ </html>
app/design/frontend/default/magezon/template/page/html/breadcrumbs.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($crumbs && is_array($crumbs)): ?>
28
+ <div class="breadcrumbs">
29
+ <!--<strong><?php echo $this->__("You're currently on:") ?></strong>-->
30
+ <ul>
31
+ <?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
32
+ <li class="<?php echo $_crumbName ?>">
33
+ <?php if($_crumbInfo['link']): ?>
34
+ <a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
35
+ <?php elseif($_crumbInfo['last']): ?>
36
+ <strong><?php echo $_crumbInfo['label'] ?></strong>
37
+ <?php else: ?>
38
+ <?php echo $_crumbInfo['label'] ?>
39
+ <?php endif; ?>
40
+ <?php if(!$_crumbInfo['last']): ?>
41
+ <span>/ </span>
42
+ <?php endif; ?>
43
+ </li>
44
+ <?php endforeach; ?>
45
+ </ul>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/default/magezon/template/page/html/footer.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="mw_footer">
28
+ <div class="footer">
29
+ <div class="footer-top">
30
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('about-us')->toHtml() ?>
31
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('other-news')->toHtml() ?>
32
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('more-info')->toHtml() ?>
33
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('web-link')->toHtml() ?>
34
+ <div class="clear_both"><span> </span></div>
35
+ </div>
36
+ <div class="footer-bottom"><address><?php echo $this->getCopyright() ?><?php echo $this->__('Designed by ') ?><a href="http://mage-world.com/magento-themes" onclick="this.target='_blank'" ><?php echo $this->__('Mage-World') ?></a></address></div>
37
+ <div class="clear_both"><span> </span></div>
38
+ </div>
39
+ </div>
app/design/frontend/default/magezon/template/page/html/head-translator.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /** adds only the JS to header when Store Language is not English */ ?>
28
+ <?php if($this->getLang() != "en") :?>
29
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
30
+ <?php endif; ?>
app/design/frontend/default/magezon/template/page/html/head.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (($this->getTitle() != "Magento Commerce" ) && ($this->getTitle() != NULL )):?>
28
+ <title><?php echo trim($this->getTitle()) ?></title>
29
+ <?php endif; ?>
30
+
31
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
32
+
33
+ <?php if (($this->getDescription() != "Default Description") && ($this->getDescription() != NULL )):?>
34
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
35
+ <?php endif; ?>
36
+
37
+ <?php if (($this->getKeywords() != "Magento, Varien, E-commerce" ) && ($this->getKeywords() != NULL )):?>
38
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
39
+ <?php endif; ?>
40
+
41
+ <?php if (($this->getRobots() != "INDEX,FOLLOW") && ($this->getRobots() != "*")) :?>
42
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
43
+ <?php endif; ?>
44
+
45
+ <link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
46
+ <script type="text/javascript">
47
+ //<![CDATA[
48
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
49
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
50
+ //]]>
51
+ </script>
52
+ <?php echo $this->getCssJsHtml() ?>
53
+ <?php echo $this->getChildHtml() ?>
54
+
55
+ <?php echo $this->getIncludes() ?>
56
+
app/design/frontend/default/magezon/template/page/html/header-home.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="header">
28
+ <h1 id="logo" class="logo" title="<?php echo $this->getLogoAlt() ?>" style="background-image:url(<?php echo $this->getLogoSrc() ?>);"><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->getLogoAlt() ?></a></h1>
29
+ <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
30
+ <?php echo $this->getChildHtml('topLinks') ?>
31
+ <?php echo $this->getChildHtml('topSearch') ?>
32
+ <?php echo $this->getChildHtml('store_language') ?>
33
+ </div>
34
+ <?php echo $this->getChildHtml('topMenu') ?>
app/design/frontend/default/magezon/template/page/html/header.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="header-container">
28
+ <div class="header">
29
+ <?php echo $this->getChildHtml('logo') ?>
30
+ <div class="mw_right_head">
31
+ <?php echo $this->getChildHtml('topLinks') ?>
32
+ <p class="welcome-msg"><?php echo $this->getWelcome()?></p>
33
+ <div class="clear_both"><span></span></div>
34
+ <?php echo $this->getChildHtml('topSearch') ?>
35
+ <?php //echo $this->getChildHtml('store_language') ?>
36
+ </div>
37
+ <div class="clear_both"><span> </span></div>
38
+ </div>
39
+ </div>
40
+ <?php echo $this->getChildHtml('topnav') ?>
app/design/frontend/default/magezon/template/page/html/logo-home.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h1 id="logo" class="logo" title="<?php echo $this->getLogoAlt() ?>" style="background-image:url(<?php echo $this->getLogoSrc() ?>);"><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->getLogoAlt() ?></a></h1>
app/design/frontend/default/magezon/template/page/html/logo.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h4 id="logo" class="logo" title="<?php echo $this->getLogoAlt() ?>" style="background-image:url(<?php echo $this->getLogoSrc() ?>);"><a href="<?php echo $this->getUrl('') ?>"><?php echo $this->getLogoAlt() ?></a></h4>
app/design/frontend/default/magezon/template/page/html/notices.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@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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_Html_Notices
30
+ */
31
+ ?>
32
+ <?php if ($this->displayNoscriptNotice()): ?>
33
+ <noscript>
34
+ <div class="noscript">
35
+ <div class="noscript-inner">
36
+ <p><strong><?php echo $this->__('We detected that your JavaScript seem to be disabled.'); ?></strong></p>
37
+ <p><?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?></p>
38
+ </div>
39
+ </div>
40
+ </noscript>
41
+ <?php endif; ?>
42
+ <?php if ($this->displayDemoNotice()): ?>
43
+ <p class="demo-notice"><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p>
44
+ <?php endif; ?>
app/design/frontend/default/magezon/template/page/html/pager.phtml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_blank
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.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
+ <div class="pager">
36
+ <p class="amount">
37
+ <?php if($this->getLastPageNum()>1): ?>
38
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
39
+ <?php else: ?>
40
+ <?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?>
41
+ <?php endif; ?>
42
+ </p>
43
+
44
+ <?php if($this->getShowPerPage()): ?>
45
+ <fieldset class="limiter">
46
+ <label><?php echo $this->__('Show') ?></label>
47
+ <select onchange="setLocation(this.value)">
48
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
49
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
50
+ <?php echo $_limit ?>
51
+ </option>
52
+ <?php endforeach; ?>
53
+ </select> <?php echo $this->__('per page') ?>
54
+ </fieldset>
55
+ <?php endif ?>
56
+
57
+ <?php if($this->getLastPageNum()>1): ?>
58
+ <div class="pages">
59
+ <strong><?php echo $this->__('Page:') ?></strong>
60
+ <ol>
61
+ <?php if (!$this->isFirstPage()): ?>
62
+ <li><a href="<?php echo $this->getPreviousPageUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous Page') ?>" class="v-middle" /></a></li>
63
+ <?php endif ?>
64
+ <?php foreach ($this->getPages() as $_page): ?>
65
+ <?php if ($this->isPageCurrent($_page)): ?>
66
+ <li><span class="current"><?php echo $_page ?></span></li>
67
+ <?php else: ?>
68
+ <li><a href="<?php echo $thi