Version Notes
WatchShop Template
Download this release
Release Info
Developer | Magento Core Team |
Extension | MagestoreWatchShop |
Version | 0.1.0 |
Comparing to | |
See all releases |
Version 0.1.0
- app/code/local/Magestore/All/Block/Featurebrand.php +22 -0
- app/code/local/Magestore/All/Block/Featuredcategory.php +61 -0
- app/code/local/Magestore/All/Block/Featuredproduct.php +23 -0
- app/code/local/Magestore/All/Block/Specials.php +26 -0
- app/code/local/Magestore/All/Block/vssver.scc +0 -0
- app/code/local/Magestore/All/Helper/Data.php +6 -0
- app/code/local/Magestore/All/Helper/vssver.scc +0 -0
- app/code/local/Magestore/All/controllers/IndexController.php +8 -0
- app/code/local/Magestore/All/controllers/vssver.scc +0 -0
- app/code/local/Magestore/All/etc/config.xml +58 -0
- app/code/local/Magestore/All/etc/vssver.scc +0 -0
- app/code/local/Magestore/Customnav/Block/Navigation.php +122 -0
- app/code/local/Magestore/Customnav/Block/vssver.scc +0 -0
- app/code/local/Magestore/Customnav/etc/config.xml +17 -0
- app/code/local/Magestore/Customnav/etc/vssver.scc +0 -0
- app/design/frontend/default/watchshop/etc/vssver.scc +0 -0
- app/design/frontend/default/watchshop/etc/widget.xml +166 -0
- app/design/frontend/default/watchshop/layout/all.xml +13 -0
- app/design/frontend/default/watchshop/layout/bundle.xml +338 -0
- app/design/frontend/default/watchshop/layout/catalog.xml +443 -0
- app/design/frontend/default/watchshop/layout/catalogsearch.xml +146 -0
- app/design/frontend/default/watchshop/layout/centinel.xml +49 -0
- app/design/frontend/default/watchshop/layout/checkout.xml +415 -0
- app/design/frontend/default/watchshop/layout/cms.xml +88 -0
- app/design/frontend/default/watchshop/layout/contacts.xml +45 -0
- app/design/frontend/default/watchshop/layout/core.xml +33 -0
- app/design/frontend/default/watchshop/layout/customer.xml +272 -0
- app/design/frontend/default/watchshop/layout/directory.xml +73 -0
- app/design/frontend/default/watchshop/layout/downloadable.xml +191 -0
- app/design/frontend/default/watchshop/layout/faq.xml +46 -0
- app/design/frontend/default/watchshop/layout/googleanalytics.xml +41 -0
- app/design/frontend/default/watchshop/layout/googlecheckout.xml +53 -0
- app/design/frontend/default/watchshop/layout/googleoptimizer.xml +153 -0
- app/design/frontend/default/watchshop/layout/manufacturer.xml +29 -0
- app/design/frontend/default/watchshop/layout/moneybookers.xml +41 -0
- app/design/frontend/default/watchshop/layout/newsletter.xml +74 -0
- app/design/frontend/default/watchshop/layout/page.xml +186 -0
- app/design/frontend/default/watchshop/layout/paypal.xml +71 -0
- app/design/frontend/default/watchshop/layout/paypaluk.xml +82 -0
- app/design/frontend/default/watchshop/layout/poll.xml +57 -0
- app/design/frontend/default/watchshop/layout/productalert.xml +40 -0
- app/design/frontend/default/watchshop/layout/reports.xml +37 -0
- app/design/frontend/default/watchshop/layout/review.xml +125 -0
- app/design/frontend/default/watchshop/layout/rss.xml +93 -0
- app/design/frontend/default/watchshop/layout/sales.xml +284 -0
- app/design/frontend/default/watchshop/layout/sendfriend.xml +41 -0
- app/design/frontend/default/watchshop/layout/shipping.xml +52 -0
- app/design/frontend/default/watchshop/layout/tag.xml +129 -0
- app/design/frontend/default/watchshop/layout/vssver.scc +0 -0
- app/design/frontend/default/watchshop/layout/weee.xml +53 -0
- app/design/frontend/default/watchshop/layout/wishlist.xml +107 -0
- app/design/frontend/default/watchshop/template/all/featurebrand.phtml +20 -0
- app/design/frontend/default/watchshop/template/all/featuredcategory.phtml +11 -0
- app/design/frontend/default/watchshop/template/all/featuredproduct.phtml +29 -0
- app/design/frontend/default/watchshop/template/all/featuredproduct_.phtml +28 -0
- app/design/frontend/default/watchshop/template/all/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/list/partof.phtml +52 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/list/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/price.phtml +262 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/price.phtml +93 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/tierprices.phtml +41 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle.phtml +44 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/option/checkbox.phtml +48 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/option/multi.phtml +46 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/option/radio.phtml +72 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/option/select.phtml +61 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/option/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/options.phtml +45 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/bundle/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/view/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/catalog/product/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/creditmemo/default.phtml +168 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/creditmemo/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/invoice/default.phtml +169 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/invoice/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/order/default.phtml +174 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/order/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/shipment/default.phtml +92 -0
- app/design/frontend/default/watchshop/template/bundle/email/order/items/shipment/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/rss/catalog/product/price.phtml +271 -0
- app/design/frontend/default/watchshop/template/bundle/rss/catalog/product/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/creditmemo/items/renderer.phtml +328 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/creditmemo/items/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/invoice/items/renderer.phtml +352 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/invoice/items/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/items/renderer.phtml +375 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/items/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/shipment/items/renderer.phtml +111 -0
- app/design/frontend/default/watchshop/template/bundle/sales/order/shipment/items/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/callouts/left_col.phtml +39 -0
- app/design/frontend/default/watchshop/template/callouts/right_col.phtml +39 -0
- app/design/frontend/default/watchshop/template/callouts/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/category/page.phtml +36 -0
- app/design/frontend/default/watchshop/template/catalog/category/view.phtml +73 -0
- app/design/frontend/default/watchshop/template/catalog/category/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/category/widget/link/link_block.phtml +27 -0
- app/design/frontend/default/watchshop/template/catalog/category/widget/link/link_inline.phtml +27 -0
- app/design/frontend/default/watchshop/template/catalog/category/widget/link/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/layer/filter.phtml +45 -0
- app/design/frontend/default/watchshop/template/catalog/layer/state.phtml +46 -0
- app/design/frontend/default/watchshop/template/catalog/layer/view.phtml +58 -0
- app/design/frontend/default/watchshop/template/catalog/layer/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/navigation/left.phtml +59 -0
- app/design/frontend/default/watchshop/template/catalog/navigation/left_nav.phtml +28 -0
- app/design/frontend/default/watchshop/template/catalog/navigation/top.phtml +108 -0
- app/design/frontend/default/watchshop/template/catalog/navigation/top_old.phtml +95 -0
- app/design/frontend/default/watchshop/template/catalog/navigation/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/compare/list.phtml +139 -0
- app/design/frontend/default/watchshop/template/catalog/product/compare/sidebar.phtml +56 -0
- app/design/frontend/default/watchshop/template/catalog/product/compare/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/gallery.phtml +63 -0
- app/design/frontend/default/watchshop/template/catalog/product/list.phtml +134 -0
- app/design/frontend/default/watchshop/template/catalog/product/list/related.phtml +94 -0
- app/design/frontend/default/watchshop/template/catalog/product/list/toolbar.phtml +134 -0
- app/design/frontend/default/watchshop/template/catalog/product/list/toolbar_.phtml +139 -0
- app/design/frontend/default/watchshop/template/catalog/product/list/upsell.phtml +52 -0
- app/design/frontend/default/watchshop/template/catalog/product/list/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/new.phtml +59 -0
- app/design/frontend/default/watchshop/template/catalog/product/price.phtml +420 -0
- app/design/frontend/default/watchshop/template/catalog/product/view.phtml +178 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/additional.phtml +29 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/addto.phtml +36 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/addtocart.phtml +38 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/attributes.phtml +54 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/description.phtml +41 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/media.phtml +78 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options.phtml +180 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/js.phtml +89 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/date.phtml +92 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/default.phtml +30 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/file.phtml +41 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/select.phtml +37 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/text.phtml +39 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/type/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/wrapper.phtml +33 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/options/wrapper/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/price.phtml +34 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/price_clone.phtml +28 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/tierprices.phtml +181 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/configurable.phtml +39 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/grouped.phtml +82 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/options/configurable.phtml +46 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/options/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/simple.phtml +42 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/virtual.phtml +40 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/type/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/view/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/link/link_block.phtml +27 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/link/link_inline.phtml +27 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/link/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_default_list.phtml +55 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_images_list.phtml +46 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_names_list.phtml +46 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/new_grid.phtml +65 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/new_list.phtml +62 -0
- app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/rss/product/price.phtml +356 -0
- app/design/frontend/default/watchshop/template/catalog/rss/product/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/seo/sitemap.phtml +43 -0
- app/design/frontend/default/watchshop/template/catalog/seo/sitemap/container.phtml +36 -0
- app/design/frontend/default/watchshop/template/catalog/seo/sitemap/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalog/seo/tree.phtml +43 -0
- app/design/frontend/default/watchshop/template/catalog/seo/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalogsearch/advanced/form.phtml +95 -0
- app/design/frontend/default/watchshop/template/catalogsearch/advanced/result.phtml +60 -0
- app/design/frontend/default/watchshop/template/catalogsearch/advanced/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/catalogsearch/form.mini.phtml +40 -0
- app/design/frontend/default/watchshop/template/catalogsearch/result.phtml +55 -0
- app/design/frontend/default/watchshop/template/catalogsearch/term.phtml +38 -0
- app/design/frontend/default/watchshop/template/catalogsearch/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/centinel/authentication.phtml +71 -0
- app/design/frontend/default/watchshop/template/centinel/authentication/complete.phtml +36 -0
- app/design/frontend/default/watchshop/template/centinel/authentication/start.phtml +40 -0
- app/design/frontend/default/watchshop/template/centinel/authentication/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/centinel/logo.phtml +33 -0
- app/design/frontend/default/watchshop/template/centinel/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/cart.phtml +142 -0
- app/design/frontend/default/watchshop/template/checkout/cart/coupon.phtml +58 -0
- app/design/frontend/default/watchshop/template/checkout/cart/crosssell.phtml +59 -0
- app/design/frontend/default/watchshop/template/checkout/cart/item/default.phtml +257 -0
- app/design/frontend/default/watchshop/template/checkout/cart/item/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/cart/noItems.phtml +47 -0
- app/design/frontend/default/watchshop/template/checkout/cart/render/default.phtml +70 -0
- app/design/frontend/default/watchshop/template/checkout/cart/render/simple.phtml +70 -0
- app/design/frontend/default/watchshop/template/checkout/cart/render/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/cart/shipping.phtml +143 -0
- app/design/frontend/default/watchshop/template/checkout/cart/sidebar.phtml +72 -0
- app/design/frontend/default/watchshop/template/checkout/cart/sidebar/default.phtml +125 -0
- app/design/frontend/default/watchshop/template/checkout/cart/sidebar/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/cart/totals.phtml +43 -0
- app/design/frontend/default/watchshop/template/checkout/cart/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/address/select.phtml +58 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/address/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/addresses.phtml +79 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/agreements.phtml +49 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/billing.phtml +116 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/billing/items.phtml +54 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/billing/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/item/default.phtml +45 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/item/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/link.phtml +27 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/overview.phtml +241 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/overview/item.phtml +238 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/overview/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/shipping.phtml +129 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/state.phtml +38 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/success.phtml +48 -0
- app/design/frontend/default/watchshop/template/checkout/multishipping/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/onepage.phtml +61 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/agreements.phtml +51 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/billing.phtml +203 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/failure.phtml +32 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/link.phtml +31 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/login.phtml +120 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/payment.phtml +70 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/payment/methods.phtml +56 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/payment/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/progress.phtml +110 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/review.phtml +44 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/review/info.phtml +68 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/review/item.phtml +236 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/review/totals.phtml +43 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/review/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/shipping.phtml +154 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method.phtml +46 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/additional.phtml +29 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/available.phtml +60 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/onepage/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/success.phtml +46 -0
- app/design/frontend/default/watchshop/template/checkout/total/default.phtml +38 -0
- app/design/frontend/default/watchshop/template/checkout/total/tax.phtml +68 -0
- app/design/frontend/default/watchshop/template/checkout/total/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/checkout/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/cms/content.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/content_heading.phtml +31 -0
- app/design/frontend/default/watchshop/template/cms/default/home.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/default/no-route.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/default/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/cms/meta.phtml +32 -0
- app/design/frontend/default/watchshop/template/cms/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/cms/widget/link/link_block.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/widget/link/link_inline.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/widget/link/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/cms/widget/static_block/default.phtml +27 -0
- app/design/frontend/default/watchshop/template/cms/widget/static_block/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/contacts/form.phtml +109 -0
- app/design/frontend/default/watchshop/template/contacts/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/core/formkey.phtml +27 -0
- app/design/frontend/default/watchshop/template/core/link.phtml +27 -0
- app/design/frontend/default/watchshop/template/core/messages.phtml +47 -0
- app/design/frontend/default/watchshop/template/core/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard.phtml +43 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard/address.phtml +50 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard/hello.phtml +30 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard/info.phtml +62 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard/newsletter.phtml +31 -0
- app/design/frontend/default/watchshop/template/customer/account/dashboard/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/account/link/back.phtml +29 -0
- app/design/frontend/default/watchshop/template/customer/account/link/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/account/navigation.phtml +46 -0
- app/design/frontend/default/watchshop/template/customer/account/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/address.phtml +94 -0
- app/design/frontend/default/watchshop/template/customer/address/book.phtml +105 -0
- app/design/frontend/default/watchshop/template/customer/address/edit.phtml +155 -0
- app/design/frontend/default/watchshop/template/customer/address/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/balance.phtml +31 -0
- app/design/frontend/default/watchshop/template/customer/form/address.phtml +141 -0
- app/design/frontend/default/watchshop/template/customer/form/changepassword.phtml +68 -0
- app/design/frontend/default/watchshop/template/customer/form/confirmation.phtml +54 -0
- app/design/frontend/default/watchshop/template/customer/form/edit.phtml +114 -0
- app/design/frontend/default/watchshop/template/customer/form/forgotpassword.phtml +65 -0
- app/design/frontend/default/watchshop/template/customer/form/login.phtml +82 -0
- app/design/frontend/default/watchshop/template/customer/form/mini.login.phtml +40 -0
- app/design/frontend/default/watchshop/template/customer/form/newsletter.phtml +48 -0
- app/design/frontend/default/watchshop/template/customer/form/register.phtml +189 -0
- app/design/frontend/default/watchshop/template/customer/form/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/logout.phtml +35 -0
- app/design/frontend/default/watchshop/template/customer/orders.phtml +65 -0
- app/design/frontend/default/watchshop/template/customer/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/widget/dob.phtml +87 -0
- app/design/frontend/default/watchshop/template/customer/widget/gender.phtml +36 -0
- app/design/frontend/default/watchshop/template/customer/widget/name.phtml +99 -0
- app/design/frontend/default/watchshop/template/customer/widget/taxvat.phtml +30 -0
- app/design/frontend/default/watchshop/template/customer/widget/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/customer/wishlist.phtml +73 -0
- app/design/frontend/default/watchshop/template/directory/currency.phtml +49 -0
- app/design/frontend/default/watchshop/template/directory/currency/switch.phtml +31 -0
- app/design/frontend/default/watchshop/template/directory/currency/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/directory/js/optional_zip_countries.phtml +39 -0
- app/design/frontend/default/watchshop/template/directory/js/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/directory/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/downloadable/catalog/product/links.phtml +118 -0
- app/design/frontend/default/watchshop/template/downloadable/catalog/product/samples.phtml +45 -0
- app/design/frontend/default/watchshop/template/downloadable/catalog/product/type.phtml +41 -0
- app/design/frontend/default/watchshop/template/downloadable/catalog/product/vssver.scc +0 -0
- app/design/frontend/default/watchshop/template/downloadable/checkout/cart/item/default.phtml +234 -0
app/code/local/Magestore/All/Block/Featurebrand.php
ADDED
@@ -0,0 +1,22 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Magestore_All_Block_Featurebrand extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function _prepareLayout()
|
5 |
+
{
|
6 |
+
return parent::_prepareLayout();
|
7 |
+
}
|
8 |
+
public function getFeatureBrand(){
|
9 |
+
return Mage::getModel('manufacturer/manufacturer')->getFeaturedManufacturer();
|
10 |
+
}
|
11 |
+
public function getManufacturerImage($manufacturer)
|
12 |
+
{
|
13 |
+
if($manufacturer->getImage())
|
14 |
+
{
|
15 |
+
$url = Mage::helper('manufacturer')->getUrlImagePath($manufacturer->getName()) .'/'. $manufacturer->getImage();
|
16 |
+
return $url;
|
17 |
+
} else{
|
18 |
+
|
19 |
+
return null;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
app/code/local/Magestore/All/Block/Featuredcategory.php
ADDED
@@ -0,0 +1,61 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Magestore_All_Block_Featuredcategory extends Mage_Core_Block_Template
|
3 |
+
{
|
4 |
+
public function _prepareLayout()
|
5 |
+
{
|
6 |
+
return parent::_prepareLayout();
|
7 |
+
}
|
8 |
+
public function getFeaturedCategories()
|
9 |
+
{
|
10 |
+
$list = array();
|
11 |
+
$collection = Mage::getResourceModel('catalog/category_collection')
|
12 |
+
->addAttributeToSelect('name')
|
13 |
+
->addAttributeToSelect('image');
|
14 |
+
if(count($collection)){
|
15 |
+
foreach($collection as $cat)
|
16 |
+
{
|
17 |
+
$featureddata = $this->getFeatured($cat);
|
18 |
+
if($featureddata == 1){
|
19 |
+
$list[] = $cat;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
23 |
+
return $list;
|
24 |
+
}
|
25 |
+
|
26 |
+
public function getFeatured($cat)
|
27 |
+
{
|
28 |
+
if(!$cat)
|
29 |
+
return ;
|
30 |
+
|
31 |
+
if (!$cat->getId())
|
32 |
+
{
|
33 |
+
return "";
|
34 |
+
}
|
35 |
+
|
36 |
+
|
37 |
+
$entity_type = Mage::getSingleton("eav/entity_type")->loadByCode("catalog_category");
|
38 |
+
|
39 |
+
$entity_type_id = $entity_type->getId();
|
40 |
+
|
41 |
+
$attribute = Mage::getModel("eav/entity_attribute")->load("featured_category","attribute_code");
|
42 |
+
|
43 |
+
$attribute_id = $attribute->getId();
|
44 |
+
|
45 |
+
$pretable = $this->getTablePrefix();
|
46 |
+
|
47 |
+
$resource = Mage::getSingleton('core/resource');
|
48 |
+
|
49 |
+
$read = $resource->getConnection('core_read');
|
50 |
+
|
51 |
+
$select = $read->select()
|
52 |
+
->from( $pretable ."catalog_category_entity_int",array('value'))
|
53 |
+
->where("entity_type_id=?",$entity_type_id)
|
54 |
+
->where("attribute_id=?",$attribute_id)
|
55 |
+
->where("entity_id=?",$cat->getId());
|
56 |
+
|
57 |
+
$text = $read->fetchOne($select);
|
58 |
+
|
59 |
+
return $text;
|
60 |
+
}
|
61 |
+
}
|
app/code/local/Magestore/All/Block/Featuredproduct.php
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Magestore_All_Block_Featuredproduct extends Mage_Catalog_Block_Product
|
3 |
+
{
|
4 |
+
public function _prepareLayout()
|
5 |
+
{
|
6 |
+
return parent::_prepareLayout();
|
7 |
+
}
|
8 |
+
public function getFeaturedProduct(){
|
9 |
+
return Mage::getModel('catalog/product')->getCollection()
|
10 |
+
->addFieldToFilter('featured_product',1);
|
11 |
+
}
|
12 |
+
public function getManufacturerName($id){
|
13 |
+
$manufacturerId = Mage::getModel('catalog/product')->load($id)->getManufacturer();
|
14 |
+
$manufacturers = Mage::getModel("manufacturer/manufacturer")->getCollection()
|
15 |
+
->addFieldToFilter('store_id',Mage::app()->getStore()->getId())
|
16 |
+
->addFieldToFilter('option_id',$manufacturerId);
|
17 |
+
$manuId = '';
|
18 |
+
foreach($manufacturers as $manufacturer){
|
19 |
+
$manuId = $manufacturer->getId();
|
20 |
+
}
|
21 |
+
return Mage::getModel('manufacturer/manufacturer')->load($manuId);
|
22 |
+
}
|
23 |
+
}
|
app/code/local/Magestore/All/Block/Specials.php
ADDED
@@ -0,0 +1,26 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Magestore_All_Block_Specials extends Mage_Catalog_Block_Product_List {
|
3 |
+
public function _getProductCollection() {
|
4 |
+
$_productCollection = Mage::getResourceModel('catalogsearch/advanced_collection')
|
5 |
+
->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes())
|
6 |
+
->addMinimalPrice()
|
7 |
+
->addStoreFilter()
|
8 |
+
->addFieldToFilter('special_price',array('nin'=>array(null)));
|
9 |
+
Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection($_productCollection);
|
10 |
+
Mage::getSingleton('catalog/product_visibility')->addVisibleInSearchFilterToCollection($_productCollection);
|
11 |
+
$todayDate = date('m/d/y');
|
12 |
+
$tomorrow = mktime(0, 0, 0, date('m'), date('d')+1, date('y'));
|
13 |
+
$tomorrowDate = date('m/d/y', $tomorrow);
|
14 |
+
$_productCollection->addAttributeToFilter('special_from_date', array('date' => true, 'to' => $todayDate))
|
15 |
+
->addAttributeToFilter('special_to_date', array('or'=> array(
|
16 |
+
0 => array('date' => true, 'from' => $tomorrowDate),
|
17 |
+
1 => array('is' => new Zend_Db_Expr('null')))
|
18 |
+
), 'left');
|
19 |
+
return $_productCollection;
|
20 |
+
}
|
21 |
+
public function _prepareLayout()
|
22 |
+
{
|
23 |
+
$this->getLayout()->getBlock('head')->setTitle('Specials');
|
24 |
+
return parent::_prepareLayout();
|
25 |
+
}
|
26 |
+
}
|
app/code/local/Magestore/All/Block/vssver.scc
ADDED
Binary file
|
app/code/local/Magestore/All/Helper/Data.php
ADDED
@@ -0,0 +1,6 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Magestore_All_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
+
{
|
5 |
+
|
6 |
+
}
|
app/code/local/Magestore/All/Helper/vssver.scc
ADDED
Binary file
|
app/code/local/Magestore/All/controllers/IndexController.php
ADDED
@@ -0,0 +1,8 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
class Magestore_All_IndexController extends Mage_Core_Controller_Front_Action
|
3 |
+
{
|
4 |
+
public function specialsAction(){
|
5 |
+
$this->loadLayout();
|
6 |
+
$this->renderLayout();
|
7 |
+
}
|
8 |
+
}
|
app/code/local/Magestore/All/controllers/vssver.scc
ADDED
Binary file
|
app/code/local/Magestore/All/etc/config.xml
ADDED
@@ -0,0 +1,58 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Magestore_All>
|
5 |
+
<version>0.1.3</version>
|
6 |
+
</Magestore_All>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<routers>
|
10 |
+
<all>
|
11 |
+
<use>standard</use>
|
12 |
+
<args>
|
13 |
+
<module>Magestore_All</module>
|
14 |
+
<frontName>all</frontName>
|
15 |
+
</args>
|
16 |
+
</all>
|
17 |
+
</routers>
|
18 |
+
<layout>
|
19 |
+
<updates>
|
20 |
+
<all>
|
21 |
+
<file>all.xml</file>
|
22 |
+
</all>
|
23 |
+
</updates>
|
24 |
+
</layout>
|
25 |
+
</frontend>
|
26 |
+
<global>
|
27 |
+
<resources>
|
28 |
+
<all_setup>
|
29 |
+
<setup>
|
30 |
+
<module>Magestore_All</module>
|
31 |
+
</setup>
|
32 |
+
<connection>
|
33 |
+
<use>core_setup</use>
|
34 |
+
</connection>
|
35 |
+
</all_setup>
|
36 |
+
<all_write>
|
37 |
+
<connection>
|
38 |
+
<use>core_write</use>
|
39 |
+
</connection>
|
40 |
+
</all_write>
|
41 |
+
<all_read>
|
42 |
+
<connection>
|
43 |
+
<use>core_read</use>
|
44 |
+
</connection>
|
45 |
+
</all_read>
|
46 |
+
</resources>
|
47 |
+
<blocks>
|
48 |
+
<all>
|
49 |
+
<class>Magestore_All_Block</class>
|
50 |
+
</all>
|
51 |
+
</blocks>
|
52 |
+
<helpers>
|
53 |
+
<all>
|
54 |
+
<class>Magestore_All_Helper</class>
|
55 |
+
</all>
|
56 |
+
</helpers>
|
57 |
+
</global>
|
58 |
+
</config>
|
app/code/local/Magestore/All/etc/vssver.scc
ADDED
Binary file
|
app/code/local/Magestore/Customnav/Block/Navigation.php
ADDED
@@ -0,0 +1,122 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Magestore_Customnav_Block_Navigation extends Mage_Catalog_Block_Navigation
|
4 |
+
{
|
5 |
+
public function drawItem($category, $level=0, $last=false, $first=false)
|
6 |
+
{
|
7 |
+
$html = '';
|
8 |
+
if (!$category->getIsActive()) {
|
9 |
+
return $html;
|
10 |
+
}
|
11 |
+
if (Mage::helper('catalog/category_flat')->isEnabled()) {
|
12 |
+
$children = $category->getChildrenNodes();
|
13 |
+
$childrenCount = count($children);
|
14 |
+
} else {
|
15 |
+
$children = $category->getChildren();
|
16 |
+
$childrenCount = $children->count();
|
17 |
+
}
|
18 |
+
$hasChildren = $children && $childrenCount;
|
19 |
+
$html.= '<li';
|
20 |
+
if ($hasChildren && $level == 0) {
|
21 |
+
$html.= ' onmouseover="toggleMenu(this,1)" onmouseout="toggleMenu(this,0)"';
|
22 |
+
}else{
|
23 |
+
$html.= ' onmouseover="hoverMenu(this,1)" onmouseout="hoverMenu(this,0)"';
|
24 |
+
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
$html.= ' class="level'.$level;
|
30 |
+
$html.= ' nav-'.str_replace('/', '-', Mage::helper('catalog/category')->getCategoryUrlPath($category->getRequestPath()));
|
31 |
+
|
32 |
+
if ($this->isCategoryActive($category)) {
|
33 |
+
$html.= ' active';
|
34 |
+
}
|
35 |
+
|
36 |
+
if ($category->getName() == 'Brands') {
|
37 |
+
if ($this->_getRequestPath() == 'manufacturer') {
|
38 |
+
$html.= ' active';
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
if ($last) {
|
43 |
+
$html .= ' last';
|
44 |
+
}
|
45 |
+
|
46 |
+
if ($first) {
|
47 |
+
$html .= ' first';
|
48 |
+
}
|
49 |
+
if ($hasChildren) {
|
50 |
+
$cnt = 0;
|
51 |
+
foreach ($children as $child) {
|
52 |
+
if ($child->getIsActive()) {
|
53 |
+
$cnt++;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
if ($cnt > 0) {
|
57 |
+
$html .= ' parent';
|
58 |
+
}
|
59 |
+
}
|
60 |
+
$html.= '">'."\n";
|
61 |
+
|
62 |
+
$html.= '<a href="'.$this->getCategoryUrl($category).'"><span>'.$this->htmlEscape($category->getName()).'</span></a>'."\n";
|
63 |
+
|
64 |
+
if ($hasChildren){
|
65 |
+
|
66 |
+
$j = 0;
|
67 |
+
$htmlChildren = '';
|
68 |
+
//Begin sort children category
|
69 |
+
$indexs=array();
|
70 |
+
foreach($children as $index=>$childr){
|
71 |
+
$indexs[]=$index;
|
72 |
+
}
|
73 |
+
for($i=0;$i<count($indexs)-1;$i++){
|
74 |
+
for($j=$i+1;$j<count($indexs);$j++){
|
75 |
+
if(strcmp(trim($children[$indexs[$i]]->getName()),trim($children[$indexs[$j]]->getName()))>0){
|
76 |
+
$temp=$children[$indexs[$i]];
|
77 |
+
$children[$indexs[$i]]=$children[$indexs[$j]];
|
78 |
+
$children[$indexs[$j]]=$temp;
|
79 |
+
}
|
80 |
+
}
|
81 |
+
}
|
82 |
+
//end sort
|
83 |
+
foreach ($children as $child) {
|
84 |
+
if ($child->getIsActive()) {
|
85 |
+
$htmlChildren.= $this->drawItem($child, $level+1, ++$j >= $cnt);
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
if (!empty($htmlChildren)) {
|
90 |
+
if($level ==0){
|
91 |
+
$html.= '<ul class="menu-show">'."\n"
|
92 |
+
//.'<li class="bg-top-menu-children"><div style="width:150px;" class="block-top-menu"></div><div class="block-top-menu2"></div></li>'
|
93 |
+
.$htmlChildren
|
94 |
+
//.'<li class="bg-bottom-menu-children"><span><span></span></span></li>'
|
95 |
+
.'</ul>';
|
96 |
+
}else{
|
97 |
+
//$html.= '<ul class="level' . $level . '">'."\n"
|
98 |
+
// .$htmlChildren
|
99 |
+
// .'</ul>';
|
100 |
+
}
|
101 |
+
|
102 |
+
}
|
103 |
+
|
104 |
+
}
|
105 |
+
$html.= '</li>'."\n";
|
106 |
+
return $html;
|
107 |
+
}
|
108 |
+
|
109 |
+
public function getCountSubCategories() {
|
110 |
+
$_subCount = 0;
|
111 |
+
$currentCategory = $this->getCurrentCategory();
|
112 |
+
$parentCategory = Mage::getModel('catalog/category')->load($currentCategory->getParentId());
|
113 |
+
$subCatCollection = $parentCategory->getChildrenCategories();
|
114 |
+
$_subCount = is_array($subCatCollection)?count($subCatCollection):$subCatCollection->count();
|
115 |
+
return $_subCount;
|
116 |
+
}
|
117 |
+
|
118 |
+
protected function _getRequestPath() {
|
119 |
+
$request = $this->getRequest();
|
120 |
+
return $request->getPathInfo();
|
121 |
+
}
|
122 |
+
}
|
app/code/local/Magestore/Customnav/Block/vssver.scc
ADDED
Binary file
|
app/code/local/Magestore/Customnav/etc/config.xml
ADDED
@@ -0,0 +1,17 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Magestore_Customnav>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</Magestore_Customnav>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<blocks>
|
10 |
+
<catalog>
|
11 |
+
<rewrite>
|
12 |
+
<navigation>Magestore_Customnav_Block_Navigation</navigation>
|
13 |
+
</rewrite>
|
14 |
+
</catalog>
|
15 |
+
</blocks>
|
16 |
+
</global>
|
17 |
+
</config>
|
app/code/local/Magestore/Customnav/etc/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/etc/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/etc/widget.xml
ADDED
@@ -0,0 +1,166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package 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 |
+
<widgets>
|
29 |
+
<new_products>
|
30 |
+
<parameters>
|
31 |
+
<template>
|
32 |
+
<values>
|
33 |
+
<list_default translate="label">
|
34 |
+
<value>catalog/product/widget/new/column/new_default_list.phtml</value>
|
35 |
+
<label>New Products Images and Names Template</label>
|
36 |
+
</list_default>
|
37 |
+
<list_names translate="label">
|
38 |
+
<value>catalog/product/widget/new/column/new_names_list.phtml</value>
|
39 |
+
<label>New Products Names Only Template</label>
|
40 |
+
</list_names>
|
41 |
+
<list_images translate="label">
|
42 |
+
<value>catalog/product/widget/new/column/new_images_list.phtml</value>
|
43 |
+
<label>New Products Images Only Template</label>
|
44 |
+
</list_images>
|
45 |
+
</values>
|
46 |
+
</template>
|
47 |
+
</parameters>
|
48 |
+
<supported_blocks>
|
49 |
+
<left_column>
|
50 |
+
<block_name>left</block_name>
|
51 |
+
<template>
|
52 |
+
<default>list_default</default>
|
53 |
+
<names_only>list_names</names_only>
|
54 |
+
<images_only>list_images</images_only>
|
55 |
+
</template>
|
56 |
+
</left_column>
|
57 |
+
<main_content>
|
58 |
+
<block_name>content</block_name>
|
59 |
+
<template>
|
60 |
+
<grid>default</grid>
|
61 |
+
<list>list</list>
|
62 |
+
</template>
|
63 |
+
</main_content>
|
64 |
+
<right_column>
|
65 |
+
<block_name>right</block_name>
|
66 |
+
<template>
|
67 |
+
<default>list_default</default>
|
68 |
+
<names_only>list_names</names_only>
|
69 |
+
<images_only>list_images</images_only>
|
70 |
+
</template>
|
71 |
+
</right_column>
|
72 |
+
</supported_blocks>
|
73 |
+
</new_products>
|
74 |
+
|
75 |
+
<recently_viewed>
|
76 |
+
<parameters>
|
77 |
+
<template>
|
78 |
+
<values>
|
79 |
+
<list_default translate="label">
|
80 |
+
<value>reports/widget/viewed/column/viewed_default_list.phtml</value>
|
81 |
+
<label>Viewed Products Images and Names Template</label>
|
82 |
+
</list_default>
|
83 |
+
<list_names translate="label">
|
84 |
+
<value>reports/widget/viewed/column/viewed_names_list.phtml</value>
|
85 |
+
<label>Viewed Products Names Only Template</label>
|
86 |
+
</list_names>
|
87 |
+
<list_images translate="label">
|
88 |
+
<value>reports/widget/viewed/column/viewed_images_list.phtml</value>
|
89 |
+
<label>Viewed Products Images Only Template</label>
|
90 |
+
</list_images>
|
91 |
+
</values>
|
92 |
+
</template>
|
93 |
+
</parameters>
|
94 |
+
<supported_blocks>
|
95 |
+
<left_column>
|
96 |
+
<block_name>left</block_name>
|
97 |
+
<template>
|
98 |
+
<default>list_default</default>
|
99 |
+
<names_only>list_names</names_only>
|
100 |
+
<images_only>list_images</images_only>
|
101 |
+
</template>
|
102 |
+
</left_column>
|
103 |
+
<main_content>
|
104 |
+
<block_name>content</block_name>
|
105 |
+
<template>
|
106 |
+
<grid>default</grid>
|
107 |
+
<list>list</list>
|
108 |
+
</template>
|
109 |
+
</main_content>
|
110 |
+
<right_column>
|
111 |
+
<block_name>right</block_name>
|
112 |
+
<template>
|
113 |
+
<default>list_default</default>
|
114 |
+
<names_only>list_names</names_only>
|
115 |
+
<images_only>list_images</images_only>
|
116 |
+
</template>
|
117 |
+
</right_column>
|
118 |
+
</supported_blocks>
|
119 |
+
</recently_viewed>
|
120 |
+
|
121 |
+
<recently_compared>
|
122 |
+
<parameters>
|
123 |
+
<template>
|
124 |
+
<values>
|
125 |
+
<list_default translate="label">
|
126 |
+
<value>reports/widget/compared/column/compared_default_list.phtml</value>
|
127 |
+
<label>Compared Products Images and Names Template</label>
|
128 |
+
</list_default>
|
129 |
+
<list_names translate="label">
|
130 |
+
<value>reports/widget/compared/column/compared_names_list.phtml</value>
|
131 |
+
<label>Compared Product Names Only Template</label>
|
132 |
+
</list_names>
|
133 |
+
<list_images translate="label">
|
134 |
+
<value>reports/widget/compared/column/compared_images_list.phtml</value>
|
135 |
+
<label>Compared Product Images Only Template</label>
|
136 |
+
</list_images>
|
137 |
+
</values>
|
138 |
+
</template>
|
139 |
+
</parameters>
|
140 |
+
<supported_blocks>
|
141 |
+
<left_column>
|
142 |
+
<block_name>left</block_name>
|
143 |
+
<template>
|
144 |
+
<default>list_default</default>
|
145 |
+
<names_only>list_names</names_only>
|
146 |
+
<images_only>list_images</images_only>
|
147 |
+
</template>
|
148 |
+
</left_column>
|
149 |
+
<main_content>
|
150 |
+
<block_name>content</block_name>
|
151 |
+
<template>
|
152 |
+
<grid>default</grid>
|
153 |
+
<list>list</list>
|
154 |
+
</template>
|
155 |
+
</main_content>
|
156 |
+
<right_column>
|
157 |
+
<block_name>right</block_name>
|
158 |
+
<template>
|
159 |
+
<default>list_default</default>
|
160 |
+
<names_only>list_names</names_only>
|
161 |
+
<images_only>list_images</images_only>
|
162 |
+
</template>
|
163 |
+
</right_column>
|
164 |
+
</supported_blocks>
|
165 |
+
</recently_compared>
|
166 |
+
</widgets>
|
app/design/frontend/default/watchshop/layout/all.xml
ADDED
@@ -0,0 +1,13 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
</default>
|
5 |
+
<all_index_specials>
|
6 |
+
<reference name="root">
|
7 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
8 |
+
</reference>
|
9 |
+
<reference name="content">
|
10 |
+
<block type="all/specials" name="specials" template="catalog/product/list.phtml" />
|
11 |
+
</reference>
|
12 |
+
</all_index_specials>
|
13 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/bundle.xml
ADDED
@@ -0,0 +1,338 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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="cart_sidebar">
|
85 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
86 |
+
</reference>
|
87 |
+
<reference name="wishlist_sidebar">
|
88 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
89 |
+
</reference>
|
90 |
+
<reference name="catalog_product_price_template">
|
91 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
92 |
+
</reference>
|
93 |
+
</default>
|
94 |
+
|
95 |
+
<wishlist_index_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_index_index>
|
100 |
+
|
101 |
+
<wishlist_shared_index>
|
102 |
+
<reference name="customer.wishlist">
|
103 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
104 |
+
</reference>
|
105 |
+
</wishlist_shared_index>
|
106 |
+
|
107 |
+
<catalog_product_view>
|
108 |
+
<reference name="catalog.product.related">
|
109 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
110 |
+
</reference>
|
111 |
+
</catalog_product_view>
|
112 |
+
|
113 |
+
<!--
|
114 |
+
Partof block for simple products
|
115 |
+
-->
|
116 |
+
|
117 |
+
<PRODUCT_TYPE_simple>
|
118 |
+
<!--
|
119 |
+
<reference name="product.info.additional">
|
120 |
+
|
121 |
+
<block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
|
122 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
123 |
+
</block>
|
124 |
+
-->
|
125 |
+
<reference name="product.info.upsell">
|
126 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
127 |
+
<action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
|
128 |
+
</reference>
|
129 |
+
</PRODUCT_TYPE_simple>
|
130 |
+
|
131 |
+
<!--
|
132 |
+
Shopping cart item renderer (sidebar)
|
133 |
+
-->
|
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 |
+
<paypal_express_review>
|
186 |
+
<reference name="paypal.express.review.details">
|
187 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
188 |
+
</reference>
|
189 |
+
</paypal_express_review>
|
190 |
+
<paypal_express_review_details>
|
191 |
+
<reference name="root">
|
192 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
193 |
+
</reference>
|
194 |
+
</paypal_express_review_details>
|
195 |
+
|
196 |
+
<paypaluk_express_review>
|
197 |
+
<reference name="paypal.express.review.details">
|
198 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
199 |
+
</reference>
|
200 |
+
</paypaluk_express_review>
|
201 |
+
<paypaluk_express_review_details>
|
202 |
+
<reference name="root">
|
203 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
204 |
+
</reference>
|
205 |
+
</paypaluk_express_review_details>
|
206 |
+
|
207 |
+
<!--
|
208 |
+
Additional block for bundle product type
|
209 |
+
-->
|
210 |
+
|
211 |
+
<PRODUCT_TYPE_bundle translate="label" module="bundle">
|
212 |
+
<label>Catalog Product View (Bundle)</label>
|
213 |
+
<reference name="head">
|
214 |
+
<action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
|
215 |
+
</reference>
|
216 |
+
<reference name="product.info">
|
217 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
|
218 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
219 |
+
<block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml" />
|
220 |
+
</block>
|
221 |
+
</reference>
|
222 |
+
<reference name="product.info.options.wrapper">
|
223 |
+
<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">
|
224 |
+
<action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
|
225 |
+
<action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
|
226 |
+
<action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
|
227 |
+
<action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
|
228 |
+
</block>
|
229 |
+
<action method="insert"><block>product.info.bundle.options</block></action>
|
230 |
+
</reference>
|
231 |
+
<reference name="product.info.options.wrapper.bottom">
|
232 |
+
<remove name="product.tierprices" />
|
233 |
+
<block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
|
234 |
+
</reference>
|
235 |
+
<reference name="product.clone_prices">
|
236 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
|
237 |
+
</reference>
|
238 |
+
</PRODUCT_TYPE_bundle>
|
239 |
+
|
240 |
+
<sales_order_view>
|
241 |
+
<reference name="order_items">
|
242 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
243 |
+
</reference>
|
244 |
+
</sales_order_view>
|
245 |
+
|
246 |
+
<sales_order_invoice>
|
247 |
+
<reference name="invoice_items">
|
248 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
249 |
+
</reference>
|
250 |
+
</sales_order_invoice>
|
251 |
+
|
252 |
+
<sales_order_shipment>
|
253 |
+
<reference name="shipment_items">
|
254 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
255 |
+
</reference>
|
256 |
+
</sales_order_shipment>
|
257 |
+
|
258 |
+
<sales_order_creditmemo>
|
259 |
+
<reference name="creditmemo_items">
|
260 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
261 |
+
</reference>
|
262 |
+
</sales_order_creditmemo>
|
263 |
+
|
264 |
+
<!--
|
265 |
+
Print pages
|
266 |
+
-->
|
267 |
+
|
268 |
+
<sales_order_print>
|
269 |
+
<reference name="sales.order.print">
|
270 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
271 |
+
</reference>
|
272 |
+
</sales_order_print>
|
273 |
+
|
274 |
+
<sales_order_printinvoice>
|
275 |
+
<reference name="sales.order.print.invoice">
|
276 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
277 |
+
</reference>
|
278 |
+
</sales_order_printinvoice>
|
279 |
+
|
280 |
+
<sales_order_printshipment>
|
281 |
+
<reference name="sales.order.print.shipment">
|
282 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
283 |
+
</reference>
|
284 |
+
</sales_order_printshipment>
|
285 |
+
|
286 |
+
<sales_order_printcreditmemo>
|
287 |
+
<reference name="sales.order.print.creditmemo">
|
288 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
289 |
+
</reference>
|
290 |
+
</sales_order_printcreditmemo>
|
291 |
+
|
292 |
+
<!--
|
293 |
+
Emails
|
294 |
+
-->
|
295 |
+
<sales_email_order_items>
|
296 |
+
<reference name="items">
|
297 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
|
298 |
+
</reference>
|
299 |
+
</sales_email_order_items>
|
300 |
+
|
301 |
+
<sales_email_order_invoice_items>
|
302 |
+
<reference name="items">
|
303 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
|
304 |
+
</reference>
|
305 |
+
</sales_email_order_invoice_items>
|
306 |
+
|
307 |
+
|
308 |
+
<sales_email_order_shipment_items>
|
309 |
+
<reference name="items">
|
310 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
|
311 |
+
</reference>
|
312 |
+
</sales_email_order_shipment_items>
|
313 |
+
|
314 |
+
<sales_email_order_creditmemo_items>
|
315 |
+
<reference name="items">
|
316 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
|
317 |
+
</reference>
|
318 |
+
</sales_email_order_creditmemo_items>
|
319 |
+
|
320 |
+
<!--
|
321 |
+
RSS
|
322 |
+
-->
|
323 |
+
<rss_catalog_category>
|
324 |
+
<reference name="rss.catalog.category">
|
325 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
326 |
+
</reference>
|
327 |
+
</rss_catalog_category>
|
328 |
+
<rss_catalog_new>
|
329 |
+
<reference name="rss.catalog.new">
|
330 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
331 |
+
</reference>
|
332 |
+
</rss_catalog_new>
|
333 |
+
<rss_catalog_tag>
|
334 |
+
<reference name="rss.catalog.tag">
|
335 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
336 |
+
</reference>
|
337 |
+
</rss_catalog_tag>
|
338 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/catalog.xml
ADDED
@@ -0,0 +1,443 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
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="top.menu">
|
49 |
+
<block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
|
50 |
+
</reference>
|
51 |
+
<reference name="left">
|
52 |
+
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
|
53 |
+
<action method="setImgSrc"><src>images/media/col_left_callout.png</src></action>
|
54 |
+
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (84)4 6295.9562</alt></action>
|
55 |
+
<action method="setLinkUrl"><url>checkout/cart</url></action>
|
56 |
+
</block>
|
57 |
+
</reference>
|
58 |
+
<reference name="right">
|
59 |
+
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
60 |
+
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
|
61 |
+
<action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
|
62 |
+
<action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>
|
63 |
+
</block>
|
64 |
+
</reference>
|
65 |
+
<reference name="footer_links">
|
66 |
+
<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>
|
67 |
+
</reference>
|
68 |
+
<block type="catalog/product_price_template" name="catalog_product_price_template" />
|
69 |
+
</default>
|
70 |
+
|
71 |
+
|
72 |
+
<!--
|
73 |
+
Category default layout
|
74 |
+
-->
|
75 |
+
|
76 |
+
<catalog_category_default translate="label">
|
77 |
+
<label>Catalog Category (Non-Anchor)</label>
|
78 |
+
<reference name="root">
|
79 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
80 |
+
</reference>
|
81 |
+
<reference name="head">
|
82 |
+
|
83 |
+
</reference>
|
84 |
+
<reference name="left">
|
85 |
+
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left_nav.phtml"/>
|
86 |
+
<block type="catalog/layer_view" name="catalog.layer.view" after="catalog.leftnav" template="catalog/layer/view.phtml"/>
|
87 |
+
</reference>
|
88 |
+
<reference name="content">
|
89 |
+
|
90 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
91 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
92 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
93 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
94 |
+
<!-- The following code shows how to set your own pager increments -->
|
95 |
+
<!--
|
96 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
97 |
+
<action method="setDefaultGridPerPage"><limit>9</limit></action>
|
98 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
99 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
100 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
101 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
102 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
103 |
+
-->
|
104 |
+
</block>
|
105 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
106 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
107 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
108 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
109 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
110 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
111 |
+
</block>
|
112 |
+
</block>
|
113 |
+
</reference>
|
114 |
+
</catalog_category_default>
|
115 |
+
|
116 |
+
<!--
|
117 |
+
Category layered navigation layout
|
118 |
+
-->
|
119 |
+
|
120 |
+
<catalog_category_layered translate="label">
|
121 |
+
<label>Catalog Category (Anchor)</label>
|
122 |
+
<reference name="root">
|
123 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
124 |
+
</reference>
|
125 |
+
<reference name="left">
|
126 |
+
<block type="catalog/navigation" name="catalog.leftnav" template="catalog/navigation/left_nav.phtml"/>
|
127 |
+
<block type="catalog/layer_view" name="catalog.layer.view" after="catalog.leftnav" template="catalog/layer/view.phtml"/>
|
128 |
+
</reference>
|
129 |
+
<reference name="content">
|
130 |
+
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
131 |
+
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
132 |
+
<!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
|
133 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
134 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
135 |
+
<!-- The following code shows how to set your own pager increments -->
|
136 |
+
<!--
|
137 |
+
<action method="setDefaultListPerPage"><limit>4</limit></action>
|
138 |
+
<action method="setDefaultGridPerPage"><limit>3</limit></action>
|
139 |
+
<action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
|
140 |
+
<action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
|
141 |
+
<action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
|
142 |
+
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
143 |
+
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
144 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
|
145 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
|
146 |
+
<action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
|
147 |
+
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
148 |
+
-->
|
149 |
+
</block>
|
150 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
151 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
152 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
153 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
154 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
155 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
156 |
+
</block>
|
157 |
+
</block>
|
158 |
+
</reference>
|
159 |
+
</catalog_category_layered>
|
160 |
+
|
161 |
+
<catalog_category_layered_nochildren translate="label">
|
162 |
+
<label>Catalog Category (Without Subcategories)</label>
|
163 |
+
<remove name="right.reports.product.viewed" />
|
164 |
+
<reference name="right">
|
165 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
166 |
+
</reference>
|
167 |
+
</catalog_category_layered_nochildren>
|
168 |
+
|
169 |
+
<!--
|
170 |
+
Compare products page
|
171 |
+
-->
|
172 |
+
|
173 |
+
<catalog_product_compare_index translate="label">
|
174 |
+
<label>Catalog Product Compare List</label>
|
175 |
+
<!-- Mage_Catalog -->
|
176 |
+
<reference name="root">
|
177 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
178 |
+
</reference>
|
179 |
+
<reference name="head">
|
180 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
181 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
182 |
+
</reference>
|
183 |
+
<reference name="content">
|
184 |
+
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
|
185 |
+
</reference>
|
186 |
+
</catalog_product_compare_index>
|
187 |
+
|
188 |
+
<customer_account_index>
|
189 |
+
|
190 |
+
<reference name="right">
|
191 |
+
<action method="unsetChild"><name>catalog.compare.sidebar</name></action>
|
192 |
+
</reference>
|
193 |
+
</customer_account_index>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Product view
|
197 |
+
-->
|
198 |
+
|
199 |
+
<catalog_product_view translate="label">
|
200 |
+
<label>Catalog Product View (Any)</label>
|
201 |
+
<!-- Mage_Catalog -->
|
202 |
+
<reference name="root">
|
203 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
204 |
+
</reference>
|
205 |
+
|
206 |
+
<reference name="left">
|
207 |
+
<block type="catalog/navigation" name="catalog.leftnav" before="left.permanent.callout" template="catalog/navigation/left_nav.phtml"/>
|
208 |
+
<block type="catalog/layer_view" name="catalog.layer.view" after="catalog.leftnav" template="catalog/layer/view.phtml"/>
|
209 |
+
</reference>
|
210 |
+
|
211 |
+
<reference name="head">
|
212 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
213 |
+
<action method="addItem"><type>js</type><name>varien/cufon-yui.js</name></action>
|
214 |
+
<action method="addItem"><type>js</type><name>varien/Junction_400.font.js</name></action>
|
215 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
216 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
217 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
218 |
+
</reference>
|
219 |
+
|
220 |
+
<reference name="content">
|
221 |
+
<block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
|
222 |
+
<!--
|
223 |
+
<action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
|
224 |
+
<action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
|
225 |
+
<action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
|
226 |
+
-->
|
227 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
|
228 |
+
<block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
|
229 |
+
<label>Alert Urls</label>
|
230 |
+
</block>
|
231 |
+
|
232 |
+
<action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
|
233 |
+
|
234 |
+
<block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
|
235 |
+
<action method="setColumnCount"><columns>4</columns></action>
|
236 |
+
<action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
|
237 |
+
</block>
|
238 |
+
|
239 |
+
<block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
|
240 |
+
<block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml"/>
|
241 |
+
<block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml"/>
|
242 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
243 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
244 |
+
|
245 |
+
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
246 |
+
<label>Info Column Options Wrapper</label>
|
247 |
+
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
248 |
+
<block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
|
249 |
+
<action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
|
250 |
+
<action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
|
251 |
+
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
|
252 |
+
<action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
|
253 |
+
</block>
|
254 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
255 |
+
</block>
|
256 |
+
<block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
|
257 |
+
<label>Bottom Block Options Wrapper</label>
|
258 |
+
<action method="insert"><block>product.tierprices</block></action>
|
259 |
+
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
260 |
+
<action method="append"><block>product.info.addtocart</block></action>
|
261 |
+
</block>
|
262 |
+
|
263 |
+
<block type="core/template_facade" name="product.info.container1" as="container1">
|
264 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
|
265 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
266 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
267 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
268 |
+
</block>
|
269 |
+
<block type="core/template_facade" name="product.info.container2" as="container2">
|
270 |
+
<action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
|
271 |
+
<action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
|
272 |
+
<action method="append"><block>product.info.options.wrapper</block></action>
|
273 |
+
<action method="append"><block>product.info.options.wrapper.bottom</block></action>
|
274 |
+
</block>
|
275 |
+
<action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
276 |
+
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
277 |
+
|
278 |
+
<block type="page/html_pager" name="product_review_list.toolbar" />
|
279 |
+
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
|
280 |
+
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data_review" template="review/product/view/list.phtml">
|
281 |
+
<block type="review/form" name="product.review.form" as="review_form"/>
|
282 |
+
</block>
|
283 |
+
<block type="review/product_view_list" name="product.reviews" template="review/product/view/comments.phtml" />
|
284 |
+
</block>
|
285 |
+
</reference>
|
286 |
+
<reference name="right">
|
287 |
+
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
288 |
+
</reference>
|
289 |
+
</catalog_product_view>
|
290 |
+
|
291 |
+
<!--
|
292 |
+
Additional block dependant on product type
|
293 |
+
-->
|
294 |
+
<PRODUCT_TYPE_simple translate="label" module="catalog">
|
295 |
+
<label>Catalog Product View (Simple)</label>
|
296 |
+
<reference name="product.info">
|
297 |
+
<block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/simple.phtml"/>
|
298 |
+
</reference>
|
299 |
+
</PRODUCT_TYPE_simple>
|
300 |
+
<PRODUCT_TYPE_configurable translate="label" module="catalog">
|
301 |
+
<label>Catalog Product View (Configurable)</label>
|
302 |
+
<reference name="product.info">
|
303 |
+
<block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/configurable.phtml"/>
|
304 |
+
</reference>
|
305 |
+
<reference name="product.info.options.wrapper">
|
306 |
+
<block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
|
307 |
+
</reference>
|
308 |
+
</PRODUCT_TYPE_configurable>
|
309 |
+
<PRODUCT_TYPE_grouped translate="label" module="catalog">
|
310 |
+
<label>Catalog Product View (Grouped)</label>
|
311 |
+
<reference name="product.info">
|
312 |
+
<block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml"/>
|
313 |
+
</reference>
|
314 |
+
</PRODUCT_TYPE_grouped>
|
315 |
+
<PRODUCT_TYPE_virtual translate="label" module="catalog">
|
316 |
+
<label>Catalog Product View (Virtual)</label>
|
317 |
+
<reference name="product.info">
|
318 |
+
<block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/virtual.phtml"/>
|
319 |
+
</reference>
|
320 |
+
</PRODUCT_TYPE_virtual>
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
<!--
|
325 |
+
Product send to friend
|
326 |
+
-->
|
327 |
+
|
328 |
+
<catalog_product_send translate="label">
|
329 |
+
<label>Catalog Product Email to a Friend</label>
|
330 |
+
<!-- Mage_Catalog -->
|
331 |
+
<reference name="root">
|
332 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
333 |
+
</reference>
|
334 |
+
<reference name="head">
|
335 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
336 |
+
</reference>
|
337 |
+
<reference name="content">
|
338 |
+
<block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
|
339 |
+
</block>
|
340 |
+
</reference>
|
341 |
+
</catalog_product_send>
|
342 |
+
|
343 |
+
<!--
|
344 |
+
Product additional images gallery popup
|
345 |
+
-->
|
346 |
+
|
347 |
+
<catalog_product_gallery translate="label">
|
348 |
+
<label>Catalog Product Image Gallery Popup</label>
|
349 |
+
<!-- Mage_Catalog -->
|
350 |
+
<reference name="root">
|
351 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
352 |
+
</reference>
|
353 |
+
<reference name="content">
|
354 |
+
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
355 |
+
</reference>
|
356 |
+
</catalog_product_gallery>
|
357 |
+
|
358 |
+
<!--
|
359 |
+
SEO Site Map
|
360 |
+
-->
|
361 |
+
|
362 |
+
<catalog_seo_sitemap translate="label">
|
363 |
+
<label>Catalog Seo Sitemap (Common)</label>
|
364 |
+
<remove name="right"/>
|
365 |
+
<remove name="left"/>
|
366 |
+
|
367 |
+
<reference name="root">
|
368 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
369 |
+
</reference>
|
370 |
+
<reference name="content">
|
371 |
+
<block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
|
372 |
+
<block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
|
373 |
+
<block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
374 |
+
<block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
375 |
+
</block>
|
376 |
+
</reference>
|
377 |
+
</catalog_seo_sitemap>
|
378 |
+
|
379 |
+
<catalog_seo_sitemap_category translate="label">
|
380 |
+
<label>Catalog Seo Sitemap (Category List)</label>
|
381 |
+
<update handle="catalog_seo_sitemap" />
|
382 |
+
<reference name="seo.sitemap.container">
|
383 |
+
<action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
|
384 |
+
<block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
385 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
386 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
387 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
|
388 |
+
</block>
|
389 |
+
</reference>
|
390 |
+
<reference name="seo.sitemap.links">
|
391 |
+
<action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
|
392 |
+
</reference>
|
393 |
+
</catalog_seo_sitemap_category>
|
394 |
+
|
395 |
+
<catalog_seo_sitemap_category_tree translate="label">
|
396 |
+
<label>Catalog Seo Sitemap (Category Tree)</label>
|
397 |
+
<reference name="seo.sitemap.container">
|
398 |
+
<remove name="seo.sitemap.pager.top" />
|
399 |
+
<remove name="seo.sitemap.pager.bottom" />
|
400 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
|
401 |
+
<block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
|
402 |
+
<remove name="seo.sitemap.sitemap" />
|
403 |
+
<block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
|
404 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
|
405 |
+
<action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
|
406 |
+
</block>
|
407 |
+
</reference>
|
408 |
+
</catalog_seo_sitemap_category_tree>
|
409 |
+
|
410 |
+
<catalog_seo_sitemap_product translate="label">
|
411 |
+
<label>Catalog Seo Sitemap (Product List)</label>
|
412 |
+
<update handle="catalog_seo_sitemap" />
|
413 |
+
<reference name="seo.sitemap.container">
|
414 |
+
<action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
|
415 |
+
<block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
|
416 |
+
<action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
|
417 |
+
<action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
|
418 |
+
<action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
|
419 |
+
</block>
|
420 |
+
</reference>
|
421 |
+
<reference name="seo.sitemap.links">
|
422 |
+
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
423 |
+
</reference>
|
424 |
+
</catalog_seo_sitemap_product>
|
425 |
+
|
426 |
+
|
427 |
+
<!--
|
428 |
+
Catalog search terms block
|
429 |
+
-->
|
430 |
+
|
431 |
+
<catalog_seo_searchterm_popular translate="label">
|
432 |
+
<label>Catalog Seo Popular Search Terms</label>
|
433 |
+
<remove name="right"/>
|
434 |
+
<remove name="left"/>
|
435 |
+
<reference name="root">
|
436 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
437 |
+
</reference>
|
438 |
+
<reference name="content">
|
439 |
+
<block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
|
440 |
+
</reference>
|
441 |
+
</catalog_seo_searchterm_popular>
|
442 |
+
|
443 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/catalogsearch.xml
ADDED
@@ -0,0 +1,146 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package 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/2columns-left.phtml</template></action>
|
55 |
+
</reference>
|
56 |
+
<reference name="head">
|
57 |
+
|
58 |
+
<action method="addItem"><type>js</type><name>varien/cufon-yui.js</name></action>
|
59 |
+
<action method="addItem"><type>js</type><name>varien/Junction_400.font.js</name></action>
|
60 |
+
</reference>
|
61 |
+
<reference name="left">
|
62 |
+
<block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
63 |
+
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
|
64 |
+
</reference>
|
65 |
+
<reference name="content">
|
66 |
+
<block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
|
67 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
68 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
69 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
70 |
+
</block>
|
71 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
72 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
73 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
74 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
75 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
76 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
77 |
+
</block>
|
78 |
+
<action method="setListOrders"/>
|
79 |
+
<action method="setListModes"/>
|
80 |
+
<action method="setListCollection"/>
|
81 |
+
</block>
|
82 |
+
</reference>
|
83 |
+
|
84 |
+
<reference name="right">
|
85 |
+
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
86 |
+
</reference>
|
87 |
+
</catalogsearch_result_index>
|
88 |
+
|
89 |
+
<catalogsearch_advanced_index translate="label">
|
90 |
+
<label>Advanced Search Form</label>
|
91 |
+
<!-- Mage_Catalogsearch -->
|
92 |
+
<reference name="root">
|
93 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
94 |
+
</reference>
|
95 |
+
<reference name="head">
|
96 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
97 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
98 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
99 |
+
</reference>
|
100 |
+
<reference name="content">
|
101 |
+
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
|
102 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
103 |
+
</reference>
|
104 |
+
</catalogsearch_advanced_index>
|
105 |
+
|
106 |
+
<!--
|
107 |
+
Advanced search results
|
108 |
+
-->
|
109 |
+
|
110 |
+
<catalogsearch_advanced_result translate="label">
|
111 |
+
<label>Advanced Search Result</label>
|
112 |
+
<update handle="page_two_columns_right" />
|
113 |
+
<!-- Mage_Catalogsearch -->
|
114 |
+
<reference name="root">
|
115 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
116 |
+
</reference>
|
117 |
+
<reference name="content">
|
118 |
+
<block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
|
119 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
120 |
+
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
121 |
+
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
122 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
123 |
+
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
124 |
+
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
125 |
+
</block>
|
126 |
+
<action method="setListOrders"/>
|
127 |
+
<action method="setListModes"/>
|
128 |
+
<action method="setListCollection"/>
|
129 |
+
</block>
|
130 |
+
</reference>
|
131 |
+
</catalogsearch_advanced_result>
|
132 |
+
|
133 |
+
<catalogsearch_term_popular translate="label">
|
134 |
+
<label>Popular Search Terms</label>
|
135 |
+
<remove name="right"/>
|
136 |
+
<remove name="left"/>
|
137 |
+
|
138 |
+
<reference name="root">
|
139 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
140 |
+
</reference>
|
141 |
+
<reference name="content">
|
142 |
+
<block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
|
143 |
+
</reference>
|
144 |
+
</catalogsearch_term_popular>
|
145 |
+
|
146 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/centinel.xml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<centinel_index_authenticationstart>
|
31 |
+
<block type="centinel/authentication_start" name="root" output="toHtml" template="centinel/authentication/start.phtml"/>
|
32 |
+
</centinel_index_authenticationstart>
|
33 |
+
|
34 |
+
<centinel_index_authenticationcomplete>
|
35 |
+
<block type="centinel/authentication_complete" name="root" output="toHtml" template="centinel/authentication/complete.phtml"/>
|
36 |
+
</centinel_index_authenticationcomplete>
|
37 |
+
|
38 |
+
<checkout_multishipping_overview>
|
39 |
+
<reference name="checkout.multishipping.overview.items.after">
|
40 |
+
<block type="centinel/authentication" name="centinel.frame" template="centinel/authentication.phtml"/>
|
41 |
+
</reference>
|
42 |
+
</checkout_multishipping_overview>
|
43 |
+
|
44 |
+
<checkout_onepage_savepayment>
|
45 |
+
<reference name="checkout.onepage.review.info.items.before">
|
46 |
+
<block type="centinel/authentication" name="centinel.frame" template="centinel/authentication.phtml"/>
|
47 |
+
</reference>
|
48 |
+
</checkout_onepage_savepayment>
|
49 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/checkout.xml
ADDED
@@ -0,0 +1,415 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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 |
+
<reference name="head">
|
52 |
+
<block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
|
53 |
+
</reference>
|
54 |
+
|
55 |
+
</default>
|
56 |
+
|
57 |
+
<checkout_cart_index translate="label">
|
58 |
+
<label>Shopping Cart</label>
|
59 |
+
<remove name="right"/>
|
60 |
+
<remove name="left"/>
|
61 |
+
<!-- Mage_Checkout -->
|
62 |
+
<reference name="root">
|
63 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
64 |
+
</reference>
|
65 |
+
<reference name="content">
|
66 |
+
<block type="checkout/cart" name="checkout.cart">
|
67 |
+
<action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
|
68 |
+
<action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
|
69 |
+
<action method="chooseTemplate"/>
|
70 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
71 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
|
72 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
|
73 |
+
|
74 |
+
<block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
|
75 |
+
<label>Payment Methods Before Checkout Button</label>
|
76 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
77 |
+
</block>
|
78 |
+
|
79 |
+
<block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
|
80 |
+
<label>Shopping Cart Form Before</label>
|
81 |
+
</block>
|
82 |
+
|
83 |
+
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
84 |
+
<label>Payment Methods After Checkout Button</label>
|
85 |
+
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
86 |
+
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
|
87 |
+
</block>
|
88 |
+
|
89 |
+
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
|
90 |
+
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
|
91 |
+
<block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
|
92 |
+
|
93 |
+
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
|
94 |
+
</block>
|
95 |
+
</reference>
|
96 |
+
</checkout_cart_index>
|
97 |
+
|
98 |
+
<!--
|
99 |
+
Multi address shipping checkout main layout,
|
100 |
+
will be rendered on all checkout pages
|
101 |
+
-->
|
102 |
+
|
103 |
+
<checkout_multishipping translate="label">
|
104 |
+
<label>Multishipping Checkout</label>
|
105 |
+
<!-- Mage_Checkout -->
|
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="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
|
114 |
+
</reference>
|
115 |
+
</checkout_multishipping>
|
116 |
+
|
117 |
+
<checkout_multishipping_login>
|
118 |
+
<update handle="customer_account_login"/>
|
119 |
+
</checkout_multishipping_login>
|
120 |
+
|
121 |
+
<checkout_multishipping_register>
|
122 |
+
<update handle="customer_account_create"/>
|
123 |
+
</checkout_multishipping_register>
|
124 |
+
|
125 |
+
<!--
|
126 |
+
Multi address shipping checkout selection of address per item page
|
127 |
+
-->
|
128 |
+
|
129 |
+
<checkout_multishipping_address_select translate="label">
|
130 |
+
<label>Multishipping Checkout Shipping Address Selection</label>
|
131 |
+
<update handle="checkout_multishipping"/>
|
132 |
+
<!-- Mage_Checkout -->
|
133 |
+
<reference name="content">
|
134 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
135 |
+
</reference>
|
136 |
+
</checkout_multishipping_address_select>
|
137 |
+
|
138 |
+
<checkout_multishipping_address_selectbilling translate="label">
|
139 |
+
<label>Multishipping Checkout Billing Address Selection</label>
|
140 |
+
<update handle="checkout_multishipping"/>
|
141 |
+
<!-- Mage_Checkout -->
|
142 |
+
<reference name="content">
|
143 |
+
<block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
|
144 |
+
</reference>
|
145 |
+
</checkout_multishipping_address_selectbilling>
|
146 |
+
|
147 |
+
|
148 |
+
<checkout_multishipping_address_newshipping translate="label">
|
149 |
+
<label>Multishipping Checkout Shipping Address Creation</label>
|
150 |
+
<update handle="checkout_multishipping"/>
|
151 |
+
<update handle="checkout_multishipping_customer_address"/>
|
152 |
+
</checkout_multishipping_address_newshipping>
|
153 |
+
|
154 |
+
<checkout_multishipping_address_newbilling translate="label">
|
155 |
+
<label>Multishipping Checkout Billing Address Creation</label>
|
156 |
+
<update handle="checkout_multishipping"/>
|
157 |
+
<update handle="checkout_multishipping_customer_address"/>
|
158 |
+
</checkout_multishipping_address_newbilling>
|
159 |
+
|
160 |
+
<checkout_multishipping_address_editshipping translate="label">
|
161 |
+
<label>Multishipping Checkout Shipping Address Edit Form</label>
|
162 |
+
<update handle="checkout_multishipping"/>
|
163 |
+
<update handle="checkout_multishipping_customer_address"/>
|
164 |
+
</checkout_multishipping_address_editshipping>
|
165 |
+
|
166 |
+
<checkout_multishipping_address_editaddress>
|
167 |
+
<update handle="checkout_multishipping"/>
|
168 |
+
<update handle="checkout_multishipping_customer_address"/>
|
169 |
+
</checkout_multishipping_address_editaddress>
|
170 |
+
|
171 |
+
<checkout_multishipping_address_editbilling translate="label">
|
172 |
+
<label>Multishipping Checkout Billing Address Edit Form</label>
|
173 |
+
<update handle="checkout_multishipping"/>
|
174 |
+
<update handle="checkout_multishipping_customer_address"/>
|
175 |
+
</checkout_multishipping_address_editbilling>
|
176 |
+
|
177 |
+
<checkout_multishipping_customer_address translate="label">
|
178 |
+
<label>Multishipping Checkout Customer Address Edit Form</label>
|
179 |
+
<reference name="content">
|
180 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
181 |
+
</reference>
|
182 |
+
</checkout_multishipping_customer_address>
|
183 |
+
|
184 |
+
<!--
|
185 |
+
Multi address shipping checkout address page
|
186 |
+
-->
|
187 |
+
|
188 |
+
<checkout_multishipping_addresses translate="label">
|
189 |
+
<label>Multishipping Checkout Address (Any) Form</label>
|
190 |
+
<update handle="checkout_multishipping"/>
|
191 |
+
<!-- Mage_Checkout -->
|
192 |
+
<reference name="content">
|
193 |
+
<block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
|
194 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
195 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
196 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
197 |
+
</block>
|
198 |
+
</reference>
|
199 |
+
</checkout_multishipping_addresses>
|
200 |
+
|
201 |
+
<!--
|
202 |
+
Multi address shipping checkout shipping information
|
203 |
+
-->
|
204 |
+
|
205 |
+
<checkout_multishipping_shipping translate="label">
|
206 |
+
<label>Multishipping Checkout Shipping Information Step</label>
|
207 |
+
<update handle="checkout_multishipping"/>
|
208 |
+
<!-- Mage_Checkout -->
|
209 |
+
<reference name="content">
|
210 |
+
<block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
|
211 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
212 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
213 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.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 |
+
</block>
|
221 |
+
</reference>
|
222 |
+
</checkout_multishipping_shipping>
|
223 |
+
|
224 |
+
<!--
|
225 |
+
Multi address shipping checkout billing information
|
226 |
+
-->
|
227 |
+
|
228 |
+
<checkout_multishipping_billing translate="label">
|
229 |
+
<label>Multishipping Checkout Billing Information Step</label>
|
230 |
+
<update handle="checkout_multishipping"/>
|
231 |
+
<!-- Mage_Checkout -->
|
232 |
+
<reference name="content">
|
233 |
+
<block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
|
234 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
235 |
+
|
236 |
+
<!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
|
237 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
238 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
239 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
240 |
+
</block>-->
|
241 |
+
|
242 |
+
</block>
|
243 |
+
</reference>
|
244 |
+
</checkout_multishipping_billing>
|
245 |
+
|
246 |
+
<!--
|
247 |
+
Multi address shipping checkout overview
|
248 |
+
-->
|
249 |
+
|
250 |
+
<checkout_multishipping_overview translate="label">
|
251 |
+
<label>Multishipping Checkout Overview</label>
|
252 |
+
<update handle="checkout_multishipping"/>
|
253 |
+
<!-- Mage_Checkout -->
|
254 |
+
<reference name="content">
|
255 |
+
<block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
|
256 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
257 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
|
258 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
|
259 |
+
<action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
260 |
+
<action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
|
261 |
+
<block type="checkout/multishipping_payment_info" name="payment_info">
|
262 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
263 |
+
</block>
|
264 |
+
<block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
|
265 |
+
<block type="checkout/cart_totals" name="totals" />
|
266 |
+
<block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after"/>
|
267 |
+
</block>
|
268 |
+
</reference>
|
269 |
+
</checkout_multishipping_overview>
|
270 |
+
|
271 |
+
<!--
|
272 |
+
Multi address shipping checkout success
|
273 |
+
-->
|
274 |
+
|
275 |
+
<checkout_multishipping_success translate="label">
|
276 |
+
<label>Multishipping Checkout Success</label>
|
277 |
+
<update handle="checkout_multishipping"/>
|
278 |
+
<!-- Mage_Checkout -->
|
279 |
+
<reference name="content">
|
280 |
+
<block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
|
281 |
+
</reference>
|
282 |
+
</checkout_multishipping_success>
|
283 |
+
|
284 |
+
<!--
|
285 |
+
One page checkout main layout
|
286 |
+
-->
|
287 |
+
|
288 |
+
<checkout_onepage_index translate="label">
|
289 |
+
<label>One Page Checkout</label>
|
290 |
+
<!-- Mage_Checkout -->
|
291 |
+
<remove name="left"/>
|
292 |
+
|
293 |
+
<reference name="root">
|
294 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
295 |
+
</reference>
|
296 |
+
<reference name="right">
|
297 |
+
<action method="unsetChildren"></action>
|
298 |
+
<block type="page/html_wrapper" name="checkout.progress.wrapper">
|
299 |
+
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
|
300 |
+
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
|
301 |
+
</block>
|
302 |
+
</reference>
|
303 |
+
<reference name="content">
|
304 |
+
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
305 |
+
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
306 |
+
<block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before">
|
307 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
308 |
+
</block>
|
309 |
+
</block>
|
310 |
+
<block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
|
311 |
+
<block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
|
312 |
+
<block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
|
313 |
+
<block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
|
314 |
+
<block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
|
315 |
+
</block>
|
316 |
+
<block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
|
317 |
+
<block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
|
318 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
319 |
+
</block>
|
320 |
+
</block>
|
321 |
+
<block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
|
322 |
+
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
323 |
+
</block>
|
324 |
+
</block>
|
325 |
+
</reference>
|
326 |
+
</checkout_onepage_index>
|
327 |
+
|
328 |
+
<!--
|
329 |
+
One page checkout progress block
|
330 |
+
-->
|
331 |
+
|
332 |
+
<checkout_onepage_progress>
|
333 |
+
<!-- Mage_Checkout -->
|
334 |
+
<remove name="right"/>
|
335 |
+
<remove name="left"/>
|
336 |
+
|
337 |
+
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
|
338 |
+
<block type="checkout/onepage_payment_info" name="payment_info">
|
339 |
+
<action method="setInfoTemplate"><method></method><template></template></action>
|
340 |
+
</block>
|
341 |
+
</block>
|
342 |
+
</checkout_onepage_progress>
|
343 |
+
|
344 |
+
<!--
|
345 |
+
One page checkout payment methods block
|
346 |
+
-->
|
347 |
+
<checkout_onepage_paymentmethod>
|
348 |
+
<remove name="right"/>
|
349 |
+
<remove name="left"/>
|
350 |
+
|
351 |
+
<block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
|
352 |
+
<action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
|
353 |
+
</block>
|
354 |
+
</checkout_onepage_paymentmethod>
|
355 |
+
|
356 |
+
|
357 |
+
<!--
|
358 |
+
One page checkout shipping methods block
|
359 |
+
-->
|
360 |
+
|
361 |
+
<checkout_onepage_shippingmethod>
|
362 |
+
<!-- Mage_Checkout -->
|
363 |
+
<remove name="right"/>
|
364 |
+
<remove name="left"/>
|
365 |
+
|
366 |
+
<block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
|
367 |
+
</checkout_onepage_shippingmethod>
|
368 |
+
|
369 |
+
<checkout_onepage_additional>
|
370 |
+
<!-- Mage_Checkout -->
|
371 |
+
<remove name="right"/>
|
372 |
+
<remove name="left"/>
|
373 |
+
|
374 |
+
<block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
|
375 |
+
<action method="setDontDisplayContainer"><param>1</param></action>
|
376 |
+
</block>
|
377 |
+
</checkout_onepage_additional>
|
378 |
+
|
379 |
+
<!--
|
380 |
+
One page checkout order review block
|
381 |
+
-->
|
382 |
+
|
383 |
+
<checkout_onepage_review>
|
384 |
+
<!-- Mage_Checkout -->
|
385 |
+
<remove name="right"/>
|
386 |
+
<remove name="left"/>
|
387 |
+
|
388 |
+
<block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
|
389 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
390 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
391 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
392 |
+
<block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
393 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before"/>
|
394 |
+
</block>
|
395 |
+
</checkout_onepage_review>
|
396 |
+
|
397 |
+
<checkout_onepage_success translate="label">
|
398 |
+
<label>One Page Checkout Success</label>
|
399 |
+
<reference name="root">
|
400 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
401 |
+
</reference>
|
402 |
+
<reference name="content">
|
403 |
+
<block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
|
404 |
+
</reference>
|
405 |
+
</checkout_onepage_success>
|
406 |
+
<checkout_onepage_failure translate="label">
|
407 |
+
<label>One Page Checkout Failure</label>
|
408 |
+
<reference name="root">
|
409 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
410 |
+
</reference>
|
411 |
+
<reference name="content">
|
412 |
+
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
413 |
+
</reference>
|
414 |
+
</checkout_onepage_failure>
|
415 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/cms.xml
ADDED
@@ -0,0 +1,88 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<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 translate="label">
|
46 |
+
<label>CMS Pages (All)</label>
|
47 |
+
<reference name="content">
|
48 |
+
<block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
|
49 |
+
<block type="page/html_wrapper" name="cms.wrapper">
|
50 |
+
<action method="setElementClass"><value>std</value></action>
|
51 |
+
<block type="cms/page" name="cms_page"/>
|
52 |
+
</block>
|
53 |
+
</reference>
|
54 |
+
</cms_page>
|
55 |
+
|
56 |
+
<cms_index_index translate="label">
|
57 |
+
<label>CMS Home Page</label>
|
58 |
+
</cms_index_index>
|
59 |
+
|
60 |
+
<cms_index_defaultindex>
|
61 |
+
<remove name="right"/>
|
62 |
+
<remove name="left"/>
|
63 |
+
|
64 |
+
<reference name="root">
|
65 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
66 |
+
</reference>
|
67 |
+
<reference name="content">
|
68 |
+
<block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
|
69 |
+
</reference>
|
70 |
+
</cms_index_defaultindex>
|
71 |
+
|
72 |
+
<cms_index_noroute translate="label">
|
73 |
+
<label>CMS No-Route Page</label>
|
74 |
+
</cms_index_noroute>
|
75 |
+
|
76 |
+
<cms_index_defaultnoroute>
|
77 |
+
<remove name="right"/>
|
78 |
+
<remove name="left"/>
|
79 |
+
|
80 |
+
<reference name="root">
|
81 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
82 |
+
</reference>
|
83 |
+
<reference name="content">
|
84 |
+
<block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
|
85 |
+
</reference>
|
86 |
+
</cms_index_defaultnoroute>
|
87 |
+
|
88 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/contacts.xml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<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 |
+
<contacts_index_index translate="label">
|
36 |
+
<label>Contact Us Form</label>
|
37 |
+
<reference name="root">
|
38 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
39 |
+
<action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
40 |
+
</reference>
|
41 |
+
<reference name="content">
|
42 |
+
<block type="core/template" name="contactForm" template="contacts/form.phtml"/>
|
43 |
+
</reference>
|
44 |
+
</contacts_index_index>
|
45 |
+
</layout>
|
app/design/frontend/default/watchshop/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
|
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 |
+
<default>
|
31 |
+
<block name="formkey" type="core/template" template="core/formkey.phtml" />
|
32 |
+
</default>
|
33 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/customer.xml
ADDED
@@ -0,0 +1,272 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
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="head">
|
128 |
+
<block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
|
129 |
+
</reference>
|
130 |
+
<reference name="root">
|
131 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
132 |
+
</reference>
|
133 |
+
<reference name="content">
|
134 |
+
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
|
135 |
+
<block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before"/>
|
136 |
+
</block>
|
137 |
+
</reference>
|
138 |
+
</customer_account_create>
|
139 |
+
|
140 |
+
<customer_account_forgotpassword translate="label">
|
141 |
+
<label>Customer Forgot Password Form</label>
|
142 |
+
<remove name="right"/>
|
143 |
+
<remove name="left"/>
|
144 |
+
|
145 |
+
<reference name="root">
|
146 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
147 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
|
148 |
+
</reference>
|
149 |
+
<reference name="content">
|
150 |
+
<!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
|
151 |
+
<block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
|
152 |
+
</reference>
|
153 |
+
</customer_account_forgotpassword>
|
154 |
+
|
155 |
+
<customer_account_confirmation>
|
156 |
+
<remove name="right"/>
|
157 |
+
<remove name="left"/>
|
158 |
+
|
159 |
+
<reference name="root">
|
160 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
161 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
|
162 |
+
</reference>
|
163 |
+
<reference name="content">
|
164 |
+
<block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
|
165 |
+
</reference>
|
166 |
+
</customer_account_confirmation>
|
167 |
+
|
168 |
+
<customer_account_edit translate="label">
|
169 |
+
<label>Customer Account Edit Form</label>
|
170 |
+
<update handle="customer_account"/>
|
171 |
+
<reference name="root">
|
172 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
|
173 |
+
</reference>
|
174 |
+
<reference name="my.account.wrapper">
|
175 |
+
<block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
|
176 |
+
</reference>
|
177 |
+
|
178 |
+
<reference name="left">
|
179 |
+
<action method="unsetChild"><name>left.permanent.callout</name></action>
|
180 |
+
</reference>
|
181 |
+
</customer_account_edit>
|
182 |
+
|
183 |
+
<!--
|
184 |
+
Customer account pages, rendered for all tabs in dashboard
|
185 |
+
-->
|
186 |
+
|
187 |
+
<customer_account translate="label">
|
188 |
+
<label>Customer My Account (All Pages)</label>
|
189 |
+
<!-- Mage_Customer -->
|
190 |
+
<reference name="root">
|
191 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
192 |
+
</reference>
|
193 |
+
|
194 |
+
<reference name="content">
|
195 |
+
<block type="page/html_wrapper" name="my.account.wrapper">
|
196 |
+
<action method="setElementClass"><value>my-account</value></action>
|
197 |
+
</block>
|
198 |
+
</reference>
|
199 |
+
|
200 |
+
<reference name="left">
|
201 |
+
<block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
|
202 |
+
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
|
203 |
+
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
|
204 |
+
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
|
205 |
+
</block>
|
206 |
+
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
|
207 |
+
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
208 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
209 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
210 |
+
</block>
|
211 |
+
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
212 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
213 |
+
<remove name="tags_popular"/>
|
214 |
+
|
215 |
+
</reference>
|
216 |
+
</customer_account>
|
217 |
+
|
218 |
+
<!--
|
219 |
+
Customer account home dashboard layout
|
220 |
+
-->
|
221 |
+
|
222 |
+
<customer_account_index translate="label">
|
223 |
+
<label>Customer My Account Dashboard</label>
|
224 |
+
<update handle="customer_account"/>
|
225 |
+
<!-- Mage_Customer -->
|
226 |
+
<reference name="root">
|
227 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
228 |
+
</reference>
|
229 |
+
<reference name="my.account.wrapper">
|
230 |
+
<block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
|
231 |
+
<block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
|
232 |
+
<block type="core/template" name="customer_account_dashboard_top" as="top" />
|
233 |
+
<block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
|
234 |
+
<block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
|
235 |
+
<block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
|
236 |
+
<block type="core/template" name="customer_account_dashboard_info1" as="info1" />
|
237 |
+
<block type="core/template" name="customer_account_dashboard_info2" as="info2" />
|
238 |
+
</block>
|
239 |
+
</reference>
|
240 |
+
|
241 |
+
</customer_account_index>
|
242 |
+
|
243 |
+
<!--
|
244 |
+
Customer account address book
|
245 |
+
-->
|
246 |
+
|
247 |
+
<customer_address_index translate="label">
|
248 |
+
<label>Customer My Account Address Book</label>
|
249 |
+
<!-- Mage_Customer -->
|
250 |
+
<update handle="customer_account"/>
|
251 |
+
<reference name="my.account.wrapper">
|
252 |
+
<block type="customer/address_book" name="address_book" before="-" template="customer/address/book.phtml"/>
|
253 |
+
</reference>
|
254 |
+
</customer_address_index>
|
255 |
+
|
256 |
+
<!--
|
257 |
+
Customer account address edit page
|
258 |
+
-->
|
259 |
+
|
260 |
+
<customer_address_form translate="label">
|
261 |
+
<label>Customer My Account Address Edit Form</label>
|
262 |
+
<!-- Mage_Customer -->
|
263 |
+
<update handle="customer_account"/>
|
264 |
+
<reference name="head">
|
265 |
+
<block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
|
266 |
+
</reference>
|
267 |
+
<reference name="my.account.wrapper">
|
268 |
+
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
269 |
+
</reference>
|
270 |
+
</customer_address_form>
|
271 |
+
|
272 |
+
</layout>
|
app/design/frontend/default/watchshop/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
|
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 |
+
<!--
|
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="left">
|
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/watchshop/layout/downloadable.xml
ADDED
@@ -0,0 +1,191 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<customer_account>
|
32 |
+
<reference name="customer_account_navigation">
|
33 |
+
<action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>
|
34 |
+
</reference>
|
35 |
+
</customer_account>
|
36 |
+
|
37 |
+
<downloadable_customer_products translate="label">
|
38 |
+
<label>Customer My Account Downloadable Items</label>
|
39 |
+
<update handle="customer_account"/>
|
40 |
+
<reference name="my.account.wrapper">
|
41 |
+
<block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
|
42 |
+
</reference>
|
43 |
+
<reference name="root">
|
44 |
+
<action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
|
45 |
+
</reference>
|
46 |
+
</downloadable_customer_products>
|
47 |
+
|
48 |
+
<checkout_cart_index>
|
49 |
+
<reference name="checkout.cart">
|
50 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
|
51 |
+
</reference>
|
52 |
+
</checkout_cart_index>
|
53 |
+
|
54 |
+
<checkout_onepage_review>
|
55 |
+
<reference name="root">
|
56 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
57 |
+
</reference>
|
58 |
+
</checkout_onepage_review>
|
59 |
+
|
60 |
+
<checkout_onepage_success>
|
61 |
+
<reference name="checkout.success">
|
62 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
63 |
+
</reference>
|
64 |
+
</checkout_onepage_success>
|
65 |
+
|
66 |
+
<checkout_multishipping_addresses>
|
67 |
+
<reference name="checkout_addresses">
|
68 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
69 |
+
</reference>
|
70 |
+
</checkout_multishipping_addresses>
|
71 |
+
|
72 |
+
<checkout_multishipping_shipping>
|
73 |
+
<reference name="checkout_billing_items">
|
74 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
75 |
+
</reference>
|
76 |
+
</checkout_multishipping_shipping>
|
77 |
+
|
78 |
+
<checkout_multishipping_overview>
|
79 |
+
<reference name="checkout_overview">
|
80 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
|
81 |
+
</reference>
|
82 |
+
</checkout_multishipping_overview>
|
83 |
+
|
84 |
+
<checkout_multishipping_success>
|
85 |
+
<reference name="checkout_success">
|
86 |
+
<block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
|
87 |
+
</reference>
|
88 |
+
</checkout_multishipping_success>
|
89 |
+
|
90 |
+
<paypal_express_review>
|
91 |
+
<reference name="paypal.express.review.details">
|
92 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
93 |
+
</reference>
|
94 |
+
</paypal_express_review>
|
95 |
+
<paypal_express_review_details>
|
96 |
+
<reference name="root">
|
97 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
98 |
+
</reference>
|
99 |
+
</paypal_express_review_details>
|
100 |
+
|
101 |
+
<paypaluk_express_review>
|
102 |
+
<reference name="paypal.express.review.details">
|
103 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
104 |
+
</reference>
|
105 |
+
</paypaluk_express_review>
|
106 |
+
<paypaluk_express_review_details>
|
107 |
+
<reference name="root">
|
108 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
|
109 |
+
</reference>
|
110 |
+
</paypaluk_express_review_details>
|
111 |
+
|
112 |
+
<sales_order_view>
|
113 |
+
<reference name="order_items">
|
114 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
115 |
+
</reference>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice>
|
119 |
+
<reference name="invoice_items">
|
120 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
121 |
+
</reference>
|
122 |
+
</sales_order_invoice>
|
123 |
+
|
124 |
+
<sales_order_creditmemo>
|
125 |
+
<reference name="creditmemo_items">
|
126 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
127 |
+
</reference>
|
128 |
+
</sales_order_creditmemo>
|
129 |
+
|
130 |
+
<!--
|
131 |
+
Print pages
|
132 |
+
-->
|
133 |
+
|
134 |
+
<sales_order_print>
|
135 |
+
<reference name="sales.order.print">
|
136 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
|
137 |
+
</reference>
|
138 |
+
</sales_order_print>
|
139 |
+
|
140 |
+
<sales_order_printinvoice>
|
141 |
+
<reference name="sales.order.print.invoice">
|
142 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
|
143 |
+
</reference>
|
144 |
+
</sales_order_printinvoice>
|
145 |
+
|
146 |
+
<sales_order_printcreditmemo>
|
147 |
+
<reference name="sales.order.print.creditmemo">
|
148 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
|
149 |
+
</reference>
|
150 |
+
</sales_order_printcreditmemo>
|
151 |
+
|
152 |
+
<!--
|
153 |
+
EOF Print pages
|
154 |
+
-->
|
155 |
+
|
156 |
+
<!--
|
157 |
+
Emails
|
158 |
+
-->
|
159 |
+
|
160 |
+
<sales_email_order_items>
|
161 |
+
<reference name="items">
|
162 |
+
<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>
|
163 |
+
</reference>
|
164 |
+
</sales_email_order_items>
|
165 |
+
|
166 |
+
<sales_email_order_invoice_items>
|
167 |
+
<reference name="items">
|
168 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
|
169 |
+
</reference>
|
170 |
+
</sales_email_order_invoice_items>
|
171 |
+
|
172 |
+
<sales_email_order_creditmemo_items>
|
173 |
+
<reference name="items">
|
174 |
+
<action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
|
175 |
+
</reference>
|
176 |
+
</sales_email_order_creditmemo_items>
|
177 |
+
|
178 |
+
<PRODUCT_TYPE_downloadable translate="label" module="downloadable">
|
179 |
+
<label>Catalog Product View (Downloadable)</label>
|
180 |
+
<reference name="product.info">
|
181 |
+
<block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">
|
182 |
+
<block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="samples" template="downloadable/catalog/product/samples.phtml"/>
|
183 |
+
</block>
|
184 |
+
</reference>
|
185 |
+
<reference name="product.info.options.wrapper">
|
186 |
+
<block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
|
187 |
+
<action method="insert"><block>product.info.downloadable.options</block></action>
|
188 |
+
</reference>
|
189 |
+
</PRODUCT_TYPE_downloadable>
|
190 |
+
|
191 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/faq.xml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss"><stylesheet>css/magestore/faq.css</stylesheet></action>
|
6 |
+
<action method="addJs"><script>magestore/faq.js</script></action>
|
7 |
+
|
8 |
+
</reference>
|
9 |
+
</default>
|
10 |
+
<faq_index_index>
|
11 |
+
<reference name="root">
|
12 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
13 |
+
</reference>
|
14 |
+
|
15 |
+
<reference name="content">
|
16 |
+
<block type="faq/overview" name="faq" template="faq/overview.phtml" />
|
17 |
+
</reference>
|
18 |
+
</faq_index_index>
|
19 |
+
|
20 |
+
<faq_index_view>
|
21 |
+
<reference name="root">
|
22 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
23 |
+
</reference>
|
24 |
+
|
25 |
+
<reference name="content">
|
26 |
+
<block type="faq/view" name="faq_view" template="faq/view.phtml" />
|
27 |
+
</reference>
|
28 |
+
|
29 |
+
<reference name="left">
|
30 |
+
<block type="faq/category" name="faq_category" template="faq/category.phtml" before="all"/>
|
31 |
+
</reference>
|
32 |
+
</faq_index_view>
|
33 |
+
|
34 |
+
<faq_search_result>
|
35 |
+
<reference name="root">
|
36 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
37 |
+
</reference>
|
38 |
+
|
39 |
+
<reference name="content">
|
40 |
+
<block type="faq/search" name="faq_search" template="faq/search.phtml" />
|
41 |
+
</reference>
|
42 |
+
<reference name="left">
|
43 |
+
<block type="faq/category" name="faq_category" template="faq/category.phtml" before="all"/>
|
44 |
+
</reference>
|
45 |
+
</faq_search_result>
|
46 |
+
</layout>
|
app/design/frontend/default/watchshop/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
|
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 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<!-- Mage_GoogleAnalytics -->
|
37 |
+
<reference name="after_body_start">
|
38 |
+
<block type="googleanalytics/ga" name="google_analytics" as="google_analytics" />
|
39 |
+
</reference>
|
40 |
+
</default>
|
41 |
+
</layout>
|
app/design/frontend/default/watchshop/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
|
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 |
+
<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/watchshop/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
|
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 |
+
<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/watchshop/layout/manufacturer.xml
ADDED
@@ -0,0 +1,29 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss"><stylesheet>css/manufacturer.css</stylesheet></action>
|
6 |
+
</reference>
|
7 |
+
</default>
|
8 |
+
<manufacturer_index_index>
|
9 |
+
<reference name="root">
|
10 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
11 |
+
</reference>
|
12 |
+
<reference name="content">
|
13 |
+
<block type="manufacturer/manufacturer" name="manufacturer" template="manufacturer/manufacturer.phtml" />
|
14 |
+
</reference>
|
15 |
+
</manufacturer_index_index>
|
16 |
+
|
17 |
+
<manufacturer_index_view>
|
18 |
+
<reference name="root">
|
19 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
20 |
+
</reference>
|
21 |
+
<reference name="content">
|
22 |
+
<block type="manufacturer/view" name="manufacturer.view" template="manufacturer/view.phtml">
|
23 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
|
24 |
+
<action method="setListCollection"/>
|
25 |
+
</block>
|
26 |
+
|
27 |
+
</reference>
|
28 |
+
</manufacturer_index_view>
|
29 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/moneybookers.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 Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category design
|
17 |
+
* @package base_default
|
18 |
+
* @copyright Copyright (c) 2009 Phoenix Medien GmbH & Co. KG (http://www.phoenix-medien.de)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
-->
|
23 |
+
<layout version="0.1.0">
|
24 |
+
<moneybookers_processing_payment>
|
25 |
+
<reference name="root">
|
26 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
27 |
+
</reference>
|
28 |
+
<reference name="content">
|
29 |
+
<block type="moneybookers/payment" name="moneybookers_payment" template="moneybookers/payment.phtml" />
|
30 |
+
</reference>
|
31 |
+
</moneybookers_processing_payment>
|
32 |
+
|
33 |
+
<moneybookers_processing_placeform>
|
34 |
+
<reference name="root">
|
35 |
+
<action method="setTemplate"><template>moneybookers/blank.phtml</template></action>
|
36 |
+
</reference>
|
37 |
+
<reference name="content">
|
38 |
+
<block type="moneybookers/placeform" name="moneybookers_placeform" template="moneybookers/placeform.phtml" />
|
39 |
+
</reference>
|
40 |
+
</moneybookers_processing_placeform>
|
41 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/newsletter.xml
ADDED
@@ -0,0 +1,74 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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 translate="label">
|
63 |
+
<label>Customer My Account Newsletter Subscriptions</label>
|
64 |
+
<update handle="customer_account"/>
|
65 |
+
<reference name="my.account.wrapper">
|
66 |
+
<block type="customer/newsletter" name="customer_newsletter">
|
67 |
+
<block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before">
|
68 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
69 |
+
</block>
|
70 |
+
</block>
|
71 |
+
</reference>
|
72 |
+
</newsletter_manage_index>
|
73 |
+
|
74 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/page.xml
ADDED
@@ -0,0 +1,186 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
|
33 |
+
<default translate="label" module="page">
|
34 |
+
<label>All Pages</label>
|
35 |
+
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
|
36 |
+
|
37 |
+
<block type="page/html_head" name="head" as="head">
|
38 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
39 |
+
<action method="addJs" ifconfig="dev/js/deprecation"><script>prototype/deprecation.js</script></action>
|
40 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
41 |
+
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
42 |
+
<action method="addJs"><script>scriptaculous/effects.js</script></action>
|
43 |
+
<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
|
44 |
+
<action method="addJs"><script>scriptaculous/controls.js</script></action>
|
45 |
+
<action method="addJs"><script>scriptaculous/slider.js</script></action>
|
46 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
47 |
+
<action method="addJs"><script>varien/form.js</script></action>
|
48 |
+
<action method="addJs"><script>varien/menu.js</script></action>
|
49 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
50 |
+
<action method="addJs"><script>mage/cookies.js</script></action>
|
51 |
+
<action method="addJs"><script>magestore/jquery.js</script></action>
|
52 |
+
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
|
53 |
+
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
|
54 |
+
<action method="addCss"><stylesheet>css/highslide.css</stylesheet></action>
|
55 |
+
<action method="addCss"><stylesheet>css/tabs.css</stylesheet></action>
|
56 |
+
|
57 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
|
58 |
+
|
59 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
60 |
+
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
|
61 |
+
|
62 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
63 |
+
<action method="addItem"><type>js</type><name>varien/cufon-yui.js</name></action>
|
64 |
+
<action method="addItem"><type>js</type><name>varien/Junction_400.font.js</name></action>
|
65 |
+
</block>
|
66 |
+
|
67 |
+
<block type="core/text_list" name="after_body_start" as="after_body_start"/>
|
68 |
+
|
69 |
+
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
70 |
+
|
71 |
+
<block type="page/html_header" name="header" as="header">
|
72 |
+
<block type="page/template_links" name="top.links" as="topLinks"/>
|
73 |
+
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
|
74 |
+
<block type="core/text_list" name="top.menu" as="topMenu"/>
|
75 |
+
<block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
|
76 |
+
<label>Page Header</label>
|
77 |
+
<action method="setElementClass"><value>top-container</value></action>
|
78 |
+
</block>
|
79 |
+
</block>
|
80 |
+
|
81 |
+
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
82 |
+
|
83 |
+
<block type="core/text_list" name="left" as="left" translate="label">
|
84 |
+
<label>Left Column</label>
|
85 |
+
</block>
|
86 |
+
|
87 |
+
<block type="core/messages" name="global_messages" as="global_messages"/>
|
88 |
+
<block type="core/messages" name="messages" as="messages"/>
|
89 |
+
|
90 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
91 |
+
<label>Main Content Area</label>
|
92 |
+
</block>
|
93 |
+
|
94 |
+
<block type="core/text_list" name="right" as="right" translate="label">
|
95 |
+
<label>Right Column</label>
|
96 |
+
</block>
|
97 |
+
|
98 |
+
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
99 |
+
<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
|
100 |
+
<label>Page Footer</label>
|
101 |
+
<action method="setElementClass"><value>bottom-container</value></action>
|
102 |
+
</block>
|
103 |
+
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
|
104 |
+
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
|
105 |
+
</block>
|
106 |
+
|
107 |
+
<block type="core/text_list" name="before_body_end" as="before_body_end"/>
|
108 |
+
</block>
|
109 |
+
|
110 |
+
<block type="core/profiler" output="toHtml" name="core_profiler"/>
|
111 |
+
</default>
|
112 |
+
|
113 |
+
<print translate="label" module="page">
|
114 |
+
<label>All Pages (Print Version)</label>
|
115 |
+
<!-- Mage_Page -->
|
116 |
+
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">
|
117 |
+
|
118 |
+
<block type="page/html_head" name="head" as="head">
|
119 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
120 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
121 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
122 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
123 |
+
|
124 |
+
<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
|
125 |
+
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
|
126 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
|
127 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
128 |
+
|
129 |
+
<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
|
130 |
+
<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
|
131 |
+
|
132 |
+
</block>
|
133 |
+
|
134 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
135 |
+
<label>Main Content Area</label>
|
136 |
+
</block>
|
137 |
+
|
138 |
+
</block>
|
139 |
+
</print>
|
140 |
+
|
141 |
+
<!-- Custom page layout handles -->
|
142 |
+
<page_empty translate="label">
|
143 |
+
<label>All Empty Layout Pages</label>
|
144 |
+
<reference name="root">
|
145 |
+
<action method="setTemplate"><template>page/empty.phtml</template></action>
|
146 |
+
<!-- Mark root page block that template is applied -->
|
147 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
148 |
+
</reference>
|
149 |
+
</page_empty>
|
150 |
+
|
151 |
+
<page_one_column translate="label">
|
152 |
+
<label>All One-Column Layout Pages</label>
|
153 |
+
<reference name="root">
|
154 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
155 |
+
<!-- Mark root page block that template is applied -->
|
156 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
157 |
+
</reference>
|
158 |
+
</page_one_column>
|
159 |
+
|
160 |
+
<page_two_columns_left translate="label">
|
161 |
+
<label>All Two-Column Layout Pages (Left Column)</label>
|
162 |
+
<reference name="root">
|
163 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
164 |
+
<!-- Mark root page block that template is applied -->
|
165 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
166 |
+
</reference>
|
167 |
+
</page_two_columns_left>
|
168 |
+
|
169 |
+
<page_two_columns_right translate="label">
|
170 |
+
<label>All Two-Column Layout Pages (Right Column)</label>
|
171 |
+
<reference name="root">
|
172 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
173 |
+
<!-- Mark root page block that template is applied -->
|
174 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
175 |
+
</reference>
|
176 |
+
</page_two_columns_right>
|
177 |
+
|
178 |
+
<page_three_columns translate="label">
|
179 |
+
<label>All Three-Column Layout Pages</label>
|
180 |
+
<reference name="root">
|
181 |
+
<action method="setTemplate"><template>page/3columns.phtml</template></action>
|
182 |
+
<!-- Mark root page block that template is applied -->
|
183 |
+
<action method="setIsHandle"><applied>1</applied></action>
|
184 |
+
</reference>
|
185 |
+
</page_three_columns>
|
186 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/paypal.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
|
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 |
+
<checkout_cart_index>
|
31 |
+
<reference name="checkout.cart.top_methods">
|
32 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express" template="paypal/express/shortcut.phtml"/>
|
33 |
+
</reference>
|
34 |
+
|
35 |
+
<reference name="checkout.cart.methods">
|
36 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express" template="paypal/express/shortcut.phtml"/>
|
37 |
+
</reference>
|
38 |
+
</checkout_cart_index>
|
39 |
+
|
40 |
+
<paypal_express_review translate="label">
|
41 |
+
<label>PayPal Express Order Review Form</label>
|
42 |
+
<remove name="right"/>
|
43 |
+
<remove name="left"/>
|
44 |
+
|
45 |
+
<reference name="root">
|
46 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
47 |
+
</reference>
|
48 |
+
<reference name="content">
|
49 |
+
<block type="paypal/express_review" name="paypal.express.review" template="paypal/express/review.phtml">
|
50 |
+
<block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
|
51 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
52 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
53 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
54 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
55 |
+
</block>
|
56 |
+
</block>
|
57 |
+
</reference>
|
58 |
+
<reference name="head">
|
59 |
+
<action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
|
60 |
+
</reference>
|
61 |
+
</paypal_express_review>
|
62 |
+
|
63 |
+
<paypal_express_review_details>
|
64 |
+
<block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
|
65 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
66 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
67 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
68 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
69 |
+
</block>
|
70 |
+
</paypal_express_review_details>
|
71 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/paypaluk.xml
ADDED
@@ -0,0 +1,82 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<checkout_cart_index>
|
31 |
+
<reference name="checkout.cart.top_methods">
|
32 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypaluk_express" template="paypal/express/shortcut.phtml">
|
33 |
+
<action method="setPaymentModelType"><type>paypaluk/express</type></action>
|
34 |
+
<action method="setProModelType"><type>paypaluk/pro</type></action>
|
35 |
+
<action method="setPaymentMethod"><type>paypaluk_express</type></action>
|
36 |
+
<action method="setStartAction"><type>paypaluk/express/start</type></action>
|
37 |
+
</block>
|
38 |
+
</reference>
|
39 |
+
<reference name="checkout.cart.methods">
|
40 |
+
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypaluk_express" template="paypal/express/shortcut.phtml">
|
41 |
+
<action method="setPaymentModelType"><type>paypaluk/express</type></action>
|
42 |
+
<action method="setProModelType"><type>paypaluk/pro</type></action>
|
43 |
+
<action method="setPaymentMethod"><type>paypaluk_express</type></action>
|
44 |
+
<action method="setStartAction"><type>paypaluk/express/start</type></action>
|
45 |
+
</block>
|
46 |
+
</reference>
|
47 |
+
</checkout_cart_index>
|
48 |
+
|
49 |
+
<paypaluk_express_review translate="label">
|
50 |
+
<label>PayPal Express Order Review Form</label>
|
51 |
+
<remove name="right"/>
|
52 |
+
<remove name="left"/>
|
53 |
+
|
54 |
+
<reference name="root">
|
55 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
56 |
+
</reference>
|
57 |
+
<reference name="content">
|
58 |
+
<block type="paypal/express_review" name="paypal.express.review" template="paypal/express/review.phtml">
|
59 |
+
<action method="setPaypalActionPrefix"><prefix>paypaluk</prefix></action>
|
60 |
+
<block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
|
61 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
62 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
63 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
64 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
65 |
+
</block>
|
66 |
+
</block>
|
67 |
+
</reference>
|
68 |
+
<reference name="head">
|
69 |
+
<action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
|
70 |
+
</reference>
|
71 |
+
</paypaluk_express_review>
|
72 |
+
|
73 |
+
<paypal_express_review_details>
|
74 |
+
<block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
|
75 |
+
<action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
76 |
+
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
|
77 |
+
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
|
78 |
+
<block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
|
79 |
+
</block>
|
80 |
+
</paypal_express_review_details>
|
81 |
+
</layout>
|
82 |
+
|
app/design/frontend/default/watchshop/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
|
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 |
+
<!--
|
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/watchshop/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
|
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 |
+
<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/watchshop/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
|
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 |
+
<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/watchshop/layout/review.xml
ADDED
@@ -0,0 +1,125 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<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 translate="label">
|
70 |
+
<label>Catalog Product Reviews List</label>
|
71 |
+
<reference name="root">
|
72 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
73 |
+
</reference>
|
74 |
+
<reference name="head">
|
75 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
76 |
+
</reference>
|
77 |
+
<reference name="content">
|
78 |
+
<block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
|
79 |
+
<block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
|
80 |
+
<action method="disableGallery"/>
|
81 |
+
</block>
|
82 |
+
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
83 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
84 |
+
<block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
|
85 |
+
<block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
|
86 |
+
<block type="page/html_pager" name="product_review_list.toolbar" />
|
87 |
+
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
|
88 |
+
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
|
89 |
+
<block type="review/form" name="product.review.form" as="review_form">
|
90 |
+
<block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before">
|
91 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
92 |
+
</block>
|
93 |
+
</block>
|
94 |
+
</block>
|
95 |
+
</block>
|
96 |
+
</reference>
|
97 |
+
</review_product_list>
|
98 |
+
|
99 |
+
<review_product_view translate="label">
|
100 |
+
<label>Catalog Product Review View</label>
|
101 |
+
<reference name="root">
|
102 |
+
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
|
103 |
+
</reference>
|
104 |
+
<reference name="content">
|
105 |
+
<block type="review/view" name="review_view"/>
|
106 |
+
</reference>
|
107 |
+
</review_product_view>
|
108 |
+
|
109 |
+
<review_customer_index translate="label">
|
110 |
+
<label>Customer My Account Product Reviews</label>
|
111 |
+
<update handle="customer_account"/>
|
112 |
+
<reference name="my.account.wrapper">
|
113 |
+
<block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
|
114 |
+
</reference>
|
115 |
+
</review_customer_index>
|
116 |
+
|
117 |
+
<review_customer_view translate="label">
|
118 |
+
<label>Customer My Account Review Details</label>
|
119 |
+
<update handle="customer_account"/>
|
120 |
+
<reference name="my.account.wrapper">
|
121 |
+
<block type="review/customer_view" name="customers_review"/>
|
122 |
+
</reference>
|
123 |
+
</review_customer_view>
|
124 |
+
|
125 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/rss.xml
ADDED
@@ -0,0 +1,93 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<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</title><prepare>true</prepare><urlParams/><position/><li/><a>class="link-rss"</a></action>
|
32 |
+
</reference>
|
33 |
+
</default>
|
34 |
+
<!--
|
35 |
+
Default layout, loads most of the pages
|
36 |
+
-->
|
37 |
+
<rss_index_index translate="label">
|
38 |
+
<label>RSS Feeds List</label>
|
39 |
+
<reference name="root">
|
40 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
41 |
+
</reference>
|
42 |
+
<reference name="content">
|
43 |
+
<block type="rss/list" name="rss.list" template="rss/list.phtml"/>
|
44 |
+
</reference>
|
45 |
+
</rss_index_index>
|
46 |
+
|
47 |
+
<rss_index_nofeed>
|
48 |
+
<block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
|
49 |
+
</rss_index_nofeed>
|
50 |
+
|
51 |
+
<rss_index_wishlist>
|
52 |
+
<block type="rss/wishlist" name="rss.wishlist" output="toHtml"/>
|
53 |
+
</rss_index_wishlist>
|
54 |
+
<!--
|
55 |
+
Catalog layout
|
56 |
+
-->
|
57 |
+
<rss_catalog_new>
|
58 |
+
<block type="rss/catalog_new" output="toHtml" name="rss.catalog.new"/>
|
59 |
+
</rss_catalog_new>
|
60 |
+
|
61 |
+
<rss_catalog_special>
|
62 |
+
<block type="rss/catalog_special" output="toHtml" name="rss.catalog.special"/>
|
63 |
+
</rss_catalog_special>
|
64 |
+
|
65 |
+
<rss_catalog_salesrule>
|
66 |
+
<block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule"/>
|
67 |
+
</rss_catalog_salesrule>
|
68 |
+
|
69 |
+
<rss_catalog_tag>
|
70 |
+
<block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag" />
|
71 |
+
</rss_catalog_tag>
|
72 |
+
|
73 |
+
<rss_catalog_notifystock>
|
74 |
+
<block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
|
75 |
+
</rss_catalog_notifystock>
|
76 |
+
|
77 |
+
<rss_catalog_review>
|
78 |
+
<block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
|
79 |
+
</rss_catalog_review>
|
80 |
+
|
81 |
+
<rss_catalog_category>
|
82 |
+
<block type="rss/catalog_category" output="toHtml" name="rss.catalog.category" />
|
83 |
+
</rss_catalog_category>
|
84 |
+
<!--
|
85 |
+
Order layout
|
86 |
+
-->
|
87 |
+
<rss_order_new>
|
88 |
+
<block type="rss/order_new" output="toHtml" name="rss.order.new"/>
|
89 |
+
</rss_order_new>
|
90 |
+
<rss_order_status>
|
91 |
+
<block type="rss/order_status" output="toHtml" name="rss.order.status"/>
|
92 |
+
</rss_order_status>
|
93 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/sales.xml
ADDED
@@ -0,0 +1,284 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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 translate="label">
|
72 |
+
<label>Customer My Account Order History</label>
|
73 |
+
<update handle="customer_account"/>
|
74 |
+
<reference name="my.account.wrapper">
|
75 |
+
<block type="sales/order_history" name="sales.order.history"/>
|
76 |
+
<block type="customer/account_dashboard" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
|
77 |
+
</reference>
|
78 |
+
</sales_order_history>
|
79 |
+
|
80 |
+
|
81 |
+
<sales_order_view translate="label">
|
82 |
+
<label>Customer My Account Order View</label>
|
83 |
+
<update handle="customer_account"/>
|
84 |
+
<reference name="my.account.wrapper">
|
85 |
+
<block type="sales/order_info" as="info" name="sales.order.info"/>
|
86 |
+
<block type="sales/order_view" name="sales.order.view">
|
87 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
88 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
89 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
90 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
91 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
92 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
93 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
94 |
+
</block>
|
95 |
+
</block>
|
96 |
+
</block>
|
97 |
+
</reference>
|
98 |
+
<reference name="sales.order.info">
|
99 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
100 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
101 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
102 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
103 |
+
</reference>
|
104 |
+
</sales_order_view>
|
105 |
+
|
106 |
+
<sales_order_invoice translate="label">
|
107 |
+
<label>Customer My Account Order Invoice View</label>
|
108 |
+
<update handle="customer_account"/>
|
109 |
+
<reference name="my.account.wrapper">
|
110 |
+
<block type="sales/order_info" as="info" name="sales.order.info"/>
|
111 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
112 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
113 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
114 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
115 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
116 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
117 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
118 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
119 |
+
</block>
|
120 |
+
</block>
|
121 |
+
</block>
|
122 |
+
</reference>
|
123 |
+
<reference name="sales.order.info">
|
124 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
125 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
126 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
127 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
128 |
+
</reference>
|
129 |
+
</sales_order_invoice>
|
130 |
+
|
131 |
+
<sales_order_shipment translate="label">
|
132 |
+
<label>Customer My Account Order Shipment View</label>
|
133 |
+
<update handle="customer_account"/>
|
134 |
+
<reference name="my.account.wrapper">
|
135 |
+
<block type="sales/order_info" as="info" name="sales.order.info"/>
|
136 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
137 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
138 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
139 |
+
</block>
|
140 |
+
</block>
|
141 |
+
</reference>
|
142 |
+
<reference name="sales.order.info">
|
143 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
144 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
145 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
146 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
147 |
+
</reference>
|
148 |
+
</sales_order_shipment>
|
149 |
+
|
150 |
+
<sales_order_creditmemo translate="label">
|
151 |
+
<label>Customer My Account Order Creditmemo View</label>
|
152 |
+
<update handle="customer_account"/>
|
153 |
+
<reference name="my.account.wrapper">
|
154 |
+
<block type="sales/order_info" as="info" name="sales.order.info"/>
|
155 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
156 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
157 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
158 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
159 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
160 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
161 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
162 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
163 |
+
</block>
|
164 |
+
</block>
|
165 |
+
</block>
|
166 |
+
</reference>
|
167 |
+
<reference name="sales.order.info">
|
168 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
169 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
170 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
171 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
172 |
+
</reference>
|
173 |
+
</sales_order_creditmemo>
|
174 |
+
|
175 |
+
<sales_order_reorder>
|
176 |
+
<update handle="customer_account"/>
|
177 |
+
<reference name="content">
|
178 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
179 |
+
</reference>
|
180 |
+
</sales_order_reorder>
|
181 |
+
|
182 |
+
<sales_order_print translate="label">
|
183 |
+
<label>Sales Order Print View</label>
|
184 |
+
<reference name="content">
|
185 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
186 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
187 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
188 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
189 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
190 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
191 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
192 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
193 |
+
</block>
|
194 |
+
</block>
|
195 |
+
</block>
|
196 |
+
</reference>
|
197 |
+
</sales_order_print>
|
198 |
+
|
199 |
+
<sales_order_printinvoice translate="label">
|
200 |
+
<label>Sales Invoice Print View</label>
|
201 |
+
<reference name="content">
|
202 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
203 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
204 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
205 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
206 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
207 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
208 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
209 |
+
</block>
|
210 |
+
</block>
|
211 |
+
</reference>
|
212 |
+
</sales_order_printinvoice>
|
213 |
+
|
214 |
+
<sales_order_printshipment translate="label">
|
215 |
+
<label>Sales Shipment Print View</label>
|
216 |
+
<reference name="content">
|
217 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
218 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
219 |
+
</block>
|
220 |
+
</reference>
|
221 |
+
</sales_order_printshipment>
|
222 |
+
|
223 |
+
<sales_order_printcreditmemo>
|
224 |
+
<reference name="content">
|
225 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
226 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
227 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
228 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
229 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
230 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
231 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
232 |
+
</block>
|
233 |
+
</block>
|
234 |
+
</reference>
|
235 |
+
</sales_order_printcreditmemo>
|
236 |
+
|
237 |
+
<!--
|
238 |
+
Email layouts section
|
239 |
+
-->
|
240 |
+
<sales_email_order_items>
|
241 |
+
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
242 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
243 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
244 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
245 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
246 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
247 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
248 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
249 |
+
</block>
|
250 |
+
</block>
|
251 |
+
</block>
|
252 |
+
</sales_email_order_items>
|
253 |
+
|
254 |
+
<sales_email_order_invoice_items>
|
255 |
+
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
256 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
257 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
258 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
259 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
260 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
261 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
262 |
+
</block>
|
263 |
+
</block>
|
264 |
+
</sales_email_order_invoice_items>
|
265 |
+
|
266 |
+
<sales_email_order_shipment_items>
|
267 |
+
<block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
|
268 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
|
269 |
+
</block>
|
270 |
+
</sales_email_order_shipment_items>
|
271 |
+
|
272 |
+
<sales_email_order_creditmemo_items>
|
273 |
+
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
274 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
275 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
276 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
277 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
278 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
279 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
280 |
+
</block>
|
281 |
+
</block>
|
282 |
+
</sales_email_order_creditmemo_items>
|
283 |
+
|
284 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/sendfriend.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
|
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 |
+
<layout version="0.1.0">
|
29 |
+
<sendfriend_product_send translate="label">
|
30 |
+
<label>Catalog Product Email to a Friend</label>
|
31 |
+
<reference name="root">
|
32 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
33 |
+
</reference>
|
34 |
+
<reference name="head">
|
35 |
+
<action method="addJs"><script>varien/product.js</script></action>
|
36 |
+
</reference>
|
37 |
+
<reference name="content">
|
38 |
+
<block type="sendfriend/send" name="sendfriend.send" template="sendfriend/send.phtml" />
|
39 |
+
</reference>
|
40 |
+
</sendfriend_product_send>
|
41 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/shipping.xml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<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 translate="label">
|
40 |
+
<label>Shipment Tracking Popup</label>
|
41 |
+
<reference name="root">
|
42 |
+
<action method="setTemplate"><template>page/popup.phtml</template></action>
|
43 |
+
</reference>
|
44 |
+
<!--<reference name="head">
|
45 |
+
<action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
|
46 |
+
</reference>-->
|
47 |
+
<reference name="content">
|
48 |
+
<block type="shipping/tracking_popup" name="shipping.tracking.popup" template="shipping/tracking/popup.phtml" />
|
49 |
+
</reference>
|
50 |
+
</shipping_tracking_popup>
|
51 |
+
</layout>
|
52 |
+
|
app/design/frontend/default/watchshop/layout/tag.xml
ADDED
@@ -0,0 +1,129 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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.phtm">
|
39 |
+
<action method="setTemplate"><template>tag/popular.phtml</template></action>
|
40 |
+
</block>
|
41 |
+
</reference>
|
42 |
+
|
43 |
+
</default>
|
44 |
+
|
45 |
+
<!--
|
46 |
+
Customer account pages, rendered for all tabs in dashboard
|
47 |
+
-->
|
48 |
+
|
49 |
+
<customer_account>
|
50 |
+
<!-- Mage_Tag -->
|
51 |
+
<reference name="customer_account_navigation">
|
52 |
+
<action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
|
53 |
+
</reference>
|
54 |
+
</customer_account>
|
55 |
+
|
56 |
+
<!--
|
57 |
+
Customer account home dashboard layout
|
58 |
+
-->
|
59 |
+
|
60 |
+
<customer_account_index>
|
61 |
+
<!-- Mage_Tag -->
|
62 |
+
<reference name="customer_account_dashboard">
|
63 |
+
<action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
|
64 |
+
<block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
|
65 |
+
</reference>
|
66 |
+
</customer_account_index>
|
67 |
+
|
68 |
+
<catalog_product_view>
|
69 |
+
<!-- Mage_Tag -->
|
70 |
+
<reference name="product.info.additional">
|
71 |
+
<block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml">
|
72 |
+
<block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before">
|
73 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
74 |
+
</block>
|
75 |
+
</block>
|
76 |
+
</reference>
|
77 |
+
</catalog_product_view>
|
78 |
+
|
79 |
+
<!--
|
80 |
+
All tags page
|
81 |
+
-->
|
82 |
+
|
83 |
+
<tag_list_index translate="label">
|
84 |
+
<label>Tags List (All Available)</label>
|
85 |
+
<!-- Mage_Tag -->
|
86 |
+
<reference name="root">
|
87 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
88 |
+
</reference>
|
89 |
+
<reference name="content">
|
90 |
+
<block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
|
91 |
+
</reference>
|
92 |
+
</tag_list_index>
|
93 |
+
|
94 |
+
<tag_product_list translate="label">
|
95 |
+
<label>Tagged Products List</label>
|
96 |
+
<!-- Mage_Tag -->
|
97 |
+
<reference name="content">
|
98 |
+
<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
|
99 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
|
100 |
+
<action method="setListOrders"/>
|
101 |
+
<action method="setListModes"/>
|
102 |
+
<action method="setListCollection"/>
|
103 |
+
</block>
|
104 |
+
</reference>
|
105 |
+
</tag_product_list>
|
106 |
+
|
107 |
+
<tag_customer_index translate="label">
|
108 |
+
<label>Customer My Account My Tags List</label>
|
109 |
+
<update handle="customer_account"/>
|
110 |
+
<reference name="root">
|
111 |
+
<action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
|
112 |
+
</reference>
|
113 |
+
<reference name="my.account.wrapper">
|
114 |
+
<block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
|
115 |
+
</reference>
|
116 |
+
</tag_customer_index>
|
117 |
+
|
118 |
+
<tag_customer_view translate="label">
|
119 |
+
<label>Customer My Account Tag View</label>
|
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="my.account.wrapper">
|
125 |
+
<block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
|
126 |
+
</reference>
|
127 |
+
</tag_customer_view>
|
128 |
+
|
129 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/layout/weee.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
|
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 |
+
<checkout_cart_index>
|
31 |
+
<reference name="head">
|
32 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
33 |
+
</reference>
|
34 |
+
</checkout_cart_index>
|
35 |
+
|
36 |
+
<checkout_onepage_index>
|
37 |
+
<reference name="head">
|
38 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
39 |
+
</reference>
|
40 |
+
</checkout_onepage_index>
|
41 |
+
|
42 |
+
<checkout_multishipping>
|
43 |
+
<reference name="head">
|
44 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
45 |
+
</reference>
|
46 |
+
</checkout_multishipping>
|
47 |
+
|
48 |
+
<customer_logged_in>
|
49 |
+
<reference name="head">
|
50 |
+
<action method="addItem"><type>js</type><name>varien/weee.js</name></action>
|
51 |
+
</reference>
|
52 |
+
</customer_logged_in>
|
53 |
+
</layout>
|
app/design/frontend/default/watchshop/layout/wishlist.xml
ADDED
@@ -0,0 +1,107 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
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 |
+
<!--
|
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 translate="label">
|
77 |
+
<label>Customer My Account My Wishlist</label>
|
78 |
+
<!-- Mage_Wishlist -->
|
79 |
+
<update handle="customer_account"/>
|
80 |
+
<reference name="my.account.wrapper">
|
81 |
+
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
|
82 |
+
</reference>
|
83 |
+
<reference name="right">
|
84 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
85 |
+
</reference>
|
86 |
+
</wishlist_index_index>
|
87 |
+
|
88 |
+
<wishlist_index_share translate="label">
|
89 |
+
<label>Customer My Account Wishlist Sharing Form</label>
|
90 |
+
<!-- Mage_Wishlist -->
|
91 |
+
<update handle="customer_account"/>
|
92 |
+
<reference name="my.account.wrapper">
|
93 |
+
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
|
94 |
+
</reference>
|
95 |
+
<reference name="right">
|
96 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
97 |
+
</reference>
|
98 |
+
</wishlist_index_share>
|
99 |
+
|
100 |
+
<wishlist_shared_index translate="label">
|
101 |
+
<label>Customer Shared Wishlist View</label>
|
102 |
+
<!-- Mage_Wishlist -->
|
103 |
+
<reference name="my.account.wrapper">
|
104 |
+
<block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml"/>
|
105 |
+
</reference>
|
106 |
+
</wishlist_shared_index>
|
107 |
+
</layout>
|
app/design/frontend/default/watchshop/template/all/featurebrand.phtml
ADDED
@@ -0,0 +1,20 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php $featurerBrands = $this->getFeatureBrand(); ?>
|
2 |
+
<?php if(count($featurerBrands)): ?>
|
3 |
+
<div class="brands">
|
4 |
+
<div class="title">
|
5 |
+
<div class="all-brands"><?php echo $this->__('Popular Brands') ?></div>
|
6 |
+
<div class="all-link"><a href="<?php echo $this->getUrl('manufacturer') ?>"><?php echo $this->__('All Brands') ?> ></a></div>
|
7 |
+
</div>
|
8 |
+
<div class="clear"></div>
|
9 |
+
<div class="content">
|
10 |
+
<?php $i=1; ?>
|
11 |
+
<?php $count = count($featurerBrands); ?>
|
12 |
+
<?php foreach($featurerBrands as $featurerBrand): ?>
|
13 |
+
<a <?php if($i == 1){echo 'class="first"';}else{if($i == $count){echo 'class="last"';}} ?> href="<?php echo $this->getUrl($featurerBrand->getUrlKey(), array()); ?>">
|
14 |
+
<img src="<?php echo $this->getManufacturerImage($featurerBrand) ?>" alt="<?php echo $featurerBrand->getName() ?>" />
|
15 |
+
</a>
|
16 |
+
<?php $i++; ?>
|
17 |
+
<?php endforeach; ?>
|
18 |
+
</div>
|
19 |
+
</div>
|
20 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/all/featuredcategory.phtml
ADDED
@@ -0,0 +1,11 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php $categories = $this->getFeaturedCategories(); ?>
|
2 |
+
<?php if($categories): ?>
|
3 |
+
<div class="category">
|
4 |
+
<?php $i=1;foreach($categories as $category): ?>
|
5 |
+
<a <?php if($i%3 == 1){echo 'class="first"';}else{if($i%3 == 0){echo 'class="last"';}} ?> href="<?php echo $category->getUrl() ?>">
|
6 |
+
<img src="<?php echo $category->getImageUrl(); ?>" alt="<?php echo $category->getName() ?>" title="<?php echo $category->getName() ?>" />
|
7 |
+
</a>
|
8 |
+
<?php $i++; ?>
|
9 |
+
<?php endforeach; ?>
|
10 |
+
</div>
|
11 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/all/featuredproduct.phtml
ADDED
@@ -0,0 +1,29 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<script src="<?php echo $this->getJsUrl().'magestore/jquery.js'; ?>" type="text/javascript"></script>
|
2 |
+
<script src="<?php echo $this->getJsUrl().'magestore/jquery.scrollShow.js' ?>" type="text/javascript"></script>
|
3 |
+
<script src="<?php echo $this->getJsUrl().'magestore/jquery.scrollTo-min.js' ?>" type="text/javascript"></script>
|
4 |
+
<script src="<?php echo $this->getJsUrl().'magestore/slider-config.js' ?>" type="text/javascript"></script>
|
5 |
+
<?php $products = $this->getFeaturedProduct(); ?>
|
6 |
+
<?php if($products): ?>
|
7 |
+
<ul id="screen">
|
8 |
+
<li><a id="left" href="#"></a></li>
|
9 |
+
<li id="view">
|
10 |
+
<ul id="images">
|
11 |
+
<?php foreach($products as $product): ?>
|
12 |
+
<li>
|
13 |
+
<div class="cms-index-index index-pro-infor">
|
14 |
+
<h1><?php echo $this->getManufacturerName($product->getId())->getName(); ?></h1>
|
15 |
+
<h2 class="product-name">
|
16 |
+
<a href="<?php echo $product->getProductUrl() ?>"><?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?></a>
|
17 |
+
</h2>
|
18 |
+
</div>
|
19 |
+
<?php echo $this->getPriceHtml(Mage::getModel('catalog/product')->load($product->getId()), true) ?>
|
20 |
+
<a href="<?php echo $product->getProductUrl() ?>">
|
21 |
+
<img src="<?php echo $this->helper('catalog/image')->init(Mage::getModel('catalog/product')->load($product->getId()), 'small_image')->resize(180); ?>" alt="<?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?>" title="<?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?>" />
|
22 |
+
</a>
|
23 |
+
</li>
|
24 |
+
<?php endforeach; ?>
|
25 |
+
</ul>
|
26 |
+
</li>
|
27 |
+
<li><a id="right" href="#"></a></li>
|
28 |
+
</ul>
|
29 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/all/featuredproduct_.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<script src="<?php echo $this->getSkinUrl().'js/jquery.js'; ?>" type="text/javascript"></script>
|
2 |
+
<script src="<?php echo $this->getSkinUrl().'js/easySlider1.5.js' ?>" type="text/javascript"></script>
|
3 |
+
<script src="<?php echo $this->getSkinUrl().'js/play.js' ?>" type="text/javascript"></script>
|
4 |
+
<?php $products = $this->getFeaturedProduct(); ?>
|
5 |
+
<?php if($products): ?>
|
6 |
+
<div id="container">
|
7 |
+
<div id="content">
|
8 |
+
<div id="slider">
|
9 |
+
<ul>
|
10 |
+
<?php foreach($products as $product): ?>
|
11 |
+
<li>
|
12 |
+
<div class="cms-index-index index-pro-infor">
|
13 |
+
<h1><?php echo $this->getManufacturerName($product->getId())->getName(); ?></h1>
|
14 |
+
<h2 class="product-name">
|
15 |
+
<a href="<?php echo $product->getProductUrl() ?>"><?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?></a>
|
16 |
+
</h2>
|
17 |
+
</div>
|
18 |
+
<?php echo $this->getPriceHtml(Mage::getModel('catalog/product')->load($product->getId()), true) ?>
|
19 |
+
<a href="<?php echo $product->getProductUrl() ?>">
|
20 |
+
<img src="<?php echo $this->helper('catalog/image')->init(Mage::getModel('catalog/product')->load($product->getId()), 'small_image')->resize(180); ?>" alt="<?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?>" title="<?php echo $this->htmlEscape(Mage::getModel('catalog/product')->load($product->getId())->getName()) ?>" />
|
21 |
+
</a>
|
22 |
+
</li>
|
23 |
+
<?php endforeach; ?>
|
24 |
+
</ul>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/all/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="box-collateral box-up-sell">
|
29 |
+
<h2><?php echo $this->__('This product is also part of bundle(s)') ?></h2>
|
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 |
+
<a href="<?php echo $_bundle->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_bundle->getName()) ?>" class="product-image"><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()) ?>" /></a>
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_bundle->getProductUrl() ?>"><?php echo $this->htmlEscape($_bundle->getName()) ?></a></h3>
|
40 |
+
<?php echo $this->getPriceHtml($_bundle, true) ?>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_bundle) ?>
|
42 |
+
</td>
|
43 |
+
<?php else: ?>
|
44 |
+
<td class="empty"> </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/watchshop/template/bundle/catalog/product/list/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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()): ?>
|
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()): ?>
|
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()): ?>
|
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()): ?>
|
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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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()): ?>
|
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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 in-stock"><?php echo $this->helper('catalog')->__('Availability:') ?> <span><?php echo $this->helper('catalog')->__('In stock') ?></span></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability out-of-stock"><?php echo $this->helper('catalog')->__('Availability:') ?> <span><?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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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:') ?> </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"> *</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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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:') ?> </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"> *</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/watchshop/template/bundle/catalog/product/view/type/bundle/option/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/bundle/catalog/product/view/type/bundle/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/bundle/catalog/product/view/type/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/bundle/catalog/product/view/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/bundle/catalog/product/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
48 |
+
<td> </td>
|
49 |
+
<td> </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 $this->htmlEscape($_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 |
+
|
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')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
71 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
110 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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 |
+
|
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 $this->htmlEscape($_item->getDescription()) ?>
|
163 |
+
</td>
|
164 |
+
<td> </td>
|
165 |
+
<td> </td>
|
166 |
+
<td> </td>
|
167 |
+
</tr>
|
168 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/email/order/items/creditmemo/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
49 |
+
<td> </td>
|
50 |
+
<td> </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 $this->htmlEscape($_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 |
+
|
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')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
72 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
111 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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 |
+
|
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 $this->htmlEscape($_item->getDescription()) ?>
|
164 |
+
</td>
|
165 |
+
<td> </td>
|
166 |
+
<td> </td>
|
167 |
+
<td> </td>
|
168 |
+
</tr>
|
169 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/email/order/items/invoice/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
49 |
+
<td> </td>
|
50 |
+
<td> </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 $this->htmlEscape($_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 |
+
|
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')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
72 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
111 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_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 |
+
|
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> </td>
|
171 |
+
<td> </td>
|
172 |
+
<td> </td>
|
173 |
+
</tr>
|
174 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/email/order/items/order/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
48 |
+
<td> </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 $this->htmlEscape($_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 |
+
|
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 $this->htmlEscape($_item->getDescription()) ?>
|
88 |
+
</td>
|
89 |
+
<td> </td>
|
90 |
+
<td> </td>
|
91 |
+
</tr>
|
92 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/email/order/items/shipment/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/bundle/rss/catalog/product/price.phtml
ADDED
@@ -0,0 +1,271 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 bundle product price in RSS feeds
|
31 |
+
*
|
32 |
+
* @see Mage_Bundle_Block_Catalog_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
|
36 |
+
<?php $_product = $this->getProduct() ?>
|
37 |
+
<?php list($_minimalPrice, $_maximalPrice) = $_product->getPriceModel()->getPrices($_product) ?>
|
38 |
+
<?php $_id = $_product->getId() ?>
|
39 |
+
|
40 |
+
<?php $_weeeTaxAmount = 0; ?>
|
41 |
+
|
42 |
+
<?php $_minimalPriceTax = Mage::helper('tax')->getPrice($_product, $_minimalPrice); ?>
|
43 |
+
<?php $_minimalPriceInclTax = Mage::helper('tax')->getPrice($_product, $_minimalPrice, true); ?>
|
44 |
+
|
45 |
+
<?php
|
46 |
+
if ($_product->getPriceType() == 1) {
|
47 |
+
$_weeeTaxAmount = Mage::helper('weee')->getAmount($_product);
|
48 |
+
if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
|
49 |
+
$_minimalPriceTax += $_weeeTaxAmount;
|
50 |
+
$_minimalPriceInclTax += $_weeeTaxAmount;
|
51 |
+
}
|
52 |
+
if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
|
53 |
+
$_minimalPriceInclTax += $_weeeTaxAmount;
|
54 |
+
}
|
55 |
+
|
56 |
+
if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
|
57 |
+
$_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
|
58 |
+
}
|
59 |
+
}
|
60 |
+
?>
|
61 |
+
|
62 |
+
<div class="price-box">
|
63 |
+
<?php if ($_product->getPriceView()): ?>
|
64 |
+
<p class="minimal-price">
|
65 |
+
<span class="price-label"><?php echo $this->__('As low as') ?>:</span>
|
66 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
67 |
+
<span class="price-excluding-tax">
|
68 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
69 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
70 |
+
</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 |
+
<span class="price-including-tax">
|
87 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
88 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
89 |
+
</span>
|
90 |
+
<?php else: ?>
|
91 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
92 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
93 |
+
<span class="weee">(<small>
|
94 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
95 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
96 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
97 |
+
<?php else: ?>
|
98 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
99 |
+
<?php endif; ?>
|
100 |
+
|
101 |
+
<?php echo $_weeeSeparator; ?>
|
102 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
103 |
+
<?php $_weeeSeparator = ' + '; ?>
|
104 |
+
<?php endforeach; ?>
|
105 |
+
</small>)</span>
|
106 |
+
<?php endif; ?>
|
107 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
|
108 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
109 |
+
<?php endif; ?>
|
110 |
+
<?php endif; ?>
|
111 |
+
</p>
|
112 |
+
<?php else: ?>
|
113 |
+
<?php if ($_minimalPrice <> $_maximalPrice): ?>
|
114 |
+
<p class="price-from">
|
115 |
+
<span class="price-label"><?php echo $this->__('From') ?>:</span>
|
116 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
117 |
+
<span class="price-excluding-tax">
|
118 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
119 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
120 |
+
</span>
|
121 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
122 |
+
<span class="weee">(<small>
|
123 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
125 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
126 |
+
<?php else: ?>
|
127 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<?php echo $_weeeSeparator; ?>
|
131 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
132 |
+
<?php $_weeeSeparator = ' + '; ?>
|
133 |
+
<?php endforeach; ?>
|
134 |
+
</small>)</span>
|
135 |
+
<?php endif; ?>
|
136 |
+
<span class="price-including-tax">
|
137 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
138 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
139 |
+
</span>
|
140 |
+
<?php else: ?>
|
141 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
142 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
143 |
+
<span class="weee">(<small>
|
144 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
145 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
146 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
147 |
+
<?php else: ?>
|
148 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
149 |
+
<?php endif; ?>
|
150 |
+
|
151 |
+
<?php echo $_weeeSeparator; ?>
|
152 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
153 |
+
<?php $_weeeSeparator = ' + '; ?>
|
154 |
+
<?php endforeach; ?>
|
155 |
+
</small>)</span>
|
156 |
+
<?php endif; ?>
|
157 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
|
158 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
159 |
+
<?php endif; ?>
|
160 |
+
<?php endif; ?>
|
161 |
+
</p>
|
162 |
+
<?php $_maximalPriceTax = Mage::helper('tax')->getPrice($_product, $_maximalPrice); ?>
|
163 |
+
<?php $_maximalPriceInclTax = Mage::helper('tax')->getPrice($_product, $_maximalPrice, true); ?>
|
164 |
+
<?php
|
165 |
+
if ($_product->getPriceType() == 1) {
|
166 |
+
if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))) {
|
167 |
+
$_maximalPriceTax += $_weeeTaxAmount;
|
168 |
+
$_maximalPriceInclTax += $_weeeTaxAmount;
|
169 |
+
}
|
170 |
+
if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)) {
|
171 |
+
$_maximalPriceInclTax += $_weeeTaxAmount;
|
172 |
+
}
|
173 |
+
}
|
174 |
+
?>
|
175 |
+
<p class="price-to">
|
176 |
+
<span class="price-label"><?php echo $this->__('To') ?>:</span>
|
177 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
178 |
+
<span class="price-excluding-tax">
|
179 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
180 |
+
<?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
|
181 |
+
</span>
|
182 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
183 |
+
<span class="weee">(<small>
|
184 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
185 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
186 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
187 |
+
<?php else: ?>
|
188 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
189 |
+
<?php endif; ?>
|
190 |
+
|
191 |
+
<?php echo $_weeeSeparator; ?>
|
192 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
193 |
+
<?php $_weeeSeparator = ' + '; ?>
|
194 |
+
<?php endforeach; ?>
|
195 |
+
</small>)</span>
|
196 |
+
<?php endif; ?>
|
197 |
+
<span class="price-including-tax">
|
198 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax') ?></span>
|
199 |
+
<?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
|
200 |
+
</span>
|
201 |
+
<?php else: ?>
|
202 |
+
<?php echo Mage::helper('core')->currency($_maximalPriceTax) ?>
|
203 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
204 |
+
<span class="weee">(<small>
|
205 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
206 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
207 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
208 |
+
<?php else: ?>
|
209 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
210 |
+
<?php endif; ?>
|
211 |
+
|
212 |
+
<?php echo $_weeeSeparator; ?>
|
213 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
214 |
+
<?php $_weeeSeparator = ' + '; ?>
|
215 |
+
<?php endforeach; ?>
|
216 |
+
</small>)</span>
|
217 |
+
<?php endif; ?>
|
218 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
|
219 |
+
<?php echo Mage::helper('core')->currency($_maximalPriceInclTax) ?>
|
220 |
+
<?php endif; ?>
|
221 |
+
<?php endif; ?>
|
222 |
+
</p>
|
223 |
+
<?php else: ?>
|
224 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
225 |
+
<span class="price-excluding-tax">
|
226 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
227 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
228 |
+
</span>
|
229 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
230 |
+
<span class="weee">(<small>
|
231 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
232 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
233 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
234 |
+
<?php else: ?>
|
235 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
236 |
+
<?php endif; ?>
|
237 |
+
|
238 |
+
<?php echo $_weeeSeparator; ?>
|
239 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
240 |
+
<?php $_weeeSeparator = ' + '; ?>
|
241 |
+
<?php endforeach; ?>
|
242 |
+
</small>)</span>
|
243 |
+
<?php endif; ?>
|
244 |
+
<span class="price-including-tax">
|
245 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
246 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
247 |
+
</span>
|
248 |
+
<?php else: ?>
|
249 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceTax) ?>
|
250 |
+
<?php if ($_weeeTaxAmount && $_product->getPriceType() == 1 && Mage::helper('weee')->typeOfDisplay($_product, array(2, 1, 4))): ?>
|
251 |
+
<span class="weee">(<small>
|
252 |
+
<?php $_weeeSeparator = ''; foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
253 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(2, 4))): ?>
|
254 |
+
<?php $amount = $_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(); ?>
|
255 |
+
<?php else: ?>
|
256 |
+
<?php $amount = $_weeeTaxAttribute->getAmount(); ?>
|
257 |
+
<?php endif; ?>
|
258 |
+
|
259 |
+
<?php echo $_weeeSeparator; ?>
|
260 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($amount, true, true); ?>
|
261 |
+
<?php $_weeeSeparator = ' + '; ?>
|
262 |
+
<?php endforeach; ?>
|
263 |
+
</small>)</span>
|
264 |
+
<?php endif; ?>
|
265 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, 2) && $_weeeTaxAmount): ?>
|
266 |
+
<?php echo Mage::helper('core')->currency($_minimalPriceInclTax) ?>
|
267 |
+
<?php endif; ?>
|
268 |
+
<?php endif; ?>
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php endif; ?>
|
271 |
+
</div>
|
app/design/frontend/default/watchshop/template/bundle/rss/catalog/product/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
50 |
+
<td> </td>
|
51 |
+
<td> </td>
|
52 |
+
<td> </td>
|
53 |
+
<td> </td>
|
54 |
+
<td> </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><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4>
|
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 $this->htmlEscape($_item->getSku()) ?></td>
|
67 |
+
<td class="a-right">
|
68 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
69 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
70 |
+
<span class="price-excl-tax">
|
71 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
72 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
<span 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 |
+
</span>
|
78 |
+
<?php endif; ?>
|
79 |
+
<?php endif; ?>
|
80 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
81 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
82 |
+
<?php else: ?>
|
83 |
+
<span 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 |
+
</span>
|
93 |
+
|
94 |
+
|
95 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
96 |
+
|
97 |
+
<span 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 |
+
</span>
|
116 |
+
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
118 |
+
<span 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 |
+
</span>
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php endif; ?>
|
123 |
+
</span>
|
124 |
+
<br />
|
125 |
+
<?php endif; ?>
|
126 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
127 |
+
<span class="price-incl-tax">
|
128 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
129 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
140 |
+
<?php else: ?>
|
141 |
+
<span 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 |
+
</span>
|
151 |
+
|
152 |
+
|
153 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
154 |
+
|
155 |
+
<span 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 |
+
</span>
|
174 |
+
|
175 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
176 |
+
<span 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 |
+
</span>
|
179 |
+
<?php endif; ?>
|
180 |
+
<?php endif; ?>
|
181 |
+
</span>
|
182 |
+
<?php endif; ?>
|
183 |
+
<?php else: ?>
|
184 |
+
|
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 |
+
|
192 |
+
<?php endif; ?>
|
193 |
+
</td>
|
194 |
+
<td class="a-right">
|
195 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
196 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
197 |
+
<span class="price-excl-tax">
|
198 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
199 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<span class="cart-price">
|
201 |
+
<?php endif; ?>
|
202 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
203 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
204 |
+
</span>
|
205 |
+
<?php endif; ?>
|
206 |
+
<?php endif; ?>
|
207 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
208 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
209 |
+
<?php else: ?>
|
210 |
+
<span 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 |
+
</span>
|
220 |
+
|
221 |
+
|
222 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
223 |
+
|
224 |
+
<span 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 |
+
</span>
|
243 |
+
|
244 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
245 |
+
<span 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 |
+
</span>
|
248 |
+
<?php endif; ?>
|
249 |
+
<?php endif; ?>
|
250 |
+
</span>
|
251 |
+
<br />
|
252 |
+
<?php endif; ?>
|
253 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
254 |
+
<span class="price-incl-tax">
|
255 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
256 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
257 |
+
<span 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 |
+
</span>
|
262 |
+
<?php endif; ?>
|
263 |
+
<?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
264 |
+
<?php endif; ?>
|
265 |
+
</span>
|
266 |
+
<?php else: ?>
|
267 |
+
|
268 |
+
<?php endif; ?>
|
269 |
+
<?php else: ?>
|
270 |
+
|
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 |
+
|
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 |
+
|
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 $this->htmlEscape($_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> </td>
|
322 |
+
<td> </td>
|
323 |
+
<td> </td>
|
324 |
+
<td> </td>
|
325 |
+
<td> </td>
|
326 |
+
<td> </td>
|
327 |
+
</tr>
|
328 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/sales/order/creditmemo/items/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
50 |
+
<td> </td>
|
51 |
+
<td> </td>
|
52 |
+
<td> </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><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4></td>
|
60 |
+
<?php else: ?>
|
61 |
+
<td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
|
62 |
+
<?php endif; ?>
|
63 |
+
<td><?php echo $this->htmlEscape($_item->getSku()) ?></td>
|
64 |
+
<td class="a-right">
|
65 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
66 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
67 |
+
<span class="price-excl-tax">
|
68 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
69 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
70 |
+
<span class="cart-price">
|
71 |
+
<?php endif; ?>
|
72 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
73 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
74 |
+
</span>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
78 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
79 |
+
<?php else: ?>
|
80 |
+
<span class="cart-price">
|
81 |
+
<?php endif; ?>
|
82 |
+
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
</span>
|
90 |
+
|
91 |
+
|
92 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
93 |
+
|
94 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
95 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
96 |
+
<small>
|
97 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
98 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</small>
|
101 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
103 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_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 |
+
</span>
|
113 |
+
|
114 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
116 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
117 |
+
</span>
|
118 |
+
<?php endif; ?>
|
119 |
+
<?php endif; ?>
|
120 |
+
</span>
|
121 |
+
<br />
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
124 |
+
<span class="price-incl-tax">
|
125 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
126 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
127 |
+
<span class="cart-price">
|
128 |
+
<?php endif; ?>
|
129 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
130 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
</span>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php endif; ?>
|
134 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
135 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
136 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
137 |
+
<?php else: ?>
|
138 |
+
<span class="cart-price">
|
139 |
+
<?php endif; ?>
|
140 |
+
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
143 |
+
<?php else: ?>
|
144 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
145 |
+
<?php endif; ?>
|
146 |
+
|
147 |
+
</span>
|
148 |
+
|
149 |
+
|
150 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
151 |
+
|
152 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
153 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
154 |
+
<small>
|
155 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
156 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
157 |
+
<?php endforeach; ?>
|
158 |
+
</small>
|
159 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
161 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
162 |
+
<?php endforeach; ?>
|
163 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
164 |
+
<small>
|
165 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
166 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
</small>
|
169 |
+
<?php endif; ?>
|
170 |
+
</span>
|
171 |
+
|
172 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
174 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
175 |
+
</span>
|
176 |
+
<?php endif; ?>
|
177 |
+
<?php endif; ?>
|
178 |
+
</span>
|
179 |
+
<?php endif; ?>
|
180 |
+
<?php else: ?>
|
181 |
+
|
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 |
+
|
189 |
+
<?php endif; ?>
|
190 |
+
</td>
|
191 |
+
<td class="a-right">
|
192 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
193 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
194 |
+
<span class="price-excl-tax">
|
195 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
196 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
197 |
+
<span 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 |
+
</span>
|
202 |
+
<?php endif; ?>
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
205 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
206 |
+
<?php else: ?>
|
207 |
+
<span 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 |
+
</span>
|
217 |
+
|
218 |
+
|
219 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
220 |
+
|
221 |
+
<span 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 |
+
</span>
|
240 |
+
|
241 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
242 |
+
<span 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 |
+
</span>
|
245 |
+
<?php endif; ?>
|
246 |
+
<?php endif; ?>
|
247 |
+
</span>
|
248 |
+
<br />
|
249 |
+
<?php endif; ?>
|
250 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
251 |
+
<span class="price-incl-tax">
|
252 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
253 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
254 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
264 |
+
<?php else: ?>
|
265 |
+
<span 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 |
+
</span>
|
274 |
+
|
275 |
+
|
276 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
277 |
+
|
278 |
+
<span 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 |
+
</span>
|
297 |
+
|
298 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
299 |
+
<span 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 |
+
</span>
|
302 |
+
<?php endif; ?>
|
303 |
+
<?php endif; ?>
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
</span>
|
308 |
+
<?php endif; ?>
|
309 |
+
<?php else: ?>
|
310 |
+
|
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 $this->htmlEscape($_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> </td>
|
348 |
+
<td> </td>
|
349 |
+
<td> </td>
|
350 |
+
<td> </td>
|
351 |
+
</tr>
|
352 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/sales/order/invoice/items/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
48 |
+
<td> </td>
|
49 |
+
<td> </td>
|
50 |
+
<td> </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><h3 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h3></td>
|
59 |
+
<?php else: ?>
|
60 |
+
<td><div class="option-value"><?php echo $this->getValueHtml($_item)?></div></td>
|
61 |
+
<?php endif; ?>
|
62 |
+
<td><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($_item->getSku())) ?></td>
|
63 |
+
<td class="a-right">
|
64 |
+
<?php if (!$_item->getParentItem()): ?>
|
65 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
66 |
+
<span class="price-excl-tax">
|
67 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
68 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
69 |
+
<span class="cart-price">
|
70 |
+
<?php endif; ?>
|
71 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
72 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
</span>
|
74 |
+
<?php endif; ?>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
77 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
78 |
+
<?php else: ?>
|
79 |
+
<span class="cart-price">
|
80 |
+
<?php endif; ?>
|
81 |
+
|
82 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
84 |
+
<?php else: ?>
|
85 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
</span>
|
89 |
+
|
90 |
+
|
91 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
92 |
+
|
93 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<small>
|
96 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
97 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</small>
|
100 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
102 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_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 |
+
</span>
|
112 |
+
|
113 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
114 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
115 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
116 |
+
</span>
|
117 |
+
<?php endif; ?>
|
118 |
+
<?php endif; ?>
|
119 |
+
</span>
|
120 |
+
<br />
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
123 |
+
<span class="price-incl-tax">
|
124 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
125 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
126 |
+
<span class="cart-price">
|
127 |
+
<?php endif; ?>
|
128 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
129 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
</span>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
134 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
135 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
136 |
+
<?php else: ?>
|
137 |
+
<span class="cart-price">
|
138 |
+
<?php endif; ?>
|
139 |
+
|
140 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
142 |
+
<?php else: ?>
|
143 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
144 |
+
<?php endif; ?>
|
145 |
+
|
146 |
+
</span>
|
147 |
+
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
150 |
+
|
151 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<small>
|
154 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
155 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
156 |
+
<?php endforeach; ?>
|
157 |
+
</small>
|
158 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
160 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
161 |
+
<?php endforeach; ?>
|
162 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
163 |
+
<small>
|
164 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
165 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
166 |
+
<?php endforeach; ?>
|
167 |
+
</small>
|
168 |
+
<?php endif; ?>
|
169 |
+
</span>
|
170 |
+
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
173 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
174 |
+
</span>
|
175 |
+
<?php endif; ?>
|
176 |
+
<?php endif; ?>
|
177 |
+
</span>
|
178 |
+
<?php endif; ?>
|
179 |
+
<?php else: ?>
|
180 |
+
|
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 |
+
|
204 |
+
<?php endif; ?>
|
205 |
+
</td>
|
206 |
+
<td class="a-right">
|
207 |
+
<?php if (!$_item->getParentItem()): ?>
|
208 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
209 |
+
<span class="price-excl-tax">
|
210 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
211 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
212 |
+
<span 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 |
+
</span>
|
217 |
+
<?php endif; ?>
|
218 |
+
<?php endif; ?>
|
219 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
221 |
+
<?php else: ?>
|
222 |
+
<span 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 |
+
</span>
|
232 |
+
|
233 |
+
|
234 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
235 |
+
|
236 |
+
<span 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 |
+
</span>
|
255 |
+
|
256 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
257 |
+
<span 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 |
+
</span>
|
260 |
+
<?php endif; ?>
|
261 |
+
<?php endif; ?>
|
262 |
+
</span>
|
263 |
+
<br />
|
264 |
+
<?php endif; ?>
|
265 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
266 |
+
<span class="price-incl-tax">
|
267 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
268 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
269 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
279 |
+
<?php else: ?>
|
280 |
+
<span 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 |
+
</span>
|
289 |
+
|
290 |
+
|
291 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
292 |
+
|
293 |
+
<span 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 |
+
</span>
|
312 |
+
|
313 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
314 |
+
<span 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 |
+
</span>
|
317 |
+
<?php endif; ?>
|
318 |
+
<?php endif; ?>
|
319 |
+
|
320 |
+
|
321 |
+
|
322 |
+
</span>
|
323 |
+
<?php endif; ?>
|
324 |
+
<?php else: ?>
|
325 |
+
|
326 |
+
<?php endif; ?>
|
327 |
+
</td>
|
328 |
+
<!--
|
329 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
330 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
|
331 |
+
<?php endif; ?>
|
332 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
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 $this->htmlEscape($_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> </td>
|
371 |
+
<td> </td>
|
372 |
+
<td> </td>
|
373 |
+
<td> </td>
|
374 |
+
</tr>
|
375 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/sales/order/items/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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> </td>
|
49 |
+
<td> </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><h4 class="product-name"><?php echo $this->htmlEscape($_item->getName()) ?></h4></td>
|
57 |
+
<?php else: ?>
|
58 |
+
<td><div class="option-value"><?php echo $this->getValueHtml($_item) ?></div></td>
|
59 |
+
<?php endif; ?>
|
60 |
+
<td><?php echo $this->htmlEscape($_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 |
+
|
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 $this->htmlEscape($_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> </td>
|
109 |
+
<td> </td>
|
110 |
+
</tr>
|
111 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/bundle/sales/order/shipment/items/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
31 |
+
<?php elseif($this->getLinkUrl()): ?>
|
32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
33 |
+
<?php endif; ?>
|
34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
35 |
+
<?php if($this->getLinkUrl()): ?>
|
36 |
+
</a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
app/design/frontend/default/watchshop/template/callouts/right_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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
31 |
+
<?php elseif($this->getLinkUrl()): ?>
|
32 |
+
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
|
33 |
+
<?php endif; ?>
|
34 |
+
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
|
35 |
+
<?php if($this->getLinkUrl()): ?>
|
36 |
+
</a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
39 |
+
</div>
|
app/design/frontend/default/watchshop/template/callouts/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/category/page.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<div class="page-title">
|
32 |
+
<h1><?php echo $this->getTitle() ?></h1>
|
33 |
+
</div>
|
34 |
+
<div>
|
35 |
+
<?php echo $this->getContent() ?>
|
36 |
+
</div>
|
app/design/frontend/default/watchshop/template/catalog/category/view.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>';
|
40 |
+
$_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
|
41 |
+
}
|
42 |
+
?>
|
43 |
+
<?php echo $this->getLayout()->getBlock("breadcrumbs")->toHtml(); ?>
|
44 |
+
|
45 |
+
<!--<div class="page-title category-title">
|
46 |
+
<?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
|
47 |
+
<a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
|
48 |
+
<?php endif; ?>
|
49 |
+
<h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
|
50 |
+
</div>-->
|
51 |
+
|
52 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
53 |
+
|
54 |
+
<?php if($_imgUrl): ?>
|
55 |
+
<?php echo $_imgHtml ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
58 |
+
<?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
|
59 |
+
<div class="category-description std">
|
60 |
+
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
63 |
+
|
64 |
+
<?php if($this->isContentMode()): ?>
|
65 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
66 |
+
|
67 |
+
<?php elseif($this->isMixedMode()): ?>
|
68 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
69 |
+
<?php echo $this->getProductListHtml() ?>
|
70 |
+
|
71 |
+
<?php else: ?>
|
72 |
+
<?php echo $this->getProductListHtml() ?>
|
73 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/category/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/category/widget/link/link_block.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-category-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/catalog/category/widget/link/link_inline.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-category-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/catalog/category/widget/link/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/layer/filter.phtml
ADDED
@@ -0,0 +1,45 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php if ($_item->getCount() > 0): ?>
|
39 |
+
<a href="<?php echo $this->urlEscape($_item->getUrl()) ?>"><?php echo $_item->getLabel() ?></a>
|
40 |
+
<?php else: echo $_item->getLabel() ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
(<?php echo $_item->getCount() ?>)
|
43 |
+
</li>
|
44 |
+
<?php endforeach ?>
|
45 |
+
</ol>
|
app/design/frontend/default/watchshop/template/catalog/layer/state.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<p class="block-subtitle"><?php echo $this->__('Shopping by') ?></p>
|
37 |
+
<ol class="currently">
|
38 |
+
<?php foreach ($_filters as $_filter): ?>
|
39 |
+
<li>
|
40 |
+
<a href="<?php echo $_filter->getRemoveUrl() ?>" class="btn-remove" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
|
41 |
+
<span class="label"><?php echo $this->__($_filter->getName()) ?>:</span> <?php echo $_filter->getLabel() ?>
|
42 |
+
</li>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ol>
|
45 |
+
<div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/layer/view.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
|
35 |
+
|
36 |
+
<?php if($this->canShowBlock()): ?>
|
37 |
+
<div class="block block-layered-nav">
|
38 |
+
<div class="block-title">
|
39 |
+
<strong><span><?php echo $this->__('Shop by') ?></span></strong>
|
40 |
+
</div>
|
41 |
+
<div class="block-content">
|
42 |
+
<?php echo $this->getStateHtml() ?>
|
43 |
+
<?php if($this->canShowOptions()): ?>
|
44 |
+
<p class="block-subtitle"><?php echo $this->__('Shopping Options') ?></p>
|
45 |
+
<dl id="narrow-by-list">
|
46 |
+
<?php $_filters = $this->getFilters() ?>
|
47 |
+
<?php foreach ($_filters as $_filter): ?>
|
48 |
+
<?php if($_filter->getItemsCount()): ?>
|
49 |
+
<dt><?php echo $this->__($_filter->getName()) ?></dt>
|
50 |
+
<dd><?php echo $_filter->getHtml() ?></dd>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</dl>
|
54 |
+
<script type="text/javascript">decorateDataList('narrow-by-list')</script>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
</div>
|
58 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/layer/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/navigation/left.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<strong><span><?php echo $this->__('Browse By') ?></span></strong>
|
40 |
+
</div>
|
41 |
+
<div class="block-content">
|
42 |
+
<dl id="narrow-by-list2">
|
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 |
+
<script type="text/javascript">decorateDataList('narrow-by-list2')</script>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/navigation/left_nav.phtml
ADDED
@@ -0,0 +1,28 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<div class="menu-left-container">
|
2 |
+
<div class="menu-left-content clearfix">
|
3 |
+
<div class="menu-left-nav">
|
4 |
+
<ul class="menu-left">
|
5 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
6 |
+
<?php echo $this->drawItem($_category) ?>
|
7 |
+
<?php endforeach ?>
|
8 |
+
</ul>
|
9 |
+
<?php echo $this->getChildHtml('topLeftLinks') ?>
|
10 |
+
</div>
|
11 |
+
</div>
|
12 |
+
</div>
|
13 |
+
<!--<script type="text/javascript">
|
14 |
+
Event.observe(window, 'load', function() {
|
15 |
+
var LIs = $$('.menu-left')[0].childElements();
|
16 |
+
//alert('abc');
|
17 |
+
for(var i =0;i<LIs.length;i++){
|
18 |
+
var children = LIs[i].childElements();
|
19 |
+
if(children.length>=2){
|
20 |
+
if(LIs[i].hasClassName('active')){
|
21 |
+
children[1].show();
|
22 |
+
}else{
|
23 |
+
children[1].hide();
|
24 |
+
}
|
25 |
+
}
|
26 |
+
}
|
27 |
+
});
|
28 |
+
</script>-->
|
app/design/frontend/default/watchshop/template/catalog/navigation/top.phtml
ADDED
@@ -0,0 +1,108 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 $_menu = ''?>
|
35 |
+
<?php $count = 0; ?>
|
36 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
37 |
+
<?php $_menu .= $this->drawItem($_category) ?>
|
38 |
+
<?php $count++; ?>
|
39 |
+
<?php endforeach ?>
|
40 |
+
<?php if ($_menu): ?>
|
41 |
+
<div class="nav-container">
|
42 |
+
<ul id="nav">
|
43 |
+
<li class="level0 nav-homepage parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
44 |
+
<a href="<?php echo $this->getBaseUrl(); ?>"><span><?php echo $this->__('Home page');?></span></a>
|
45 |
+
</li>
|
46 |
+
<?php echo $_menu; ?>
|
47 |
+
<!--<li class="level0 nav-<?php echo $count+1 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
48 |
+
<a href="#" onclick="return false;">
|
49 |
+
<span><?php echo $this->__('Shop By Category') ?></span>
|
50 |
+
</a>
|
51 |
+
<ul class="menu-show level0">
|
52 |
+
<?php $i=1; ?>
|
53 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
54 |
+
|
55 |
+
<li class="level1 nav-1-<?php echo $i ?>">
|
56 |
+
<a href="<?php echo $_category->getRequestPath() ?>">
|
57 |
+
<span><?php echo $_category->getName() ?></span>
|
58 |
+
</a>
|
59 |
+
</li>
|
60 |
+
|
61 |
+
<?php if (Mage::helper('catalog/category_flat')->isEnabled()): ?>
|
62 |
+
<?php $children = $_category->getChildrenNodes(); ?>
|
63 |
+
<?php $childrenCount = count($children); ?>
|
64 |
+
<?php else: ?>
|
65 |
+
<?php $children = $_category->getChildren(); ?>
|
66 |
+
<?php $childrenCount = $children->count(); ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php $j=0; ?>
|
69 |
+
<?php foreach($children as $item): ?>
|
70 |
+
|
71 |
+
<li class="level2 nav-2-<?php echo $j ?>">
|
72 |
+
<a href="<?php echo $item->getRequestPath() ?>">
|
73 |
+
<span>
|
74 |
+
<span><?php echo $item->getName() ?></span>
|
75 |
+
</span>
|
76 |
+
</a>
|
77 |
+
</li>
|
78 |
+
|
79 |
+
<?php $j++; ?>
|
80 |
+
<?php endforeach; ?>
|
81 |
+
<?php $i++; ?>
|
82 |
+
<?php endforeach ?>
|
83 |
+
</ul>
|
84 |
+
</li>-->
|
85 |
+
|
86 |
+
<li class="level0 nav-<?php echo $count+2 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
87 |
+
<a href="#" onclick="return false;">
|
88 |
+
<span><?php echo $this->__('Shop By Brand') ?></span>
|
89 |
+
</a>
|
90 |
+
<ul class="menu-show level0">
|
91 |
+
<?php $manufacturers = Mage::getModel('manufacturer/manufacturer')->getCollection()->addFieldToFilter("store_id",array("=" => 0));; ?>
|
92 |
+
<?php foreach($manufacturers as $manufacturer): ?>
|
93 |
+
<li class="level1 nav-1-1">
|
94 |
+
<a href="<?php echo $this->getUrl($manufacturer->getUrlKey(), array()); ?>">
|
95 |
+
<span><?php echo $manufacturer->getName() ?></span>
|
96 |
+
</a>
|
97 |
+
</li>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</ul>
|
100 |
+
</li>
|
101 |
+
<li class="level0 nav-<?php echo $count+3 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
102 |
+
<a href="<?php echo $this->getUrl('all/index/specials') ?>">
|
103 |
+
<span><?php echo $this->__('Specials') ?></span>
|
104 |
+
</a>
|
105 |
+
</li>
|
106 |
+
</ul>
|
107 |
+
</div>
|
108 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/navigation/top_old.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 $_menu = ''?>
|
35 |
+
<?php $count = 0; ?>
|
36 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
37 |
+
<?php $_menu .= $this->drawItem($_category) ?>
|
38 |
+
<?php $count++; ?>
|
39 |
+
<?php endforeach ?>
|
40 |
+
<?php if ($_menu): ?>
|
41 |
+
<div class="nav-container">
|
42 |
+
<ul id="nav">
|
43 |
+
<?php echo $_menu; ?>
|
44 |
+
<li class="level0 nav-<?php echo $count+1 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
45 |
+
<a href="#" onclick="return false;">
|
46 |
+
<span><?php echo $this->__('Shop By Category') ?></span>
|
47 |
+
</a>
|
48 |
+
<ul class="level0">
|
49 |
+
<?php
|
50 |
+
$_main_categories = $this->getStoreCategories();
|
51 |
+
//$cats = count($this->getCurrentChildCategories());
|
52 |
+
$k=0;
|
53 |
+
$i=0;
|
54 |
+
foreach ($_main_categories as $cat):
|
55 |
+
$k++;
|
56 |
+
endforeach;
|
57 |
+
$cats = $k;
|
58 |
+
?>
|
59 |
+
<?php foreach ($this->getStoreCategories() as $_category): ?>
|
60 |
+
<?php
|
61 |
+
$i++;
|
62 |
+
if ($i == 1):
|
63 |
+
echo $this->drawItem($_category, 0, false, true);
|
64 |
+
elseif ($i == $cats):
|
65 |
+
echo $this->drawItem($_category, 0, true, false);
|
66 |
+
else:
|
67 |
+
echo $this->drawItem($_category);
|
68 |
+
endif;
|
69 |
+
?>
|
70 |
+
<?php endforeach ?>
|
71 |
+
</ul>
|
72 |
+
</li>
|
73 |
+
<li class="level0 nav-<?php echo $count+2 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
74 |
+
<a href="#" onclick="return false;">
|
75 |
+
<span><?php echo $this->__('Shop By Brand') ?></span>
|
76 |
+
</a>
|
77 |
+
<ul class="level0">
|
78 |
+
<?php $manufacturers = Mage::getModel('manufacturer/manufacturer')->getCollection()->addFieldToFilter("store_id",array("=" => 0));; ?>
|
79 |
+
<?php foreach($manufacturers as $manufacturer): ?>
|
80 |
+
<li class="level1 nav-1-1">
|
81 |
+
<a href="<?php echo $this->getUrl($manufacturer->getUrlKey(), array()); ?>">
|
82 |
+
<span><?php echo $manufacturer->getName() ?></span>
|
83 |
+
</a>
|
84 |
+
</li>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
</ul>
|
87 |
+
</li>
|
88 |
+
<li class="level0 nav-<?php echo $count+3 ?> parent" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)">
|
89 |
+
<a href="<?php echo $this->getUrl('all/index/specials') ?>">
|
90 |
+
<span><?php echo $this->__('Specials') ?></span>
|
91 |
+
</a>
|
92 |
+
</li>
|
93 |
+
</ul>
|
94 |
+
</div>
|
95 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/navigation/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/compare/list.phtml
ADDED
@@ -0,0 +1,139 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_List */
|
27 |
+
?>
|
28 |
+
<div class="page-title title-buttons">
|
29 |
+
<h1><?php echo $this->__('Compare Products') ?></h1>
|
30 |
+
<a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
|
31 |
+
</div>
|
32 |
+
<?php $_total=$this->getItems()->getSize() ?>
|
33 |
+
<?php if($_total): ?>
|
34 |
+
<table class="data-table compare-table" id="product_comparison">
|
35 |
+
<?php $_i=0 ?>
|
36 |
+
<?php foreach($this->getItems() as $_item): ?>
|
37 |
+
<?php if($_i++%10==0): ?>
|
38 |
+
<col width="1" />
|
39 |
+
<?php endif; ?>
|
40 |
+
<col width="<?php echo floor(100/$_total); ?>%" />
|
41 |
+
<?php endforeach; ?>
|
42 |
+
<?php if ($_total>2): ?>
|
43 |
+
<thead>
|
44 |
+
<tr>
|
45 |
+
<?php $_i=0 ?>
|
46 |
+
<?php foreach($this->getItems() as $_item): ?>
|
47 |
+
<?php if($_i++%10==0): ?>
|
48 |
+
<th> </th>
|
49 |
+
<?php endif; ?>
|
50 |
+
<td class="a-right"><a href="#" class="btn-remove" onclick="setLocation('<?php echo $this->getRemoveUrl($_item) ?>'); window.opener.location.reload();" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</tr>
|
53 |
+
</thead>
|
54 |
+
<?php endif ?>
|
55 |
+
<tbody>
|
56 |
+
<tr class="product-shop-row">
|
57 |
+
<?php $_i=0 ?>
|
58 |
+
<?php foreach($this->getItems() as $_item): ?>
|
59 |
+
<?php if($_i++%10==0): ?>
|
60 |
+
<th> </th>
|
61 |
+
<?php endif; ?>
|
62 |
+
<td>
|
63 |
+
<a class="product-image" href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->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()) ?>" /></a>
|
64 |
+
<h2 class="product-name"><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h2>
|
65 |
+
<?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
|
66 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
|
67 |
+
<?php if($_item->isSaleable()): ?>
|
68 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
69 |
+
<?php else: ?>
|
70 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
71 |
+
<?php endif; ?>
|
72 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
73 |
+
<ul class="add-to-links">
|
74 |
+
<li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
75 |
+
</ul>
|
76 |
+
<?php endif; ?>
|
77 |
+
</td>
|
78 |
+
<?php endforeach; ?>
|
79 |
+
</tr>
|
80 |
+
</tbody>
|
81 |
+
<tbody>
|
82 |
+
<?php foreach ($this->getAttributes() as $_attribute): ?>
|
83 |
+
<tr>
|
84 |
+
<?php $_i=0 ?>
|
85 |
+
<?php foreach($this->getItems() as $_item): ?>
|
86 |
+
<?php if($_i++%10==0): ?>
|
87 |
+
<th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
|
88 |
+
<?php endif; ?>
|
89 |
+
<td>
|
90 |
+
<?php switch ($_attribute->getAttributeCode()) {
|
91 |
+
case "price": ?>
|
92 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
|
93 |
+
<?php break;
|
94 |
+
case "small_image": ?>
|
95 |
+
<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()) ?>" />
|
96 |
+
<?php break;
|
97 |
+
case "date":
|
98 |
+
echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
|
99 |
+
break;
|
100 |
+
default: ?>
|
101 |
+
<?php echo nl2br($this->getProductAttributeValue($_item, $_attribute)) ?>
|
102 |
+
<?php break;
|
103 |
+
} ?>
|
104 |
+
</td>
|
105 |
+
<?php endforeach; ?>
|
106 |
+
</tr>
|
107 |
+
<?php endforeach; ?>
|
108 |
+
</tbody>
|
109 |
+
<tbody>
|
110 |
+
<tr class="add-to-row">
|
111 |
+
<?php $_i=0 ?>
|
112 |
+
<?php foreach($this->getItems() as $_item): ?>
|
113 |
+
<?php if($_i++%10==0): ?>
|
114 |
+
<th> </th>
|
115 |
+
<?php endif; ?>
|
116 |
+
<td>
|
117 |
+
<?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
|
118 |
+
<?php if($_item->isSaleable()): ?>
|
119 |
+
<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
120 |
+
<?php else: ?>
|
121 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
124 |
+
<ul class="add-to-links">
|
125 |
+
<li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
126 |
+
</ul>
|
127 |
+
<?php endif; ?>
|
128 |
+
</td>
|
129 |
+
<?php endforeach; ?>
|
130 |
+
</tr>
|
131 |
+
</tbody>
|
132 |
+
</table>
|
133 |
+
<div class="buttons-set">
|
134 |
+
<button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
|
135 |
+
</div>
|
136 |
+
<script type="text/javascript">decorateTable('product_comparison');</script>
|
137 |
+
<?php else: ?>
|
138 |
+
<script type="text/javascript">window.close();</script>
|
139 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/compare/sidebar.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
27 |
+
?>
|
28 |
+
<div class="block block-compare">
|
29 |
+
<div class="block-title">
|
30 |
+
<strong><span><?php echo $this->__('Compare Products') ?>
|
31 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
32 |
+
<small><?php echo $this->__('(%d)', $this->helper('catalog/product_compare')->getItemCount()) ?></small>
|
33 |
+
<?php endif; ?>
|
34 |
+
</span></strong>
|
35 |
+
</div>
|
36 |
+
<div class="block-content">
|
37 |
+
<?php if($this->helper('catalog/product_compare')->getItemCount()>0): ?>
|
38 |
+
<ol id="compare-items">
|
39 |
+
<?php foreach($this->helper('catalog/product_compare')->getItemCollection() as $_index=>$_item): ?>
|
40 |
+
<li class="item">
|
41 |
+
<input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
|
42 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
|
43 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
|
44 |
+
</li>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</ol>
|
47 |
+
<script type="text/javascript">decorateList('compare-items')</script>
|
48 |
+
<div class="actions">
|
49 |
+
<a href="<?php echo $this->helper('catalog/product_compare')->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
|
50 |
+
<button type="button" title="<?php echo $this->__('Compare') ?>" class="button" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
|
51 |
+
</div>
|
52 |
+
<?php else: ?>
|
53 |
+
<p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
|
54 |
+
<?php endif; ?>
|
55 |
+
</div>
|
56 |
+
</div>
|
app/design/frontend/default/watchshop/template/catalog/product/compare/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 ?>">« <?php echo $this->__('Prev') ?></a>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
36 |
+
<a href="<?php echo $_nextUrl ?>"><?php echo $this->__('Next') ?> »</a>
|
37 |
+
<?php endif; ?>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
40 |
+
<?php if($_imageTitle = $this->htmlEscape($this->getCurrentImage()->getLabel())): ?>
|
41 |
+
<h1 class="image-label"><?php echo $_imageTitle ?></h1>
|
42 |
+
<?php endif; ?>
|
43 |
+
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>"<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> 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 ?>">« <?php echo $this->__('Prev') ?></a>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php if($_nextUrl = $this->getNextImageUrl()): ?>
|
50 |
+
<a href="<?php echo $_nextUrl ?>"><?php echo $this->__('Next') ?> »</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/watchshop/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,134 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
</script>
|
35 |
+
<?php $_productCollection=$this->getLoadedProductCollection() ?>
|
36 |
+
<?php if(!$_productCollection->count()): ?>
|
37 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
38 |
+
<?php else: ?>
|
39 |
+
<div class="category-products">
|
40 |
+
<div id="top-toolbar">
|
41 |
+
<?php echo $this->getToolbarHtml() ?>
|
42 |
+
</div>
|
43 |
+
<?php // List mode ?>
|
44 |
+
<?php if($this->getMode()!='grid'): ?>
|
45 |
+
<?php $_iterator = 0; ?>
|
46 |
+
<ol class="products-list" id="products-list">
|
47 |
+
<?php foreach ($_productCollection as $_product): ?>
|
48 |
+
<li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
49 |
+
<?php // Product Image ?>
|
50 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(160); ?>" width="160" height="160" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
|
51 |
+
<?php // Product description ?>
|
52 |
+
<div class="product-shop">
|
53 |
+
<div class="f-fix">
|
54 |
+
|
55 |
+
<?php if($_product->getRatingSummary()): ?>
|
56 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
57 |
+
<?php endif; ?>
|
58 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
59 |
+
<div class="clear"></div>
|
60 |
+
|
61 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName())?></a></h2>
|
62 |
+
|
63 |
+
<?php if($_product->isSaleable()): ?>
|
64 |
+
<!--<p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>-->
|
65 |
+
<?php else: ?>
|
66 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
67 |
+
<?php endif; ?>
|
68 |
+
<div class="desc std">
|
69 |
+
<?php echo nl2br($this->htmlEscape($_product->getShortDescription())) ?>
|
70 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="link-more"><?php echo $this->__('Learn More') ?></a>
|
71 |
+
</div>
|
72 |
+
<!--<ul class="add-to-links">
|
73 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
74 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
77 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
78 |
+
<?php endif; ?>
|
79 |
+
</ul>-->
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
</li>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</ol>
|
85 |
+
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
|
86 |
+
|
87 |
+
<?php else: ?>
|
88 |
+
|
89 |
+
<?php // Grid Mode ?>
|
90 |
+
|
91 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
92 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
93 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
94 |
+
<?php if ($i++%$_columnCount==0): ?>
|
95 |
+
<ul class="products-grid">
|
96 |
+
<?php endif ?>
|
97 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
98 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(160); ?>" width="160" height="160" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
|
99 |
+
|
100 |
+
<?php if($_product->getRatingSummary()): ?>
|
101 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
104 |
+
|
105 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
|
106 |
+
|
107 |
+
<!--<div class="actions">
|
108 |
+
<?php if($_product->isSaleable()): ?>
|
109 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
110 |
+
<?php else: ?>
|
111 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
112 |
+
<?php endif; ?>
|
113 |
+
<ul class="add-to-links">
|
114 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
115 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
116 |
+
<?php endif; ?>
|
117 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
118 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
119 |
+
<?php endif; ?>
|
120 |
+
</ul>
|
121 |
+
</div>-->
|
122 |
+
</li>
|
123 |
+
<?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
124 |
+
</ul>
|
125 |
+
<?php endif ?>
|
126 |
+
<?php endforeach ?>
|
127 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<div class="toolbar-bottom" id="bottom-toolbar">
|
131 |
+
<?php echo $this->getToolbarHtml() ?>
|
132 |
+
</div>
|
133 |
+
</div>
|
134 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/list/related.phtml
ADDED
@@ -0,0 +1,94 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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><span><?php echo $this->__('Related Products') ?></span></strong>
|
31 |
+
</div>
|
32 |
+
<div class="block-content">
|
33 |
+
<p class="block-subtitle"><?php echo $this->__('Check items to add to the cart or') ?> <a href="#" onclick="selectAllRelated(this); return false;"><?php echo $this->__('select all') ?></a></p>
|
34 |
+
<ol class="mini-products-list" id="block-related">
|
35 |
+
<?php foreach($this->getItems() as $_item): ?>
|
36 |
+
<li class="item">
|
37 |
+
<?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
|
38 |
+
<?php if (!$_item->getRequiredOptions()): ?>
|
39 |
+
<input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
<div class="product">
|
43 |
+
<a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>" 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()) ?>" /></a>
|
44 |
+
<div class="product-details">
|
45 |
+
<p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></p>
|
46 |
+
<?php echo $this->getPriceHtml($_item, true, '-related') ?>
|
47 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
48 |
+
<a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
|
49 |
+
<?php endif; ?>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</li>
|
53 |
+
<?php endforeach ?>
|
54 |
+
</ol>
|
55 |
+
<script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
|
56 |
+
</div>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
$$('.related-checkbox').each(function(elem){
|
60 |
+
Event.observe(elem, 'click', addRelatedToProduct)
|
61 |
+
});
|
62 |
+
|
63 |
+
var relatedProductsCheckFlag = false;
|
64 |
+
function selectAllRelated(txt){
|
65 |
+
if (relatedProductsCheckFlag == false) {
|
66 |
+
$$('.related-checkbox').each(function(elem){
|
67 |
+
elem.checked = true;
|
68 |
+
});
|
69 |
+
relatedProductsCheckFlag = true;
|
70 |
+
txt.innerHTML="<?php echo $this->__('unselect all') ?>";
|
71 |
+
} else {
|
72 |
+
$$('.related-checkbox').each(function(elem){
|
73 |
+
elem.checked = false;
|
74 |
+
});
|
75 |
+
relatedProductsCheckFlag = false;
|
76 |
+
txt.innerHTML="<?php echo $this->__('select all') ?>";
|
77 |
+
}
|
78 |
+
addRelatedToProduct();
|
79 |
+
}
|
80 |
+
|
81 |
+
function addRelatedToProduct(){
|
82 |
+
var checkboxes = $$('.related-checkbox');
|
83 |
+
var values = [];
|
84 |
+
for(var i=0;i<checkboxes.length;i++){
|
85 |
+
if(checkboxes[i].checked) values.push(checkboxes[i].value);
|
86 |
+
}
|
87 |
+
if($('related-products-field')){
|
88 |
+
$('related-products-field').value = values.join(',');
|
89 |
+
}
|
90 |
+
}
|
91 |
+
//]]>
|
92 |
+
</script>
|
93 |
+
</div>
|
94 |
+
<?php endif ?>
|
app/design/frontend/default/watchshop/template/catalog/product/list/toolbar.phtml
ADDED
@@ -0,0 +1,134 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
|
35 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery.jNice.js'); ?>"></script>
|
36 |
+
<script type="text/javascript">
|
37 |
+
<!--
|
38 |
+
$(function(){
|
39 |
+
var $a = $('<a>Add Option</a>');
|
40 |
+
$('body').append($a);
|
41 |
+
$a.click(function(){
|
42 |
+
var element = $('#select2')[0];
|
43 |
+
var myNewOption = new Option("My Option", "123", true);
|
44 |
+
element.options[element.options.length] = myNewOption;
|
45 |
+
$.jNice.SelectUpdate(element);
|
46 |
+
});
|
47 |
+
});
|
48 |
+
|
49 |
+
-->
|
50 |
+
</script>
|
51 |
+
<?php if($this->getCollection()->getSize()): ?>
|
52 |
+
<div class="toolbar">
|
53 |
+
<div class="pager">
|
54 |
+
<p class="amount">
|
55 |
+
<?php if($this->getLastPageNum()>1): ?>
|
56 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
57 |
+
<?php else: ?>
|
58 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
59 |
+
<?php endif; ?>
|
60 |
+
</p>
|
61 |
+
|
62 |
+
<div class="limiter">
|
63 |
+
<form class="jNice" action="">
|
64 |
+
<table border="0" cellpadding="4" cellspacing="0">
|
65 |
+
<tr>
|
66 |
+
<td align="left"><label><?php echo $this->__('Show') ?></label></td>
|
67 |
+
<td>
|
68 |
+
<select onchange="setLocation(this.value)" >
|
69 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
70 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
71 |
+
<?php echo $_limit ?>
|
72 |
+
</option>
|
73 |
+
<?php endforeach; ?>
|
74 |
+
</select>
|
75 |
+
</td>
|
76 |
+
<td> </td>
|
77 |
+
<td>
|
78 |
+
<?php echo $this->__('per page') ?>
|
79 |
+
</td>
|
80 |
+
</tr>
|
81 |
+
</table>
|
82 |
+
</form>
|
83 |
+
</div>
|
84 |
+
<?php echo $this->getPagerHtml() ?>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
<?php if( $this->isExpanded() ): ?>
|
88 |
+
<div class="sorter">
|
89 |
+
<?php if( $this->isEnabledViewSwitcher() ): ?>
|
90 |
+
<p class="view-mode">
|
91 |
+
<?php $_modes = $this->getModes(); ?>
|
92 |
+
<?php if($_modes && count($_modes)>1): ?>
|
93 |
+
<label><?php echo $this->__('View as') ?>:</label>
|
94 |
+
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
95 |
+
<?php if($this->isModeActive($_code)): ?>
|
96 |
+
<strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>
|
97 |
+
<?php else: ?>
|
98 |
+
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
|
99 |
+
<?php endif; ?>
|
100 |
+
<?php endforeach; ?>
|
101 |
+
<?php endif; ?>
|
102 |
+
</p>
|
103 |
+
<?php endif; ?>
|
104 |
+
|
105 |
+
<div class="sort-by">
|
106 |
+
<form class="jNice" action="">
|
107 |
+
<table border="0" cellpadding="3" cellspacing="0">
|
108 |
+
<tr>
|
109 |
+
<td align="left"><label><?php echo $this->__('Sort by') ?></label></td>
|
110 |
+
<td>
|
111 |
+
<select onchange="setLocation(this.value)">
|
112 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
113 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
114 |
+
<?php echo $_order ?>
|
115 |
+
</option>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</select>
|
118 |
+
</td>
|
119 |
+
<td> </td>
|
120 |
+
<td>
|
121 |
+
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
122 |
+
<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>
|
123 |
+
<?php else: ?>
|
124 |
+
<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>
|
125 |
+
<?php endif; ?>
|
126 |
+
</td>
|
127 |
+
</tr>
|
128 |
+
</table>
|
129 |
+
</form>
|
130 |
+
</div>
|
131 |
+
</div>
|
132 |
+
<?php endif; ?>
|
133 |
+
</div>
|
134 |
+
<?php endif ?>
|
app/design/frontend/default/watchshop/template/catalog/product/list/toolbar_.phtml
ADDED
@@ -0,0 +1,139 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<script type="text/javascript">var imagesPath = "<?php echo $this->getSkinUrl('images/'); ?>";</script>
|
35 |
+
<?php if($this->getCollection()->getSize()): ?>
|
36 |
+
<div class="toolbar">
|
37 |
+
<div class="pager">
|
38 |
+
<p class="amount">
|
39 |
+
<?php if($this->getLastPageNum()>1): ?>
|
40 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
41 |
+
<?php else: ?>
|
42 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
43 |
+
<?php endif; ?>
|
44 |
+
</p>
|
45 |
+
|
46 |
+
<div class="limiter">
|
47 |
+
<!--<div class="limiter-dropdown">
|
48 |
+
<dl>
|
49 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
50 |
+
<?php if($this->isLimitCurrent($_key)): ?>
|
51 |
+
<dt class="default-item" id="down" onclick="sortbyShow('limiter-show');"><?php echo $this->__('Show') ?> <?php echo $_limit ?> <?php echo $this->__('per page') ?></dt>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
<dd id="limiter-show" style="display:none;">
|
55 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
56 |
+
<?php if(!$this->isLimitCurrent($_key)): ?>
|
57 |
+
<a href="<?php echo $this->getLimitUrl($_key) ?>"><?php echo $this->__('Show') ?> <?php echo $_limit ?> <?php echo $this->__('per page') ?></a>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
</dd>
|
61 |
+
</dl>
|
62 |
+
</div>-->
|
63 |
+
<form class="niceform" >
|
64 |
+
<fieldset>
|
65 |
+
<dl>
|
66 |
+
<dd>
|
67 |
+
<label><?php echo $this->__('Show') ?></label>
|
68 |
+
<select onchange="setLocation(this.value)" size="1" class="toolbar-limiter" id="limiter">
|
69 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
70 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
71 |
+
<?php echo $_limit ?>
|
72 |
+
</option>
|
73 |
+
<?php endforeach; ?>
|
74 |
+
</select><?php echo $this->__('per page') ?>
|
75 |
+
</dd>
|
76 |
+
</dl>
|
77 |
+
</fieldset>
|
78 |
+
</form>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<?php echo $this->getPagerHtml() ?>
|
82 |
+
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<?php if( $this->isExpanded() ): ?>
|
86 |
+
<div class="sorter">
|
87 |
+
<?php if( $this->isEnabledViewSwitcher() ): ?>
|
88 |
+
<p class="view-mode">
|
89 |
+
<?php $_modes = $this->getModes(); ?>
|
90 |
+
<?php if($_modes && count($_modes)>1): ?>
|
91 |
+
<label><?php echo $this->__('View as') ?>:</label>
|
92 |
+
<?php foreach ($this->getModes() as $_code=>$_label): ?>
|
93 |
+
<?php if($this->isModeActive($_code)): ?>
|
94 |
+
<strong title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></strong>
|
95 |
+
<?php else: ?>
|
96 |
+
<a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>"><?php echo $_label ?></a>
|
97 |
+
<?php endif; ?>
|
98 |
+
<?php endforeach; ?>
|
99 |
+
<?php endif; ?>
|
100 |
+
</p>
|
101 |
+
<?php endif; ?>
|
102 |
+
|
103 |
+
<div class="sort-by">
|
104 |
+
<form class="niceform" >
|
105 |
+
<fieldset>
|
106 |
+
<dl>
|
107 |
+
<dd>
|
108 |
+
<label><?php echo $this->__('Sort by') ?></label>
|
109 |
+
<select onchange="setLocation(this.value)" size="1" class="toolbar-sortby" id="sortby">
|
110 |
+
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
111 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
112 |
+
<?php echo $_order ?>
|
113 |
+
</option>
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</select>
|
116 |
+
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
117 |
+
<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.png') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
|
118 |
+
<?php else: ?>
|
119 |
+
<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.png') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
|
120 |
+
<?php endif; ?>
|
121 |
+
</dd>
|
122 |
+
</dl>
|
123 |
+
</fieldset>
|
124 |
+
</form>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
<?php endif; ?>
|
128 |
+
</div>
|
129 |
+
<?php endif ?>
|
130 |
+
<script type="text/javascript">
|
131 |
+
function sortbyShow(id){
|
132 |
+
var dropdown = $(id);
|
133 |
+
if(dropdown.style.display == 'block'){
|
134 |
+
dropdown.style.display = 'none';
|
135 |
+
}else{
|
136 |
+
dropdown.style.display = 'block';
|
137 |
+
}
|
138 |
+
}
|
139 |
+
</script>
|
app/design/frontend/default/watchshop/template/catalog/product/list/upsell.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="box-collateral box-up-sell">
|
29 |
+
<h2><?php echo $this->__('You may also be interested in the following product(s)') ?></h2>
|
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 |
+
<a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" class="product-image"><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()) ?>" /></a>
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h3>
|
40 |
+
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_link) ?>
|
42 |
+
</td>
|
43 |
+
<?php else: ?>
|
44 |
+
<td class="empty"> </td>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php endfor; ?>
|
47 |
+
</tr>
|
48 |
+
<?php endfor; ?>
|
49 |
+
</table>
|
50 |
+
<script type="text/javascript">decorateTable('upsell-product-table')</script>
|
51 |
+
</div>
|
52 |
+
<?php endif ?>
|
app/design/frontend/default/watchshop/template/catalog/product/list/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/new.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
|
29 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
30 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
31 |
+
<?php if ($i++%$_columnCount==0): ?>
|
32 |
+
<ul class="products-grid">
|
33 |
+
<?php endif ?>
|
34 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
35 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135) ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
36 |
+
<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>
|
37 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
38 |
+
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
39 |
+
<div class="actions">
|
40 |
+
<?php if($_product->isSaleable()): ?>
|
41 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
42 |
+
<?php else: ?>
|
43 |
+
<p class="availability out-of-stock"><span><?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) ?>" class="link-wishlist"><?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 ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
</ul>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
56 |
+
</ul>
|
57 |
+
<?php endif ?>
|
58 |
+
<?php endforeach; ?>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,420 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_id = $_product->getId();
|
45 |
+
$_weeeSeparator = '';
|
46 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
47 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
48 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
49 |
+
?>
|
50 |
+
|
51 |
+
<?php if (!$_product->isGrouped()): ?>
|
52 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
53 |
+
<?php if ($_weeeHelper->typeOfDisplay($_product, array(1,2,4))): ?>
|
54 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
|
55 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
|
58 |
+
<div class="price-box">
|
59 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
|
60 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
|
61 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
|
62 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
63 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
64 |
+
<?php if ($_finalPrice == $_price): ?>
|
65 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
66 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
67 |
+
<span class="price-excluding-tax">
|
68 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
69 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
70 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
71 |
+
</span>
|
72 |
+
</span>
|
73 |
+
<span class="price-including-tax">
|
74 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
75 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
76 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
77 |
+
</span>
|
78 |
+
</span>
|
79 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
80 |
+
<span class="price-excluding-tax">
|
81 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
82 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
83 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
84 |
+
</span>
|
85 |
+
</span>
|
86 |
+
<span class="price-including-tax">
|
87 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
88 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
89 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
90 |
+
</span>
|
91 |
+
<span class="weee">(<small>
|
92 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
93 |
+
<?php echo $_weeeSeparator; ?>
|
94 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
95 |
+
<?php $_weeeSeparator = ' + '; ?>
|
96 |
+
<?php endforeach; ?>
|
97 |
+
</small>)</span>
|
98 |
+
</span>
|
99 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
100 |
+
<span class="price-excluding-tax">
|
101 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
102 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
103 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,false) ?>
|
104 |
+
</span>
|
105 |
+
</span>
|
106 |
+
<span class="price-including-tax">
|
107 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
108 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
109 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
110 |
+
</span>
|
111 |
+
<span class="weee">(<small>
|
112 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
113 |
+
<?php echo $_weeeSeparator; ?>
|
114 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
115 |
+
<?php $_weeeSeparator = ' + '; ?>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</small>)</span>
|
118 |
+
</span>
|
119 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
120 |
+
<span class="price-excluding-tax">
|
121 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
122 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
123 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
124 |
+
</span>
|
125 |
+
</span>
|
126 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
127 |
+
<span class="weee">
|
128 |
+
<small>
|
129 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
130 |
+
</small>
|
131 |
+
</span>
|
132 |
+
<?php endforeach; ?>
|
133 |
+
<span class="price-including-tax">
|
134 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
135 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
136 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
137 |
+
</span>
|
138 |
+
</span>
|
139 |
+
<?php else: ?>
|
140 |
+
<span class="price-excluding-tax">
|
141 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
142 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
143 |
+
<?php echo $_coreHelper->currency($_price,true,false) ?>
|
144 |
+
</span>
|
145 |
+
</span>
|
146 |
+
<span class="price-including-tax">
|
147 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
148 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
149 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
150 |
+
</span>
|
151 |
+
</span>
|
152 |
+
<?php endif; ?>
|
153 |
+
<?php else: ?>
|
154 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
155 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
156 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
157 |
+
</span>
|
158 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
159 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
160 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
161 |
+
</span>
|
162 |
+
<span class="weee">(<small>
|
163 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
164 |
+
<?php echo $_weeeSeparator; ?>
|
165 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
166 |
+
<?php $_weeeSeparator = ' + '; ?>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
</small>)</span>
|
169 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
170 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
171 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
172 |
+
</span>
|
173 |
+
<span class="weee">(<small>
|
174 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
175 |
+
<?php echo $_weeeSeparator; ?>
|
176 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
177 |
+
<?php $_weeeSeparator = ' + '; ?>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
</small>)</span>
|
180 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
181 |
+
<span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
|
182 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
183 |
+
<span class="weee">
|
184 |
+
<small>
|
185 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
186 |
+
</small>
|
187 |
+
</span>
|
188 |
+
<?php endforeach; ?>
|
189 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
190 |
+
<?php echo $_coreHelper->currency($_price+$_weeeTaxAmount,true,true) ?>
|
191 |
+
</span>
|
192 |
+
<?php else: ?>
|
193 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
194 |
+
<?php echo $_coreHelper->currency($_price,true,true) ?>
|
195 |
+
</span>
|
196 |
+
<?php endif; ?>
|
197 |
+
<?php endif; ?>
|
198 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
199 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
200 |
+
|
201 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
202 |
+
<p class="old-price">
|
203 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
204 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
205 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
206 |
+
</span>
|
207 |
+
</p>
|
208 |
+
|
209 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
210 |
+
<p class="special-price">
|
211 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
212 |
+
<span class="price-excluding-tax">
|
213 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
214 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
215 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
216 |
+
</span>
|
217 |
+
</span>
|
218 |
+
<span class="price-including-tax">
|
219 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
220 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
221 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
222 |
+
</span>
|
223 |
+
</span>
|
224 |
+
</p>
|
225 |
+
<?php else: ?>
|
226 |
+
<p class="special-price">
|
227 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
228 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
229 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
230 |
+
</span>
|
231 |
+
</p>
|
232 |
+
<?php endif; ?>
|
233 |
+
|
234 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
235 |
+
<p class="old-price">
|
236 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
237 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
238 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
239 |
+
</span>
|
240 |
+
</p>
|
241 |
+
|
242 |
+
<p class="special-price">
|
243 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
244 |
+
<span class="price-excluding-tax">
|
245 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
246 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
247 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
248 |
+
</span>
|
249 |
+
</span>
|
250 |
+
<span class="weee">(<small>
|
251 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
252 |
+
<?php echo $_weeeSeparator; ?>
|
253 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
254 |
+
<?php $_weeeSeparator = ' + '; ?>
|
255 |
+
<?php endforeach; ?>
|
256 |
+
</small>)</span>
|
257 |
+
<span class="price-including-tax">
|
258 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
259 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
260 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
261 |
+
</span>
|
262 |
+
</span>
|
263 |
+
</p>
|
264 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
265 |
+
<p class="old-price">
|
266 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
267 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
268 |
+
<?php echo $_coreHelper->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?>
|
269 |
+
</span>
|
270 |
+
</p>
|
271 |
+
|
272 |
+
<p class="special-price">
|
273 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
274 |
+
<span class="price-excluding-tax">
|
275 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
276 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
277 |
+
<?php echo $_coreHelper->currency($_finalPrice+$_weeeTaxAmount,true,false) ?>
|
278 |
+
</span>
|
279 |
+
</span>
|
280 |
+
<span class="weee">(<small>
|
281 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
282 |
+
<?php echo $_weeeSeparator; ?>
|
283 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
284 |
+
<?php $_weeeSeparator = ' + '; ?>
|
285 |
+
<?php endforeach; ?>
|
286 |
+
</small>)</span>
|
287 |
+
<span class="price-including-tax">
|
288 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
289 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
290 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
291 |
+
</span>
|
292 |
+
</span>
|
293 |
+
</p>
|
294 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
295 |
+
<p class="old-price">
|
296 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
297 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
298 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
299 |
+
</span>
|
300 |
+
</p>
|
301 |
+
|
302 |
+
<p class="special-price">
|
303 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
304 |
+
<span class="price-excluding-tax">
|
305 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
306 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
307 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
308 |
+
</span>
|
309 |
+
</span>
|
310 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
311 |
+
<span class="weee">
|
312 |
+
<small>
|
313 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
314 |
+
</small>
|
315 |
+
</span>
|
316 |
+
<?php endforeach; ?>
|
317 |
+
<span class="price-including-tax">
|
318 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
319 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
320 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?>
|
321 |
+
</span>
|
322 |
+
</span>
|
323 |
+
</p>
|
324 |
+
<?php else: // excl. ?>
|
325 |
+
<p class="old-price">
|
326 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
327 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
328 |
+
<?php echo $_coreHelper->currency($_regularPrice,true,false) ?>
|
329 |
+
</span>
|
330 |
+
</p>
|
331 |
+
|
332 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
333 |
+
<p class="special-price">
|
334 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
335 |
+
<span class="price-excluding-tax">
|
336 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
337 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
338 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
339 |
+
</span>
|
340 |
+
</span>
|
341 |
+
<span class="price-including-tax">
|
342 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
343 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
344 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax,true,false) ?>
|
345 |
+
</span>
|
346 |
+
</span>
|
347 |
+
</p>
|
348 |
+
<?php else: ?>
|
349 |
+
<p class="special-price">
|
350 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
351 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
352 |
+
<?php echo $_coreHelper->currency($_finalPrice,true,false) ?>
|
353 |
+
</span>
|
354 |
+
</p>
|
355 |
+
<?php endif; ?>
|
356 |
+
<?php endif; ?>
|
357 |
+
|
358 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
359 |
+
|
360 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
361 |
+
|
362 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
363 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
364 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
|
365 |
+
<?php endif; ?>
|
366 |
+
|
367 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
368 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
369 |
+
<?php else:?>
|
370 |
+
<span class="minimal-price-link">
|
371 |
+
<?php endif?>
|
372 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
373 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
374 |
+
<?php echo $_coreHelper->currency($_minimalPriceDisplayValue,true,false) ?>
|
375 |
+
</span>
|
376 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
377 |
+
</a>
|
378 |
+
<?php else:?>
|
379 |
+
</span>
|
380 |
+
<?php endif?>
|
381 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
382 |
+
</div>
|
383 |
+
|
384 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
385 |
+
<?php
|
386 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = null);
|
387 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, $includingTax = true);
|
388 |
+
?>
|
389 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
|
390 |
+
<div class="price-box">
|
391 |
+
<p class="minimal-price">
|
392 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
393 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
394 |
+
<span class="price-excluding-tax">
|
395 |
+
<span class="label"><?php echo $_taxHelper->__('Excl. Tax:') ?></span>
|
396 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
397 |
+
<?php echo $_coreHelper->currency($_exclTax, true, false) ?>
|
398 |
+
</span>
|
399 |
+
</span>
|
400 |
+
<span class="price-including-tax">
|
401 |
+
<span class="label"><?php echo $_taxHelper->__('Incl. Tax:') ?></span>
|
402 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
403 |
+
<?php echo $_coreHelper->currency($_inclTax, true, false) ?>
|
404 |
+
</span>
|
405 |
+
</span>
|
406 |
+
<?php else: ?>
|
407 |
+
<?php
|
408 |
+
$_showPrice = $_inclTax;
|
409 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
410 |
+
$_showPrice = $_exclTax;
|
411 |
+
}
|
412 |
+
?>
|
413 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
414 |
+
<?php echo $_coreHelper->currency($_showPrice, true, false) ?>
|
415 |
+
</span>
|
416 |
+
<?php endif; ?>
|
417 |
+
</p>
|
418 |
+
</div>
|
419 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
420 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,178 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php
|
39 |
+
$manufacturerId = Mage::getModel('catalog/product')->load($_product->getId())->getManufacturer();
|
40 |
+
$manufacturers = Mage::getModel("manufacturer/manufacturer")->getCollection()
|
41 |
+
->addFieldToFilter('store_id',Mage::app()->getStore()->getId())
|
42 |
+
->addFieldToFilter('option_id',$manufacturerId);
|
43 |
+
$manuId = '';
|
44 |
+
foreach($manufacturers as $manufacturer){
|
45 |
+
$manuId = $manufacturer->getId();
|
46 |
+
}
|
47 |
+
$manufacturerProduct = Mage::getModel('manufacturer/manufacturer')->load($manuId);
|
48 |
+
?>
|
49 |
+
|
50 |
+
|
51 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/tabs.js') ?>"></script>
|
52 |
+
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c0703574dcdb59d"></script>
|
53 |
+
<script type="text/javascript">
|
54 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
55 |
+
</script>
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
<?php echo $this->getLayout()->getBlock("breadcrumbs")->toHtml(); ?>
|
60 |
+
|
61 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
62 |
+
<div class="product-view">
|
63 |
+
<div class="product-essential">
|
64 |
+
<form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
65 |
+
<div class="no-display">
|
66 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
67 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<div class="product-shop">
|
71 |
+
<div class="product-name">
|
72 |
+
<h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
|
73 |
+
<?php if ($this->canEmailToFriend()): ?>
|
74 |
+
<p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Mail to friends') ?></a></p>
|
75 |
+
<?php endif; ?>
|
76 |
+
|
77 |
+
<!-- AddThis Button BEGIN -->
|
78 |
+
<div class="addthis_toolbox addthis_default_style">
|
79 |
+
<a href="http://www.addthis.com/bookmark.php?v=250&username=xa-4c0703574dcdb59d" class="addthis_button_compact bookmarks">Bookmarks</a>
|
80 |
+
</div>
|
81 |
+
<!-- AddThis Button END -->
|
82 |
+
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div class="product-cat">
|
86 |
+
<?php if($manufacturerProduct): ?>
|
87 |
+
<?php if($manufacturerProduct->getImage()): ?>
|
88 |
+
<a href="<?php echo $this->getUrl($manufacturerProduct->getUrlKey(), array()); ?>">
|
89 |
+
<img src="<?php echo Mage::helper('manufacturer')->getUrlImagePath($manufacturerProduct->getName()) .'/'. $manufacturerProduct->getImage() ?>" alt="<?php echo $manufacturerProduct->getName() ?>" title="<?php echo $manufacturerProduct->getName() ?>" />
|
90 |
+
</a>
|
91 |
+
<?php endif; ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
</div>
|
94 |
+
|
95 |
+
<div class="clear-border"></div>
|
96 |
+
<div class="sku"><?php echo $this->__('SKU: ').$_product->getSku() ?></div>
|
97 |
+
<?php echo $this->getReviewsSummaryHtml($_product, false, false)?>
|
98 |
+
<?php echo $this->getTierPriceHtml() ?>
|
99 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
100 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
101 |
+
|
102 |
+
<div class="clear-border"></div>
|
103 |
+
|
104 |
+
<div class="add-to-box">
|
105 |
+
<?php echo $this->getChildHtml('addtocart') ?>
|
106 |
+
</div>
|
107 |
+
|
108 |
+
|
109 |
+
<?php if ($_product->getShortDescription()):?>
|
110 |
+
<!--<div class="short-description">
|
111 |
+
<h2><?php echo $this->__('Quick Overview') ?></h2>
|
112 |
+
<div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
|
113 |
+
</div>-->
|
114 |
+
<?php endif;?>
|
115 |
+
|
116 |
+
<?php echo $this->getChildHtml('other');?>
|
117 |
+
|
118 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
119 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
120 |
+
<?php endif;?>
|
121 |
+
|
122 |
+
</div>
|
123 |
+
|
124 |
+
<div class="product-img-box">
|
125 |
+
<?php echo $this->getChildHtml('media') ?>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<div class="clearer"></div>
|
129 |
+
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
|
130 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
131 |
+
<?php endif;?>
|
132 |
+
</form>
|
133 |
+
<script type="text/javascript">
|
134 |
+
//<![CDATA[
|
135 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
136 |
+
productAddToCartForm.submit = function(){
|
137 |
+
if (this.validator.validate()) {
|
138 |
+
this.form.submit();
|
139 |
+
}
|
140 |
+
}.bind(productAddToCartForm);
|
141 |
+
//]]>
|
142 |
+
</script>
|
143 |
+
</div>
|
144 |
+
<a name="tab"></a>
|
145 |
+
<div class="main2-bottom"></div>
|
146 |
+
<div id="tab-container">
|
147 |
+
<?php if ($_description = $this->getChildHtml('description')):?>
|
148 |
+
<div class="tab-content">
|
149 |
+
<h1 class="tab" title="description"><?php echo $this->__('Product Description') ?></h1>
|
150 |
+
<?php echo $_description ?>
|
151 |
+
</div>
|
152 |
+
<?php endif;?>
|
153 |
+
<?php if ($_additional = $this->getChildHtml('additional')):?>
|
154 |
+
<div class="tab-content">
|
155 |
+
<h1 class="tab" title="addition info"><?php echo $this->__('Additional Information') ?></h1>
|
156 |
+
<?php echo $_additional ?>
|
157 |
+
</div>
|
158 |
+
<?php endif;?>
|
159 |
+
<div class="tab-content">
|
160 |
+
<h1 class="tab" title="upsell products"><?php echo $this->__('Related Products') ?></h1>
|
161 |
+
<?php echo $this->getLayout()->getBlock("catalog.product.related")->toHtml(); ?>
|
162 |
+
</div>
|
163 |
+
<div class="tab-content">
|
164 |
+
<a name="review"></a>
|
165 |
+
<h1 class="tab" title="Reviews products"><?php echo $this->__('Reviews Products') ?></h1>
|
166 |
+
<?php echo $this->getChildHtml('product_additional_data_review'); ?>
|
167 |
+
</div>
|
168 |
+
<div class="tab-content">
|
169 |
+
<h1 class="tab" title="product tags"><?php echo $this->__('Product Tags') ?></h1>
|
170 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
171 |
+
</div>
|
172 |
+
<div class="tab-footer"></div>
|
173 |
+
<script type="text/javascript">
|
174 |
+
BuildTabs('tab-container');
|
175 |
+
ActivateTab('tab-container', 0);
|
176 |
+
</script>
|
177 |
+
</div>
|
178 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/catalog/product/view/addto.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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) ?>" class="link-wishlist"><?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 ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
35 |
+
<?php endif; ?>
|
36 |
+
</ul>
|
app/design/frontend/default/watchshop/template/catalog/product/view/addtocart.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div class="add-to-cart">
|
32 |
+
<?php if(!$_product->isGrouped()): ?>
|
33 |
+
<label for="qty"><?php echo $this->__('Qty:') ?></label>
|
34 |
+
<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
35 |
+
<?php endif; ?>
|
36 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="productAddToCartForm.submit()"><span><span><?php echo $this->__('add to cart') ?></span></span></button>
|
37 |
+
</div>
|
38 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/attributes.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div class="box-collateral box-additional">
|
39 |
+
<h2><?php echo $this->__('Additional Information') ?></h2>
|
40 |
+
<table class="data-table" id="product-attribute-specs-table">
|
41 |
+
<col width="25%" />
|
42 |
+
<col />
|
43 |
+
<tbody>
|
44 |
+
<?php foreach ($_additional as $_data): ?>
|
45 |
+
<tr>
|
46 |
+
<th class="label"><?php echo $this->htmlEscape($this->__($_data['label'])) ?></th>
|
47 |
+
<td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
|
48 |
+
</tr>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</tbody>
|
51 |
+
</table>
|
52 |
+
<script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
|
53 |
+
</div>
|
54 |
+
<?php endif;?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/description.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php $_description = $this->getProduct()->getDescription(); ?>
|
34 |
+
<?php if ($_description): ?>
|
35 |
+
<div class="box-collateral box-description">
|
36 |
+
<h2><?php echo $this->__('Product Description') ?></h2>
|
37 |
+
<div class="std">
|
38 |
+
<?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), nl2br($_description), 'description') ?>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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(300).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->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 |
+
<h2><?php echo $this->__('More Views') ?></h2>
|
70 |
+
<ul>
|
71 |
+
<?php foreach ($this->getGalleryImages() as $_image): ?>
|
72 |
+
<li>
|
73 |
+
<a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'width=400,height=400,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(95); ?>" width="95" height="95" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
|
74 |
+
</li>
|
75 |
+
<?php endforeach; ?>
|
76 |
+
</ul>
|
77 |
+
</div>
|
78 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/options.phtml
ADDED
@@ -0,0 +1,180 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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.select('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 |
+
|
46 |
+
var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
|
47 |
+
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');
|
48 |
+
|
49 |
+
this.productForm.action = parseSidUrl(baseUrl, urlExt);
|
50 |
+
this.productForm.target = 'upload_target';
|
51 |
+
this.productForm.submit();
|
52 |
+
this.productForm.target = '';
|
53 |
+
this.productForm.action = this.formAction;
|
54 |
+
},
|
55 |
+
removeRequire : function(skipElementId){
|
56 |
+
for(var i=0; i<this.formElements.length; i++){
|
57 |
+
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
58 |
+
this.formElements[i].disabled='disabled';
|
59 |
+
}
|
60 |
+
}
|
61 |
+
},
|
62 |
+
addRequire : function(skipElementId){
|
63 |
+
for(var i=0; i<this.formElements.length; i++){
|
64 |
+
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
|
65 |
+
this.formElements[i].disabled='';
|
66 |
+
}
|
67 |
+
}
|
68 |
+
},
|
69 |
+
uploadCallback : function(data){
|
70 |
+
this.addRequire(data.optionId);
|
71 |
+
$('upload_target').remove();
|
72 |
+
|
73 |
+
if (data.error) {
|
74 |
+
|
75 |
+
} else {
|
76 |
+
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
|
77 |
+
$('option_'+data.optionId+'_file').value = '';
|
78 |
+
$('option_'+data.optionId+'_file').hide();
|
79 |
+
$('option_'+data.optionId+'').hide();
|
80 |
+
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'"><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" alt="Remove file" title="Remove file" \/>Remove file<\/a>';
|
81 |
+
|
82 |
+
Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
|
83 |
+
}
|
84 |
+
},
|
85 |
+
removeFile : function(optionId)
|
86 |
+
{
|
87 |
+
$('option_'+optionId+'_uploaded_file').value= '';
|
88 |
+
$('option_'+optionId+'_file').show();
|
89 |
+
$('option_'+optionId+'').show();
|
90 |
+
|
91 |
+
$('option_'+optionId+'_file_box').remove();
|
92 |
+
}
|
93 |
+
}
|
94 |
+
var optionTextCounter = {
|
95 |
+
count : function(field,cntfield,maxlimit){
|
96 |
+
if (field.value.length > maxlimit){
|
97 |
+
field.value = field.value.substring(0, maxlimit);
|
98 |
+
} else {
|
99 |
+
cntfield.innerHTML = maxlimit - field.value.length;
|
100 |
+
}
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
Product.Options = Class.create();
|
105 |
+
Product.Options.prototype = {
|
106 |
+
initialize : function(config){
|
107 |
+
this.config = config;
|
108 |
+
this.reloadPrice();
|
109 |
+
},
|
110 |
+
reloadPrice : function(){
|
111 |
+
price = new Number();
|
112 |
+
config = this.config;
|
113 |
+
skipIds = [];
|
114 |
+
$$('.product-custom-option').each(function(element){
|
115 |
+
var optionId = 0;
|
116 |
+
element.name.sub(/[0-9]+/, function(match){
|
117 |
+
optionId = match[0];
|
118 |
+
});
|
119 |
+
if (this.config[optionId]) {
|
120 |
+
if (element.type == 'checkbox' || element.type == 'radio') {
|
121 |
+
if (element.checked) {
|
122 |
+
if (config[optionId][element.getValue()]) {
|
123 |
+
price += parseFloat(config[optionId][element.getValue()]);
|
124 |
+
}
|
125 |
+
}
|
126 |
+
} else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
|
127 |
+
dateSelected = true;
|
128 |
+
$$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
|
129 |
+
if (dt.getValue() == '') {
|
130 |
+
dateSelected = false;
|
131 |
+
}
|
132 |
+
});
|
133 |
+
if (dateSelected) {
|
134 |
+
price += parseFloat(this.config[optionId]);
|
135 |
+
skipIds[optionId] = optionId;
|
136 |
+
}
|
137 |
+
} else if(element.type == 'select-one' || element.type == 'select-multiple') {
|
138 |
+
if (element.options) {
|
139 |
+
$A(element.options).each(function(selectOption){
|
140 |
+
if (selectOption.selected) {
|
141 |
+
if (this.config[optionId][selectOption.value]) {
|
142 |
+
price += parseFloat(this.config[optionId][selectOption.value]);
|
143 |
+
}
|
144 |
+
}
|
145 |
+
});
|
146 |
+
}
|
147 |
+
} else {
|
148 |
+
if (element.getValue().strip() != '') {
|
149 |
+
price += parseFloat(this.config[optionId]);
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
});
|
154 |
+
try {
|
155 |
+
optionsPrice.changePrice('options', price);
|
156 |
+
optionsPrice.reload();
|
157 |
+
} catch (e) {
|
158 |
+
|
159 |
+
}
|
160 |
+
}
|
161 |
+
}
|
162 |
+
function validateOptionsCallback(elmId, result){
|
163 |
+
var container = $(elmId).up('ul.options-list');
|
164 |
+
if (result == 'failed') {
|
165 |
+
container.removeClassName('validation-passed');
|
166 |
+
container.addClassName('validation-failed');
|
167 |
+
} else {
|
168 |
+
container.removeClassName('validation-failed');
|
169 |
+
container.addClassName('validation-passed');
|
170 |
+
}
|
171 |
+
}
|
172 |
+
var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
|
173 |
+
//]]>
|
174 |
+
</script>
|
175 |
+
<dl>
|
176 |
+
<?php foreach($_options as $_option): ?>
|
177 |
+
<?php echo $this->getOptionHtml($_option) ?>
|
178 |
+
<?php endforeach; ?>
|
179 |
+
</dl>
|
180 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/options/js.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 DateOption = Class.create({
|
30 |
+
|
31 |
+
getDaysInMonth: function(month, year)
|
32 |
+
{
|
33 |
+
var curDate = new Date();
|
34 |
+
if (!month) {
|
35 |
+
month = curDate.getMonth();
|
36 |
+
}
|
37 |
+
if (2 == month && !year) { // leap year assumption for unknown year
|
38 |
+
return 29;
|
39 |
+
}
|
40 |
+
if (!year) {
|
41 |
+
year = curDate.getFullYear();
|
42 |
+
}
|
43 |
+
return 32 - new Date(year, month - 1, 32).getDate();
|
44 |
+
},
|
45 |
+
|
46 |
+
reloadMonth: function(event)
|
47 |
+
{
|
48 |
+
var selectEl = event.findElement();
|
49 |
+
var idParts = selectEl.id.split("_");
|
50 |
+
if (idParts.length != 3) {
|
51 |
+
return false;
|
52 |
+
}
|
53 |
+
var optionIdPrefix = idParts[0] + "_" + idParts[1];
|
54 |
+
var month = parseInt($(optionIdPrefix + "_month").value);
|
55 |
+
var year = parseInt($(optionIdPrefix + "_year").value);
|
56 |
+
var dayEl = $(optionIdPrefix + "_day");
|
57 |
+
|
58 |
+
var days = this.getDaysInMonth(month, year);
|
59 |
+
|
60 |
+
//remove days
|
61 |
+
for (var i = dayEl.options.length - 1; i >= 0; i--) {
|
62 |
+
if (dayEl.options[i].value > days) {
|
63 |
+
dayEl.remove(dayEl.options[i].index);
|
64 |
+
}
|
65 |
+
}
|
66 |
+
|
67 |
+
// add days
|
68 |
+
var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
|
69 |
+
for (i = lastDay + 1; i <= days; i++) {
|
70 |
+
this.addOption(dayEl, i, i);
|
71 |
+
}
|
72 |
+
},
|
73 |
+
|
74 |
+
addOption: function(select, text, value)
|
75 |
+
{
|
76 |
+
var option = document.createElement('OPTION');
|
77 |
+
option.value = value;
|
78 |
+
option.text = text;
|
79 |
+
|
80 |
+
if (select.options.add) {
|
81 |
+
select.options.add(option);
|
82 |
+
} else {
|
83 |
+
select.appendChild(option);
|
84 |
+
}
|
85 |
+
}
|
86 |
+
});
|
87 |
+
var dateOption = new DateOption();
|
88 |
+
//]]>
|
89 |
+
</script>
|
app/design/frontend/default/watchshop/template/catalog/product/view/options/type/date.phtml
ADDED
@@ -0,0 +1,92 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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 |
+
|
36 |
+
<?php echo $this->getDateHtml() ?>
|
37 |
+
|
38 |
+
<?php if (!$this->useCalendar()): ?>
|
39 |
+
<script type="text/javascript">
|
40 |
+
//<![CDATA[
|
41 |
+
Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
|
42 |
+
Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
|
43 |
+
//]]>
|
44 |
+
</script>
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php endif; ?>
|
48 |
+
|
49 |
+
<?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
|
50 |
+
|| $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
|
51 |
+
<?php echo $this->getTimeHtml() ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
|
55 |
+
<script type="text/javascript">
|
56 |
+
//<![CDATA[
|
57 |
+
<?php if ($_option->getIsRequire()): ?>
|
58 |
+
Validation.addAllThese(
|
59 |
+
[
|
60 |
+
['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
|
61 |
+
var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
|
62 |
+
for (var i=0; i < dateTimeParts.length; i++) {
|
63 |
+
if (dateTimeParts[i].value == "") return false;
|
64 |
+
}
|
65 |
+
return true;
|
66 |
+
}]
|
67 |
+
]
|
68 |
+
);
|
69 |
+
<?php else: ?>
|
70 |
+
Validation.add(
|
71 |
+
'validate-datetime-<?php echo $_optionId ?>',
|
72 |
+
'<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
|
73 |
+
function(v) {
|
74 |
+
var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
|
75 |
+
var hasWithValue = false, hasWithNoValue = false;
|
76 |
+
var pattern = /day_part$/i;
|
77 |
+
for (var i=0; i < dateTimeParts.length; i++) {
|
78 |
+
if (! pattern.test(dateTimeParts[i].id)) {
|
79 |
+
if (dateTimeParts[i].value === "") {
|
80 |
+
hasWithValue = true;
|
81 |
+
} else {
|
82 |
+
hasWithNoValue = true;
|
83 |
+
}
|
84 |
+
}
|
85 |
+
}
|
86 |
+
return hasWithValue ^ hasWithNoValue;
|
87 |
+
}
|
88 |
+
);
|
89 |
+
<?php endif; ?>
|
90 |
+
//]]>
|
91 |
+
</script>
|
92 |
+
</dd>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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 class="note"><?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/watchshop/template/catalog/product/view/options/type/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/view/options/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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" 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 |
+
</div>
|
33 |
+
<script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/catalog/product/view/options/wrapper/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/view/price.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<div class="price-box" id="product_price">
|
32 |
+
<p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
|
33 |
+
<p class="special-price"><?php echo $this->getPrice() ?></p>
|
34 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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() ? 'tier-prices-grouped' : 'tier-prices'); ?>">
|
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()): ?>
|
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') ?> <strong class="benefit"><?php echo $this->__('save')?> <?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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
36 |
+
<?php else: ?>
|
37 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/type/grouped.phtml
ADDED
@@ -0,0 +1,82 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
38 |
+
<?php else: ?>
|
39 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
<table class="data-table grouped-items-table" 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 |
+
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
|
58 |
+
<tr>
|
59 |
+
<td><?php echo $this->htmlEscape($_item->getName()) ?></td>
|
60 |
+
<td class="a-right">
|
61 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
62 |
+
<?php echo $this->getTierPriceHtml($_item) ?>
|
63 |
+
</td>
|
64 |
+
<?php if ($_product->isSaleable()): ?>
|
65 |
+
<td class="a-center">
|
66 |
+
<?php if ($_item->isSaleable()) : ?>
|
67 |
+
<input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
|
68 |
+
<?php else: ?>
|
69 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
70 |
+
<?php endif; ?>
|
71 |
+
</td>
|
72 |
+
<?php endif; ?>
|
73 |
+
</tr>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
<?php else: ?>
|
76 |
+
<tr>
|
77 |
+
<td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
|
78 |
+
</tr>
|
79 |
+
<?php endif; ?>
|
80 |
+
</tbody>
|
81 |
+
</table>
|
82 |
+
<script type="text/javascript">decorateTable('super-product-table')</script>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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/watchshop/template/catalog/product/view/type/options/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/view/type/simple.phtml
ADDED
@@ -0,0 +1,42 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 echo $this->getPriceHtml($_product) ?>
|
36 |
+
|
37 |
+
<?php if($_product->isSaleable()): ?>
|
38 |
+
<p class="availability in-stock"><img src="<?php echo $this->getSkinUrl('images/i_stock.png') ?>" alt="<?php echo $this->__('Availability:') ?>" /><span><?php echo $this->__('In stock') ?></span></p>
|
39 |
+
<?php else: ?>
|
40 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
41 |
+
<?php endif; ?>
|
42 |
+
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
|
39 |
+
<?php endif; ?>
|
40 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
app/design/frontend/default/watchshop/template/catalog/product/view/type/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/view/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/widget/link/link_block.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-product-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/link/link_inline.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-product-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/link/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_default_list.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-new-products">
|
29 |
+
<div class="block">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol class="mini-products-list" id="widget-new-products-<?php echo $suffix; ?>">
|
36 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
39 |
+
<div class="product-details">
|
40 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
|
41 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-'.$suffix) ?>
|
42 |
+
<?php if($_product->isSaleable()): ?>
|
43 |
+
<a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
|
44 |
+
<?php else: ?>
|
45 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
46 |
+
<?php endif; ?>
|
47 |
+
</div>
|
48 |
+
</li>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</ol>
|
51 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_images_list.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-new-products">
|
29 |
+
<div class="block">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol class="mini-products-images-list" id="widget-new-products-<?php echo $suffix; ?>">
|
36 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(76) ?>" width="76" height="76" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
39 |
+
</li>
|
40 |
+
<?php endforeach; ?>
|
41 |
+
</ol>
|
42 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/new_names_list.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-new-products">
|
29 |
+
<div class="block">
|
30 |
+
<div class="block-title">
|
31 |
+
<strong><span><?php echo $this->__('New Products') ?></span></strong>
|
32 |
+
</div>
|
33 |
+
<div class="block-content">
|
34 |
+
<?php $suffix = $this->getNameInLayout(); ?>
|
35 |
+
<ol id="widget-new-products-<?php echo $suffix; ?>">
|
36 |
+
<?php foreach ($_products->getItems() as $_product): ?>
|
37 |
+
<li class="item">
|
38 |
+
<p class="product-name"><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
|
39 |
+
</li>
|
40 |
+
<?php endforeach; ?>
|
41 |
+
</ol>
|
42 |
+
<script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/column/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/new_grid.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-new-products">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('New Products') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
34 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
35 |
+
<?php if ($i++%$_columnCount==0): ?>
|
36 |
+
<ul class="products-grid">
|
37 |
+
<?php endif ?>
|
38 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
39 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
40 |
+
<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>
|
41 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
42 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
|
43 |
+
<div class="actions">
|
44 |
+
<?php if($_product->isSaleable()): ?>
|
45 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
46 |
+
<?php else: ?>
|
47 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
48 |
+
<?php endif; ?>
|
49 |
+
<ul class="add-to-links">
|
50 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
51 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
54 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
55 |
+
<?php endif; ?>
|
56 |
+
</ul>
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
60 |
+
</ul>
|
61 |
+
<?php endif ?>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/new_list.phtml
ADDED
@@ -0,0 +1,62 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-new-products">
|
29 |
+
<div class="widget-title">
|
30 |
+
<h2><?php echo $this->__('New Products') ?></h2>
|
31 |
+
</div>
|
32 |
+
<div class="widget-products">
|
33 |
+
<ol class="products-list">
|
34 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
35 |
+
<li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
|
36 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></a>
|
37 |
+
<div class="product-shop">
|
38 |
+
<div class="f-fix">
|
39 |
+
<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>
|
40 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
41 |
+
<?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
|
42 |
+
<?php if($_product->isSaleable()): ?>
|
43 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
44 |
+
<?php else: ?>
|
45 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
46 |
+
<?php endif; ?>
|
47 |
+
<ul class="add-to-links">
|
48 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
49 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
52 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
53 |
+
<?php endif; ?>
|
54 |
+
</ul>
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php endforeach; ?>
|
59 |
+
</ol>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/catalog/product/widget/new/content/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalog/rss/product/price.phtml
ADDED
@@ -0,0 +1,356 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 RSS feeds
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
|
36 |
+
<?php $_product = $this->getProduct() ?>
|
37 |
+
<?php $_id = $_product->getId() ?>
|
38 |
+
<?php if ($_product->getCanShowPrice() !== false):?>
|
39 |
+
|
40 |
+
<?php $_weeeSeparator = ''; ?>
|
41 |
+
|
42 |
+
<?php $simplePricesTax = ($this->helper('tax')->displayPriceIncludingTax() || $this->helper('tax')->displayBothPrices()); ?>
|
43 |
+
|
44 |
+
<?php $_minimalPriceValue = $_product->getMinimalPrice() ?>
|
45 |
+
<?php $_minimalPrice = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $simplePricesTax) ?>
|
46 |
+
|
47 |
+
<?php if (!$_product->isGrouped()): ?>
|
48 |
+
<?php $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product); ?>
|
49 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))): ?>
|
50 |
+
<?php $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product); ?>
|
51 |
+
<?php $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product); ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
<div class="price-box">
|
55 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getPrice()) ?>
|
56 |
+
<?php $_regularPrice = $this->helper('tax')->getPrice($_product, $_product->getPrice(), $simplePricesTax) ?>
|
57 |
+
<?php $_finalPrice = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice()) ?>
|
58 |
+
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
59 |
+
<?php $_weeeDisplayType = Mage::helper('weee')->getPriceDisplayType(); ?>
|
60 |
+
<?php if ($_finalPrice == $_price): ?>
|
61 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
62 |
+
<?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
|
63 |
+
<span class="price-excluding-tax">
|
64 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
65 |
+
<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>
|
66 |
+
</span>
|
67 |
+
<span class="price-including-tax">
|
68 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
69 |
+
<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>
|
70 |
+
</span>
|
71 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
72 |
+
<span class="price-excluding-tax">
|
73 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
74 |
+
<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>
|
75 |
+
</span>
|
76 |
+
<span class="price-including-tax">
|
77 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
78 |
+
<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>
|
79 |
+
<br />
|
80 |
+
<span class="weee">(<small>
|
81 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
82 |
+
<?php echo $_weeeSeparator; ?>
|
83 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
84 |
+
<?php $_weeeSeparator = ' + '; ?>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
</small>)</span>
|
87 |
+
</span>
|
88 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
89 |
+
<span class="price-excluding-tax">
|
90 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
91 |
+
<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>
|
92 |
+
</span>
|
93 |
+
<span class="price-including-tax">
|
94 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
95 |
+
<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>
|
96 |
+
<br />
|
97 |
+
<span class="weee">(<small>
|
98 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
99 |
+
<?php echo $_weeeSeparator; ?>
|
100 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
101 |
+
<?php $_weeeSeparator = ' + '; ?>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</small>)</span>
|
104 |
+
</span>
|
105 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
106 |
+
<span class="price-excluding-tax">
|
107 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
108 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
|
109 |
+
</span>
|
110 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
111 |
+
<span class="weee">
|
112 |
+
<small>
|
113 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
114 |
+
</small>
|
115 |
+
</span>
|
116 |
+
<br />
|
117 |
+
<?php endforeach; ?>
|
118 |
+
<span class="price-including-tax">
|
119 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
120 |
+
<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>
|
121 |
+
</span>
|
122 |
+
<?php else: ?>
|
123 |
+
<span class="price-excluding-tax">
|
124 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
125 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
|
126 |
+
</span>
|
127 |
+
<span class="price-including-tax">
|
128 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
129 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
|
130 |
+
</span>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php else: ?>
|
133 |
+
<?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
|
134 |
+
<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>
|
135 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
136 |
+
<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>
|
137 |
+
<br />
|
138 |
+
<span class="weee">(<small>
|
139 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
140 |
+
<?php echo $_weeeSeparator; ?>
|
141 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
142 |
+
<?php $_weeeSeparator = ' + '; ?>
|
143 |
+
<?php endforeach; ?>
|
144 |
+
</small>)</span>
|
145 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
146 |
+
<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>
|
147 |
+
<br />
|
148 |
+
<span class="weee">(<small>
|
149 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
150 |
+
<?php echo $_weeeSeparator; ?>
|
151 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
152 |
+
<?php $_weeeSeparator = ' + '; ?>
|
153 |
+
<?php endforeach; ?>
|
154 |
+
</small>)</span>
|
155 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
156 |
+
<span class="regular-price"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span><br />
|
157 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
158 |
+
<span class="weee">
|
159 |
+
<small>
|
160 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
161 |
+
</small>
|
162 |
+
</span>
|
163 |
+
<br />
|
164 |
+
<?php endforeach; ?>
|
165 |
+
<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>
|
166 |
+
<?php else: ?>
|
167 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span>
|
168 |
+
<?php endif; ?>
|
169 |
+
<?php endif; ?>
|
170 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
171 |
+
<?php $_originalWeeeTaxAmount = Mage::helper('weee')->getOriginalAmount($_product); ?>
|
172 |
+
|
173 |
+
<?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
|
174 |
+
<p class="old-price">
|
175 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
176 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
|
177 |
+
</p>
|
178 |
+
|
179 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
180 |
+
<p class="special-price">
|
181 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
182 |
+
<span class="price-excluding-tax">
|
183 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
184 |
+
<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>
|
185 |
+
</span>
|
186 |
+
<span class="price-including-tax">
|
187 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
188 |
+
<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>
|
189 |
+
</span>
|
190 |
+
</p>
|
191 |
+
<?php else: ?>
|
192 |
+
<p class="special-price">
|
193 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
194 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
|
195 |
+
</p>
|
196 |
+
<?php endif; ?>
|
197 |
+
|
198 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
199 |
+
<p class="old-price">
|
200 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
201 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
|
202 |
+
</p>
|
203 |
+
|
204 |
+
<p class="special-price">
|
205 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
206 |
+
<span class="price-excluding-tax">
|
207 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
208 |
+
<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>
|
209 |
+
</span>
|
210 |
+
<br />
|
211 |
+
<span class="weee">(<small>
|
212 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
213 |
+
<?php echo $_weeeSeparator; ?>
|
214 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
215 |
+
<?php $_weeeSeparator = ' + '; ?>
|
216 |
+
<?php endforeach; ?>
|
217 |
+
</small>)</span>
|
218 |
+
<span class="price-including-tax">
|
219 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
220 |
+
<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>
|
221 |
+
</span>
|
222 |
+
</p>
|
223 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
224 |
+
<p class="old-price">
|
225 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
226 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
|
227 |
+
</p>
|
228 |
+
|
229 |
+
<p class="special-price">
|
230 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
231 |
+
<span class="price-excluding-tax">
|
232 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
233 |
+
<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>
|
234 |
+
</span>
|
235 |
+
<br />
|
236 |
+
<span class="weee">(<small>
|
237 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
238 |
+
<?php echo $_weeeSeparator; ?>
|
239 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
240 |
+
<?php $_weeeSeparator = ' + '; ?>
|
241 |
+
<?php endforeach; ?>
|
242 |
+
</small>)</span>
|
243 |
+
<span class="price-including-tax">
|
244 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
245 |
+
<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>
|
246 |
+
</span>
|
247 |
+
</p>
|
248 |
+
<?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
249 |
+
<p class="old-price">
|
250 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
251 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
|
252 |
+
</p>
|
253 |
+
|
254 |
+
<p class="special-price">
|
255 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
256 |
+
<span class="price-excluding-tax">
|
257 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
258 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
|
259 |
+
</span>
|
260 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
261 |
+
<span class="weee">
|
262 |
+
<small>
|
263 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
264 |
+
</small>
|
265 |
+
</span>
|
266 |
+
<br />
|
267 |
+
<?php endforeach; ?>
|
268 |
+
<span class="price-including-tax">
|
269 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
270 |
+
<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>
|
271 |
+
</span>
|
272 |
+
</p>
|
273 |
+
<?php else: // excl. ?>
|
274 |
+
<p class="old-price">
|
275 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
276 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
|
277 |
+
</p>
|
278 |
+
|
279 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
280 |
+
<p class="special-price">
|
281 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
282 |
+
<span class="price-excluding-tax">
|
283 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
284 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
|
285 |
+
</span>
|
286 |
+
<span class="price-including-tax">
|
287 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
288 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
|
289 |
+
</span>
|
290 |
+
</p>
|
291 |
+
<?php else: ?>
|
292 |
+
<p class="special-price">
|
293 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
294 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
|
295 |
+
</p>
|
296 |
+
<?php endif; ?>
|
297 |
+
<?php endif; ?>
|
298 |
+
|
299 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
300 |
+
|
301 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
302 |
+
|
303 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
304 |
+
<?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
305 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
|
306 |
+
<?php endif; ?>
|
307 |
+
|
308 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
309 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
310 |
+
<?php else:?>
|
311 |
+
<span class="minimal-price-link">
|
312 |
+
<?php endif?>
|
313 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
314 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_minimalPriceDisplayValue,true,false) ?></span>
|
315 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
316 |
+
</a>
|
317 |
+
<?php else:?>
|
318 |
+
</span>
|
319 |
+
<?php endif?>
|
320 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
321 |
+
</div>
|
322 |
+
|
323 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
324 |
+
<?php
|
325 |
+
$_exclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = null);
|
326 |
+
$_inclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = true);
|
327 |
+
?>
|
328 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
|
329 |
+
<div class="price-box">
|
330 |
+
<p class="minimal-price">
|
331 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
332 |
+
<?php if ($this->helper('tax')->displayBothPrices()): ?>
|
333 |
+
<span class="price-excluding-tax">
|
334 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
|
335 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_exclTax, true, false) ?></span>
|
336 |
+
</span>
|
337 |
+
<span class="price-including-tax">
|
338 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
|
339 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_inclTax, true, false) ?></span>
|
340 |
+
</span>
|
341 |
+
<?php else: ?>
|
342 |
+
<?php
|
343 |
+
$_showPrice = $_inclTax;
|
344 |
+
if (!$this->helper('tax')->displayPriceIncludingTax()) {
|
345 |
+
$_showPrice = $_exclTax;
|
346 |
+
}
|
347 |
+
?>
|
348 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_showPrice, true, false) ?></span>
|
349 |
+
<?php endif; ?>
|
350 |
+
</p>
|
351 |
+
</div>
|
352 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
353 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
354 |
+
<?php else: ?>
|
355 |
+
<?php //echo $this->helper('catalog')->__('Price is not available');?>
|
356 |
+
<?php endif; /* if (!$_product->getCanShowPrice()): */?>
|
app/design/frontend/default/watchshop/template/catalog/rss/product/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/catalog/seo/sitemap/container.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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-sitemap">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->getTitle() ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getChildHtml('links') ?>
|
32 |
+
<?php echo $this->getChildHtml('pager_top') ?>
|
33 |
+
<?php echo $this->getChildHtml('sitemap') ?>
|
34 |
+
<?php echo $this->getChildHtml('links') ?>
|
35 |
+
<?php echo $this->getChildHtml('pager_bottom') ?>
|
36 |
+
</div>
|
app/design/frontend/default/watchshop/template/catalog/seo/sitemap/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/catalog/seo/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalogsearch/advanced/form.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
|
36 |
+
</div>
|
37 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
38 |
+
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
|
39 |
+
<div class="fieldset advanced-search">
|
40 |
+
<h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
|
41 |
+
<ul class="form-list" 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>
|
46 |
+
<?php switch($this->getAttributeInputType($_attribute)):
|
47 |
+
case 'number': ?>
|
48 |
+
<div class="input-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 |
+
<span class="separator">-</span>
|
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="input-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 |
+
<span class="separator">-</span>
|
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 |
+
<small>(<?php echo $this->getCurrency($_attribute); ?>)</small>
|
60 |
+
</div>
|
61 |
+
<?php break;
|
62 |
+
case 'select': ?>
|
63 |
+
<div class="input-box">
|
64 |
+
<?php echo $this->getAttributeSelectElement($_attribute) ?>
|
65 |
+
</div>
|
66 |
+
<?php break;
|
67 |
+
case 'yesno': ?>
|
68 |
+
<?php echo $this->getAttributeYesNoElement($_attribute) ?>
|
69 |
+
<?php break;
|
70 |
+
case 'date': ?>
|
71 |
+
<div class="input-range">
|
72 |
+
<?php echo $this->getDateInput($_attribute, 'from') ?>
|
73 |
+
<span class="separator">-</span>
|
74 |
+
<?php echo $this->getDateInput($_attribute, 'to') ?>
|
75 |
+
</div>
|
76 |
+
<?php break;
|
77 |
+
default: ?>
|
78 |
+
<div class="input-box">
|
79 |
+
<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) ?>" />
|
80 |
+
</div>
|
81 |
+
<?php endswitch; ?>
|
82 |
+
</li>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</ul>
|
85 |
+
<script type="text/javascript">decorateList('advanced-search-list')</script>
|
86 |
+
</div>
|
87 |
+
<div class="buttons-set">
|
88 |
+
<button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
|
89 |
+
</div>
|
90 |
+
</form>
|
91 |
+
<script type="text/javascript">
|
92 |
+
//<![CDATA[
|
93 |
+
var dataForm = new VarienForm('form-validate', true);
|
94 |
+
//]]>
|
95 |
+
</script>
|
app/design/frontend/default/watchshop/template/catalogsearch/advanced/result.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Catalog Advanced Search') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<?php if($this->getResultCount()): ?>
|
32 |
+
<p class="advanced-search-amount">
|
33 |
+
<?php echo $this->helper('catalogsearch')->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
|
34 |
+
</p>
|
35 |
+
<?php else: ?>
|
36 |
+
<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>
|
37 |
+
<?php endif; ?>
|
38 |
+
|
39 |
+
<div class="advanced-search-summary">
|
40 |
+
<?php $searchCriterias=$this->getSearchCriterias(); ?>
|
41 |
+
<?php foreach (array('left', 'right') as $side): ?>
|
42 |
+
<?php if(@$searchCriterias[$side]): ?>
|
43 |
+
<ul>
|
44 |
+
<?php foreach($searchCriterias[$side] as $criteria): ?>
|
45 |
+
<li><strong><?php echo $this->htmlEscape($this->helper('catalog')->__($criteria['name'])); ?>:</strong> <?php echo $this->htmlEscape($criteria['value']); ?></li>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</ul>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
<?php if($this->getResultCount()): ?>
|
51 |
+
<p>
|
52 |
+
<?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
|
53 |
+
<a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
|
54 |
+
</p>
|
55 |
+
<?php endif; ?>
|
56 |
+
</div>
|
57 |
+
<?php if($this->getResultCount()): ?>
|
58 |
+
<?php echo $this->getProductListHtml() ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php $this->getSearchCriterias(); ?>
|
app/design/frontend/default/watchshop/template/catalogsearch/advanced/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/catalogsearch/form.mini.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">
|
28 |
+
<div class="form-search">
|
29 |
+
<label for="search"><?php echo $this->__('Search:') ?></label>
|
30 |
+
<input id="search" type="text" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogsearch')->getEscapedQueryText() ?>" class="input-text" />
|
31 |
+
<button class="btn-search" title="<?php echo $this->__('Search') ?>" ></button>
|
32 |
+
<div id="search_autocomplete" class="search-autocomplete"></div>
|
33 |
+
<script type="text/javascript">
|
34 |
+
//<![CDATA[
|
35 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
|
36 |
+
searchForm.initAutocomplete('<?php echo $this->helper('catalogsearch')->getSuggestUrl() ?>', 'search_autocomplete');
|
37 |
+
//]]>
|
38 |
+
</script>
|
39 |
+
</div>
|
40 |
+
</form>
|
app/design/frontend/default/watchshop/template/catalogsearch/result.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
34 |
+
</div>
|
35 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
36 |
+
<p class="note-msg">
|
37 |
+
<?php foreach ($messages as $message):?>
|
38 |
+
<?php echo $message?><br />
|
39 |
+
<?php endforeach;?>
|
40 |
+
</p>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php echo $this->getProductListHtml() ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="page-title">
|
45 |
+
<h2><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h2>
|
46 |
+
</div>
|
47 |
+
<p class="note-msg">
|
48 |
+
<?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
|
49 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
50 |
+
<?php foreach ($messages as $message):?>
|
51 |
+
<br /><?php echo $message?>
|
52 |
+
<?php endforeach;?>
|
53 |
+
<?php endif; ?>
|
54 |
+
</p>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/catalogsearch/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/centinel/authentication.phtml
ADDED
@@ -0,0 +1,71 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="centinel" id="centinel">
|
28 |
+
<h3><?php echo $this->__('Card Verification')?></h3>
|
29 |
+
<p><?php echo $this->__('Please verify the card with the issuer bank:') ?></p>
|
30 |
+
<iframe id="centinel_authenticate_iframe" src="<?php echo $this->getFrameUrl() ?>" style="width:99.5%; height:400px; position:relative; font-size:12px; background:#fff; font-weight:bold; white-space:nowrap; border:1px solid #ddd;"></iframe>
|
31 |
+
</div>
|
32 |
+
<script type="text/javascript">
|
33 |
+
//<![CDATA[
|
34 |
+
var centinelAutenticate = new Class.create();
|
35 |
+
|
36 |
+
centinelAutenticate.prototype = {
|
37 |
+
initialize : function()
|
38 |
+
{
|
39 |
+
this.checkoutReviewSubmitBlockId = 'checkout-review-submit';
|
40 |
+
this.checkoutReviewTableBlockId = 'checkout-review-table-wrapper';
|
41 |
+
this.centinelBlockId = 'centinel';
|
42 |
+
},
|
43 |
+
|
44 |
+
start : function()
|
45 |
+
{
|
46 |
+
if($(this.checkoutReviewSubmitBlockId)) {
|
47 |
+
$(this.checkoutReviewSubmitBlockId).hide();
|
48 |
+
}
|
49 |
+
if ($(this.checkoutReviewTableBlockId)) {
|
50 |
+
$(this.checkoutReviewTableBlockId).hide();
|
51 |
+
}
|
52 |
+
},
|
53 |
+
|
54 |
+
success : function()
|
55 |
+
{
|
56 |
+
if($(this.checkoutReviewSubmitBlockId)) {
|
57 |
+
$(this.checkoutReviewSubmitBlockId).show();
|
58 |
+
}
|
59 |
+
if ($(this.checkoutReviewTableBlockId)) {
|
60 |
+
$(this.checkoutReviewTableBlockId).show();
|
61 |
+
}
|
62 |
+
$(this.centinelBlockId).hide();
|
63 |
+
}
|
64 |
+
}
|
65 |
+
centinel = new centinelAutenticate();
|
66 |
+
//for multishipping checkout
|
67 |
+
Event.observe(window, 'load', function(){centinel.start();});
|
68 |
+
//for onepage checkout
|
69 |
+
centinel.start();
|
70 |
+
//]]>
|
71 |
+
</script>
|
app/design/frontend/default/watchshop/template/centinel/authentication/complete.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->getIsSuccess()):?>
|
28 |
+
<script type="text/javascript">
|
29 |
+
//<![CDATA[
|
30 |
+
window.parent.centinel.success();
|
31 |
+
//]]>
|
32 |
+
</script>
|
33 |
+
<?php else:?>
|
34 |
+
<h4><?php echo $this->__('Verification Failed');?></h4>
|
35 |
+
<p><?php echo $this->__('The card has failed verification with issuer bank.')?> <strong><?php echo $this->__('Order cannot be placed.')?></strong></p>
|
36 |
+
<?php endif;?>
|
app/design/frontend/default/watchshop/template/centinel/authentication/start.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 name="validation_form" id="validation_form" action="<?php echo $this->getAcsUrl();?>" method="post">
|
28 |
+
<fieldset>
|
29 |
+
<input type="hidden" name="PaReq" value="<?php echo $this->getPaReq()?>" />
|
30 |
+
<input type="hidden" name="TermUrl" value="<?php echo $this->getTermUrl()?>" />
|
31 |
+
<input type="hidden" name="MD" value="<?php echo $this->getMd()?>" />
|
32 |
+
</fieldset>
|
33 |
+
</form>
|
34 |
+
<script type="text/javascript">
|
35 |
+
//<![CDATA[
|
36 |
+
window.onload = function(){
|
37 |
+
document.getElementById('validation_form').submit();
|
38 |
+
};
|
39 |
+
//]]>
|
40 |
+
</script>
|
app/design/frontend/default/watchshop/template/centinel/authentication/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/centinel/logo.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 class="centinel-logos" id="<?php echo $this->getCode() ?>_centinel_logo">
|
28 |
+
<label><?php echo $this->__('To ensure the security of your transactions') ?></label>
|
29 |
+
<div class="input-box">
|
30 |
+
<a href="#" title="<?php echo $this->__('Verified by Visa') ?> "onclick="popWin('<?php echo $this->helper('centinel')->getVisaLearnMorePageUrl()?>', 'verifiedByVisa', 'width=815,height=600,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->getSkinUrl('images/centinel/vbv_ltbg_71x57.gif'); ?>" alt="<?php echo $this->__('Verified by Visa') ?>" /></a>
|
31 |
+
<a href="#" title="<?php echo $this->__('MasterCard SecureCode'); ?>" onclick="popWin('<?php echo $this->helper('centinel')->getMastercardLearnMorePageUrl()?>', 'secureCode', 'width=600,height=403,left=0,top=0,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;"><img src="<?php echo $this->getSkinUrl('images/centinel/sc_learn_62x34.gif'); ?>" alt="<?php echo $this->__('MasterCard SecureCode') ?>" /></a>
|
32 |
+
</div>
|
33 |
+
</li>
|
app/design/frontend/default/watchshop/template/centinel/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/cart.phtml
ADDED
@@ -0,0 +1,142 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo $this->__('Shopping Cart') ?></h1>
|
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 |
+
<div class="page-border"></div>
|
44 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
45 |
+
<?php echo $this->getChildHtml('form_before') ?>
|
46 |
+
<div class="col2-set">
|
47 |
+
<div class="cart">
|
48 |
+
<div class="content">
|
49 |
+
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
50 |
+
<fieldset>
|
51 |
+
<table id="shopping-cart-table" class="data-table cart-table">
|
52 |
+
<col width="1" />
|
53 |
+
<col width="1" />
|
54 |
+
<col />
|
55 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
56 |
+
<col width="1" />
|
57 |
+
<?php endif ?>
|
58 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
59 |
+
<col width="1" />
|
60 |
+
<?php endif; ?>
|
61 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
62 |
+
<col width="1" />
|
63 |
+
<?php endif; ?>
|
64 |
+
<col width="1" />
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<col width="1" />
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
69 |
+
<col width="1" />
|
70 |
+
<?php endif; ?>
|
71 |
+
|
72 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
73 |
+
<thead>
|
74 |
+
<tr>
|
75 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"> </th>
|
76 |
+
<th rowspan="<?php echo $mergedCells; ?>"> </th>
|
77 |
+
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
|
78 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
79 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
|
80 |
+
<?php endif ?>
|
81 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
|
82 |
+
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
83 |
+
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
|
84 |
+
</tr>
|
85 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
86 |
+
<tr>
|
87 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
88 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
89 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
90 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
91 |
+
</tr>
|
92 |
+
<?php endif; ?>
|
93 |
+
</thead>
|
94 |
+
<tfoot>
|
95 |
+
<tr>
|
96 |
+
<td colspan="50" class="a-right">
|
97 |
+
<button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="button btn-update"></button>
|
98 |
+
<?php if($this->getContinueShoppingUrl()): ?>
|
99 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"></button>
|
100 |
+
<?php endif; ?>
|
101 |
+
|
102 |
+
</td>
|
103 |
+
</tr>
|
104 |
+
</tfoot>
|
105 |
+
<tbody>
|
106 |
+
<?php foreach($this->getItems() as $_item): ?>
|
107 |
+
<?php echo $this->getItemHtml($_item) ?>
|
108 |
+
<?php endforeach ?>
|
109 |
+
</tbody>
|
110 |
+
</table>
|
111 |
+
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
112 |
+
</fieldset>
|
113 |
+
</form>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
<div class="clear"></div>
|
118 |
+
<div class="cart-collaterals">
|
119 |
+
<?php echo $this->getChildHtml('crosssell') ?>
|
120 |
+
|
121 |
+
|
122 |
+
<div class="totals">
|
123 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
124 |
+
<div class="content-left-top">
|
125 |
+
<div class="content-right-top">
|
126 |
+
<div class="content-right-bot">
|
127 |
+
<div class="content-left-bot">
|
128 |
+
<div class="indent">
|
129 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
130 |
+
<?php if(!$this->hasError()): ?>
|
131 |
+
<ul class="checkout-types">
|
132 |
+
<?php echo $this->getChildHtml('methods') ?>
|
133 |
+
</ul>
|
134 |
+
<?php endif; ?>
|
135 |
+
</div>
|
136 |
+
</div>
|
137 |
+
</div>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
|
28 |
+
<div class="discount">
|
29 |
+
<h2><?php echo $this->__('Discount Codes') ?></h2>
|
30 |
+
<div class="discount-form">
|
31 |
+
<label for="coupon_code"><?php echo $this->__('Enter your coupon code if you have one.') ?></label>
|
32 |
+
<input type="hidden" name="remove" id="remove-coupone" value="0" />
|
33 |
+
<div class="input-box">
|
34 |
+
<input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" />
|
35 |
+
<button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button btn_coupon" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"></button>
|
36 |
+
<?php if(strlen($this->getCouponCode())): ?>
|
37 |
+
<button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
|
38 |
+
<?php endif;?>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</form>
|
44 |
+
<script type="text/javascript">
|
45 |
+
//<![CDATA[
|
46 |
+
var discountForm = new VarienForm('discount-coupon-form');
|
47 |
+
discountForm.submit = function (isRemove) {
|
48 |
+
if (isRemove) {
|
49 |
+
$('coupon_code').removeClassName('required-entry');
|
50 |
+
$('remove-coupone').value = "1";
|
51 |
+
} else {
|
52 |
+
$('coupon_code').addClassName('required-entry');
|
53 |
+
$('remove-coupone').value = "0";
|
54 |
+
}
|
55 |
+
return VarienForm.prototype.submit.bind(discountForm)();
|
56 |
+
}
|
57 |
+
//]]>
|
58 |
+
</script>
|
app/design/frontend/default/watchshop/template/checkout/cart/crosssell.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
|
37 |
+
<ul id="crosssell-products-list">
|
38 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
39 |
+
<li class="item">
|
40 |
+
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(150); ?>" width="150" height="150" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" /></a>
|
41 |
+
<div class="product-details">
|
42 |
+
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h3>
|
43 |
+
<?php echo $this->getPriceHtml($_item, true) ?>
|
44 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
45 |
+
<!--<ul class="add-to-links">
|
46 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
47 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?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 ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
</ul>-->
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
</ul>
|
57 |
+
<script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script>
|
58 |
+
</div>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,257 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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')?>" class="btn-remove2"><?php echo $this->__('Remove item')?></a></td>
|
30 |
+
<td><?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?></td>
|
31 |
+
<td>
|
32 |
+
<h2 class="product-name">
|
33 |
+
<?php if ($this->hasProductUrl()):?>
|
34 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
|
35 |
+
<?php else: ?>
|
36 |
+
<?php echo $this->htmlEscape($this->getProductName()) ?>
|
37 |
+
<?php endif; ?>
|
38 |
+
</h2>
|
39 |
+
<?php if ($_options = $this->getOptionList()):?>
|
40 |
+
<dl class="item-options">
|
41 |
+
<?php foreach ($_options as $_option) : ?>
|
42 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
43 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
44 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
45 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
46 |
+
<div class="truncated_full_value">
|
47 |
+
<dl class="item-options">
|
48 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
49 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
50 |
+
</dl>
|
51 |
+
</div>
|
52 |
+
<?php endif; ?>
|
53 |
+
</dd>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</dl>
|
56 |
+
<?php endif;?>
|
57 |
+
<?php if ($messages = $this->getMessages()): ?>
|
58 |
+
<?php foreach ($messages as $message): ?>
|
59 |
+
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
|
60 |
+
<?php endforeach; ?>
|
61 |
+
<?php endif; ?>
|
62 |
+
</td>
|
63 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
64 |
+
<td class="a-center">
|
65 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" title="<?php echo $this->__('Move to Wishlist') ?>" class="checkbox" />
|
66 |
+
</td>
|
67 |
+
<?php endif ?>
|
68 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
69 |
+
<td class="a-right">
|
70 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
71 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
72 |
+
<?php else: ?>
|
73 |
+
<span class="cart-price">
|
74 |
+
<?php endif; ?>
|
75 |
+
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
77 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
78 |
+
<?php else: ?>
|
79 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
80 |
+
<?php endif; ?>
|
81 |
+
|
82 |
+
</span>
|
83 |
+
|
84 |
+
|
85 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
86 |
+
|
87 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
88 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
89 |
+
<small>
|
90 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
91 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
92 |
+
<?php endforeach; ?>
|
93 |
+
</small>
|
94 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
96 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
97 |
+
<?php endforeach; ?>
|
98 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<small>
|
100 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
101 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</small>
|
104 |
+
<?php endif; ?>
|
105 |
+
</div>
|
106 |
+
|
107 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
108 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
109 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
110 |
+
</div>
|
111 |
+
<?php endif; ?>
|
112 |
+
<?php endif; ?>
|
113 |
+
</td>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
116 |
+
<td>
|
117 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
118 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
120 |
+
<?php else: ?>
|
121 |
+
<span class="cart-price">
|
122 |
+
<?php endif; ?>
|
123 |
+
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
125 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
126 |
+
<?php else: ?>
|
127 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
</span>
|
131 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
132 |
+
|
133 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
134 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
135 |
+
<small>
|
136 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
137 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
138 |
+
<?php endforeach; ?>
|
139 |
+
</small>
|
140 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
142 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
143 |
+
<?php endforeach; ?>
|
144 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
<small>
|
146 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
147 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
148 |
+
<?php endforeach; ?>
|
149 |
+
</small>
|
150 |
+
<?php endif; ?>
|
151 |
+
</div>
|
152 |
+
|
153 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
154 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
155 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
156 |
+
</div>
|
157 |
+
<?php endif; ?>
|
158 |
+
<?php endif; ?>
|
159 |
+
</td>
|
160 |
+
<?php endif; ?>
|
161 |
+
<td class="a-center">
|
162 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
163 |
+
</td>
|
164 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
165 |
+
<td class="a-right">
|
166 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
167 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
168 |
+
<?php else: ?>
|
169 |
+
<span class="cart-price">
|
170 |
+
<?php endif; ?>
|
171 |
+
|
172 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
174 |
+
<?php else: ?>
|
175 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
176 |
+
<?php endif; ?>
|
177 |
+
|
178 |
+
</span>
|
179 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
180 |
+
|
181 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
182 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
183 |
+
<small>
|
184 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
185 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
186 |
+
<?php endforeach; ?>
|
187 |
+
</small>
|
188 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
189 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
190 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
191 |
+
<?php endforeach; ?>
|
192 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
193 |
+
<small>
|
194 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
195 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
196 |
+
<?php endforeach; ?>
|
197 |
+
</small>
|
198 |
+
<?php endif; ?>
|
199 |
+
</div>
|
200 |
+
|
201 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
203 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
204 |
+
</div>
|
205 |
+
<?php endif; ?>
|
206 |
+
<?php endif; ?>
|
207 |
+
</td>
|
208 |
+
<?php endif; ?>
|
209 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
210 |
+
<td>
|
211 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
212 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
213 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
214 |
+
<?php else: ?>
|
215 |
+
<span class="cart-price">
|
216 |
+
<?php endif; ?>
|
217 |
+
|
218 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
219 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
220 |
+
<?php else: ?>
|
221 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
222 |
+
<?php endif; ?>
|
223 |
+
|
224 |
+
</span>
|
225 |
+
|
226 |
+
|
227 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
228 |
+
|
229 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
230 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
231 |
+
<small>
|
232 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
233 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
234 |
+
<?php endforeach; ?>
|
235 |
+
</small>
|
236 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
237 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
238 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
239 |
+
<?php endforeach; ?>
|
240 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
241 |
+
<small>
|
242 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
243 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
244 |
+
<?php endforeach; ?>
|
245 |
+
</small>
|
246 |
+
<?php endif; ?>
|
247 |
+
</div>
|
248 |
+
|
249 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
250 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
251 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
252 |
+
</div>
|
253 |
+
<?php endif; ?>
|
254 |
+
<?php endif; ?>
|
255 |
+
</td>
|
256 |
+
<?php endif; ?>
|
257 |
+
</tr>
|
app/design/frontend/default/watchshop/template/checkout/cart/item/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/cart/noItems.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="account-login">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Shopping Cart') ?></h1>
|
30 |
+
</div>
|
31 |
+
<div class="page-border"></div>
|
32 |
+
<div class="col2-set">
|
33 |
+
<div class="cart-empty">
|
34 |
+
<div class="content">
|
35 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
36 |
+
<p><?php echo $this->__('Your basket is currently empty,') ?></p>
|
37 |
+
<p><?php echo $this->__('please navigate to the item you wish to purchase and click "Add to cart"') ?></p>
|
38 |
+
<div class="buttons-set">
|
39 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
40 |
+
<!--<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>-->
|
41 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"></button>
|
42 |
+
</div>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/checkout/cart/render/default.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/default/watchshop/template/checkout/cart/render/simple.phtml
ADDED
@@ -0,0 +1,70 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php $_item = $this->getItem() ?>
|
32 |
+
<tr>
|
33 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
|
34 |
+
<td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->htmlEscape($this->getItemName($_item)) ?>" /></a></td>
|
35 |
+
<td>
|
36 |
+
<h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
|
37 |
+
<?php echo $this->getItemDescription($_item) ?>
|
38 |
+
<?php if($_item->getMessage()): ?>
|
39 |
+
<p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
|
40 |
+
<?php endif; ?>
|
41 |
+
</td>
|
42 |
+
<?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
|
43 |
+
<td class="a-center">
|
44 |
+
<input type="checkbox" value="1" name="cart[<?php echo $_item->getId() ?>][wishlist]" class="checkbox" />
|
45 |
+
</td>
|
46 |
+
<?php endif ?>
|
47 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
48 |
+
<td class="a-right">
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
50 |
+
</td>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<td class="a-right">
|
54 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
|
55 |
+
</td>
|
56 |
+
<?php endif; ?>
|
57 |
+
<td class="a-center">
|
58 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
|
59 |
+
</td>
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<td class="a-right">
|
62 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
63 |
+
</td>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
66 |
+
<td class="a-right">
|
67 |
+
<?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
|
68 |
+
</td>
|
69 |
+
<?php endif; ?>
|
70 |
+
</tr>
|
app/design/frontend/default/watchshop/template/checkout/cart/render/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/cart/shipping.phtml
ADDED
@@ -0,0 +1,143 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
|
34 |
+
<div class="shipping-form">
|
35 |
+
<form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
|
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" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
40 |
+
<div class="input-box">
|
41 |
+
<?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
|
42 |
+
</div>
|
43 |
+
</li>
|
44 |
+
<?php //if($this->getStateActive()): ?>
|
45 |
+
<li>
|
46 |
+
<label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
|
47 |
+
<div class="input-box">
|
48 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
|
49 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
50 |
+
</select>
|
51 |
+
<script type="text/javascript">
|
52 |
+
//<![CDATA[
|
53 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
|
54 |
+
//]]>
|
55 |
+
</script>
|
56 |
+
<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;" />
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php //endif; ?>
|
60 |
+
<?php if($this->getCityActive()): ?>
|
61 |
+
<li>
|
62 |
+
<label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
|
63 |
+
<div class="input-box">
|
64 |
+
<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()) ?>" />
|
65 |
+
</div>
|
66 |
+
</li>
|
67 |
+
<?php endif; ?>
|
68 |
+
<li>
|
69 |
+
<label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
|
70 |
+
<div class="input-box">
|
71 |
+
<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()) ?>" />
|
72 |
+
</div>
|
73 |
+
</li>
|
74 |
+
</ul>
|
75 |
+
<div class="buttons-set">
|
76 |
+
<button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
|
77 |
+
</div>
|
78 |
+
</form>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
|
85 |
+
<?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
|
86 |
+
<form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
|
87 |
+
<dl class="sp-methods">
|
88 |
+
<?php foreach ($_shippingRateGroups as $code => $_rates): ?>
|
89 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
90 |
+
<dd>
|
91 |
+
<ul>
|
92 |
+
<?php foreach ($_rates as $_rate): ?>
|
93 |
+
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
|
94 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
95 |
+
<?php echo $_rate->getErrorMessage() ?>
|
96 |
+
<?php else: ?>
|
97 |
+
<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" />
|
98 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
|
99 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
100 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
101 |
+
<?php echo $_excl; ?>
|
102 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
103 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
104 |
+
<?php endif; ?>
|
105 |
+
</label>
|
106 |
+
<?php endif ?>
|
107 |
+
</li>
|
108 |
+
<?php endforeach; ?>
|
109 |
+
</ul>
|
110 |
+
</dd>
|
111 |
+
<?php endforeach; ?>
|
112 |
+
</dl>
|
113 |
+
<div class="buttons-set">
|
114 |
+
<button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
|
115 |
+
</div>
|
116 |
+
</form>
|
117 |
+
<?php endif; ?>
|
118 |
+
<script type="text/javascript">
|
119 |
+
//<![CDATA[
|
120 |
+
var coShippingMethodForm = new VarienForm('shipping-zip-form');
|
121 |
+
var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
|
122 |
+
|
123 |
+
coShippingMethodForm.submit = function () {
|
124 |
+
var country = $F('country');
|
125 |
+
var optionalZip = false;
|
126 |
+
|
127 |
+
for (i=0; i < countriesWithOptionalZip.length; i++) {
|
128 |
+
if (countriesWithOptionalZip[i] == country) {
|
129 |
+
optionalZip = true;
|
130 |
+
}
|
131 |
+
}
|
132 |
+
if (optionalZip) {
|
133 |
+
$('postcode').removeClassName('required-entry');
|
134 |
+
}
|
135 |
+
else {
|
136 |
+
$('postcode').addClassName('required-entry');
|
137 |
+
}
|
138 |
+
return VarienForm.prototype.submit.bind(coShippingMethodForm)();
|
139 |
+
}
|
140 |
+
//]]>
|
141 |
+
</script>
|
142 |
+
</div>
|
143 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/cart/sidebar.phtml
ADDED
@@ -0,0 +1,72 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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><span><?php echo $this->__('My Cart') ?></span></strong>
|
37 |
+
</div>
|
38 |
+
<div class="block-content">
|
39 |
+
<?php if ($_cartQty>0): ?>
|
40 |
+
<div class="summary">
|
41 |
+
<?php if ($_cartQty==1): ?>
|
42 |
+
<p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
|
43 |
+
<?php else: ?>
|
44 |
+
<p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
|
45 |
+
<?php endif ?>
|
46 |
+
<p class="subtotal">
|
47 |
+
<span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
|
48 |
+
<?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
|
49 |
+
<br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
|
50 |
+
<?php endif; ?>
|
51 |
+
</p>
|
52 |
+
</div>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
55 |
+
<div class="actions">
|
56 |
+
<button type="button" title="<?php echo $this->__('Checkout') ?>" class="button" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
|
57 |
+
</div>
|
58 |
+
<?php endif ?>
|
59 |
+
<?php $_items = $this->getRecentItems() ?>
|
60 |
+
<?php if(count($_items)): ?>
|
61 |
+
<p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
|
62 |
+
<ol id="cart-sidebar" class="mini-products-list">
|
63 |
+
<?php foreach($_items as $_item): ?>
|
64 |
+
<?php echo $this->getItemHtml($_item) ?>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</ol>
|
67 |
+
<script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
|
68 |
+
<?php else: ?>
|
69 |
+
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
70 |
+
<?php endif ?>
|
71 |
+
</div>
|
72 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/cart/sidebar/default.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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()?>" title="<?php echo $this->htmlEscape($this->getProductName()) ?>" 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()) ?>" /></a>
|
30 |
+
<div class="product-details">
|
31 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
|
32 |
+
<p class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a></p>
|
33 |
+
<strong><?php echo $this->getQty() ?></strong> x
|
34 |
+
|
35 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
37 |
+
<?php echo $this->__('Excl. Tax'); ?>:
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
40 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
41 |
+
<?php else: ?>
|
42 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
45 |
+
<br />
|
46 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
47 |
+
<small>
|
48 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
49 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</small>
|
52 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
53 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
54 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
55 |
+
<?php endforeach; ?>
|
56 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
57 |
+
<small>
|
58 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
59 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
60 |
+
<?php endforeach; ?>
|
61 |
+
</small>
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
64 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
65 |
+
<?php endif; ?>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
72 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
73 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
74 |
+
<br /><?php echo $this->__('Incl. Tax'); ?>:
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
|
77 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
78 |
+
<?php else: ?>
|
79 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
80 |
+
<?php endif; ?>
|
81 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
82 |
+
<br />
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
84 |
+
<small>
|
85 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
86 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
87 |
+
<?php endforeach; ?>
|
88 |
+
</small>
|
89 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
90 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
91 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
92 |
+
<?php endforeach; ?>
|
93 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
94 |
+
<small>
|
95 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
96 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
97 |
+
<?php endforeach; ?>
|
98 |
+
</small>
|
99 |
+
<?php endif; ?>
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
101 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php endif; ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
<?php if ($_options = $this->getOptionList()):?>
|
106 |
+
<div class="truncated">
|
107 |
+
<div class="truncated_full_value">
|
108 |
+
<dl class="item-options">
|
109 |
+
<?php foreach ($_options as $_option) : ?>
|
110 |
+
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
111 |
+
<dd>
|
112 |
+
<?php if (is_array($_option['value'])): ?>
|
113 |
+
<?php echo nl2br(implode("\n", $_option['value'])) ?>
|
114 |
+
<?php else: ?>
|
115 |
+
<?php echo $_option['value'] ?>
|
116 |
+
<?php endif; ?>
|
117 |
+
</dd>
|
118 |
+
<?php endforeach; ?>
|
119 |
+
</dl>
|
120 |
+
</div>
|
121 |
+
<a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
|
122 |
+
</div>
|
123 |
+
<?php endif; ?>
|
124 |
+
</div>
|
125 |
+
</li>
|
app/design/frontend/default/watchshop/template/checkout/cart/sidebar/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/checkout/cart/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="multiple-checkout">
|
28 |
+
<div class="page-title title-buttons">
|
29 |
+
<h1><?php echo $this->__('Change Billing Address') ?></h1>
|
30 |
+
<button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
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) ?>"><strong><?php echo $this->__('Select Address') ?></strong></a>
|
40 |
+
</p>
|
41 |
+
<address>
|
42 |
+
<?php echo $_address->format('html') ?>
|
43 |
+
</address>
|
44 |
+
<?php if($this->isAddressDefaultBilling($_address)): ?>
|
45 |
+
<strong><?php echo $this->__('Default Billing') ?></strong>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php if($this->isAddressDefaultShipping($_address)): ?>
|
48 |
+
<br /><strong><?php echo $this->__('Default Shipping') ?></strong>
|
49 |
+
<?php endif; ?>
|
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 class="buttons-set">
|
56 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
57 |
+
</div>
|
58 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/address/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
35 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post">
|
36 |
+
<div class="multiple-checkout">
|
37 |
+
<div class="page-title title-buttons">
|
38 |
+
<h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
|
39 |
+
<button type="submit" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
|
40 |
+
</div>
|
41 |
+
<input type="hidden" name="continue" value="0" id="can_continue_flag" />
|
42 |
+
<input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
|
43 |
+
<h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
|
44 |
+
<table class="data-table" 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> </th>
|
55 |
+
</tr>
|
56 |
+
</thead>
|
57 |
+
<tfoot>
|
58 |
+
<tr>
|
59 |
+
<td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty & Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty & 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) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?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 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
|
76 |
+
<button type="submit" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
</form>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/agreements.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $this->htmlEscape($_a->getCheckboxText()) ?></label>
|
46 |
+
</p>
|
47 |
+
</li>
|
48 |
+
<?php endforeach ?>
|
49 |
+
</ol>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/billing.phtml
ADDED
@@ -0,0 +1,116 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="multiple-checkout">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Billing Information') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
|
40 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
|
41 |
+
<div class="col2-set">
|
42 |
+
<div class="col-1 col-narrow">
|
43 |
+
<div class="box">
|
44 |
+
<div class="box-title">
|
45 |
+
<h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
|
46 |
+
</div>
|
47 |
+
<div class="box-content">
|
48 |
+
<?php $_address=$this->getAddress() ?>
|
49 |
+
<address><?php echo $_address->format('html') ?></address>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
<div class="col-2 col-wide">
|
54 |
+
<div class="box">
|
55 |
+
<div class="box-title">
|
56 |
+
<h2><?php echo $this->__('Payment Method') ?></h2>
|
57 |
+
</div>
|
58 |
+
<div class="box-content">
|
59 |
+
<div class="tool-tip" id="payment-tool-tip" style="display:none;">
|
60 |
+
<div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
|
61 |
+
<div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
|
62 |
+
</div>
|
63 |
+
<!-- Payment methods forms list -->
|
64 |
+
<dl class="sp-methods">
|
65 |
+
<?php
|
66 |
+
$_methods = $this->getMethods();
|
67 |
+
$_methodsCount = count($_methods);
|
68 |
+
?>
|
69 |
+
<?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
|
70 |
+
<dt>
|
71 |
+
<?php if ($_methodsCount > 1): ?>
|
72 |
+
<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" />
|
73 |
+
<?php else :?>
|
74 |
+
<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>
|
75 |
+
<?php endif;?>
|
76 |
+
<label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
|
77 |
+
</dt>
|
78 |
+
<?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
|
79 |
+
<dd>
|
80 |
+
<?php echo $html; ?>
|
81 |
+
</dd>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</dl>
|
85 |
+
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<div class="buttons-set">
|
91 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
|
92 |
+
<button type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
|
93 |
+
</div>
|
94 |
+
</form>
|
95 |
+
<script type="text/javascript">
|
96 |
+
//<![CDATA[
|
97 |
+
var payment = new paymentForm('multishipping-billing-form');
|
98 |
+
function toggleToolTip(event){
|
99 |
+
if($('payment-tool-tip')){
|
100 |
+
/*$('payment-tool-tip').setStyle({
|
101 |
+
top: (Event.pointerY(event)-510)+'px',
|
102 |
+
left: (Event.pointerX(event)-800)+'px'
|
103 |
+
})*/
|
104 |
+
$('payment-tool-tip').toggle();
|
105 |
+
}
|
106 |
+
Event.stop(event);
|
107 |
+
}
|
108 |
+
if($('payment-tool-tip-close')){
|
109 |
+
Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
|
110 |
+
}
|
111 |
+
$$('.cvv-what-is-this').each(function(element){
|
112 |
+
Event.observe(element, 'click', toggleToolTip);
|
113 |
+
});
|
114 |
+
//]]>
|
115 |
+
</script>
|
116 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div class="col2-set">
|
29 |
+
<h2 class="legend"><?php echo $this->__('Other items in your order') ?></h2>
|
30 |
+
<div class="col-1 col-narrow"></div>
|
31 |
+
<div class="col-2 col-wide">
|
32 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
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/watchshop/template/checkout/multishipping/billing/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a></h3>
|
28 |
+
<?php if ($_options = $this->getOptionList()):?>
|
29 |
+
<dl class="item-options">
|
30 |
+
<?php foreach ($_options as $_option) : ?>
|
31 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
32 |
+
<dt><?php echo $this->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/watchshop/template/checkout/multishipping/item/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/checkout/multishipping/overview.phtml
ADDED
@@ -0,0 +1,241 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="multiple-checkout">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
|
33 |
+
<div class="col2-set">
|
34 |
+
<h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
|
35 |
+
<div class="col-1">
|
36 |
+
<div class="box">
|
37 |
+
<?php $_address=$this->getBillingAddress() ?>
|
38 |
+
<div class="box-title">
|
39 |
+
<h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
40 |
+
</div>
|
41 |
+
<div class="box-content">
|
42 |
+
<address>
|
43 |
+
<?php echo $_address->format('html') ?>
|
44 |
+
</address>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<div class="col-2">
|
49 |
+
<div class="box">
|
50 |
+
<div class="box-title">
|
51 |
+
<h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
|
52 |
+
</div>
|
53 |
+
<div class="box-content">
|
54 |
+
<input type="hidden" name="payment[cc_number]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcNumber())?>" />
|
55 |
+
<input type="hidden" name="payment[cc_cid]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcCid())?>" />
|
56 |
+
<?php echo $this->getPaymentHtml() ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
62 |
+
<div class="col2-set">
|
63 |
+
<h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
|
64 |
+
<?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
|
65 |
+
<h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
|
66 |
+
<div class="col-1 col-narrow">
|
67 |
+
<div class="box">
|
68 |
+
<div class="box-title">
|
69 |
+
<h4><?php echo $this->__('Shipping to') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
|
70 |
+
</div>
|
71 |
+
<div class="box-content">
|
72 |
+
<address>
|
73 |
+
<?php echo $_address->format('html') ?>
|
74 |
+
</address>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
<div class="box">
|
78 |
+
<div class="box-title">
|
79 |
+
<h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
|
80 |
+
</div>
|
81 |
+
<div class="box-content">
|
82 |
+
<?php if($_rate=$this->getShippingAddressRate($_address)): ?>
|
83 |
+
<p>
|
84 |
+
<?php echo $_rate->getCarrierTitle() ?> - <?php echo $_rate->getMethodTitle() ?>
|
85 |
+
<?php $_excl = $this->getShippingPriceExclTax($_address); ?>
|
86 |
+
<?php $_incl = $this->getShippingPriceInclTax($_address); ?>
|
87 |
+
<?php echo $_excl; ?>
|
88 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
89 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
90 |
+
<?php endif; ?>
|
91 |
+
</p>
|
92 |
+
<?php endif; ?>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
<div class="col-2 col-wide">
|
97 |
+
<h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
|
98 |
+
<table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
|
99 |
+
<col />
|
100 |
+
<col width="1" />
|
101 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
102 |
+
<col width="1" />
|
103 |
+
<?php endif; ?>
|
104 |
+
<col width="1" />
|
105 |
+
<col width="1" />
|
106 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
107 |
+
<col width="1" />
|
108 |
+
<?php endif; ?>
|
109 |
+
<thead>
|
110 |
+
<tr>
|
111 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
112 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
113 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
114 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
115 |
+
</tr>
|
116 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
117 |
+
<tr>
|
118 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
119 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
120 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
121 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
122 |
+
</tr>
|
123 |
+
<?php endif; ?>
|
124 |
+
</thead>
|
125 |
+
<tfoot>
|
126 |
+
<?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
|
127 |
+
</tfoot>
|
128 |
+
<tbody>
|
129 |
+
<?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
|
130 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
131 |
+
<?php endforeach; ?>
|
132 |
+
</tbody>
|
133 |
+
</table>
|
134 |
+
<script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
|
135 |
+
</div>
|
136 |
+
<?php if($this->getShippingAddressCount()!=$_index+1): ?>
|
137 |
+
<div class="divider"></div>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php endforeach; ?>
|
140 |
+
</div>
|
141 |
+
<?php if ($this->getQuote()->hasVirtualItems()): ?>
|
142 |
+
<div class="col2-set">
|
143 |
+
<h2 class="legend"><?php echo $this->__('Other items in your order') ?></h2>
|
144 |
+
<div class="col-1 col-narrow"></div>
|
145 |
+
<div class="col-2 col-wide">
|
146 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
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 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
181 |
+
<?php endforeach; ?>
|
182 |
+
</tbody>
|
183 |
+
</table>
|
184 |
+
<script type="text/javascript">decorateTable('virtual-overview-table')</script>
|
185 |
+
</div>
|
186 |
+
</div>
|
187 |
+
<?php endif; ?>
|
188 |
+
|
189 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
190 |
+
|
191 |
+
<div id="checkout-review-submit">
|
192 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
193 |
+
<div class="place-order">
|
194 |
+
<div class="grand-total">
|
195 |
+
<div class="inner">
|
196 |
+
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
197 |
+
<div id="review-buttons-container">
|
198 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
199 |
+
</div>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
203 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
204 |
+
</span>
|
205 |
+
</div>
|
206 |
+
</div>
|
207 |
+
<div class="buttons-set">
|
208 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
209 |
+
</div>
|
210 |
+
</form>
|
211 |
+
<script type="text/javascript">
|
212 |
+
//<![CDATA[
|
213 |
+
var submitted = false;
|
214 |
+
|
215 |
+
function showLoader()
|
216 |
+
{
|
217 |
+
if (submitted) {
|
218 |
+
return false;
|
219 |
+
}
|
220 |
+
if ($('checkout-agreements')) {
|
221 |
+
var checkboxes = $$('#checkout-agreements input');
|
222 |
+
for (var i=0, l=checkboxes.length; i<l; i++) {
|
223 |
+
if (!checkboxes[i].checked) {
|
224 |
+
alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
|
225 |
+
return false;
|
226 |
+
}
|
227 |
+
}
|
228 |
+
}
|
229 |
+
|
230 |
+
submitted = true;
|
231 |
+
var step='review';
|
232 |
+
Element.show(step+'-please-wait');
|
233 |
+
$(step+'-buttons-container').setStyle({opacity:.5});
|
234 |
+
$(step+'-buttons-container').descendants().each(function(s) {
|
235 |
+
s.disabled = true;
|
236 |
+
});
|
237 |
+
return true;
|
238 |
+
}
|
239 |
+
//]]>
|
240 |
+
</script>
|
241 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/overview/item.phtml
ADDED
@@ -0,0 +1,238 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* Quote Item row html
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Item_Renderer
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_item = $this->getItem() ?>
|
35 |
+
<tr>
|
36 |
+
<td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
|
37 |
+
|
38 |
+
<!--- Excluding Tax -->
|
39 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
40 |
+
<td class="a-right">
|
41 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
42 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="cart-price">
|
45 |
+
<?php endif; ?>
|
46 |
+
|
47 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
48 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
49 |
+
<?php else: ?>
|
50 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
51 |
+
<?php endif; ?>
|
52 |
+
|
53 |
+
</div>
|
54 |
+
|
55 |
+
|
56 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
57 |
+
|
58 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
59 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
60 |
+
<small>
|
61 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
62 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
63 |
+
<?php endforeach; ?>
|
64 |
+
</small>
|
65 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
66 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
67 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
68 |
+
<?php endforeach; ?>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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_incl_tax'],true,true); ?></span><br />
|
73 |
+
<?php endforeach; ?>
|
74 |
+
</small>
|
75 |
+
<?php endif; ?>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
80 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
81 |
+
</div>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php endif; ?>
|
84 |
+
</td>
|
85 |
+
<?php endif; ?>
|
86 |
+
<!--- // Excluding Tax -->
|
87 |
+
|
88 |
+
<!--- Including Tax -->
|
89 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
90 |
+
<td>
|
91 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
92 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
93 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
94 |
+
<?php else: ?>
|
95 |
+
<div class="cart-price">
|
96 |
+
<?php endif; ?>
|
97 |
+
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
100 |
+
<?php else: ?>
|
101 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
|
104 |
+
</div>
|
105 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
106 |
+
|
107 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
109 |
+
<small>
|
110 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
111 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
112 |
+
<?php endforeach; ?>
|
113 |
+
</small>
|
114 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
116 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
117 |
+
<?php endforeach; ?>
|
118 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<small>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
121 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
122 |
+
<?php endforeach; ?>
|
123 |
+
</small>
|
124 |
+
<?php endif; ?>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
128 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
129 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
130 |
+
</div>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php endif; ?>
|
133 |
+
|
134 |
+
</td>
|
135 |
+
<?php endif; ?>
|
136 |
+
<!--- // Including Tax -->
|
137 |
+
|
138 |
+
<td class="a-center"><?php echo $_item->getQty()*1 ?></td>
|
139 |
+
|
140 |
+
<!--- Excluding Tax Subtotal -->
|
141 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
142 |
+
<td class="a-right">
|
143 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
144 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
145 |
+
<?php else: ?>
|
146 |
+
<div class="cart-price">
|
147 |
+
<?php endif; ?>
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
151 |
+
<?php else: ?>
|
152 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
|
155 |
+
</div>
|
156 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
157 |
+
|
158 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
159 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<small>
|
161 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
162 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
163 |
+
<?php endforeach; ?>
|
164 |
+
</small>
|
165 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
167 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
168 |
+
<?php endforeach; ?>
|
169 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<small>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
172 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
173 |
+
<?php endforeach; ?>
|
174 |
+
</small>
|
175 |
+
<?php endif; ?>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
179 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
180 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
181 |
+
</div>
|
182 |
+
<?php endif; ?>
|
183 |
+
<?php endif; ?>
|
184 |
+
</td>
|
185 |
+
<?php endif; ?>
|
186 |
+
<!--- //Excluding Tax Subtotal -->
|
187 |
+
|
188 |
+
<!--- Including Tax Subtotal -->
|
189 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
190 |
+
<td>
|
191 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
192 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
193 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
194 |
+
<?php else: ?>
|
195 |
+
<div class="cart-price">
|
196 |
+
<?php endif; ?>
|
197 |
+
|
198 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
199 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
200 |
+
<?php else: ?>
|
201 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
202 |
+
<?php endif; ?>
|
203 |
+
|
204 |
+
</div>
|
205 |
+
|
206 |
+
|
207 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
208 |
+
|
209 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
210 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
211 |
+
<small>
|
212 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
213 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
214 |
+
<?php endforeach; ?>
|
215 |
+
</small>
|
216 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
217 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
218 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
219 |
+
<?php endforeach; ?>
|
220 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
<small>
|
222 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
223 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
224 |
+
<?php endforeach; ?>
|
225 |
+
</small>
|
226 |
+
<?php endif; ?>
|
227 |
+
</div>
|
228 |
+
|
229 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
231 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
232 |
+
</div>
|
233 |
+
<?php endif; ?>
|
234 |
+
<?php endif; ?>
|
235 |
+
</td>
|
236 |
+
<?php endif; ?>
|
237 |
+
<!--- //Including Tax Subtotal -->
|
238 |
+
</tr>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/overview/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/multishipping/shipping.phtml
ADDED
@@ -0,0 +1,129 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="multiple-checkout">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Select Shipping Method') ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
|
40 |
+
<?php foreach ($this->getAddresses() as $_index => $_address): ?>
|
41 |
+
<div class="col2-set">
|
42 |
+
<h2 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h2>
|
43 |
+
<div class="col-1 col-narrow">
|
44 |
+
<div class="box">
|
45 |
+
<div class="box-title">
|
46 |
+
<h3><?php echo $this->__('Shipping to') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
47 |
+
</div>
|
48 |
+
<div class="box-content">
|
49 |
+
<address><?php echo $_address->format('html') ?></address>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
<div class="box box-sp-methods">
|
53 |
+
<div class="pointer"></div>
|
54 |
+
<div class="box-title">
|
55 |
+
<h3><?php echo $this->__('Shipping Method') ?></h3>
|
56 |
+
</div>
|
57 |
+
<div class="box-content">
|
58 |
+
<?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
|
59 |
+
<p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
|
60 |
+
<?php else: ?>
|
61 |
+
<dl class="sp-methods">
|
62 |
+
<?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
63 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
64 |
+
<dd>
|
65 |
+
<ul>
|
66 |
+
<?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
|
67 |
+
<li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"' ?>>
|
68 |
+
<?php if ($_rate->getErrorMessage()): ?>
|
69 |
+
<?php echo $_rate->getCarrierTitle() ?>: <?php echo $_rate->getErrorMessage() ?>
|
70 |
+
<?php else: ?>
|
71 |
+
<?php if ($_sole) : ?>
|
72 |
+
<span class="no-display"><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() ?>" checked="checked"/></span>
|
73 |
+
<?php else: ?>
|
74 |
+
<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" />
|
75 |
+
<?php endif; ?>
|
76 |
+
<label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
|
77 |
+
<?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
78 |
+
<?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
|
79 |
+
<?php echo $_excl; ?>
|
80 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
81 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
82 |
+
<?php endif; ?>
|
83 |
+
</label>
|
84 |
+
<?php endif ?>
|
85 |
+
</li>
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</ul>
|
88 |
+
</dd>
|
89 |
+
<?php endforeach; ?>
|
90 |
+
</dl>
|
91 |
+
<?php endif; ?>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="col-2 col-wide">
|
96 |
+
<?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
|
97 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
98 |
+
<table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
|
99 |
+
<col />
|
100 |
+
<col width="1" />
|
101 |
+
<thead>
|
102 |
+
<tr>
|
103 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
104 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
105 |
+
</tr>
|
106 |
+
</thead>
|
107 |
+
<tbody>
|
108 |
+
<?php foreach ($this->getAddressItems($_address) as $_item): ?>
|
109 |
+
<tr>
|
110 |
+
<td>
|
111 |
+
<?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
|
112 |
+
</td>
|
113 |
+
<td class="a-center"><?php echo $_item->getQty() ?></td>
|
114 |
+
</tr>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</tbody>
|
117 |
+
</table>
|
118 |
+
<script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
|
119 |
+
<?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
+
<?php endforeach; ?>
|
123 |
+
<?php echo $this->getChildHtml('checkout_billing_items') ?>
|
124 |
+
<div class="buttons-set">
|
125 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
|
126 |
+
<button type="submit" title="<?php echo $this->__('Continue to Billing Information') ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
|
127 |
+
</div>
|
128 |
+
</form>
|
129 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 title="<?php echo $_step->getLabel() ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><?php echo $_step->getLabel() ?></li>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</ul>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/success.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Order Success') ?></h1>
|
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 |
+
<p>
|
34 |
+
<?php $flag = false ?>
|
35 |
+
<?php echo $this->__('Your order number is ') ?>
|
36 |
+
<?php foreach ($_orderIds as $orderId=>$incrementId): ?>
|
37 |
+
<?php if ($flag): ?>
|
38 |
+
<?php echo ', ' ?>
|
39 |
+
<?php endif; ?>
|
40 |
+
<?php $flag = true ?>
|
41 |
+
<a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</p>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php echo $this->getChildHtml() ?>
|
46 |
+
<div class="buttons-set">
|
47 |
+
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
48 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/multishipping/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/onepage.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Checkout') ?></h1>
|
29 |
+
</div>
|
30 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
|
31 |
+
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
|
32 |
+
<script type="text/javascript">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 |
+
<h2><?php echo $_stepInfo['label'] ?></h2>
|
40 |
+
<a href="#"><?php echo $this->__('Edit') ?></a>
|
41 |
+
</div>
|
42 |
+
<div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
|
43 |
+
<?php echo $this->getChildHtml($_stepId) ?>
|
44 |
+
</div>
|
45 |
+
</li>
|
46 |
+
<?php endforeach ?>
|
47 |
+
</ol>
|
48 |
+
<script type="text/javascript">
|
49 |
+
//<![CDATA[
|
50 |
+
var accordion = new Accordion('checkoutSteps', '.step-title', true);
|
51 |
+
<?php if($this->getActiveStep()): ?>
|
52 |
+
accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
|
53 |
+
<?php endif ?>
|
54 |
+
var checkout = new Checkout(accordion,{
|
55 |
+
progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
|
56 |
+
review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
|
57 |
+
saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
|
58 |
+
failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
|
59 |
+
);
|
60 |
+
//]]>
|
61 |
+
</script>
|
app/design/frontend/default/watchshop/template/checkout/onepage/agreements.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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" title="<?php echo $this->htmlEscape($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $this->htmlEscape($_a->getCheckboxText()) ?></label>
|
47 |
+
</p>
|
48 |
+
</li>
|
49 |
+
<?php endforeach ?>
|
50 |
+
</ol>
|
51 |
+
</form>
|
app/design/frontend/default/watchshop/template/checkout/onepage/billing.phtml
ADDED
@@ -0,0 +1,203 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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">
|
30 |
+
<?php if ($this->customerHasAddresses()): ?>
|
31 |
+
<li class="wide">
|
32 |
+
<label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
|
33 |
+
<div class="input-box">
|
34 |
+
<?php echo $this->getAddressesHtmlSelect('billing') ?>
|
35 |
+
</div>
|
36 |
+
</li>
|
37 |
+
<?php endif; ?>
|
38 |
+
<li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
|
39 |
+
<fieldset>
|
40 |
+
<input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
|
41 |
+
<ul>
|
42 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
|
43 |
+
<li class="fields">
|
44 |
+
<div class="field">
|
45 |
+
<label for="billing:company"><?php echo $this->__('Company') ?></label>
|
46 |
+
<div class="input-box">
|
47 |
+
<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" />
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
51 |
+
<div class="field">
|
52 |
+
<label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<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" />
|
55 |
+
</div>
|
56 |
+
</div>
|
57 |
+
<?php endif ?>
|
58 |
+
</li>
|
59 |
+
<li class="wide">
|
60 |
+
<label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
61 |
+
<div class="input-box">
|
62 |
+
<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" />
|
63 |
+
</div>
|
64 |
+
</li>
|
65 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
66 |
+
<li class="wide">
|
67 |
+
<div class="input-box">
|
68 |
+
<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" />
|
69 |
+
</div>
|
70 |
+
</li>
|
71 |
+
<?php endfor ?>
|
72 |
+
<li class="fields">
|
73 |
+
<div class="field">
|
74 |
+
<label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
75 |
+
<div class="input-box">
|
76 |
+
<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" />
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<div class="field">
|
80 |
+
<label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
81 |
+
<div class="input-box">
|
82 |
+
<select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
83 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
84 |
+
</select>
|
85 |
+
<script type="text/javascript">
|
86 |
+
//<![CDATA[
|
87 |
+
$('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
88 |
+
//]]>
|
89 |
+
</script>
|
90 |
+
<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;" />
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
</li>
|
94 |
+
<li class="fields">
|
95 |
+
<div class="field">
|
96 |
+
<label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
97 |
+
<div class="input-box">
|
98 |
+
<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" />
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
<div class="field">
|
102 |
+
<label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
103 |
+
<div class="input-box">
|
104 |
+
<?php echo $this->getCountryHtmlSelect('billing') ?>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
</li>
|
108 |
+
<li lang="fields">
|
109 |
+
<div class="field">
|
110 |
+
<label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
111 |
+
<div class="input-box">
|
112 |
+
<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" />
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
<div class="field">
|
116 |
+
<label for="billing:fax"><?php echo $this->__('Fax') ?></label>
|
117 |
+
<div class="input-box">
|
118 |
+
<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" />
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</li>
|
122 |
+
<?php if(!$this->isCustomerLoggedIn()): ?>
|
123 |
+
|
124 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
125 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
126 |
+
<?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
|
127 |
+
<li class="fields">
|
128 |
+
<?php if ($_dob->isEnabled()): ?>
|
129 |
+
<div class="field">
|
130 |
+
<?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
131 |
+
</div>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php if ($_gender->isEnabled()): ?>
|
134 |
+
<div class="field">
|
135 |
+
<?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
136 |
+
</div>
|
137 |
+
<?php endif ?>
|
138 |
+
</li>
|
139 |
+
<?php endif ?>
|
140 |
+
|
141 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
142 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
143 |
+
<li>
|
144 |
+
<?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
|
145 |
+
</li>
|
146 |
+
<?php endif ?>
|
147 |
+
|
148 |
+
<li class="fields" id="register-customer-password">
|
149 |
+
<div class="field">
|
150 |
+
<label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
151 |
+
<div class="input-box">
|
152 |
+
<input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
153 |
+
</div>
|
154 |
+
</div>
|
155 |
+
<div class="field">
|
156 |
+
<label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
157 |
+
<div class="input-box">
|
158 |
+
<input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
+
</li>
|
162 |
+
<?php endif; ?>
|
163 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
164 |
+
<li class="control">
|
165 |
+
<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>
|
166 |
+
</li>
|
167 |
+
<?php else:?>
|
168 |
+
<li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
|
169 |
+
<?php endif; ?>
|
170 |
+
</ul>
|
171 |
+
</fieldset>
|
172 |
+
</li>
|
173 |
+
<?php if ($this->canShip()): ?>
|
174 |
+
<li class="control">
|
175 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
|
176 |
+
<li class="control">
|
177 |
+
<input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
|
178 |
+
</li>
|
179 |
+
<?php endif; ?>
|
180 |
+
</ul>
|
181 |
+
<?php if (!$this->canShip()): ?>
|
182 |
+
<input type="hidden" name="billing[use_for_shipping]" value="1" />
|
183 |
+
<?php endif; ?>
|
184 |
+
<div class="buttons-set" id="billing-buttons-container">
|
185 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
186 |
+
<button type="button" title="<?php echo $this->__('Continue') ?>" class="button" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
187 |
+
<span class="please-wait" id="billing-please-wait" style="display:none;">
|
188 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
189 |
+
</span>
|
190 |
+
</div>
|
191 |
+
</fieldset>
|
192 |
+
</form>
|
193 |
+
<script type="text/javascript">
|
194 |
+
//<![CDATA[
|
195 |
+
var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
|
196 |
+
var billingForm = new VarienForm('co-billing-form');
|
197 |
+
|
198 |
+
//billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
199 |
+
$('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
|
200 |
+
|
201 |
+
var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', countryRegions, undefined, 'billing:postcode');
|
202 |
+
//]]>
|
203 |
+
</script>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('An error occurred in the process of payment') ?></h1>
|
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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button btn-checkout<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"></button>
|
30 |
+
</li>
|
31 |
+
<?php endif?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php echo $this->getChildHtml('login_before')?>
|
29 |
+
<div class="col-1">
|
30 |
+
<h3><?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; ?></h3>
|
31 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
32 |
+
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
|
33 |
+
<?php else: ?>
|
34 |
+
<p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
|
35 |
+
<?php echo $this->__('Register with us for future convenience:') ?></p>
|
36 |
+
<ul>
|
37 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
38 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
39 |
+
</ul>
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
42 |
+
<ul class="form-list">
|
43 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
44 |
+
<li class="control">
|
45 |
+
<input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
|
46 |
+
</li>
|
47 |
+
<?php endif; ?>
|
48 |
+
<li class="control">
|
49 |
+
<input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
|
50 |
+
</li>
|
51 |
+
</ul>
|
52 |
+
<h4><?php echo $this->__('Register and save time!') ?></h4>
|
53 |
+
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
|
54 |
+
<ul class="ul">
|
55 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
56 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
57 |
+
</ul>
|
58 |
+
<?php else: ?>
|
59 |
+
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
|
60 |
+
<?php endif; ?>
|
61 |
+
</div>
|
62 |
+
<div class="col-2">
|
63 |
+
<h3><?php echo $this->__('Login') ?></h3>
|
64 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
65 |
+
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
66 |
+
<fieldset>
|
67 |
+
<h4><?php echo $this->__('Already registered?') ?></h4>
|
68 |
+
<p><?php echo $this->__('Please log in below:') ?></p>
|
69 |
+
<ul class="form-list">
|
70 |
+
<li>
|
71 |
+
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
|
74 |
+
</div>
|
75 |
+
</li>
|
76 |
+
<li>
|
77 |
+
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
78 |
+
<div class="input-box">
|
79 |
+
<input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
|
80 |
+
</div>
|
81 |
+
</li>
|
82 |
+
</ul>
|
83 |
+
</fieldset>
|
84 |
+
</form>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<div class="col2-set">
|
88 |
+
<div class="col-1">
|
89 |
+
<div class="buttons-set">
|
90 |
+
<p class="required"> </p>
|
91 |
+
<button type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
<div class="col-2">
|
95 |
+
<div class="buttons-set">
|
96 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
97 |
+
<a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
|
98 |
+
<button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
99 |
+
</div>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
<script type="text/javascript">
|
103 |
+
//<![CDATA[
|
104 |
+
var loginForm = new VarienForm('login-form', true);
|
105 |
+
$('login-email').observe('keypress', bindLoginPost);
|
106 |
+
$('login-password').observe('keypress', bindLoginPost);
|
107 |
+
function bindLoginPost(evt){
|
108 |
+
if (evt.keyCode == Event.KEY_RETURN) {
|
109 |
+
loginForm.submit();
|
110 |
+
}
|
111 |
+
}
|
112 |
+
function onepageLogin(button)
|
113 |
+
{
|
114 |
+
if(loginForm.validator && loginForm.validator.validate()){
|
115 |
+
button.disabled = true;
|
116 |
+
loginForm.submit();
|
117 |
+
}
|
118 |
+
}
|
119 |
+
//]]>
|
120 |
+
</script>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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" title="<?php echo $this->__('Close') ?>"><?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 |
+
<div class="buttons-set" id="payment-buttons-container">
|
42 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
43 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
44 |
+
<button type="button" class="button" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
45 |
+
<span class="please-wait" id="payment-please-wait" style="display:none;">
|
46 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
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)-560)+'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/watchshop/template/checkout/onepage/payment/methods.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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() ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
|
43 |
+
</dt>
|
44 |
+
<?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
|
45 |
+
<dd>
|
46 |
+
<?php echo $html; ?>
|
47 |
+
</dd>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</dl>
|
51 |
+
<script type="text/javascript">
|
52 |
+
//<![CDATA[
|
53 |
+
<?php echo $this->getChildChildHtml('scripts'); ?>
|
54 |
+
payment.init();
|
55 |
+
//]]>
|
56 |
+
</script>
|
app/design/frontend/default/watchshop/template/checkout/onepage/payment/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<strong><span><?php echo $this->__('Your Checkout Progress') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<dl>
|
33 |
+
<?php if ($this->getCheckout()->getStepData('billing', 'is_show')): ?>
|
34 |
+
<?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/watchshop/template/checkout/onepage/review.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="checkout-review-load">
|
28 |
+
<?php echo $this->getChildHtml('info') ?>
|
29 |
+
</div>
|
30 |
+
<div id="checkout-review-submit">
|
31 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
32 |
+
<div class="buttons-set" id="review-buttons-container">
|
33 |
+
<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>
|
34 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
35 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
36 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
37 |
+
</span>
|
38 |
+
</div>
|
39 |
+
<script type="text/javascript">
|
40 |
+
//<![CDATA[
|
41 |
+
var review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
42 |
+
//]]>
|
43 |
+
</script>
|
44 |
+
</div>
|
app/design/frontend/default/watchshop/template/checkout/onepage/review/info.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->getChildHtml('items_before'); ?>
|
28 |
+
<div id="checkout-review-table-wrapper">
|
29 |
+
<table class="data-table" id="checkout-review-table">
|
30 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
+
<col />
|
32 |
+
<col width="1" />
|
33 |
+
<col width="1" />
|
34 |
+
<col width="1" />
|
35 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<?php endif; ?>
|
39 |
+
<thead>
|
40 |
+
<tr>
|
41 |
+
<th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
|
42 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
43 |
+
<th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
44 |
+
<th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
45 |
+
</tr>
|
46 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
47 |
+
<tr>
|
48 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
49 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
50 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
51 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
52 |
+
</tr>
|
53 |
+
<?php endif; ?>
|
54 |
+
</thead>
|
55 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
56 |
+
<tbody>
|
57 |
+
<?php foreach($this->getItems() as $_item): ?>
|
58 |
+
<?php echo $this->getItemHtml($_item)?>
|
59 |
+
<?php endforeach ?>
|
60 |
+
</tbody>
|
61 |
+
</table>
|
62 |
+
</div>
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
decorateTable('checkout-review-table');
|
66 |
+
truncateOptions();
|
67 |
+
//]]>
|
68 |
+
</script>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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><h3 class="product-name"><?php echo $this->htmlEscape($this->getProductName()) ?></h3>
|
30 |
+
<?php if ($_options = $this->getOptionList()):?>
|
31 |
+
<dl class="item-options">
|
32 |
+
<?php foreach ($_options as $_option) : ?>
|
33 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
34 |
+
<dt><?php echo $this->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 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
53 |
+
<?php else: ?>
|
54 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
101 |
+
<?php else: ?>
|
102 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
147 |
+
<?php else: ?>
|
148 |
+
<span 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 |
+
</span>
|
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 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
193 |
+
<?php else: ?>
|
194 |
+
<span 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 |
+
</span>
|
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/watchshop/template/checkout/onepage/review/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<?php if ($this->needDisplayBaseGrandtotal()):?>
|
33 |
+
<tr>
|
34 |
+
<td class="a-right" colspan="<?php echo $_colspan; ?>">
|
35 |
+
<small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
|
36 |
+
</td>
|
37 |
+
<td class="a-right">
|
38 |
+
<small><?php echo $this->displayBaseGrandtotal() ?></small>
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
<?php endif?>
|
42 |
+
</tfoot>
|
43 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/checkout/onepage/review/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/onepage/shipping.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<ul class="form-list">
|
29 |
+
<?php if ($this->customerHasAddresses()): ?>
|
30 |
+
<li class="wide">
|
31 |
+
<label for="shipping-address-select"><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></label>
|
32 |
+
<div class="input-box">
|
33 |
+
<?php echo $this->getAddressesHtmlSelect('shipping') ?>
|
34 |
+
</div>
|
35 |
+
</li>
|
36 |
+
<?php endif ?>
|
37 |
+
<li id="shipping-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif ?>>
|
38 |
+
<fieldset>
|
39 |
+
<input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
|
40 |
+
<ul>
|
41 |
+
<li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress())->setFieldIdFormat('shipping:%s')->setFieldNameFormat('shipping[%s]')->setFieldParams('onchange="shipping.setSameAsBilling(false)"')->toHtml() ?></li>
|
42 |
+
<li class="fields">
|
43 |
+
<div class="fields">
|
44 |
+
<label for="shipping:company"><?php echo $this->__('Company') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<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);" />
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
<?php if(false): ?>
|
50 |
+
<div class="fields">
|
51 |
+
<label for="shipping:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
52 |
+
<div class="input-box">
|
53 |
+
<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" />
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
<?php endif ?>
|
57 |
+
</li>
|
58 |
+
<li class="wide">
|
59 |
+
<label for="shipping:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
|
60 |
+
<div class="input-box">
|
61 |
+
<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);" />
|
62 |
+
</div>
|
63 |
+
</li>
|
64 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
65 |
+
<li class="wide">
|
66 |
+
<div class="input-box">
|
67 |
+
<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);" />
|
68 |
+
</div>
|
69 |
+
</li>
|
70 |
+
<?php endfor ?>
|
71 |
+
<li class="fields">
|
72 |
+
<div class="field">
|
73 |
+
<label for="shipping:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
74 |
+
<div class="input-box">
|
75 |
+
<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);" />
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="field">
|
79 |
+
<label for="shipping:region" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
80 |
+
<div class="input-box">
|
81 |
+
<select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
82 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
83 |
+
</select>
|
84 |
+
<script type="text/javascript">
|
85 |
+
//<![CDATA[
|
86 |
+
$('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
87 |
+
//]]>
|
88 |
+
</script>
|
89 |
+
<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;" />
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
</li>
|
93 |
+
<li class="fields">
|
94 |
+
<div class="field">
|
95 |
+
<label for="shipping:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
96 |
+
<div class="input-box">
|
97 |
+
<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);" />
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
<div class="field">
|
101 |
+
<label for="shipping:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
102 |
+
<div class="input-box">
|
103 |
+
<?php echo $this->getCountryHtmlSelect('shipping') ?>
|
104 |
+
</div>
|
105 |
+
</div>
|
106 |
+
</li>
|
107 |
+
<li class="fields">
|
108 |
+
<div class="field">
|
109 |
+
<label for="shipping:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
110 |
+
<div class="input-box">
|
111 |
+
<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);" />
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
<div class="field">
|
115 |
+
<label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
|
116 |
+
<div class="input-box">
|
117 |
+
<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);" />
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</li>
|
121 |
+
<?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
|
122 |
+
<li class="control">
|
123 |
+
<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>
|
124 |
+
<?php else:?>
|
125 |
+
<li class="no-display"><input type="hidden" name="shipping[save_in_address_book]" value="1" /></li>
|
126 |
+
<?php endif;?>
|
127 |
+
</ul>
|
128 |
+
</fieldset>
|
129 |
+
</li>
|
130 |
+
<li class="control">
|
131 |
+
<input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1"<?php if($this->getAddress()->getSameAsBilling()): ?> checked="checked"<?php endif; ?> title="<?php echo $this->__('Use Billing Address') ?>" onclick="shipping.setSameAsBilling(this.checked)" class="checkbox" /><label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label>
|
132 |
+
</li>
|
133 |
+
</ul>
|
134 |
+
<div class="buttons-set" id="shipping-buttons-container">
|
135 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
136 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
137 |
+
<button type="button" class="button" title="<?php echo $this->__('Continue') ?>" onclick="shipping.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
138 |
+
<span id="shipping-please-wait" class="please-wait" style="display:none;">
|
139 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
140 |
+
</span>
|
141 |
+
</div>
|
142 |
+
</form>
|
143 |
+
<script type="text/javascript">
|
144 |
+
//<![CDATA[
|
145 |
+
var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
|
146 |
+
'<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
|
147 |
+
var shippingForm = new VarienForm('co-shipping-form');
|
148 |
+
shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
|
149 |
+
//shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
|
150 |
+
$('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
|
151 |
+
|
152 |
+
var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', countryRegions, undefined, 'shipping:postcode');
|
153 |
+
//]]>
|
154 |
+
</script>
|
app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div id="checkout-shipping-method-load">
|
29 |
+
<?php echo $this->getChildHtml('available') ?>
|
30 |
+
</div>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
|
34 |
+
//]]>
|
35 |
+
</script>
|
36 |
+
<div id="onepage-checkout-shipping-method-additional-load">
|
37 |
+
<?php echo $this->getChildHtml('additional') ?>
|
38 |
+
</div>
|
39 |
+
<div class="buttons-set" id="shipping-method-buttons-container">
|
40 |
+
<p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
41 |
+
<button type="button" class="button" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
42 |
+
<span id="shipping-method-please-wait" class="please-wait" style="display:none;">
|
43 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
|
44 |
+
</span>
|
45 |
+
</div>
|
46 |
+
</form>
|
app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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()->isVirtual()): ?>
|
28 |
+
<?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
|
29 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/available.phtml
ADDED
@@ -0,0 +1,60 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
|
32 |
+
<dt><?php echo $this->getCarrierName($code) ?></dt>
|
33 |
+
<dd>
|
34 |
+
<ul>
|
35 |
+
<?php $_sole = $_sole && count($_rates) == 1; 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 |
+
<?php if ($_sole) : ?>
|
41 |
+
<span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
|
42 |
+
<?php else: ?>
|
43 |
+
<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" />
|
44 |
+
<?php endif; ?>
|
45 |
+
<label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
|
46 |
+
<?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
|
47 |
+
<?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
|
48 |
+
<?php echo $_excl; ?>
|
49 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
50 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
51 |
+
<?php endif; ?>
|
52 |
+
</label>
|
53 |
+
<?php endif ?>
|
54 |
+
</li>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
</ul>
|
57 |
+
</dd>
|
58 |
+
<?php endforeach; ?>
|
59 |
+
</dl>
|
60 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/template/checkout/onepage/shipping_method/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/onepage/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Your order has been received') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
|
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" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
46 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<td 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 |
+
</td>
|
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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/checkout/total/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/checkout/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/cms/content_heading.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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($_heading = $this->getContentHeading()): ?>
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $_heading; ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/cms/default/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/cms/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/cms/widget/link/link_block.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-cms-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/cms/widget/link/link_inline.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<span class="widget widget-cms-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->htmlEscape($this->getAnchorText()) ?></span></a></span>
|
app/design/frontend/default/watchshop/template/cms/widget/link/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/cms/widget/static_block/default.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="widget widget-static-block"><?php echo $this->getText(); ?></div>
|
app/design/frontend/default/watchshop/template/cms/widget/static_block/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/contacts/form.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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="contact-us">
|
28 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
|
31 |
+
</div>
|
32 |
+
<div class="contact-border"></div>
|
33 |
+
|
34 |
+
<div class="content">
|
35 |
+
<form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
|
36 |
+
|
37 |
+
<!--<h2 class="legend"><?php echo Mage::helper('contacts')->__('Contact Information') ?></h2>-->
|
38 |
+
<ul class="form-list">
|
39 |
+
<li class="fields">
|
40 |
+
<div class="field">
|
41 |
+
<label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
|
42 |
+
<div class="input-box">
|
43 |
+
<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" />
|
44 |
+
</div>
|
45 |
+
</div><br/>
|
46 |
+
<div class="field">
|
47 |
+
<label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
|
48 |
+
<div class="input-box">
|
49 |
+
<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" />
|
50 |
+
</div>
|
51 |
+
</div><br/>
|
52 |
+
<!--Add Here-->
|
53 |
+
<div class="field">
|
54 |
+
<label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
|
55 |
+
<div class="input-box">
|
56 |
+
<input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
</li>
|
60 |
+
|
61 |
+
<div class="infor-site">
|
62 |
+
<a href="<?php echo $this->getUrl('') ?>" ><img src="<?php echo $this->getSkinUrl('images/logo.png')?>" /></a>
|
63 |
+
<div class="tel">
|
64 |
+
<p>Telephone</p>
|
65 |
+
<p>Telephone: 0844 736 5340</p>
|
66 |
+
<p>International callers: +44 1</p>
|
67 |
+
</div>
|
68 |
+
<div class="time">
|
69 |
+
<p>Monday to Friday - 8am til 9pm</p>
|
70 |
+
<p>Saturday - 10am til 9pm</p>
|
71 |
+
<p>Sunday - 10am til 7pm</p>
|
72 |
+
</div>
|
73 |
+
<div class="add">
|
74 |
+
<p>WatchShop.com Complaints</p>
|
75 |
+
<p>26 Cross Street</p>
|
76 |
+
<p>Reading</p>
|
77 |
+
<p>Berkshire</p>
|
78 |
+
<p>RG1 1SN</p>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
<div class="clear"></div>
|
82 |
+
<!--<li>
|
83 |
+
<label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
|
84 |
+
<div class="input-box">
|
85 |
+
<input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
|
86 |
+
</div>
|
87 |
+
</li>-->
|
88 |
+
<li class="wide">
|
89 |
+
<label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
|
90 |
+
<div class="input-box">
|
91 |
+
<textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
|
92 |
+
</div>
|
93 |
+
</li>
|
94 |
+
</ul>
|
95 |
+
|
96 |
+
<div class="buttons-set">
|
97 |
+
<p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
|
98 |
+
<input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
|
99 |
+
<button type="submit" title="<?php echo Mage::helper('contacts')->__('Submit') ?>" class="button"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
|
100 |
+
</div>
|
101 |
+
</form>
|
102 |
+
<script type="text/javascript">
|
103 |
+
//<![CDATA[
|
104 |
+
var contactForm = new VarienForm('contactForm', true);
|
105 |
+
//]]>
|
106 |
+
</script>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/contacts/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/core/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<a <?php echo $this->getLinkAttributes() ?>><?php echo $this->htmlEscape($this->getAnchorText()) ?></a>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/core/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/customer/account/dashboard.phtml
ADDED
@@ -0,0 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="dashboard">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('My Dashboard') ?></h1>
|
30 |
+
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<?php echo $this->getChildHtml('hello') ?>
|
33 |
+
<?php echo $this->getChildHtml('top') ?>
|
34 |
+
<div class="box-account box-info">
|
35 |
+
<div class="box-head">
|
36 |
+
<h2><?php echo $this->__('Account Information') ?></h2>
|
37 |
+
</div>
|
38 |
+
<?php echo $this->getChildHtml('info') ?>
|
39 |
+
<?php echo $this->getChildHtml('address') ?>
|
40 |
+
</div>
|
41 |
+
<?php echo $this->getChildHtml('info1') ?>
|
42 |
+
<?php echo $this->getChildHtml('info2') ?>
|
43 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/account/dashboard/address.phtml
ADDED
@@ -0,0 +1,50 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="box">
|
29 |
+
<div class="box-title">
|
30 |
+
<h3><?php echo $this->__('Address Book') ?></h3>
|
31 |
+
<a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
|
32 |
+
</div>
|
33 |
+
<div class="box-content">
|
34 |
+
<div class="col-1">
|
35 |
+
<h4><?php echo $this->__('Default Billing Address') ?></h4>
|
36 |
+
<address>
|
37 |
+
<?php echo $this->getPrimaryBillingAddressHtml() ?><br />
|
38 |
+
<a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
|
39 |
+
</address>
|
40 |
+
</div>
|
41 |
+
<div class="col-2">
|
42 |
+
<h4><?php echo $this->__('Default Shipping Address') ?></h4>
|
43 |
+
<address>
|
44 |
+
<?php echo $this->getPrimaryShippingAddressHtml() ?><br />
|
45 |
+
<a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
|
46 |
+
</address>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<p class="hello"><strong><?php echo $this->__('Hello, %s!', $this->htmlEscape($this->getCustomerName())) ?></strong></p>
|
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/watchshop/template/customer/account/dashboard/info.phtml
ADDED
@@ -0,0 +1,62 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div class="box">
|
30 |
+
<div class="box-title">
|
31 |
+
<h3><?php echo $this->__('Contact Information') ?></h3>
|
32 |
+
<a href="<?php echo $this->getUrl('customer/account/edit') ?>"><?php echo $this->__('Edit') ?></a>
|
33 |
+
</div>
|
34 |
+
<div class="box-content">
|
35 |
+
<p>
|
36 |
+
<?php echo $this->htmlEscape($this->getCustomer()->getName()) ?><br />
|
37 |
+
<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?><br />
|
38 |
+
<a href="<?php echo $this->getChangePasswordUrl() ?>"><?php echo $this->__('Change Password') ?></a>
|
39 |
+
</p>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
<?php if( $this->isNewsletterEnabled() ): ?>
|
44 |
+
<div class="col-2">
|
45 |
+
<div class="box">
|
46 |
+
<div class="box-title">
|
47 |
+
<h3><?php echo $this->__('Newsletters') ?></h3>
|
48 |
+
<a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit') ?></a>
|
49 |
+
</div>
|
50 |
+
<div class="box-content">
|
51 |
+
<p>
|
52 |
+
<?php if( $this->getIsSubscribed() ): ?>
|
53 |
+
<?php echo $this->__("You are currently subscribed to 'General Subscription'.") ?>
|
54 |
+
<?php else: ?>
|
55 |
+
<?php echo $this->__('You are currently not subscribed to any newsletter.') ?>
|
56 |
+
<?php endif; ?>
|
57 |
+
</p>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
<?php endif; ?>
|
62 |
+
</div>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/template/customer/account/dashboard/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
29 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/account/link/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/customer/account/navigation.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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><span><?php echo $this->__('My Account'); ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<div class="block-content">
|
32 |
+
<ul>
|
33 |
+
<?php $_links = $this->getLinks(); ?>
|
34 |
+
<?php $_index = 1; ?>
|
35 |
+
<?php $_count = count($_links); ?>
|
36 |
+
<?php foreach ($_links as $_link): ?>
|
37 |
+
<?php $_last = ($_index++ >= $_count); ?>
|
38 |
+
<?php if ($this->isActive($_link)): ?>
|
39 |
+
<li class="current<?php echo ($_last ? ' last' : '') ?>"><strong><?php echo $_link->getLabel() ?></strong></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/watchshop/template/customer/account/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Address Books') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<table width="100%">
|
32 |
+
<tr>
|
33 |
+
<td style="width:50%;"><h3>Default</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 default 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"> | </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 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
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/watchshop/template/customer/address/book.phtml
ADDED
@@ -0,0 +1,105 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo $this->__('Address Book') ?></h1>
|
35 |
+
<button type="button" title="<?php echo $this->__('Add New Address') ?>" 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 addresses-list">
|
39 |
+
<div class="col-1 addresses-primary">
|
40 |
+
<h2><?php echo $this->__('Default Addresses') ?></h2>
|
41 |
+
<ol>
|
42 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
|
43 |
+
<li class="item">
|
44 |
+
<h3><?php echo $this->__('Default Billing Address') ?></h3>
|
45 |
+
<address>
|
46 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
47 |
+
</address>
|
48 |
+
<p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a></p>
|
49 |
+
</li>
|
50 |
+
<?php else: ?>
|
51 |
+
<li class="item">
|
52 |
+
<h3><?php echo $this->__('Default Billing Address') ?></h3>
|
53 |
+
<?php echo $this->__('You have no default billing address in your address book.') ?>
|
54 |
+
</li>
|
55 |
+
<?php endif ?>
|
56 |
+
|
57 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
|
58 |
+
<li class="item">
|
59 |
+
<h3><?php echo $this->__('Default Shipping Address') ?></h3>
|
60 |
+
<address>
|
61 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
62 |
+
</address>
|
63 |
+
<p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></p>
|
64 |
+
</li>
|
65 |
+
<?php else: ?>
|
66 |
+
<li class="item empty">
|
67 |
+
<h3><?php echo $this->__('Default Shipping Address') ?></h3>
|
68 |
+
<p><?php echo $this->__('You have no default shipping address in your address book.') ?></p>
|
69 |
+
</li>
|
70 |
+
<?php endif ?>
|
71 |
+
</ol>
|
72 |
+
</div>
|
73 |
+
<div class="col-2 addresses-additional">
|
74 |
+
<h2><?php echo $this->__('Additional Address Entries') ?></h2>
|
75 |
+
<ol>
|
76 |
+
<?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
|
77 |
+
<?php foreach($_pAddsses as $_address): ?>
|
78 |
+
<li class="item">
|
79 |
+
<address>
|
80 |
+
<?php echo $this->getAddressHtml($_address) ?>
|
81 |
+
</address>
|
82 |
+
<p><a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span> <a href="#" class="link-remove" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a></p>
|
83 |
+
</li>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<li class="item empty">
|
87 |
+
<p><?php echo $this->__('You have no additional address entries in your address book.') ?></p>
|
88 |
+
</li>
|
89 |
+
<?php endif ?>
|
90 |
+
</ol>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
<div class="buttons-set">
|
94 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
95 |
+
</div>
|
96 |
+
<script type="text/javascript">
|
97 |
+
//<![CDATA[
|
98 |
+
function deleteAddress(addressId) {
|
99 |
+
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
100 |
+
window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
|
101 |
+
}
|
102 |
+
return false;
|
103 |
+
}
|
104 |
+
//]]>
|
105 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/address/edit.phtml
ADDED
@@ -0,0 +1,155 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo $this->getTitle() ?></h1>
|
37 |
+
</div>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
+
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
|
41 |
+
<div class="fieldset">
|
42 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
43 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
44 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
45 |
+
<h2 class="legend"><?php echo $this->__('Contact Information') ?></h2>
|
46 |
+
<ul class="form-list">
|
47 |
+
<li class="fields">
|
48 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getCustomer())->toHtml() ?>
|
49 |
+
</li>
|
50 |
+
<li class="wide">
|
51 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
52 |
+
<div class="input-box">
|
53 |
+
<input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" class="input-text" />
|
54 |
+
</div>
|
55 |
+
</li>
|
56 |
+
<li class="fields">
|
57 |
+
<div class="field">
|
58 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
59 |
+
<div class="input-box">
|
60 |
+
<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" />
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<div class="field">
|
64 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" class="input-text" />
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
</li>
|
70 |
+
</ul>
|
71 |
+
</div>
|
72 |
+
<div class="fieldset">
|
73 |
+
<h2 class="legend"><?php echo $this->__('Address') ?></h2>
|
74 |
+
<ul class="form-list">
|
75 |
+
<li class="wide">
|
76 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
77 |
+
<div class="input-box">
|
78 |
+
<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" />
|
79 |
+
</div>
|
80 |
+
</li>
|
81 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
82 |
+
<li class="wide">
|
83 |
+
<div class="input-box">
|
84 |
+
<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" />
|
85 |
+
</div>
|
86 |
+
</li>
|
87 |
+
<?php endfor ?>
|
88 |
+
<li class="fields">
|
89 |
+
<div class="field">
|
90 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<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" />
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="field">
|
96 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
97 |
+
<div class="input-box">
|
98 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
99 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
100 |
+
</select>
|
101 |
+
<script type="text/javascript">
|
102 |
+
//<![CDATA[
|
103 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
104 |
+
//]]>
|
105 |
+
</script>
|
106 |
+
<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;" />
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
</li>
|
110 |
+
<li class="fields">
|
111 |
+
<div class="field">
|
112 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
113 |
+
<div class="input-box">
|
114 |
+
<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" />
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
<div class="field">
|
118 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
119 |
+
<div class="input-box">
|
120 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
121 |
+
</div>
|
122 |
+
</div>
|
123 |
+
</li>
|
124 |
+
<li<?php if($this->canSetAsDefaultBilling()) echo ' class="control"' ?>>
|
125 |
+
<?php if($this->isDefaultBilling()): ?>
|
126 |
+
<strong><?php echo $this->__('Default Billing Address') ?></strong>
|
127 |
+
<?php elseif($this->canSetAsDefaultBilling()): ?>
|
128 |
+
<input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as my default billing address') ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
|
129 |
+
<?php else: ?>
|
130 |
+
<input type="hidden" name="default_billing" value="1" />
|
131 |
+
<?php endif; ?>
|
132 |
+
</li>
|
133 |
+
<li<?php if($this->canSetAsDefaultShipping()) echo ' class="control"' ?>>
|
134 |
+
<?php if($this->isDefaultShipping()): ?>
|
135 |
+
<strong><?php echo $this->__('Default Shipping Address') ?></strong>
|
136 |
+
<?php elseif($this->canSetAsDefaultShipping()): ?>
|
137 |
+
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as my default shipping address') ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
|
138 |
+
<?php else: ?>
|
139 |
+
<input type="hidden" name="default_shipping" value="1" />
|
140 |
+
<?php endif; ?>
|
141 |
+
</li>
|
142 |
+
</ul>
|
143 |
+
</div>
|
144 |
+
<div class="buttons-set">
|
145 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
146 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
147 |
+
<button type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
148 |
+
</div>
|
149 |
+
</form>
|
150 |
+
<script type="text/javascript">
|
151 |
+
//<![CDATA[
|
152 |
+
var dataForm = new VarienForm('form-validate', true);
|
153 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
154 |
+
//]]>
|
155 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/address/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
31 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/form/address.phtml
ADDED
@@ -0,0 +1,141 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate">
|
34 |
+
<div class="fieldset">
|
35 |
+
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
|
36 |
+
<input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
|
37 |
+
<h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
|
38 |
+
<ul class="form-list">
|
39 |
+
<li class="fields">
|
40 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
|
41 |
+
</li>
|
42 |
+
<li>
|
43 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
44 |
+
<div class="input-box">
|
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 |
+
</div>
|
50 |
+
<div class="fieldset">
|
51 |
+
<h2 class="legend"><?php echo $this->__('Address') ?></h2>
|
52 |
+
<ul class="form-list">
|
53 |
+
<li class="wide">
|
54 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
55 |
+
<div class="input-box">
|
56 |
+
<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" />
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
60 |
+
<li class="wide">
|
61 |
+
<div class="input-box">
|
62 |
+
<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" />
|
63 |
+
</div>
|
64 |
+
</li>
|
65 |
+
<?php endfor ?>
|
66 |
+
<li class="fields">
|
67 |
+
<div class="field">
|
68 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
69 |
+
<div class="input-box">
|
70 |
+
<input type="text" name="city" value="<?php echo $this->htmlEscape($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text required-entry" id="city" />
|
71 |
+
</div>
|
72 |
+
</div>
|
73 |
+
<div class="field">
|
74 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
75 |
+
<div class="input-box">
|
76 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
77 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
78 |
+
</select>
|
79 |
+
<script type="text/javascript">
|
80 |
+
//<![CDATA[
|
81 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
|
82 |
+
//]]>
|
83 |
+
</script>
|
84 |
+
<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;" />
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
</li>
|
88 |
+
<li class="fields">
|
89 |
+
<div class="field">
|
90 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
91 |
+
<div class="input-box">
|
92 |
+
<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" />
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="field">
|
96 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
97 |
+
<div class="input-box">
|
98 |
+
<select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
|
99 |
+
<?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
|
100 |
+
</select>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</li>
|
104 |
+
<li class="fields">
|
105 |
+
<div class="field">
|
106 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
107 |
+
<div class="input-box">
|
108 |
+
<input type="text" name="telephone" value="<?php echo $this->htmlEscape($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text" id="telephone" />
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
<div class="field">
|
112 |
+
<label for="fax"><?php echo $this->__('Fax') ?></label>
|
113 |
+
<div class="input-box">
|
114 |
+
<input type="text" name="fax" value="<?php echo $this->htmlEscape($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="fax" />
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
</li>
|
118 |
+
<?php foreach ($primaryTypes as $code=>$type): ?>
|
119 |
+
<li<?php if (!$address->isPrimary($type['address_type_id'])) echo ' class="control"' ?>>
|
120 |
+
<?php if ($address->isPrimary($type['address_type_id'])): ?>
|
121 |
+
<strong><?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?></strong>
|
122 |
+
<?php else: ?>
|
123 |
+
<input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" /><label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
|
124 |
+
<?php endif ?>
|
125 |
+
</li>
|
126 |
+
<?php endforeach ?>
|
127 |
+
</ul>
|
128 |
+
</div>
|
129 |
+
<div class="buttons-set">
|
130 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
131 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
132 |
+
<button type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
|
133 |
+
</div>
|
134 |
+
</form>
|
135 |
+
<script type="text/javascript">
|
136 |
+
//<![CDATA[
|
137 |
+
var dataForm = new VarienForm('form-validate', true);
|
138 |
+
//dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
|
139 |
+
new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
|
140 |
+
//]]>
|
141 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/form/changepassword.phtml
ADDED
@@ -0,0 +1,68 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Change Account Password') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $action ?>" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
|
34 |
+
<ul class="form-list">
|
35 |
+
<li>
|
36 |
+
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
37 |
+
<div class="input-box">
|
38 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
|
39 |
+
</div>
|
40 |
+
</li>
|
41 |
+
<li class="fields">
|
42 |
+
<div class="field">
|
43 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
44 |
+
<div class="input-box">
|
45 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
<div class="field">
|
49 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
</ul>
|
56 |
+
</div>
|
57 |
+
<div class="buttons-set">
|
58 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
59 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
60 |
+
<button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
|
61 |
+
</div>
|
62 |
+
</form>
|
63 |
+
<script type="text/javascript">
|
64 |
+
//<![CDATA[
|
65 |
+
var dataForm = new VarienForm('form-validate');
|
66 |
+
//]]>
|
67 |
+
</script>
|
68 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/customer/form/confirmation.phtml
ADDED
@@ -0,0 +1,54 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Send confirmation link') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
|
34 |
+
<p><?php echo $this->__('Please enter your email below and we\'ll send you confirmation link for it.') ?></p>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li>
|
37 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
38 |
+
<div class="input-box">
|
39 |
+
<input type="text" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->htmlEscape($this->getEmail()) ?>" />
|
40 |
+
</div>
|
41 |
+
</li>
|
42 |
+
</ul>
|
43 |
+
</div>
|
44 |
+
<div class="buttons-set">
|
45 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
46 |
+
<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>
|
47 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
48 |
+
</div>
|
49 |
+
</form>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
var dataForm = new VarienForm('form-validate', true);
|
53 |
+
//]]>
|
54 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/form/edit.phtml
ADDED
@@ -0,0 +1,114 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Edit Account Information') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
|
32 |
+
<div class="fieldset">
|
33 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
34 |
+
<h2 class="legend"><?php echo $this->__('Account Information') ?></h2>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li class="fields">
|
37 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
|
38 |
+
</li>
|
39 |
+
<li>
|
40 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
41 |
+
<div class="input-box">
|
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 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
54 |
+
<?php if ($_gender->isEnabled()): ?>
|
55 |
+
<li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
|
56 |
+
<?php endif ?>
|
57 |
+
<li class="control">
|
58 |
+
<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>
|
59 |
+
</li>
|
60 |
+
</ul>
|
61 |
+
</div>
|
62 |
+
<div class="fieldset" style="display:none;">
|
63 |
+
<h2 class="legend"><?php echo $this->__('Change Password') ?></h2>
|
64 |
+
<ul class="form-list">
|
65 |
+
<li>
|
66 |
+
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
|
67 |
+
<div class="input-box">
|
68 |
+
<input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text" name="current_password" id="current_password" />
|
69 |
+
</div>
|
70 |
+
</li>
|
71 |
+
<li class="fields">
|
72 |
+
<div class="field">
|
73 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
|
74 |
+
<div class="input-box">
|
75 |
+
<input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password" name="password" id="password" />
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
<div class="field">
|
79 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
|
80 |
+
<div class="input-box">
|
81 |
+
<input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
</li>
|
85 |
+
</ul>
|
86 |
+
</div>
|
87 |
+
<div class="buttons-set">
|
88 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
89 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
90 |
+
<button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
91 |
+
</div>
|
92 |
+
</form>
|
93 |
+
<script type="text/javascript">
|
94 |
+
//<![CDATA[
|
95 |
+
var dataForm = new VarienForm('form-validate', true);
|
96 |
+
function setPasswordForm(arg){
|
97 |
+
if(arg){
|
98 |
+
$('current_password').up(3).show();
|
99 |
+
$('current_password').addClassName('required-entry');
|
100 |
+
$('password').addClassName('required-entry');
|
101 |
+
$('confirmation').addClassName('required-entry');
|
102 |
+
|
103 |
+
}else{
|
104 |
+
$('current_password').up(3).hide();
|
105 |
+
$('current_password').removeClassName('required-entry');
|
106 |
+
$('password').removeClassName('required-entry');
|
107 |
+
$('confirmation').removeClassName('required-entry');
|
108 |
+
}
|
109 |
+
}
|
110 |
+
<?php if($this->getCustomer()->getChangePassword()): ?>
|
111 |
+
setPasswordForm(true);
|
112 |
+
<?php endif; ?>
|
113 |
+
//]]>
|
114 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/form/forgotpassword.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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="account-login">
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Recover password') ?></h1>
|
30 |
+
</div>
|
31 |
+
<div class="page-border"></div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
34 |
+
|
35 |
+
<div class="col2-set">
|
36 |
+
<div class="recovery">
|
37 |
+
<div class="content">
|
38 |
+
<ul class="form-list">
|
39 |
+
<li>
|
40 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email') ?></label>
|
41 |
+
<div class="input-box">
|
42 |
+
<input type="text" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->htmlEscape($this->getEmailValue()) ?>" />
|
43 |
+
</div>
|
44 |
+
</li>
|
45 |
+
</ul>
|
46 |
+
<span><?php echo $this->__('Please enter your login.') ?></span><br/>
|
47 |
+
<span><?php echo $this->__('The system will reset your old password and send a new one to your e-mail address.') ?></span>
|
48 |
+
<div class="buttons-set">
|
49 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
50 |
+
<!--<p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a></p>-->
|
51 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button button-recovery"></button>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
|
57 |
+
|
58 |
+
</form>
|
59 |
+
<script type="text/javascript">
|
60 |
+
//<![CDATA[
|
61 |
+
var dataForm = new VarienForm('form-validate', true);
|
62 |
+
//]]>
|
63 |
+
</script>
|
64 |
+
</div>
|
65 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/customer/form/login.phtml
ADDED
@@ -0,0 +1,82 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<h1><?php echo $this->__('Login') ?></h1>
|
37 |
+
</div>
|
38 |
+
<div class="page-border"></div>
|
39 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
40 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
41 |
+
<div class="col2-set">
|
42 |
+
<div class="col-2 registered-users">
|
43 |
+
<div class="content">
|
44 |
+
<ul class="form-list">
|
45 |
+
<li>
|
46 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
47 |
+
<div class="input-box">
|
48 |
+
<input type="text" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" id="email" class="input-text required-entry" title="<?php echo $this->__('Email Address') ?>" />
|
49 |
+
</div>
|
50 |
+
</li>
|
51 |
+
<li>
|
52 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
53 |
+
<div class="input-box">
|
54 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
</ul>
|
58 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
59 |
+
|
60 |
+
<div class="buttons-set">
|
61 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
62 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
63 |
+
</div>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
<div class="col-1 new-users">
|
68 |
+
<span><?php echo $this->__('If you don\'t already have an account with ') ?></span><span class="text-shop"><?php echo $this->__('Watch Shop') ?></span><br/>
|
69 |
+
|
70 |
+
<span><?php echo $this->__('Please ') ?></span><a href="<?php echo $this->getCreateAccountUrl() ?>" title="<?php echo $this->__('register here') ?>" ><?php echo $this->__('register here') ?></a>
|
71 |
+
</div>
|
72 |
+
|
73 |
+
</div>
|
74 |
+
|
75 |
+
</form>
|
76 |
+
<script type="text/javascript">
|
77 |
+
//<![CDATA[
|
78 |
+
var dataForm = new VarienForm('login-form', true);
|
79 |
+
//]]>
|
80 |
+
</script>
|
81 |
+
</div>
|
82 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/customer/form/mini.login.phtml
ADDED
@@ -0,0 +1,40 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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-login">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Login') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post">
|
32 |
+
<div class="block-content">
|
33 |
+
<label for="mini-login"><?php echo $this->__('Email:') ?></label><input type="text" name="login[username]" id="mini-login" class="input-text" />
|
34 |
+
<label for="mini-password"><?php echo $this->__('Password:') ?></label><input type="password" name="login[password]" id="mini-password" class="input-text" />
|
35 |
+
<div class="actions">
|
36 |
+
<button type="submit" class="button"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
</form>
|
40 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/form/newsletter.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Newsletter Subscription') ?></h1>
|
29 |
+
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
31 |
+
<?php echo $this->getChildHtml('form_before')?>
|
32 |
+
<form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
|
33 |
+
<fieldset>
|
34 |
+
<?php echo $this->getBlockHtml('formkey')?>
|
35 |
+
<ul class="form-list">
|
36 |
+
<li class="control"><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>
|
37 |
+
</ul>
|
38 |
+
<div class="buttons-set">
|
39 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
40 |
+
<button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
|
41 |
+
</div>
|
42 |
+
</fieldset>
|
43 |
+
</form>
|
44 |
+
<script type="text/javascript">
|
45 |
+
//<![CDATA[
|
46 |
+
var dataForm = new VarienForm('form-validate', true);
|
47 |
+
//]]>
|
48 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/form/register.phtml
ADDED
@@ -0,0 +1,189 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design_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 |
+
<h1><?php echo $this->__('Create an Account') ?></h1>
|
37 |
+
</div>
|
38 |
+
<div class="page-border"></div>
|
39 |
+
<?php echo $this->getChildHtml('form_fields_before')?>
|
40 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
41 |
+
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
|
42 |
+
|
43 |
+
|
44 |
+
<div class="content">
|
45 |
+
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
46 |
+
<input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
|
47 |
+
<h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
|
48 |
+
<ul class="form-list">
|
49 |
+
<li class="fields">
|
50 |
+
<?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
|
51 |
+
</li>
|
52 |
+
<li>
|
53 |
+
<label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
54 |
+
<div class="input-box">
|
55 |
+
<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" />
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<?php if ($this->isNewsletterEnabled()): ?>
|
59 |
+
<li class="control">
|
60 |
+
<div class="input-box">
|
61 |
+
<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" />
|
62 |
+
</div>
|
63 |
+
<label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
|
64 |
+
</li>
|
65 |
+
<?php endif ?>
|
66 |
+
<?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
|
67 |
+
<?php if ($_dob->isEnabled()): ?>
|
68 |
+
<li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
|
69 |
+
<?php endif ?>
|
70 |
+
<?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
|
71 |
+
<?php if ($_taxvat->isEnabled()): ?>
|
72 |
+
<li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
|
73 |
+
<?php endif ?>
|
74 |
+
<?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
|
75 |
+
<?php if ($_gender->isEnabled()): ?>
|
76 |
+
<li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
|
77 |
+
<?php endif ?>
|
78 |
+
|
79 |
+
<?php if($this->getShowAddressFields()): ?>
|
80 |
+
<div class="fieldset">
|
81 |
+
<input type="hidden" name="create_address" value="1" />
|
82 |
+
<h2 class="legend"><?php echo $this->__('Address Information') ?></h2>
|
83 |
+
<ul class="form-list">
|
84 |
+
<li class="fields">
|
85 |
+
<div class="field">
|
86 |
+
<label for="company"><?php echo $this->__('Company') ?></label>
|
87 |
+
<div class="input-box">
|
88 |
+
<input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
<div class="field">
|
92 |
+
<label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
|
93 |
+
<div class="input-box">
|
94 |
+
<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" />
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</li>
|
98 |
+
<li class="wide">
|
99 |
+
<label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
|
100 |
+
<div class="input-box">
|
101 |
+
<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" />
|
102 |
+
</div>
|
103 |
+
</li>
|
104 |
+
<?php for ($_i=2, $_n=$this->helper('customer/address')->getStreetLines(); $_i<=$_n; $_i++): ?>
|
105 |
+
<li class="wide">
|
106 |
+
<div class="input-box">
|
107 |
+
<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" />
|
108 |
+
</div>
|
109 |
+
</li>
|
110 |
+
<?php endfor ?>
|
111 |
+
<li class="fields">
|
112 |
+
<div class="field">
|
113 |
+
<label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
|
114 |
+
<div class="input-box">
|
115 |
+
<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" />
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
<div class="field">
|
119 |
+
<label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
|
120 |
+
<div class="input-box">
|
121 |
+
<select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
|
122 |
+
<option value=""><?php echo $this->__('Please select region, state or province') ?></option>
|
123 |
+
</select>
|
124 |
+
<script type="text/javascript">
|
125 |
+
//<![CDATA[
|
126 |
+
$('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
|
127 |
+
//]]>
|
128 |
+
</script>
|
129 |
+
<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;" />
|
130 |
+
</div>
|
131 |
+
</div>
|
132 |
+
</li>
|
133 |
+
<li class="fields">
|
134 |
+
<div class="field">
|
135 |
+
<label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
|
136 |
+
<div class="input-box">
|
137 |
+
<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" />
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
<div class="field">
|
141 |
+
<label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
|
142 |
+
<div class="input-box">
|
143 |
+
<?php echo $this->getCountryHtmlSelect() ?>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
</li>
|
147 |
+
</ul>
|
148 |
+
<input type="hidden" name="default_billing" value="1" />
|
149 |
+
<input type="hidden" name="default_shipping" value="1" />
|
150 |
+
</div>
|
151 |
+
<?php endif; ?>
|
152 |
+
|
153 |
+
<div class="col-1">
|
154 |
+
<h2 class="legend"><?php echo $this->__('Login Information') ?></h2>
|
155 |
+
<ul class="form-list">
|
156 |
+
<li class="fields">
|
157 |
+
<div class="field">
|
158 |
+
<label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
159 |
+
<div class="input-box">
|
160 |
+
<input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
|
161 |
+
</div>
|
162 |
+
</div>
|
163 |
+
<div class="field">
|
164 |
+
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
|
165 |
+
<div class="input-box">
|
166 |
+
<input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
|
167 |
+
</div>
|
168 |
+
</div>
|
169 |
+
</li>
|
170 |
+
</ul>
|
171 |
+
</div>
|
172 |
+
<div class="buttons-set">
|
173 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
174 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>" class="back-link"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
175 |
+
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
176 |
+
</div>
|
177 |
+
</form>
|
178 |
+
<script type="text/javascript">
|
179 |
+
//<![CDATA[
|
180 |
+
var dataForm = new VarienForm('form-validate', true);
|
181 |
+
<?php if($this->getShowAddressFields()): ?>
|
182 |
+
new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
|
183 |
+
<?php endif; ?>
|
184 |
+
//]]>
|
185 |
+
</script>
|
186 |
+
</ul>
|
187 |
+
</div>
|
188 |
+
</div>
|
189 |
+
<div class="bot-acc"></div>
|
app/design/frontend/default/watchshop/template/customer/form/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 Mage::helper('customer')->__("You're now Logged Out") ?></h1>
|
29 |
+
</div>
|
30 |
+
<p><?php echo Mage::helper('customer')->__('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/watchshop/template/customer/orders.phtml
ADDED
@@ -0,0 +1,65 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<div class="page-title">
|
32 |
+
<h1><?php echo $this->__('My Orders') ?></h1>
|
33 |
+
</div>
|
34 |
+
<?php if($orders->getSize()): ?>
|
35 |
+
<table class="data-table" id="my-orders-table" >
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th><?php echo $this->__('Order #') ?></th>
|
39 |
+
<th><?php echo $this->__('Date') ?></th>
|
40 |
+
<!--<th class="a-center">Shipped To</th>-->
|
41 |
+
<th><?php echo $this->__('Total') ?></th>
|
42 |
+
<th><?php echo $this->__('Status') ?></th>
|
43 |
+
<th><?php echo $this->__('Details') ?></th>
|
44 |
+
</tr>
|
45 |
+
</thead>
|
46 |
+
<tbody>
|
47 |
+
<?php foreach ($orders as $order): ?>
|
48 |
+
<tr>
|
49 |
+
<td><?php echo $order->getRealOrderId() ?> </td>
|
50 |
+
<td><?php echo date("D, j M, Y", strtotime($order->getCreatedAt())) ?> </td>
|
51 |
+
<!--<td class="a-center">{$page.orders[io].customer}</td>-->
|
52 |
+
<td><?php echo $order->getGrandTotal() ?> </td>
|
53 |
+
<td><?php echo $order->getStatus() ?> </td>
|
54 |
+
<td><a href="<?php echo $this->getUrl('customer/order/view', array('order'=>$order->getOrderId())) ?>"><?php echo $this->__('View Order') ?></a> </td>
|
55 |
+
</tr>
|
56 |
+
<?php endforeach ?>
|
57 |
+
</tbody>
|
58 |
+
</table>
|
59 |
+
<script type="text/javascript">decorateTable('my-orders-table')</script>
|
60 |
+
<?php else: ?>
|
61 |
+
<p><?php echo $this->__('You have placed no orders yet.') ?></p>
|
62 |
+
<?php endif ?>
|
63 |
+
<div class="buttons-set">
|
64 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
65 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/customer/widget/dob.phtml
ADDED
@@ -0,0 +1,87 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
/**
|
49 |
+
* @see Mage_Customer_Block_Widget_Dob
|
50 |
+
*/
|
51 |
+
?>
|
52 |
+
<label for="<?php echo $this->getFieldId('month')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Date of Birth') ?></label>
|
53 |
+
<div class="input-box customer-dob">
|
54 |
+
<?php
|
55 |
+
$this->setDateInput('d',
|
56 |
+
'<div class="dob-day">
|
57 |
+
<input type="text" id="' . $this->getFieldId('day') . '" name="' . $this->getFieldName('day') . '" value="' . $this->getDay() . '" title="' . $this->__('Day') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
|
58 |
+
<label for="' . $this->getFieldId('day') . '">' . $this->__('DD') . '</label>
|
59 |
+
</div>'
|
60 |
+
);
|
61 |
+
|
62 |
+
$this->setDateInput('m',
|
63 |
+
'<div class="dob-month">
|
64 |
+
<input type="text" id="' . $this->getFieldId('month') . '" name="' . $this->getFieldName('month') . '" value="' . $this->getMonth() . '" title="' . $this->__('Month') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
|
65 |
+
<label for="' . $this->getFieldId('month') . '">' . $this->__('MM') . '</label>
|
66 |
+
</div>'
|
67 |
+
);
|
68 |
+
|
69 |
+
$this->setDateInput('y',
|
70 |
+
'<div class="dob-year">
|
71 |
+
<input type="text" id="' . $this->getFieldId('year') . '" name="' . $this->getFieldName('year') . '" value="' . $this->getYear() . '" title="' . $this->__('Year') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
|
72 |
+
<label for="' . $this->getFieldId('year') . '">' . $this->__('YYYY') . '</label>
|
73 |
+
</div>'
|
74 |
+
);
|
75 |
+
?>
|
76 |
+
<?php echo $this->getSortedDateInputs() ?>
|
77 |
+
<div class="dob-full" style="display:none;">
|
78 |
+
<input type="hidden" id="<?php echo $this->getFieldId('dob')?>" name="<?php echo $this->getFieldName('dob')?>" />
|
79 |
+
</div>
|
80 |
+
|
81 |
+
<div class="validation-advice" style="display:none;"></div>
|
82 |
+
</div>
|
83 |
+
<script type="text/javascript">
|
84 |
+
//<![CDATA[
|
85 |
+
var customer_dob = new Varien.DOB('.customer-dob', <?php echo $this->isRequired() ? 'true' : 'false' ?>, '<?php echo $this->getDateFormat() ?>');
|
86 |
+
//]]>
|
87 |
+
</script>
|
app/design/frontend/default/watchshop/template/customer/widget/gender.phtml
ADDED
@@ -0,0 +1,36 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<label for="<?php echo $this->getFieldId('gender')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Gender') ?></label>
|
28 |
+
<div class="input-box">
|
29 |
+
<select id="<?php echo $this->getFieldId('gender')?>" name="<?php echo $this->getFieldName('gender')?>" title="<?php echo $this->__('Gender') ?>"<?php if ($this->isRequired()):?> class="validate-select"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
|
30 |
+
<?php $options = Mage::getResourceSingleton('customer/customer')->getAttribute('gender')->getSource()->getAllOptions();?>
|
31 |
+
<?php $value = $this->getGender();?>
|
32 |
+
<?php foreach ($options as $option):?>
|
33 |
+
<option value="<?php echo $option['value'] ?>"<?php if ($option['value'] == $value) echo ' selected="selected"' ?>><?php echo $option['label'] ?></option>
|
34 |
+
<?php endforeach;?>
|
35 |
+
</select>
|
36 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/widget/name.phtml
ADDED
@@ -0,0 +1,99 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<div class="<?php echo $this->getContainerClassName()?>">
|
47 |
+
<?php if ($this->showPrefix()): ?>
|
48 |
+
<div class="field name-prefix">
|
49 |
+
<label for="<?php echo $this->getFieldId('prefix')?>"<?php if ($this->isPrefixRequired()) echo ' class="required"' ?>><?php if ($this->isPrefixRequired()) echo '<em>*</em>' ?><?php echo $this->__('Prefix') ?></label>
|
50 |
+
<div class="input-box">
|
51 |
+
<?php if ($this->getPrefixOptions()===false): ?>
|
52 |
+
<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() ?> />
|
53 |
+
<?php else: ?>
|
54 |
+
<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() ?>>
|
55 |
+
<?php foreach ($this->getPrefixOptions() as $_option): ?>
|
56 |
+
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
57 |
+
<?php endforeach ?>
|
58 |
+
</select>
|
59 |
+
<?php endif; ?>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<?php endif; ?>
|
63 |
+
<div class="field name-firstname">
|
64 |
+
<label for="<?php echo $this->getFieldId('firstname')?>" class="required"><em>*</em><?php echo $this->__('First Name') ?></label>
|
65 |
+
<div class="input-box">
|
66 |
+
<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() ?> />
|
67 |
+
</div>
|
68 |
+
</div>
|
69 |
+
<?php if ($this->showMiddlename()): ?>
|
70 |
+
<div class="field name-middlename">
|
71 |
+
<label for="<?php echo $this->getFieldId('middlename')?>"><?php echo $this->__('M.I.') ?></label>
|
72 |
+
<div class="input-box">
|
73 |
+
<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() ?> />
|
74 |
+
</div>
|
75 |
+
</div>
|
76 |
+
<?php endif; ?>
|
77 |
+
<div class="field name-lastname">
|
78 |
+
<label for="<?php echo $this->getFieldId('lastname')?>" class="required"><em>*</em><?php echo $this->__('Last Name') ?></label>
|
79 |
+
<div class="input-box">
|
80 |
+
<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() ?> />
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<?php if ($this->showSuffix()): ?>
|
84 |
+
<div class="field name-suffix">
|
85 |
+
<label for="<?php echo $this->getFieldId('suffix')?>"<?php if ($this->isSuffixRequired()) echo ' class="required"' ?>><?php if ($this->isSuffixRequired()) echo '<em>*</em>' ?><?php echo $this->__('Suffix') ?></label>
|
86 |
+
<div class="input-box">
|
87 |
+
<?php if ($this->getSuffixOptions()===false): ?>
|
88 |
+
<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() ?> />
|
89 |
+
<?php else: ?>
|
90 |
+
<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() ?>>
|
91 |
+
<?php foreach ($this->getSuffixOptions() as $_option): ?>
|
92 |
+
<option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
|
93 |
+
<?php endforeach ?>
|
94 |
+
</select>
|
95 |
+
<?php endif; ?>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<?php endif; ?>
|
99 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/widget/taxvat.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<label for="<?php echo $this->getFieldId('taxvat')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Tax/VAT number') ?></label>
|
28 |
+
<div class="input-box">
|
29 |
+
<input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->htmlEscape($this->getTaxvat()) ?>" title="<?php echo $this->__('Tax/VAT number') ?>" class="input-text<?php if ($this->isRequired()):?> required-entry<?php endif; ?>" <?php echo $this->getFieldParams() ?> />
|
30 |
+
</div>
|
app/design/frontend/default/watchshop/template/customer/widget/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/customer/wishlist.phtml
ADDED
@@ -0,0 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* @deprecated after 1.4.0.0-alpha3
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<div class="page-title">
|
32 |
+
<h1><?php echo $this->__('Wishlist') ?></h1>
|
33 |
+
</div>
|
34 |
+
<?php if($wishlist->getSize()): ?>
|
35 |
+
<form action="<?php echo $this->getUrl('customer/wishlist/updatePost') ?>" method="post">
|
36 |
+
<table class="data-table">
|
37 |
+
<col />
|
38 |
+
<col width="60" />
|
39 |
+
<col width="60" />
|
40 |
+
<col width="60" />
|
41 |
+
<thead>
|
42 |
+
<tr>
|
43 |
+
<th><?php echo $this->__('Product') ?></th>
|
44 |
+
<th><?php echo $this->__('Status') ?></th>
|
45 |
+
<th><?php echo $this->__('To Cart') ?></th>
|
46 |
+
<th><?php echo $this->__('Remove') ?></th>
|
47 |
+
</tr>
|
48 |
+
</thead>
|
49 |
+
<tbody>
|
50 |
+
<?php foreach($wishlist as $item): ?>
|
51 |
+
<tr>
|
52 |
+
<td>
|
53 |
+
<input type="hidden" value="1" name="wishlist[<?php echo $item->getItemId() ?>]" />
|
54 |
+
<a href="<?php echo $this->getUrl('catalog/product/view/id/'.$item->getProduct()->getId()) ?>"><?php echo $this->htmlEscape($item->getProduct()->getName()) ?></a>
|
55 |
+
</td>
|
56 |
+
<td><?php echo $item->getStatus() ?></td>
|
57 |
+
<td><input type="checkbox" value="1" name="to_cart[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
|
58 |
+
<td><input type="checkbox" value="1" name="remove[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
|
59 |
+
</tr>
|
60 |
+
<?php endforeach ?>
|
61 |
+
</tbody>
|
62 |
+
</table>
|
63 |
+
<div class="buttons-set">
|
64 |
+
<a href="<?php echo Mage::getBaseUrl() ?>">« <?php echo $this->__('Continue Shopping') ?></a>
|
65 |
+
<input type="submit" value="<?php echo $this->__('Update') ?>" class="input-button" name="do" />
|
66 |
+
</div>
|
67 |
+
</form>
|
68 |
+
<?php else: ?>
|
69 |
+
<p><?php echo $this->__('You have placed no products yet.') ?></p>
|
70 |
+
<div class="buttons-set">
|
71 |
+
<p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>« </small><?php echo $this->__('Back - link to the previously viewed page') ?></a></p>
|
72 |
+
</div>
|
73 |
+
<?php endif ?>
|
app/design/frontend/default/watchshop/template/directory/currency.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
<strong><span><?php echo $this->__('Select Your Currency') ?></span></strong>
|
38 |
+
</div>
|
39 |
+
<div class="block-content">
|
40 |
+
<select name="currency" title="<?php echo $this->__('Select Your Currency') ?>" onchange="setLocation(this.value)">
|
41 |
+
<?php foreach ($this->getCurrencies() as $_code => $_name): ?>
|
42 |
+
<option value="<?php echo $this->getSwitchCurrencyUrl($_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 |
+
<?php endif; ?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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->__('Currency') ?></h1>
|
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 »') ?></a></p>
|
app/design/frontend/default/watchshop/template/directory/currency/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/directory/js/optional_zip_countries.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 |
+
* JS block for including Countries with Optional Zip
|
31 |
+
*
|
32 |
+
* @see Mage_Core_Block_Template
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<script type="text/javascript">
|
36 |
+
//<![CDATA[
|
37 |
+
optionalZipCountries = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
|
38 |
+
//]]>
|
39 |
+
</script>
|
app/design/frontend/default/watchshop/template/directory/js/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/directory/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/downloadable/catalog/product/links.phtml
ADDED
@@ -0,0 +1,118 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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"> *</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 |
+
(<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 |
+
var _displayZeroPrice = optionsPrice.displayZeroPrice;
|
94 |
+
optionsPrice.displayZeroPrice = false;
|
95 |
+
optionsPrice.changePrice('downloadable', price);
|
96 |
+
optionsPrice.reload();
|
97 |
+
optionsPrice.displayZeroPrice = _displayZeroPrice;
|
98 |
+
} catch (e) {
|
99 |
+
|
100 |
+
}
|
101 |
+
}
|
102 |
+
};
|
103 |
+
|
104 |
+
function validateDownloadableCallback(elmId, result) {
|
105 |
+
var container = $('downloadable-links-list');
|
106 |
+
if (result == 'failed') {
|
107 |
+
container.removeClassName('validation-passed');
|
108 |
+
container.addClassName('validation-failed');
|
109 |
+
} else {
|
110 |
+
container.removeClassName('validation-failed');
|
111 |
+
container.addClassName('validation-passed');
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
var dConfig = new Product.Downloadable(<?php echo $this->getJsonConfig() ?>);
|
116 |
+
//]]>
|
117 |
+
</script>
|
118 |
+
<?php endif;?>
|
app/design/frontend/default/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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/watchshop/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
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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 in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
|
37 |
+
<?php else: ?>
|
38 |
+
<p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?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/watchshop/template/downloadable/catalog/product/vssver.scc
ADDED
Binary file
|
app/design/frontend/default/watchshop/template/downloadable/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,264 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package base_default
|
23 |
+
* @copyright Copyright (c) 2009 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')?>" class="btn-remove2"><?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 |
+
<h2 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a></h2>
|
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]" title="<?php echo $this->__('Move to 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 if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
78 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->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($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
</div>
|
90 |
+
|
91 |
+
|
92 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
93 |
+
|
94 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
95 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
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'],true,true); ?></span><br />
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</small>
|
101 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
103 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
104 |
+
<?php endforeach; ?>
|
105 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
106 |
+
<small>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</small>
|
111 |
+
<?php endif; ?>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
116 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
117 |
+
</div>
|
118 |
+
<?php endif; ?>
|
119 |
+
<?php endif; ?>
|
120 |
+
</td>
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
123 |
+
<td>
|
124 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
125 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
126 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
127 |
+
<?php else: ?>
|
128 |
+
<div class="cart-price">
|
129 |
+
<?php endif; ?>
|
130 |
+
|
131 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
132 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
133 |
+
<?php else: ?>
|
134 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
135 |
+
<?php endif; ?>
|
136 |
+
|
137 |
+
</div>
|
138 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
139 |
+
|
140 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<small>
|
143 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
144 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
145 |
+
<?php endforeach; ?>
|
146 |
+
</small>
|
147 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
148 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
149 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
150 |
+
<?php endforeach; ?>
|
151 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
152 |
+
<small>
|
153 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
154 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
155 |
+
<?php endforeach; ?>
|
156 |
+
</small>
|
157 |
+
<?php endif; ?>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
161 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
162 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
163 |
+
</div>
|
164 |
+
<?php endif; ?>
|
165 |
+
<?php endif; ?>
|
166 |
+
</td>
|
167 |
+
<?php endif; ?>
|
168 |
+
<td class="a-center">
|
169 |
+
<input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
|
170 |
+
</td>
|
171 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
172 |
+
<td class="a-right">
|
173 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
174 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
175 |
+
<?php else: ?>
|
176 |
+
<div class="cart-price">
|
177 |
+
<?php endif; ?>
|
178 |
+
|
179 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
180 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
181 |
+
<?php else: ?>
|
182 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
183 |
+
<?php endif; ?>
|
184 |
+
|
185 |
+
</div>
|
186 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
187 |
+
|
188 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
189 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
190 |
+
<small>
|
191 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
192 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
193 |
+
<?php endforeach; ?>
|
194 |
+
</small>
|
195 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
197 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
198 |
+
<?php endforeach; ?>
|
199 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<small>
|
201 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
202 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
203 |
+
<?php endforeach; ?>
|
204 |
+
</small>
|
205 |
+
<?php endif; ?>
|
206 |
+
</div>
|
207 |
+
|
208 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
209 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
210 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
211 |
+
</div>
|
212 |
+
<?php endif; ?>
|
213 |
+
<?php endif; ?>
|
214 |
+
</td>
|
215 |
+
<?php endif; ?>
|
216 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
217 |
+
<td>
|
218 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
219 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->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($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
226 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
227 |
+
<?php else: ?>
|
228 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
229 |
+
<?php endif; ?>
|
230 |
+
|
231 |
+
</div>
|
232 |
+
|
233 |
+
|
234 |
+
<?php if (Mage::helper('weee')->
|